NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Greedy Alignment Principle for Optimizer Selection

Jaerin Lee, Kyoung Mu Lee

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Optimization & Federated Learning › Optimizer Design and Analysis for LLMs · Type: new method · Keywords: optimizer selection, gradient-update alignment, momentum tuning, theoretical analysis, dynamic hyperparameters

Areas: Optimization & Algorithms › Optimization Dynamics › Muon and Optimizer Design

Summary

The Greedy Alignment Principle provides a mathematically grounded method for selecting optimizer hyperparameters by maximizing expected loss drop, yielding dynamic momentum rules for SGD+Momentum and Adam/AdamW.

Explained to a 5-year-old

When a computer learns, it makes small changes to get better. These changes are called updates, and they are based on the mistakes it sees. We want the computer to pick the best size and direction for these updates automatically. By looking at how the updates line up with the mistakes, we can choose the best updates without trying many options. This helps the computer learn faster and use less work.

Explained to a 5-year-old, longer

When we teach a computer to do something, it tries to improve by making small changes. These changes are called updates, and they are based on the mistakes the computer sees. Choosing the right size and direction for these updates can be hard, so people often try many options. The paper comes up with a new idea that looks at how the updates line up with the mistakes. If the updates point in the same direction as the mistakes, they help the computer learn faster. The authors treat the optimizer as a filter that connects mistakes to updates. They show that picking the best filter is like maximizing how much the mistakes go down. They prove that there is a simple greedy way to find the best filter and that it stays stable even if the mistakes are a bit off. For common optimizers like SGD with momentum and Adam, this gives easy rules to set the momentum automatically. In experiments, the new rules work as well as or better than the best manually chosen settings. This means we don't need to spend a lot of time trying many momentum values. Overall, the method helps computers learn more efficiently with less effort.

For a technical reader

The paper proposes a principled way to choose optimizer hyperparameters by viewing the optimizer as a filter that maps gradients to updates. By maximizing the expected loss reduction, they derive an inner-product formulation that links the optimizer’s filter to the gradient autocorrelation. They prove that a greedy solution exists and remains stable even when the gradient statistics are estimated with noise. Applying this theory to momentum-based optimizers yields simple dynamic rules for setting momentum in SGD+Momentum and Adam/AdamW. Experiments show these rules match or beat manually tuned hyperparameters across image classification, language model fine-tuning, and vision transformer fine-tuning, eliminating the need for exhaustive sweeps.

Problem

Selecting appropriate optimizer hyperparameters such as momentum for training deep models is challenging because manual sweeps are costly and often suboptimal. There is a need for a principled way to choose optimizer settings that adapt to training dynamics.

Method

The approach treats gradients and optimizer updates as signals, models the optimizer as a causal filter mapping between them, and formulates optimizer selection as maximizing expected loss reduction, which reduces to an inner product between the filter and gradient autocorrelation. A greedy optimum is derived, and dynamic momentum rules are obtained for momentum-based optimizers.

Results

The dynamic momentum rules achieve performance comparable to or better than manually tuned hyperparameters across tasks, eliminating the need for exhaustive sweeps.

Contributions

Provides a theoretical framework linking optimizer selection to gradient autocorrelation, proves existence of a greedy optimum with stability guarantees, and derives simple dynamic momentum rules for SGD+Momentum and Adam/AdamW.

Practical relevance

Enables practitioners to automatically select optimizer hyperparameters without costly manual sweeps, saving time and computational resources.

Research questions this paper is counted under

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