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

MetaOptimize: A Framework for Optimizing Step Sizes and Other Meta-parameters

Arsalan Sharifnassab, Saber Salehkaleybar, Richard S. Sutton

Introduction

MetaOptimize is a new framework that automatically tunes learning rates and other hyperparameters during training by minimizing a discounted sum of future losses. It eliminates the need for expensive manual grid searches and outperforms well-tuned baselines across vision and language tasks, even in challenging non-stationary environments.

The Challenge of Hyperparameter Tuning

In machine learning, "meta-parameters" (hyperparameters) like the learning rate (step size) are critical for success. Usually, researchers find these through a "dark art" of trial and error—running the same model dozens of times with different settings (grid search) to see what works best. This is computationally expensive and inefficient.

Furthermore, in "continual learning"—where a model encounters a stream of changing data—a single fixed learning rate is often suboptimal. The model needs to be "alert" when things change and "stable" when they are consistent. Existing methods for automatic tuning often only look at the immediate next loss, ignoring how a change in step size today might affect the model's trajectory ten or a hundred steps down the line.

The MetaOptimize Framework

The authors introduce MetaOptimize, a general framework that can "wrap around" any standard first-order optimizer (like SGD, Adam, or Lion).

Key technical highlights include:

  • Long-term Objective: Instead of minimizing just the next step's loss, it minimizes a "discounted sum of future losses." This accounts for the long-term impact of meta-parameter choices.
  • The Backward View: Since we can't see the future, the authors use an "eligibility trace" approach (borrowed from Reinforcement Learning). This allows the algorithm to update meta-parameters "causally" using only past and current information while still approximating the long-term future objective.
  • Efficiency via Approximations: To make this practical for giant neural networks, the authors developed "Hessian-free" variants. These avoid the massive computational cost of calculating second-order derivatives (the Hessian matrix), making the overhead as low as 13% in some cases.

Key Insights and Capabilities

Extreme Robustness to Initialization One of the most striking findings is that MetaOptimize is highly robust to initialization. You can start with a learning rate orders of magnitude smaller than the "optimal" one, and the algorithm will rapidly scale it up to the correct range.

Robustness to initial learning rates

Automatic "Warm-up" and Task Adaptation While human experts often manually design "schedules" (like warming up the learning rate at the start and decaying it at the end), MetaOptimize discovers these patterns automatically based on the loss landscape. In non-stationary experiments, MetaOptimize automatically "spikes" the learning rate the moment a task switch occurs. It senses the increased error and increases its "plasticity" to learn the new task faster.

Layer-wise Intelligence When allowed to tune learning rates block-by-block, the algorithm learns to use different speeds for different parts of the network—typically slowing down early layers as they converge to general features while keeping later layers more adaptable.

Performance and SOTA Comparison

The researchers evaluated MetaOptimize across several diverse benchmarks, including CIFAR10, a non-stationary CIFAR100 setup, ImageNet, and TinyStories.

On ImageNet, MetaOptimize (using AdamW/Lion) outperformed well-tuned fixed step sizes and achieved results comparable to hand-crafted schedules that required extensive human tuning. Furthermore, it outperformed several recent "parameter-free" or adaptive optimizers like DoG, Prodigy, and mechanic on the TinyStories language modeling task.

Comparison to SOTA optimizers

Despite the complex math, the practical "Hessian-free" versions are efficient. On the TinyStories task, the time overhead was only +13% compared to a standard AdamW baseline.

Limitations and Future Work

  • Hessian Noise: While the framework can use second-order information (Hessians), the authors found that in practice, these terms are often too noisy and expensive for large-scale deep learning, necessitating the "Hessian-free" approximations.
  • Blockwise Scaling: Interestingly, while blockwise tuning (different rates for different layers) helped on smaller tasks like CIFAR10, it didn't provide a significant boost on ImageNet. The authors suggest more research is needed into the optimal granularity of tuning.
  • Differentiability: Currently, the framework only works for differentiable meta-parameters. It cannot yet tune "discrete" choices like the number of layers in a network or batch size.

Summary updated

BibTeX
@inproceedings{sharifnassab2025metaoptimize,
  author = {Arsalan Sharifnassab and Saber Salehkaleybar and Richard S. Sutton},
  title = {{MetaOptimize: A Framework for Optimizing Step Sizes and Other Meta-parameters}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=H78W6bTkuZ},
}
Figure