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

Online Control for Meta-optimization

Xinyi Chen, Elad Hazan

In the world of deep learning, practitioners often spend as much time tuning hyperparameters—like learning rates and momentum—as they do designing architectures. This process, known as meta-optimization, is notoriously difficult because the "loss surface" of hyperparameters is usually non-convex. Attempting to use standard gradient descent to find the best learning rate frequently results in getting stuck in a local optimum.

In their paper, "Online Control for Meta-optimization," Xinyi Chen and Elad Hazan propose a radical shift: stop treating hyperparameter tuning as a standard optimization problem and start treating it as an online control problem.

The Meta-Optimization Challenge

The performance of any optimization algorithm heavily depends on its hyperparameters. While heuristics like Hypergradient Descent exist, they lack global optimality guarantees due to the highly non-linear and non-convex mapping from a hyperparameter (like learning rate $\eta$) to the final loss.

The authors tackle the broader challenge of meta-optimization: given a sequence of optimization tasks (episodes), how can we learn an algorithm that performs as well as the best possible algorithm we could have chosen in hindsight? This goes beyond tuning a single scalar; it involves adapting momentum, preconditioners, and weight decay simultaneously across changing tasks.

Algorithm 1: The general meta-optimization framework.

A Control Theory Approach

The paper’s core insight is mapping the optimization process to a Linear Dynamical System (LDS). By reframing the problem, the authors leverage convex relaxation techniques from control theory to provide the first efficient algorithm with provable "meta-regret" guarantees.

  1. Optimization as a State: The "state" of the system is defined as a vector containing the current iterate, the previous iterate, and the previous gradient.
  2. The Control Formulation: An optimizer's update rule is viewed as a control signal. Choosing different control policies equates to choosing different optimization algorithms (e.g., Gradient Descent vs. Momentum).
  3. Nonstochastic Control: Because optimization gradients are specific to the objective function rather than purely random, the authors use the Online Nonstochastic Control framework, designed to handle arbitrary or adversarial disturbances.
  4. Gradient Perturbation Controller (GPC): The framework employs a "Disturbance-Feedback Controller" (DFC). This allows a wide class of optimizers to be represented as linear functions of past gradients.
  5. Convex Relaxation: This is the breakthrough step. While the original hyperparameter space is non-convex, the GPC framework allows for a convex relaxation. Consequently, efficient, gradient-based updates can find the optimal control policy without getting trapped in local minima.
Algorithm 2: Gradient perturbation controller for meta-optimization.

Key Insights and Results

Historically, control theory in optimization was used primarily to prove stability (convergence). This paper pioneers its use for optimal control—minimizing the total cost across episodes. The authors introduce meta-regret to measure the difference between the total cost incurred by the learner and the cost incurred by the best fixed optimizer in a benchmark class.

A major hurdle in meta-learning is the "reset" problem, where every new episode creates a massive disturbance. The authors prove that due to the system's stability, the effect of this initial reset attenuates exponentially, allowing the controller to learn effectively over time.

Theoretical and Empirical Highlights: * Theoretical Guarantees: For quadratic losses, the algorithm achieves a theoretically optimal meta-regret of $\tilde{O}(\sqrt{NT})$. For smooth convex losses, they provide a bandit-style algorithm with $\tilde{O}((NT)^{3/4})$ regret. * Synthetic Regression: In quadratic loss tasks ($\frac{1}{2}\|Ax - b\|^2$), the meta-optimizer successfully learned to outperform standard Gradient Descent and Momentum, eventually matching the specialized Marchenko-Pastur optimal optimizer. * MNIST Classification: On a 3-layer fully connected neural network, the meta-optimizer significantly outperformed SGD with a suboptimal learning rate. It successfully "recovered" to approach the performance of a well-tuned momentum optimizer, even when starting from a poor base configuration.

Limitations and Future Directions

While groundbreaking, the approach has limitations. The Disturbance-Feedback Controller requires maintaining and updating a sequence of matrices, introducing higher computational overhead than simple SGD. Furthermore, the current formulation relies heavily on linear dynamics. Extending the theory to highly non-linear dynamical systems remains an open challenge. Finally, the meta-optimizer is bounded by its benchmark class; while DFCs cover many common optimizers, they do not encompass every modern adaptive scheduling trick.

Future work may explore adaptive or dynamic regret, enabling the meta-optimizer to track a "best optimizer" that shifts over time, rather than competing solely with a single fixed optimal configuration.

Summary updated

BibTeX
@inproceedings{chen2023online,
  author = {Xinyi Chen and Elad Hazan},
  title = {{Online Control for Meta-optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=bOQNd7tWAp},
}
Figure