Rover Descent: Learning to Optimize by Learning to Navigate on Prototypical Loss Surfaces

Louis Faury, Flavian Vasile

Abstract

Rover Descent introduces a novel approach to optimization by framing it as a 2D navigation problem on partially observable landscapes. Unlike traditional "learning to optimize" (L2O) methods that often rely on gradient information and complex architectures, Rover Descent utilizes only zeroth-order information (function evaluations). By training an agent on simple, procedurally generated 2D surfaces—such as valleys, saddles, and cliffs—the method learns robust navigation strategies that generalize to unseen, high-dimensional, and complex loss functions. Experimental results show that Rover Descent competes with established algorithms like Adam and Newton's method across various benchmarks.

The Challenge of Optimization

Most machine learning practitioners rely on hand-designed optimizers like Stochastic Gradient Descent (SGD), Adam, or Newton's method. These algorithms are built on human intuition about loss landscapes but often require tedious hyperparameter tuning. Furthermore, they can struggle with specific topological features; for instance, SGD frequently "shatters" or oscillates inefficiently in narrow valleys, while Newton's method can be attracted to saddle points.

Comparison of Gradient Descent (left) and Newton Descent (right) on a loss landscape. Gradient descent often exhibits inefficient 'zig-zagging' in narrow valleys, a behavior Rover Descent aims to improve upon.

Recently, the field of "learning to optimize" (L2O) has emerged to replace these hand-crafted rules with neural networks. However, existing L2O methods typically rely on gradient information and often fail to generalize to function classes outside their training distribution. Rover Descent addresses these gaps by teaching an agent to navigate basic 2D topological degeneracies using raw function evaluations alone.

The Rover Descent Framework

The core of Rover Descent is an optimizer that relies strictly on a local grid of sampled function values. The architecture is modular, consisting of three sequential components:

  1. Angle Predictor: This module predicts the direction of the update. It is trained via Behavioral Cloning (Imitation Learning) to mimic the most effective moves of either Gradient Descent or Newton's Method on a given landscape.
  2. Step-Size Predictor: This module determines the magnitude of the move (the learning rate), trained using the Deterministic Policy Gradient (DPG) algorithm.
  3. Resolution Predictor: This module predicts the "zoom level" or grid scale for the next set of observations, also trained via DPG.
The Rover Descent architecture. A grid sampler provides local function evaluations to three specialized predictors that determine the update angle, step size, and next-step resolution.

This separation of tasks makes training tractable. While algorithmic "teachers" like SGD exist for the update angle, there is no standard teacher for dynamic grid scaling, making Reinforcement Learning the ideal choice for the step-size and resolution modules.

Scaling and Generalization

To handle high-dimensional spaces ($d > 2$) where sampling a full grid is computationally prohibitive, Rover Descent employs a "slice" strategy. It samples pairs of dimensions to create 2D planes, computes the optimal 2D update for each slice using its trained modules, and aggregates these into a full $d$-dimensional update using a least-squares approach.

The agent is meta-trained on a procedurally generated dataset of prototypical 2D landscapes, including quadratic bowls, valleys, saddles, and plateaus. This training on fundamental topological building blocks enables the agent to develop intuitive behaviors, such as "zooming out" to gain a macro-understanding of a landscape when stuck, and "zooming in" for precise steps when near an optimum.

Key Results and Insights

  • 2D Generalization: On unseen, highly multimodal test functions (e.g., Ackley and Rastrigin), Rover Descent consistently finds the global minimum, matching or outperforming heavily tuned baselines like CMA-ES and Nelder-Mead.
  • High-Dimensional Performance: On linear classification tasks up to $d=50$, the aggregated 2D slice method successfully competes with tuned first- and second-order optimizers.
  • Neural Network Optimization: When applied to a small neural network ($d=193$), Rover Descent remains competitive with Adam. This was achieved by leveraging a smart sampling strategy that pairs dimensions within the same layer, effectively utilizing a block-diagonal approximation of the Hessian.

Limitations and Future Work

The primary limitation of Rover Descent is its computational clock-time. Because it relies on sampling grids of zeroth-order evaluations, the number of function calls increases significantly with dimensionality. For $d > 50$, optimization runs can take minutes compared to seconds for standard gradient-based methods. Future research will focus on developing more adaptive dimension-sampling methods to improve efficiency in the very high-dimensional spaces typical of deep neural networks.

Summary updated

BibTeX
@inproceedings{faury2018rover,
  author = {Louis Faury and Flavian Vasile},
  title = {{Rover Descent: Learning to Optimize by Learning to Navigate on Prototypical Loss Surfaces}},
  booktitle = {LION},
  year = {2018},
  doi = {10.1007/978-3-030-05348-2\_24},
}
Figure