NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Layerwise LQR for Geometry-Aware Optimization of Deep Networks

Simon Dufort-Labbé, Pierre-Luc Bacon, Razvan Pascanu, Simon Lacoste-Julien, Aristide Baratin

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Optimization & Federated Learning › Neural Network Optimization · Type: new method · Keywords: geometry-aware optimization, second-order optimizers, optimal control, structured preconditioners, deep learning training

Areas: Optimization & Algorithms › Optimization Dynamics › Optimization Algorithms

Summary

LLQR is a geometry-aware optimizer that formulates steepest-descent steps as a layerwise optimal-control problem and learns structured inverse preconditioners for efficient second-order training of deep networks.

Explained to a 5-year-old

Imagine a big computer program that learns like a child learning to recognize animals. When it sees new pictures, it tries to guess what they are, but sometimes it makes mistakes. To help it learn better, scientists use special math that looks at how the program changes its guesses. This math can be thought of as a game where each part of the program makes small moves to get closer to the right answer. The researchers turned this game into a simple rule that works across all the parts of the program at once.

Explained to a 5-year-old, longer

Imagine a big computer program that learns like a child learning to recognize animals. When it sees new pictures, it tries to guess what they are, but sometimes it makes mistakes. To help it learn better, scientists use special math that looks at how the program changes its guesses. This math can be thought of as a game where each part of the program makes small moves to get closer to the right answer. The researchers turned this game into a simple rule that works across all the parts of the program at once. They made a method that watches how each part moves and adjusts them together, like a team. This team rule helps the program fix its mistakes faster and become more accurate. It also uses less extra computer time, so it’s cheaper to run. The new idea works for many kinds of programs, not just one type. It can be used by scientists who build AI for many different tasks. It gives them a reliable way to make learning faster and more precise. Overall, it makes building smart computer programs easier and more efficient.

For a technical reader

The paper shows how second-order steepest-descent updates can be expressed as a finite-horizon optimal-control problem, exposing layerwise dynamics and cost matrices. A scalable relaxation learns diagonal or Kronecker-factored inverse preconditioners by minimizing this control objective and reusing them across iterations. The resulting optimizer wraps existing training loops, preserving a principled connection to curvature without forming or inverting large matrices. Experiments on ResNets and Transformers demonstrate improved optimization dynamics and final performance with modest overhead.

Problem

Scalable second-order optimizers such as K-FAC and Shampoo often discard cross-layer interactions, limiting their ability to improve conditioning. There is a need for a practical optimizer that retains layerwise geometry while remaining computationally efficient.

Method

The approach casts steepest-descent updates under various second-order models as a finite-horizon optimal-control problem, then learns diagonal or Kronecker-factored inverse preconditioners by minimizing this control objective and reusing them across training iterations.

Results

The approach improves optimization dynamics and final test performance on ResNets and Transformers while incurring only modest additional training time.

Contributions

It provides a unified geometry-aware formulation linking second-order steepest descent to optimal control and introduces a scalable relaxation for learning structured inverse preconditioners that preserve cross-layer interactions. The work also offers a practical reference for evaluating scalable approximations.

Practical relevance

The framework offers a practical way to incorporate geometry-aware second-order optimization into existing training pipelines, helping researchers and practitioners develop more efficient optimizers.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction