A Nonstochastic Control Approach to Optimization

Xinyi Chen, Elad Hazan · DOI

Abstract

Meta-optimization—the process of automatically tuning hyperparameters like learning rate and momentum—is notoriously difficult due to the nonconvex nature of the hyperparameter objective function. This paper re-imagines meta-optimization as a nonstochastic control problem, utilizing convex relaxations to bypass nonconvexity. We present a framework that provides the first provable regret guarantees for learning the best optimization algorithm from a broad class of methods, including Gradient Descent and Momentum.

Introduction

In modern machine learning, hyperparameter selection often determines the success or failure of a model. Traditional automated tuning methods, such as hypergradient descent, treat the final loss as a function of hyperparameters. However, this objective is fundamentally nonconvex, leading to local minima and a lack of global optimality guarantees. This work addresses meta-optimization by formalizing it as an online learning problem where the goal is to minimize "regret" against the best fixed optimization method in hindsight across a sequence of tasks.

Optimization as Nonstochastic Control

The core innovation of this work lies in framing the optimization process as a Linear Dynamical System (LDS). In this view, the state of the system encompasses current and past iterates and gradients, while the "control signal" represents the adjustments made to the update rule.

To handle the inherent nonconvexity of hyperparameter tuning, the authors employ a convex relaxation technique. Instead of searching for a single scalar hyperparameter, the search space is expanded to a larger class of Disturbance-Feedback Controllers (DFCs). In this higher-dimensional space, the meta-optimization problem becomes convex, allowing for the application of standard online gradient descent to learn the controller.

Table 1: Representation of standard optimization methods within the control framework.

As shown in Table 1, standard algorithms such as Gradient Descent, Momentum, and Preconditioned methods (e.g., AdaGrad) can be represented as specific instances within this control-theoretic framework. This universality allows the proposed "Gradient Perturbation Controller" (GPC) to compete effectively with a wide range of established optimizers by maintaining "pseudo-gradients"—estimates of counterfactual performance under different algorithmic configurations.

Theoretical Guarantees

The authors provide rigorous theoretical bounds for the GPC across different function classes, ensuring stability even while the system is learning:

  • Convex Quadratics: For these functions, the method achieves a meta-regret of $\tilde{O}(\sqrt{NT})$, where $N$ is the number of episodes and $T$ is the steps per episode. This rate matches the "gold standard" in online learning, ensuring rapid convergence to the performance of the best optimizer in the class.
  • Smooth Convex Functions (Bandit Setting): In scenarios where only the final loss is observable (not the gradient with respect to hyperparameters), the framework achieves a regret of $\tilde{O}((NT)^{3/4})$.

These bounds are robust to "nonstochastic" or adversarial disturbances, such as the "reset" that occurs at the start of a new training episode, provided the system remains sequentially stable.

Discussion and Future Work

While this framework provides a significant theoretical leap, several challenges remain. The proofs currently rely on "strong stability," requiring a safe initial range for hyperparameters to prevent divergence before learning takes hold. Additionally, the GPC introduces computational overhead by maintaining a history of past disturbances. Extending these convex meta-optimization guarantees to the nonconvex landscapes characteristic of deep neural networks remains a primary objective for future research, as does the exploration of "adaptive regret" to track optimal optimizers that change over time.

Summary updated

BibTeX
@misc{chen2023nonstochastic,
  author = {Xinyi Chen and Elad Hazan},
  title = {{A Nonstochastic Control Approach to Optimization}},
  year = {2023},
  eprint = {2301.07902},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.07902},
}
Figure