NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards Robust Training in NNGPT AutoML Pipeline: A Loss-Optimizer Pairing Selection Study

Anton Abramochkin, Radu Timofte, Dmitry IgnatovarXiv 2026

TL;DR

Automated Machine Learning (AutoML) pipelines excel at discovering novel neural network architectures, but they typically rely on a fixed, one-size-fits-all choice for loss functions and optimizers. This paper systematically evaluates 18 loss-optimizer pairings across 33 diverse architectures and 6 datasets, revealing that no single combination is universally optimal. While Cross-Entropy paired with Adam or AdamW remains the safest default, genetically evolved loss functions like Next Generation Loss (NGL) can match or exceed standard performance—but only when paired with adaptive optimizers.

What Problem Does This Paper Address?

In modern AutoML frameworks (such as the LLM-based NNGPT), algorithms continuously generate, train, and evaluate hundreds of novel neural architectures. However, to keep the search space manageable, hyperparameters, loss functions, and optimization algorithms are usually held constant throughout the pipeline.

This raises a critical question: Does a single loss-optimizer recipe work reliably across a highly heterogeneous pool of architectures? A diverse pool might contain standard convolutional classifiers, transformers, mixture-of-experts models, and segmentation backbones. If certain architectures respond poorly to the default training recipe, the AutoML pipeline might prematurely discard high-potential models simply because their training configuration was sub-optimal.

Additionally, the paper evaluates the robustness of Next Generation Loss (NGL), a recently proposed loss function discovered via genetic programming, to see if its reported advantages over Cross-Entropy hold up across diverse model structures and optimizers.

Methods

The authors developed an automated, source-level injection pipeline to systematically swap out training components without altering the underlying model logic. They constructed a grid of 18 combinations consisting of:

  • 3 Loss Functions: Cross-Entropy Loss (CEL), Negative Log-Likelihood (NLL), and Next Generation Loss (NGL).
  • 6 Optimizers: SGD with Momentum, Adam, AdamW, RMSprop, Adagrad, and Adadelta.

To isolate the exact impact of the loss-optimizer pairing, all other hyperparameters (learning rate, batch size, dropout, etc.) were held strictly constant based on the NNGPT framework defaults (e.g., a fixed learning rate of 0.01). They applied these 18 configurations to 33 compatible base architectures from the LEMUR heterogeneous architecture pool, resulting in 594 fully automated training variants evaluated via NNGPT's NNEval module.

Datasets

The benchmarks spanned six distinct image classification datasets representing varying levels of resolution and task difficulty:

  • CelebA-Gender
  • CIFAR-10
  • CIFAR-100
  • ImageNette
  • MNIST
  • SVHN

Key Insights and Ideas

  • The Loss-Optimizer Interdependency: You cannot evaluate a loss function in a vacuum. The performance of a loss function is tightly coupled with the optimizer choice.
  • NGL is Powerful but Picky: The genetically evolved NGL loss proved to be highly sensitive to the gradient landscape. When paired with adaptive optimizers like Adam or AdamW, NGL achieved competitive, top-tier results. However, when paired with non-adaptive methods like SGD, its performance degraded drastically. NGL possesses a non-standard gradient landscape that requires the per-parameter step-size adjustments of adaptive optimizers to stabilize.
  • The Fixed Hyperparameter Trap: Under a blanket default learning rate (LR = 0.01), accumulation-based optimizers like Adagrad and Adadelta consistently underperformed across the board. This highlights that their low rankings in empirical studies are often a byproduct of fixed-LR degradation rather than inherent architectural weakness, emphasizing the critical need for per-architecture learning rate tuning.

Key Results

  • Top Performers: Cross-Entropy paired with Adam or AdamW yielded the most robust and consistent top-1 accuracy across the full architecture pool.
  • NGL Peak Performance: As shown in the overall pairing breakdown, NGL paired with AdamW achieved the highest average accuracy score (0.72) among successful runs, but plummeted to a mediocre 0.40 when forced to use SGD.
Average Accuracy by Loss-Optimizer Pair
  • Training Success Rates: While standard resolution datasets (CIFAR, CelebA) achieved a 100% training success rate, datasets with alternative resolutions (MNIST, SVHN, ImageNette) saw massive drops in success rates (as low as 10.3% for MNIST). This was primarily due to hardcoded spatial assumptions and feature dimensions within the independent, user-contributed LEMUR models, causing matrix multiplication failures on non-standard image sizes.
Table 2. Per-dataset training success rates.

Limitations and Future Work

The primary limitation of this study is its reliance on fixed hyperparameters. While holding the learning rate constant at 0.01 was necessary to isolate the direct effects of the loss-optimizer pairings without introducing search confounds, it inherently disadvantaged optimizers like Adagrad and Adadelta that are highly sensitive to tuning.

Furthermore, several complex architecture types had to be entirely excluded from the study due to fundamental dataset mismatches (e.g., captioning models requiring sequence-labeled batches or ComplexNet requiring complex-valued inputs).

The authors note that the logical next step for robust AutoML pipelines is integrating automated, per-architecture learning rate scheduling and tuning to unlock the true potential of these diverse optimization strategies.

Summary updated

BibTeX
@misc{abramochkin2026towards,
  author = {Anton Abramochkin and Radu Timofte and Dmitry Ignatov},
  title = {{Towards Robust Training in NNGPT AutoML Pipeline: A Loss-Optimizer Pairing Selection Study}},
  year = {2026},
  eprint = {2606.20933},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.20933},
}
Figure