# Greedy Alignment Principle for Optimizer Hyperparameter Selection

DevFeed: [Greedy Alignment Principle for Optimizer Hyperparameter Selection](<https://devfeed.tech/articles/greedy-alignment-principle-for-optimizer-hyperparameter-selection-120375.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2512.06370>)

Author: Jaerin Lee, Kyoung Mu Lee

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Hyperparameter optimization](<https://devfeed.tech/topics/hyperparameter-optimization.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [alignment](<https://devfeed.tech/tags/alignment.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [classification](<https://devfeed.tech/tags/classification.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [exhaustive](<https://devfeed.tech/tags/exhaustive.md>), [exists](<https://devfeed.tech/tags/exists.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [filter](<https://devfeed.tech/tags/filter.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [greedy](<https://devfeed.tech/tags/greedy.md>), [image-classification](<https://devfeed.tech/tags/image-classification.md>), [inner-product](<https://devfeed.tech/tags/inner-product.md>), [language](<https://devfeed.tech/tags/language.md>), [language-model](<https://devfeed.tech/tags/language-model.md>), [model](<https://devfeed.tech/tags/model.md>), [momentum](<https://devfeed.tech/tags/momentum.md>), [optimum](<https://devfeed.tech/tags/optimum.md>), [selection](<https://devfeed.tech/tags/selection.md>), [stat-ml](<https://devfeed.tech/tags/stat-ml.md>)

## AI overview

The paper frames optimizer selection as maximizing expected loss drop, with the objective equal to the inner product of an optimizer's causal filter and gradient autocorrelation. It proves a greedy optimum exists and remains stable under perturbations in estimated gradient statistics. For SGD+Momentum and Adam/AdamW, this leads to dynamic momentum rules. Reported experiments in image classification, language-model fine-tuning, and vision-transformer fine-tuning match or outperform the best fixed momentum settings found by manual sweeps, potentially reducing the need for exhaustive sweeps.

## Source excerpt

arXiv:2512.06370v4 Announce Type: replace Abstract: Recent works have shown that gradient-update alignment is a powerful signal for modulating optimizer updates, often leading to faster training. We promote this update-wise heuristic as a mathematically grounded principle for selecting and tuning optimizer hyperparameters. By treating gradients and updates as signals and an optimizer as a causal filter that maps between them, we formulate optimizer selection as maximizing the expected drop rate in loss over a prescribed family of optimizers. We show that this objective is exactly the inner product between the optimizer filter and the gradient autocorrelation, and prove that a greedy optimum exists and has a stability bound under perturbations of the estimated gradient statistics. Specializing in momentum-based optimizers, the theory yields simple dynamic momentum selection rules for both SGD+Momentum and Adam/AdamW. Experiments across image classification, language model fine-tuning, and vision transformer fine-tuning show that the resulting dynamic momentum rules match or improve upon the best fixed hyperparameters found via manual sweeps, reducing the need for exhaustive momentum sweeps. Code is available at https://github.com/ironjr/gap