Manuscript Offprint

arXiv:2609.35614

EvE: An Alternate Optimizer to Adam

Shashank Raj, Kalyanmoy Deb

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Adam and its variants dominate neural network training, but a single training run only reveals whether one configuration works well after most of its budget is already spent. The concept is a poor fit for hyperparameter or architecture search, where many configurations must be ranked cheaply and pruned early. As an alternative to Adam, we introduce EvE (Evolutionary Explorer), a steady-state, population-of-four differential evolution (DE) optimizer with a targeted Adam fallback: each iteration proposes one candidate via the DE operator. EvE only runs a short burst of gradient descent on it if the DE step fails to improve on the incumbent. Selection is greedy, so on a deterministic objective the best-so-far value is provably monotone non-increasing, and because gradients are used only as a targeted rescue, per-iteration cost stays within a constant factor of a single Adam step regardless of problem dimension. Under a fixed, evaluation-cost-matched budget, EvE wins or ties Adam on 76% of 70 (problem, dimension) cells across seven classical scalable benchmarks scaling up to one million variables. On three real neural-network training tasks (an MLP on MNIST, and LoRA fine-tuning of a 1.5B-parameter language model on two datasets) EvE consistently finishes the same charged budget 1.7 to 3.9× faster in wall-clock time, at a modest cost in final quality (about one accuracy point on MNIST, roughly 9–11% higher relative test loss on the two language fine-tuning tasks; on GSM8K's full test set, Adam is also about 5 accuracy points more accurate at matched budgets, and fine-tuning lowers accuracy below the base model for both optimizers). Inside successive halving on UCI Adult Income, EvE completes hyperparameter and architecture searches 3.1–3.5× faster, and its ranking of candidate configurations agrees with Adam's about as well as Adam's agrees with itself across training seeds (Kendall's τ of 0.66–0.69). These results position EvE not as a total replacement for Adam as a final-stage trainer, but as a fast, gradient-aware proxy for the search-heavy, budget-constrained regime one level up: ranking candidate configurations, or pruning clearly bad ones early, where a fast, approximate signal is worth more than a slow, precise one.

1 INTRODUCTION

Gradient descent and its adaptive variants are the default engine of deep learning. From stochastic gradient descent (Robbins & Monro, 1951) and momentum (Sutskever et al., 2013) to AdaGrad (Duchi et al., 2011), RMSProp (Tieleman, 2012), Adadelta (Zeiler, 2012), and Adam (Kingma & Ba, 2014), these methods succeed because they are cheap: one backward pass and a few scalar moment estimates suffice to adapt a per-coordinate step. This comes with two costs. First, first-order methods see only the local slope, so on landscapes with many local optima, saddles, or plateaus, gradients alone need not lead to a good solution (Abdulkadirov et al., 2023), which is why the field keeps producing variants that reshape the moment estimates (Loshchilov & Hutter, 2017; Liu et al., 2019; Dozat, 2016; Dubey et al., 2019; Zaheer et al., 2018; Zhuang et al., 2020; Luo et al., 2019; Xie et al., 2022; 2024), add curvature (Liu & Nocedal, 1989; Ma, 2021; Yao et al., 2021), or use information geometry (Martens, 2020; Nielsen, 2020), all still refining a single point from local, differentiable information. Second, Adam typically needs many epochs before a training curve is informative, acceptable for one converged model but a poor fit for ranking many candidate configurations cheaply, as in hyperparameter and architecture search, where poor configurations should be pruned early (Bergstra et al., 2011; Elsken et al., 2019). Population-based, gradient-free methods such as differential evolution (Storn & Price, 1997), evolution strategies (Hansen & Ostermeier, 2001; Salimans et al., 2017), and particle swarm optimization (Kennedy & Eberhart, 1995) explore several regions at once without a differentiability requirement, but waste evaluations rediscovering directions a single backward pass would reveal.

This tension motivates a hybrid, not a replacement. EvE is built around a steady-state population of four individuals, each updated by a differential evolution step; when this fails to improve an individual, EvE runs a short burst of Adam on it alone, using its gradient at that point (a cheap, gated polynomial mutation is also applied before the DE child is checked on the synthetic benchmarks, but not for neural network training; Section 3.4). Selection is greedy, so the best-so-far value is monotonically non-increasing by construction (Section 4), and because gradients are only a targeted rescue, per-iteration cost stays within a constant factor of a single Adam optimizer regardless of dimension. Under this budget, EvE wins or matches Adam on most of the classical scalable benchmarks tested, up to 10610^6 variables, and finishes real neural-network training tasks 1.7−3.9×1.7-3.9\times faster at a modest cost in final quality (Section 5). That trade-off is this paper's central finding: a fast, gradient-aware proxy for the search-heavy step before training a single model, not a replacement for Adam as a final-stage trainer.

References (77)