NNGPT自动机器学习流水线中的鲁棒训练:损失函数与优化器配对选择研究
Towards Robust Training in NNGPT AutoML Pipeline: A Loss-Optimizer Pairing Selection Study
AI总结:
本文系统研究了六种优化器与三种损失函数的18种组合在异构架构上的表现,发现交叉熵与Adam/AdamW组合最鲁棒,NGL损失仅在自适应优化器下有效,为NNGPT框架提供了损失-优化器选择指导。
摘要:
损失函数和优化器的选择是影响模型训练的重要决策。然而,自动架构搜索流水线(AutoML)从最优配对选择中获益显著,反之亦然。本文研究了单一配方是否足以应对异构架构池,或者最优配对是否因结构多样的模型而异。我们对六种优化器(SGD+Momentum, Adam, AdamW, RMSprop, Adagrad, Adadelta)与三种损失函数(交叉熵CEL、负对数似然NLL以及最近引入的遗传进化NGL损失)的所有 $3 \ imes 6 = 18$ 种组合进行了系统实证研究,这些组合应用于LEMUR异构架构池中的基础模型,并在六个图像分类数据集(CelebA-Gender, CIFAR-10, CIFAR-100, ImageNette, MNIST, SVHN)上进行测试。18种损失-优化器配置应用于来自LEMUR池的33种兼容基础架构,产生了594个变体,这些变体由源码级注入流水线全自动生成,并在固定超参数下进行评估,确保观察到的准确率差异仅归因于损失-优化器配对。我们的结果证实,没有单一配对是普遍最优的。交叉熵与Adam或AdamW的组合是跨架构族和数据集最鲁棒的选择。NGL在标准卷积分类器上是CEL的有竞争力的替代品,但仅在与自适应优化器配对时有效;与SGD或累积方法配对时性能显著下降。Adagrad和Adadelta在固定超参数下无论损失函数如何始终表现不佳,突显了它们对学习率调优的敏感性。这些发现为NNGPT框架中的损失-优化器选择提供了可操作的指导。
英文摘要:
The choice of loss function and optimizer is an important decision, that shapes further model training. Yet automated architecture search pipelines (AutoML) benefits significantly more from the optimal pairing selection and vice versa. This paper investigates whether a single recipe is sufficient for heterogeneous architecture pools, or whether the optimal pairing varies across structurally diverse models. We conduct a systematic empirical study of all $3 \times 6 = 18$ combinations of six optimizers (SGD+Momentum, Adam, AdamW, RMSprop, Adagrad, Adadelta), paired with three loss functions: Cross-Entropy (CEL), Negative Log-Likelihood (NLL), and the recently introduced genetically evolved NGL loss across the base models presented in LEMUR heterogeneous architecture pool on six image classification datasets (CelebA-Gender, CIFAR-10, CIFAR-100, ImageNette, MNIST, SVHN). The 18 loss-optimizer configurations are applied to each of the 33 compatible base architectures taken from the LEMUR pool, resulting in 594 variants that were generated fully automatically by a source-level injection pipeline and evaluated under fixed hyperparameters, ensuring that observed accuracy differences are attributable solely to the loss-optimizer pairing. Our results confirm that no single pairing is universally optimal. Cross-Entropy with Adam or AdamW is the most robust choice across architecture families and datasets. NGL is a competitive alternative to CEL on standard convolutional classifiers, but only when paired with adaptive optimizers; it degrades substantially with SGD or accumulation-based methods. Adagrad and Adadelta consistently underperform under fixed hyperparameters regardless of loss function, highlighting their sensitivity to learning rate tuning. These findings provide actionable guidance for loss-optimizer selection within NNGPT Framework.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。