Manuscript Offprint
arXiv:2610.03432OptiSelect: How does the Optimizer Shape Data Curriculum?
ABSTRACT
Online data selection has demonstrated substantial efficiency gains for LLM pretraining by training on the most valuable candidates within each batch. Since a candidate's value is realized through its effective model update, principled selection should account for the optimizer step, which reshapes the raw gradient before it updates model parameters. We formalize this optimizer-aware selection paradigm as OptiSelect and present the first systematic study of how the optimizer shapes data selection. Our theory establishes a selection gain principle in which the advantage of online selection is governed by the discriminability of the optimizer-induced utility scores. We prove that sign-based and polar-tangential preconditioners of Lion and Muon would suffer from a discriminability collapse which caps attainable gains from OptiSelect, whereas diagonal-adaptive optimizers such as AdamW and Sophia admit strictly better upper bounds. The proposed principle also yields a quantitative derivation of the optimal candidate oversampling ratio. Pretraining experiments on 124M and 720M models are consistent with our theoretical analysis and show that AdamW's diagonal-adaptive scoring geometry remains the strongest scoring geometry even with Muon as optimizer. We further demonstrate that OptiSelect retains its benefits under data rephrasing, a technique used in modern data processing pipelines. Our findings provide theoretical foundations and practical guidance for co-designing optimizers and data selection in LLM pretraining.
1 INTRODUCTION
Data recipes and optimizers are two important levers determining the efficiency of LLM pretraining: they define what the model learns from and how it learns, respectively. These two design choices are often considered independently. Data curation pipelines filter or reweight the corpus before training begins, agnostic to the optimizer that will process it (Xie et al., 2023a; Fan et al., 2024; Li et al., 2024; Penedo et al., 2024; Wang et al., 2024), while optimizer benchmarks compare optimization algorithms on uniformly sampled data streams, agnostic to data selection strategies (Semenov et al., 2025; Wen et al., 2026). The optimizer-aware online data selection strategy (Wang et al., 2026) combines these two considerations, which we formalize as the OptiSelect training paradigm: At every optimization step, each data sample from an oversampled candidate pool is scored by its marginal utility, and only the highest-utility batch is selected for training. As a sample's utility is realized through the model update it induces, the data utilities should be computed with the optimizer preconditioner, which reshapes the raw gradient before updating model parameters. Therefore, the optimizer plays a dual role under OptiSelect. It descends the loss landscape strategically while also designing the data curriculum, adapting the data utility scoring function according to its unique preconditioner.
We analyze the interaction between optimizers and data selection across five optimizers spanning different preconditioning geometries: AdamW rescales gradient coordinates by their estimated RMS (Loshchilov & Hutter, 2019), AdEMAMix mixes in a slow momentum buffer (Pagliardini et al., 2025), Sophia normalizes by estimated curvature (Liu et al., 2024), Lion discards magnitudes and keeps only signs (Chen et al., 2023), and Muon orthogonalizes each update matrix (Jordan, 2024). Our study is organized around one central question from both theoretical and empirical perspectives:
How does the optimizer interact with online data selection, and which optimization geometries can actually profit from it?
Contributions. We summarize our contributions as three-fold.
• The OptiSelect framework ( ). We formalize the OptiSelect training paradigm through an optimizer-aware transformation operator and derive the corresponding optimizer-aware data utility functions across five optimizers spanning various geometries.
• A principled theory of the optimizer–selection interplay ( ). We establish a selection gain principle, demonstrating that the one-step advantage from data selection scales with the discriminability of the utility scores (Theorem 1). We prove that a sign collapse bounds the gain of Lion and a radial collapse bounds that of D-Muon, whereas AdamW and Sophia retain strictly larger score spread. The same principle also derives the optimum candidate oversampling ratio as .
• A comprehensive pretraining benchmark ( ). We evaluate five optimizers under standard training and OptiSelect on 124M and 720M models, demonstrating a close agreement between measured gains and the theory. Decoupling the scoring geometry from the base optimizer reveals that the optimizer-matched geometry is not necessarily optimal, with AdamW's diagonal-adaptive operator prevailing under D-Muon. The selection benefit persists under format rephrasing.
Data selection for LLM pretraining. Research on training-data ordering and sample weighting predates LLMs, e.g. easy-to-hard curricula (Bengio et al., 2009), online loss-ranked sampling (Loshchilov & Hutter, 2015), importance sampling with learned gradient-norm proxies (Katharopoulos & Fleuret, 2018) whereas none of these strategies explicitly accounts for the optimizer. At LLM scale, selection is dominated by static pipelines that curate the corpus before training begins: hashed n-gram resampling (DSIR; Xie et al., 2023b), fastText quality classifiers (DCLM; Li et al., 2024), distilled LLM quality judgments (FineWeb-Edu; Penedo et al., 2024), and proxy-model domain weights (DoReMi; Xie et al., 2023a, DoGE; Fan et al., 2024). The online strategies include MATES (Yu et al., 2024), which predicts influence with a periodically refreshed auxiliary model; GREATS (Wang et al., 2024) and OPUS (Wang et al., 2026), which compute gradient-alignment scores and optimizer-aware scores, respectively.
Optimizer-aware influence. Influence functions (Koh & Liang, 2017), the first-order influence TracIn (Pruthi et al., 2020) and TRAK with random projections (Park et al., 2023) attributed model behaviour to training samples under implicit SGD dynamics. Adaptive optimizer state changes influence: LESS (Xia et al., 2024) and TrackStar (Chang et al., 2025) correct influence scores for Adam's second moment; OPUS (Wang et al., 2026) computes optimizer-aware attribution scores on AdamW and Muon, and uses them for per-step sample selection during LLM pretraining. Yet, none compares the influence geometries different optimizers induce, which is the object of our theory ( ).
Optimizers for LLM pretraining. The families we study span diagonal-adaptive (AdamW; AdEMAMix; Pagliardini et al., 2025), curvature-aware (Sophia; Liu et al., 2024), sign-based (Lion, Signum), and matrix-geometry methods (Muon; Jordan, 2024), with SOAP (Vyas et al., 2025), MARS (Yuan et al., 2025). Systematic benchmarks evaluate these under standard pretraining only (Semenov et al., 2025; Wen et al., 2026), where rankings already shift with scale and batch size. No prior work explores how optimizer algorithms affect preferences in data selection, which we analyze both theoretically ( ) and empirically ( ) in this work.
3 THE OptiSelect PARADIGM
In this section, we first formalize the OptiSelect training loop ( ), then detail the optimizer-induced preconditioning that defines the data attribution score for online selection ( ).
Algorithm 1 OptiSelect: one pretraining step with optimizer-aware data selection
Require: Candidate batch , parameters , optimizer state, target batch size , temperature
Ensure: Updated parameters
1: // Candidate forward-backward pass
2: for each do
3: Compute per-sample gradient
4: end for
5: // Influence scoring
6: for each do
7: Assign utility using and the current optimizer state
8: end for
9: // Selection via Boltzmann distribution
10: Define for
11: Sample with according to
12: // Optimizer update
13:
14: return
3.1 DATA SCHEMES IN LLM PRETRAINING
Standard pretraining. Let denote the pretraining data corpus. Standard pretraining minimizes the next-token prediction loss for language modeling, i.e. , where is the cross-entropy loss on data instance . At each step , a mini-batch of size is drawn uni-formly at random and used to compute a stochastic gradient . The model parameters are updated as , where Opt is the optimizer's step function corresponding to the current optimizer state , e.g. momentum buffers and variance estimates.
OptiSelect: Online in-batch data selection. While uniform sampling provides no control over data quality, OptiSelect applies online data selection at each optimization step. Specifically, denoting the effective training batch size by , a larger candidate batch of size is drawn at every step . Each datapoint is ranked by the optimizer-aware influence score ; the top- subset is then selected for the model update. The full procedure is presented in Algorithm 1. Under OptiSelect the optimizer plays a two-fold role: it performs the optimization step on the loss landscape, and simultaneously shapes data attribution by defining . We detail the optimizer-transformed utility under various instantiations in the following section.
3.2 OPTIMIZER-AWARE INFLUENCE SCORING
Preliminaries and notation. We begin by establishing a unified notation for all following derivations. At step , we denote as the model parameters, the per-sample loss on document as and its gradient as and the stochastic mini-batch gradient . We denote element-wise multiplication, division and square-root operations by , , and respectively. We define the frozen-state scoring operator as the map from raw gradients to directions used for per-sample attribution, conditional on the optimizer state . Given a candidate , its scoring direction is . This operator need not coincide with the actual optimizer update map ; the relation between them, including the approximations used for scoring, is specified in Appendix B. Optimizer-transformed Data Influence. During online data selection, we assess the influence of a candidate sample at step using its per-sample scoring direction induced by the optimizer state and a proxy set from a predefined target distribution. Let be a small held-out validation set representative of a target distribution. We define the validation loss . Selection proceeds with greedy influence scoring at every step: writing as the selected batch at time step , the parameter vector predicted by the additive scoring model is . We estimate the marginal utility of adding sample into as the additional reduction in . Expanding to second order around , denoting as the validation gradient proxy and as the validation Hessian, the marginal utility is defined as . Following OPUS (Wang et al., 2026), we approximate the intractable Hessian by the identity matrix in the redundancy term, giving
where is the average scoring direction of the selected samples. The first term measures alignment between sample and the target distribution, while the second penalizes redundancy among the peer candidates in the same batch. Instantiation of across various optimizer families. Each optimizer algorithm induces a specific operator for online data attribution at step . We write for the generic argument of , i.e. the per-sample raw gradient vector or the mini-batch gradient , where denotes the batch direction represented by the scoring map. For Muon the argument is matrix-valued, i.e. , acting on each 2-D weight block in the transformer model. The remaining symbols are read from the optimizer state , which is identical for all candidates within one scoring pass at step . We present the transformation operators for the benchmarked optimizers, with detailed derivations provided in Appendix B:
Specifically, for AdamW/ AdEMAMix (Appendix B.2, B.3), denotes the inverse root of the bias-corrected second moment . AdEMAMix induces the same operator; for Sophia (Appendix B.4), denotes the estimate of diagonal curvature with trust scale ; for Lion (Appendix B.5), denotes the sign methods' momentum buffer, with decay . With ; for
Muon (Appendix B.7), denotes the momentum matrix. D msign( )[ ] is the faithful Fréchet derivative in , while is a cheaper right-preconditioned proxy.
4 WHAT MAKES AN OPTIMIZER GOOD AT SELECTING DATA?
Since each optimizer shapes the influence function through its own transformation , a natural question arises: how does the choice of optimizer interact with data selection? To study this question, we introduce discriminability (Theorem 1), a principled criterion that determines an upper bound on the gain of OptiSelect over standard training under a given optimizer. We then analyze several optimization geometries through the lens of this selection gain principle: we find that sign collapse and radial collapse cap the achievable selection gain for the sign-based optimizer Lion and the polar-tangential optimizer D-Muon, respectively, whereas diagonal-adaptive optimizers such as AdamW and Sophia enjoy strictly better upper bounds on the selection gain. Our proof builds on a Gaussian model of the data candidates. We detail the setup as follows.
Setup and Notations. At step t, the candidate batch of size is drawn i.i.d. from the data distribution with utility scores follows a Gaussian distribution . Consider that candidate gradients are also sampled from a Gaussian distribution , with diagonal covariance . Given the validation proxy , we
(a) Selection gain at

(b) Selection gain over LRs
Figure 1: Selection gain (Theorem 1) measured during 124M LLM pretraining. (a) Running medians at tuned : the measured gain mostly sits close to for every optimizer; while Lion decays after proxy refresh. (b) Measured gain from learning rate sweep: the selection gain is flat in various learning rate .
denote to absorb the redundancy term in (1). Denote as the diagonal operator applied by transformation, the utility score on the sample can be written as , i.e. for SGD, (2) for AdamW, and for linearized sign-based optimizers (Proposition 1).
Theorem 1 (Selection-gain Principle). Consider the candidate utilities distribution and standardized top-q superquantile , where is the retained fraction from OptiSelect. The expected one-step reduction on the validation loss , , satisfies
which gives the selection gain, i.e. the extra loss reduction obtained from data selection as
The proof is given in Appendix C. Since depends only on the retained fraction , the absolute gain is governed by the score spread . We validate Theorem 1 on 15 OptiSelect LLM pretraining runs and compute on the attribution scores, where the proxy gradient is refreshed at step 5k. Figure 1 shows that the normalized score gain remains consistently close to and nearly invariant across various learning rates. Since depends only on the retained fraction , the absolute gain is governed by the score spread . We further decompose the variance by coordinates and define the coordinate weights on SGD as
. In the rest of this section, we adopt the variance ratio
to compare the discriminability benefits of linear operators against SGD.
After standardizing the candidate utilities to zero mean and unit variance, the standardized top-q superquantile refers to the mean utility of the top candidates. For Gaussian utilities at , is the mean of the upper half of a standard normal, .
Sign Collapse. Sign-based optimizers can lose discriminability since the momentum buffer easily dominates the sign of gradients, diminishing the candidate-aware differences. The selector therefore has little information for ranking them, which approaches a uniform selection strategy. Theorem 2 formalizes this sign collapse by comparing the exact score with the linear surrogate score .
Theorem 2 (Sign collapse). Condition on the frozen optimizer state and scoring reference , and let with .
(i) (Spread neutrality of the linear surrogate score.)
For a sign pattern ,
(ii) (Exponential collapse of the exact score.) Suppose satisfying Assumption 1, the exact satisfies
Consequently, when and , we have
Theorem 2 (i) shows that a frozen sign pattern preserves the SGD score variance but cannot adaptively amplify discriminability; Theorem 2 (ii) shows that the exact score can degrade this baseline spread under momentum dominance. The full proof are deferred to Appendix D.1.
Diagonal-adaptive advantage. Theorem 3 further compares the optimizers along their linear diagonal operators. We define the coordinate weights with variance ratio to compare the benefits of linear operators against SGD.
Theorem 3 (Diagonal-adaptive advantage, and the discriminability ranking). Under Assumption 2 and its curvature analogue for Sophia with its hessian estimates,
with the respective numerical floors. Combined with Theorem 2, in the regime the spreads of the operator classes are ranked:
The final inequality holding separately for each of the two diagonal-adaptive scores from AdamW and Sophia, which the discriminability does not order against each other.
Radial collapse in the ideal polar geometry of Muon. The ideal Muon map removes the stretching of the momentum matrix while retaining its orientation. To see this, write the polar decomposition as : the ideal update is , whereas describes the stretching that the map discards. A candidate can therefore change the stretching without turning the update. We call such changes radial; changing singular values while keeping their directions fixed is a simple example.
For a frozen full-column-rank momentum and scoring reference , decompose each candidate gradient into its radial component and the orthogonal remainder, . The latter is its tangential component, which can change the update's orientation. The precise decomposition is given in Appendix D.3. Let denote the local linear response of the ideal map.
Theorem 4 (Radial selectivity of the ideal polar score). At the frozen state, suppose has finite second moment and pairwise uncorrelated entries in the singular-vector coordinates specified in Appendix D.3. For and candidate weight , define , . Then depends on the candidate only through , and
where is the smallest singular value of the frozen momentum.
Thus, two candidates that differ only radially receive the same first-order score. The collapse is selective: radial differences are ignored, while tangential differences are reweighted according to the momentum spectrum. The practical right-preconditioned proxy used in our experiments (2), behaves differently: it rescales the gradient without removing its radial component, and can therefore distinguish candidates that the ideal first-order score treats as identical. Theorem 4 implies neither an unconditional variance ordering against SGD nor a radial-collapse guarantee for the experimental proxy. The exact variance formulas, proof, and proxy discrepancy are given in Appendices D.3 and D.4.
5 EXPERIMENTS
We conduct extensive experiments on LLM pretraining and give the first optimizer benchmarking along the OptiSelect paradigm (§5.1). Notably, we also show that the optimizer-aligned geometry may not be optimal for data selection (§5.2). We further assess the impact of data format on OptiSelect with rephrasing, showing that the benefits remains upon modern data synthesis pipeline (§5.3).
Models and training. We train 124M and 720M decoder-only transformers models following Llama architecture (Touvron et al., 2023) adopted in Semenov et al. (2025). We benchmark seven core optimizers, AdamW, AdEMAMix, Sophia, Lion and D-Muon under both standard training and OptiSelect paradigm, incurring a direct comparison of the effectiveness of online data selection. We train 124M and 720M models for 4.2B and 14B tokens respectively, matching their Chichilla (Hoffmann et al., 2022) optimal token amount. We apply the optimal learning rate tuned from a grid search on both 124M and 720M mod-
Table 1: Data selection benefits across optimizers. Optimizers are measured according to their downstream losses and loss gap , followed by their ranks. Larger indicates larger data selection gain.
| Optimizer | 124M | 720M | ||||
|---|---|---|---|---|---|---|
| standard | OptiSelect | standard | OptiSelect | |||
| AdEMAMix | 3.410 (2) | 3.274 (2) | +0.135 | 3.004 (3) | 2.908 (2) | +0.096 |
| AdamW | 3.361 (1) | 3.241 (1) | +0.119 | 2.995 (2) | 2.891 (1) | +0.104 |
| Sophia | 3.486 (5) | 3.458 (4) | +0.028 | 3.049 (5) | 3.026 (5) | +0.023 |
| Lion | 3.417 (3) | 3.399 (3) | +0.018 | 3.018 (4) | 3.022 (4) | -0.004 |
| D-Muon | 3.455 (4) | 3.471 (5) | -0.015 | 2.993 (1) | 2.944 (3) | +0.049 |
els, detailed in Appendix E.4. Complete configurations are provided in Appendix E.
Data and selection proxy. All the models are trained on FineWeb-HQ , a high-quality, model-filtered pretraining dataset derived as a subset of FineWeb. The selection proxy V is a fixed set of 4,096 densely packed sequences drawn from a downstream task mixture—ARC-Easy, ARC-Challenge (Clark et al., 2018), HellaSwag (Zellers et al., 2019), PIQA and SciQ, which serves as a targeted guidance of data selection. The proxy gradient is re-computed every 1,000 steps. The ablation of proxy-refresh interval is presented in Appendix E.5.
We report two axes of evaluation: (1) Downstream loss computes the loss of the correct continuation given the prompt on held-out validation sets, averaged across five proxy tasks; (2) Zero-shot accuracy as the exact match rate measured by lm-evaluation-harness (Gao et al., 2024) toolkit. We report the accuracy scores over nine tasks, including the 5 in-domain proxy tasks plus 4 out-of-domain ones WinoGrande, WSC, CommonsenseQA and OpenBookQA, which the proxy never sees.
https://huggingface.co/datasets/epfml/FineWeb-HQ
5.1 THE OptiSelect BENCHMARK: SELECTION GAIN ACROSS OPTIMIZERS AND SCALE
Optimizer ranking under OptiSelect. Figure 2 and Table 1 report the downstream losses across optimizers and model scales. The optimizer ranking presented in Table 1 demonstrates a scale-dependent impact from data selection: at 124M, the optimizer ranks on standard training are mostly preserved on OptiSelect; while the ranking differs significantly at 720M. In terms of the downstream accuracy (Figure 3), despite the limited gain from online data selection, D-Muon consistently achieves the best averaged downstream accuracy, benefits from its extraordinary efficacy in optimization.

AdamW
AdEMAMix
Sophia
D-Muon
Sophia
Lion
D-Muon
Lion
applied tokens (B)
Figure 2: Downstream loss on 124M and 720M models across optimizers. Models are trained on 4.2B/14.03B tokens under standard and OptiSelect paradigm, respectively. The intersection of two dotted curves denotes the processed-matched baseline with equal processed tokens under .
Empirical–theory consistency. According to Figure 2 and Table 1, the empirical selection gains remarkably align with our theoretical analysis: OptiSelect consistently improves the downstream loss with AdamW, AdEMAMix and Sophia at both 124M and 720M, whereas obtain no benefits with Lion. D-Muon demonstrates a scale-dependent behavior: at 124M, the selection gain shrinks by the end of training; while at 720M, the benefit remains significant and
(a) In-Domain Benchmark Accuracy

applied tokens (B)
(b) Final Accuracy Improvements
In-Domain proxy tasks Out-of-Domain
Figure 3: Downstream Accuracy at 720M scale. OptiSelect outperforms standard training across all optimizers on in-domain and OoD benchmarks.
efit remains significant and persists throughout the training.
OptiSelect gains in sample efficiency, not compute. Figure 2 and Figure 3 expose a critical reflection: OptiSelect's gains are measured upon optimizer steps at equal applied tokens while not the gains per token read. At , every selection step reads twice the tokens it applies, each with a full forward–backward pass, therefore a fair comparison with equal read-tokens requires OptiSelect achieving a acceleration in optimization steps. However, comparing with standard training with matched read tokens, OptiSelect falls behind in both downstream loss and accuracy across all five optimizers.
(a) AdamW
(b) D-Muon

applied tokens (B)
applied tokens (B)
Figure 4: Scoring geometry ablations under AdamW and D-Muon optimizers. The matched geometry works best under AdamW, while both AdamW and SGD alternatives beat the matched scoring geometry on D-Muon.
Given the deficit shrinks at larger scale, OptiSelect is still promising on scaled-up experiments.
5.2 WHICH SCORING GEOMETRY SHOULD AN OPTIMIZER USE?
The inconsistency of optimizer ranking between standard training and OptiSelect indicates a dichotomy of the preconditioning geometry for optimization and data selection: The geometry from the best-performed optimizer, D-Muon, is not the optimal for data selection. Inspired from the observation, we decouple the choice of optimizer and the geometry adopted for attribution scoring in (1). We run the scoring geometry ablation under two base optimizers AdamW and D-Muon (Figure 4). Each optimizer is combined with various , i.e. the geometry, from each of the five optimizers. The SGD scoring geometry recovers the GREATS algorithm from Wang et al. (2024). The optimizer-matched scoring geometry is not necessarily the best. Under AdamW, the best scoring geometry is also from AdamW which matches the optimization dynamics. However, with D-Muon as base optimizer, the pairing geometry does not work well in data selection, while the geometry of AdamW outperforms the others by a significant margin. Notably, the second-momentum diagonal-adaptive operator from AdamW serves as the best scoring geometry in both AdamW and D-Muon sweeps; and scoring without preconditioner (SGD) beats most of the scoring-geometry. Additionally, AdamW with the curvature-diagonal and sign-based geometries from Sophia and Lion can hardly outperform the standard training baseline with no selection. It indicates that a wrong geometry can hurt the performance of online data selection.
5.3 DOES SELECTION HELP WITH REPHRASING?
Selection and format rephrasing are two techniques on data quality, while to what extend they are collaborative or conflict is unexplored. FinePhrase (HuggingFaceFW, 2025) rewrites documents from FineWebedu (Lozhkov et al., 2024) into various formats, while leaving its content largely intact. We train AdamW at 124M on mixtures containing 0%, 50% and 100% rephrased documents with consistent setup as in §5.
The selection benefit remains under data rephrasing. According to Figure 5, OptiSelect consistently improves the downstream loss by a large margin comparing to the standard training. OptiSelect also outperforms standard training across rephrasing mixtures on the average downstream accuracy (Figure 6, Table 10). It indicates that rephrasing and selection are not substitutes or conflict against each other.

Figure 5: Downstream loss curves across rephrased mixtures, where the benefits from selection are consistent.
Format mismatching is a confound for downstream accuracy, but it depends on evaluation harness pattern. While the selection gets similar amount of gains on downstream loss along various rephrasing mixtures, the benefits on downstream accuracies move significantly along the formatting axis. Specifically, we separate the downstream tasks into QA- and completion-formatted categories according to the prompting format adopted in the evaluation harness (Appendix G.1). Under standard pretraining, the mixture with 50% rephrased documents achieves the
(a) Accuracy across task types

rephrased mixture (%)
(b) Selection gains at every mixture
rephrased mixture (%)
Figure 6: Task accuracy on format rephrasing × selection at 124M. (a) Accuracy against the rephrased mixture rates. (b) The selection gain at each mixture.
best downstream loss and accuracy scores in both QA- and completion-formatted tasks, aligned with the common practice in (Maini et al., 2024) which samples real and synthetic data in a 1:1 ratio. In comparison, OptiSelect greatly augments the gain on QA-formatted accuracies, reaches 52.51% pp. On completion-formatted tasks, OptiSelect obtains a great improvement (+2% pp.) on the original FineWeb corpus, while increasing rephrasing proportions does not bring more benefits.
5.4 MORE CANDIDATES, BETTER PERFORMANCE?
The candidate multiplier is a critical hyperparameter for data selection, which determines the proportion of selected candidates. Instead of introducing as a magical hyperparameter settled in prior works (Wang et al., 2024; 2026), we quantify the effect of under the selection gain principle
(Theorem 1). While the per-step gain with is monotonically increasing by , the overhead on the streamed and scored tokens grow correspondingly. Lemma 1 prices this trade-off and derives an optimal candidate multiplier in closed form.
Lemma 1 (Optimal candidate multiplier). Under the conditions of Theorem 1 with Gaussian candidate utilities, the selection gain per streamed token is
which attains its unique maximum at , of value .
Lemma 1 proves that the selection gain grows as , monotonically but not linearly. We provide the full proof in D.5. Therefore, the increment of selection gain cannot compensate for its extra costs when it past the peak value at . A token-limited budget should stream exactly twice what it trains on, which is the default used everywhere else in this paper. In Figure 7, we empirically measure the raw selection gain as the downstream loss reduction above the standard training and the gain per streamed token as , which validates the theory. Across various values of , the empirical raw selection gain agrees with the theoretically computed values (Figure 7b), which keeps rising according to . In comparison, the measured demonstrates a concave curve, peaks at while decreasing after the optimum.
(a) Downstream Loss

(b) Selection Gain
Figure 7: The candidate-multiplier sweep at 124M. (a) Downstream loss curves. (b) Selection gain over the standard. Open circles mark the theoretical values of from Theorem 1; the dark-red curve draws the gain per streamed token on the right axis, which peaks at .
6 DISCUSSION AND LIMITATIONS
The optimizer determines the landscapes of curriculum. Under OptiSelect the optimizer is not merely an optimization algorithm, it also serves as the designer of the curriculum. The variance normalization of AdamW builds a curriculum biased toward candidates whose gradients are large along rare dimensions, i.e. coordinates with small are amplified; Muon's matrix-sign geometry builds a polar-tangent curriculum, which ignores candidates that only change singular values in the current polar basis and highlights those rotate singular subspaces. How to design an optimization algorithm that adapts to the data curriculum is a critical problem for future study.
What selection buys, and how it must be reported. Under a downstream proxy, OptiSelect consistently improves the metrics it targets as proxy while may not necessarily benefit for held-out tasks. According to Figure 3 (b), OptiSelect obtains benefits across 3 out of 4 Out-of-Domain benchmarks, while OptiSelect yields little gains on Commonsense QA task. Besides, selection is ahead at equal applied tokens and behind at equal tokens read, at 124M and at 720M alike: it converts extra forward–backward compute into fewer optimizer steps for the same quality, not into fewer tokens consumed. We report both matchings throughout and recommend that future evaluations of in-batch selection do the same; either number quoted alone misstates the method in one direction.
Limitations and future work. Our benchmark covers only 124M and 720M models, which can only predict the behaviour at multi-billion scale by extrapolation. Besides, we only conducted each run on a single random seed without claiming the variance across several seeds, mainly constrained from the high computation costs from pretraining. The scope of the proxy target is also limited to the general reasoning tasks, which are within the capability of small-scale models. We leave the exploration on more challenging domains, including Math, Code, and Agentic tasks for the future works.
7 CONCLUSION
In this work, we formalized OptiSelect as the training paradigm with optimizer-dependent online in-batch selection. We provide both theoretical analysis and empirical benchmarking on how various optimization geometries can affect the preference in data selection. Our findings on OptiSelect provide theoretical foundations and empirical insights for the next generation of pretraining optimizers, co-designed with the modern data deployment.
AI DISCLOSURE
In this work, we USED generative AI tools for paper polishing and proof writing assistance, analyzing existing literature and coding assistance. We have NOT used generative AI tools for formulating research or proof ideas, developing theoretical models or conceptual frameworks and synthetic data generation, synthetic evaluation are not applicable to this work. We have reviewed all AI-assisted work. We take responsibility for the final content of this work, including text, claims or artifacts produced with the aid of generative AI.
REPRODUCIBILITY STATEMENT
Appendix B specifies the optimizer update rules and scoring operators, including implementation approximations. Appendices C–D provide the theoretical assumptions and proofs. Appendix E documents model architectures, training configurations, selection proxies, and hyperparameter sweeps. Appendices F–G report detailed experimental results. We will open-source our code at https://anonymous.4open.science/r/OptiSelect-ICLR27-640B/ for reproducibility.
ETHICS STATEMENT
This work studies the interleaving dynamics between optimizers and data selection using public available datasets and evaluation protocols. We identify no additional ethical concerns specific to this study.
REFERENCES
Rohan Anil, Vineet Gupta, Tomer Koren, Kevin Regan, and Yoram Singer. Scalable second order optimization for deep learning. arXiv preprint arXiv:2002.09018, 2020.
Yoshua Bengio, Jérôme Louradour, Ronan Collobert, and Jason Weston. Curriculum learning. In International Conference On Machine Learning, pp. 41–48, 2009.
Jeremy Bernstein and Laker Newhouse. Old optimizer, new norm: An anthology. arXiv preprint arXiv:2409.20325, 2024.
Jeremy Bernstein, Yu-Xiang Wang, Kamyar Azizzadenesheli, and Animashree Anandkumar. signSGD: Compressed optimisation for non-convex problems. In International Conference On Machine Learning, pp. 560–569, 2018.
Tyler A. Chang, Dheeraj Rajagopal, Tolga Bolukbasi, Lucas Dixon, and Ian Tenney. Scalable influence and fact tracing for large language model pretraining. In International Conference On Learning Representations, 2025.
Xiangning Chen, Chen Liang, Da Huang, Esteban Real, Kaiyuan Wang, Hieu Pham, Xuanyi Dong, Thang Luong, Cho-Jui Hsieh, Yifeng Lu, and Quoc V Le. Symbolic discovery of optimization algorithms. In Advances In Neural Information Processing Systems, pp. 49205–49233, 2023.
Sang Keun Choe, Hwijeen Ahn, Juhan Bae, Kewen Zhao, Minsoo Kang, Youngseog Chung, Adithya Pratapa, Willie Neiswanger, Emma Strubell, Teruko Mitamura, Jeff Schneider, Eduard Hovy, Roger Grosse, and Eric Xing. What is your data worth to GPT? LLM-scale data valuation with influence functions. In Advances In Neural Information Processing Systems, pp. 162015–162056, 2025.
Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answering? Try ARC, the AI2 reasoning challenge. arXiv preprint arXiv:1803.05457, 2018.
Simin Fan, Matteo Pagliardini, and Martin Jaggi. DoGE: Domain reweighting with generalization estimation. In International Conference On Machine Learning, pp. 12895–12915, 2024.
Leo Gao, Jonathan Tow, Baber Abbasi, Stella Biderman, Sid Black, Anthony DiPofi, Charles Foster, Laurence Golding, Jeffrey Hsu, Alain Le Noac'h, Haonan Li, Kyle McDonell, Niklas Muennighoff, Chris Ociepa, Jason Phang, Laria Reynolds, Hailey Schoelkopf, Aviya Skowron, Lintang Sutawika, Eric Tang, Anish Thite, Ben Wang, Kevin Wang, and Andy Zou. The language model evaluation harness. Zenodo, 2024. Version v0.4.3.
Vineet Gupta, Tomer Koren, and Yoram Singer. Shampoo: Preconditioned stochastic tensor optimization. In International Conference On Machine Learning, pp. 1842–1850, 2018.
Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, Tom Hennigan, Eric Noland, Katie Millican, George van den Driessche, Bogdan Damoc, Aurelia Guy, Simon Osindero, Karen Simonyan, Erich Elsen, Oriol Vinyals, Jack W. Rae, and Laurent Sifre. Training compute-optimal large language models. In Advances In Neural Information Processing Systems, pp. 30016–30030, 2022.
HuggingFaceFW. FinePhrase. Hugging Face dataset, 2025.
Keller Jordan. Muon: An optimizer for hidden layers in neural networks. Blog post, 2024.
Angelos Katharopoulos and François Fleuret. Not all samples are created equal: Deep learning with importance sampling. In International Conference On Machine Learning, pp. 2525–2534, 2018.
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference On Learning Representations, 2015.
Pang Wei Koh and Percy Liang. Understanding black-box predictions via influence functions. In International Conference On Machine Learning, pp. 1885–1894, 2017.
Jeffrey Li, Alex Fang, Georgios Smyrnis, Maor Ivgi, Matt Jordan, Samir Gadre, Hritik Bansal, Etash Guha, Sedrick Keh, Kushal Arora, et al. DataComp-LM: In search of the next generation of training sets for language models. In Advances In Neural Information Processing Systems, pp. 14200–14282, 2024.
Jingru Li, Yibo Fan, and Huan Li. Variance-adaptive Muon: Accelerating LLM pretraining with NSR-modulated and variance-scaled momentum. arXiv preprint arXiv:2601.14603, 2026.
Hong Liu, Zhiyuan Li, David Hall, Percy Liang, and Tengyu Ma. Sophia: A scalable stochastic second-order optimizer for language model pre-training. In International Conference On Learning Representations, 2024.
Ilya Loshchilov and Frank Hutter. Online batch selection for faster training of neural networks. arXiv preprint arXiv:1511.06343, 2015.
Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference On Learning Representations, 2019.
Anton Lozhkov, Loubna Ben Allal, Leandro von Werra, and Thomas Wolf. FineWeb-Edu: The finest collection of educational content. Hugging Face dataset, 2024.
Pratyush Maini, Skyler Seto, Richard Bai, David Grangier, Yizhe Zhang, and Navdeep Jaitly. Rephrasing the web: A recipe for compute and data-efficient language modeling. In Annual Meeting Of The Association For Computational Linguistics, pp. 14044–14072, 2024.
Matteo Pagliardini, Pierre Ablin, and David Grangier. The AdEMAMix optimizer: Better, faster, older. In International Conference On Learning Representations, 2025.
Sung Min Park, Kristian Georgiev, Andrew Ilyas, Guillaume Leclerc, and Aleksander Madry. TRAK: Attributing model behavior at scale. In International Conference On Machine Learning, pp. 27074–27113, 2023.
Guilherme Penedo, Hynek Kydlíček, Loubna Ben Allal, Anton Lozhkov, Margaret Mitchell, Colin Raffel, Leandro von Werra, and Thomas Wolf. The FineWeb datasets: Decanting the web for the finest text data at scale. In Advances In Neural Information Processing Systems, pp. 30811–30849, 2024.
Garima Pruthi, Frederick Liu, Satyen Kale, and Mukund Sundararajan. Estimating training data influence by tracing gradient descent. In Advances In Neural Information Processing Systems, pp. 19920–19930, 2020.
Andrei Semenov, Matteo Pagliardini, and Martin Jaggi. Benchmarking optimizers for large language model pretraining. arXiv preprint arXiv:2509.01440, 2025.
Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. LLaMA: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023.
Nikhil Vyas, Depen Morwani, Rosie Zhao, Itai Shapira, David Brandfonbrener, Lucas Janson, and Sham Kakade. SOAP: Improving and stabilizing Shampoo using Adam for language modeling. In International Conference On Learning Representations, 2025.
Jiachen T Wang, Tong Wu, Dawn Song, Prateek Mittal, and Ruoxi Jia. GREATS: Online selection of high-quality data for LLM training in every iteration. In Advances In Neural Information Processing Systems, pp. 131197–131223, 2024.
Jiachen T Wang, Prateek Mittal, Dawn Song, and Ruoxi Jia. Data Shapley in one training run. In International Conference On Learning Representations, 2025.
Shaobo Wang, Xuan Ouyang, Tianyi Xu, Yuzheng Hu, Jialin Liu, Guo Chen, Tianyu Zhang, Junhao Zheng, Kexin Yang, Xingzhang Ren, Dayiheng Liu, and Linfeng Zhang. OPUS: Towards efficient and principled data selection in large language model pre-training in every iteration. In International Conference On Machine Learning, 2026.
Kaiyue Wen, David Leo Wright Hall, Tengyu Ma, and Percy Liang. Fantastic pretraining optimizers and where to find them. In International Conference On Learning Representations, 2026.
Mengzhou Xia, Sadhika Malladi, Suchin Gururangan, Sanjeev Arora, and Danqi Chen. LESS: Selecting influential data for targeted instruction tuning. In International Conference On Machine Learning, pp. 54104–54132, 2024.
Sang Michael Xie, Hieu Pham, Xuanyi Dong, Nan Du, Hanxiao Liu, Yifeng Lu, Percy S Liang, Quoc V Le, Tengyu Ma, and Adams Wei Yu. DoReMi: Optimizing data mixtures speeds up language model pretraining. In Advances In Neural Information Processing Systems, pp. 69798–69818, 2023a.
Sang Michael Xie, Shibani Santurkar, Tengyu Ma, and Percy Liang. Data selection for language models via importance resampling. In Advances In Neural Information Processing Systems, pp. 34201–34227, 2023b.
Zichun Yu, Spandan Das, and Chenyan Xiong. MATES: Model-aware data selection for efficient pretraining with data influence models. In Advances In Neural Information Processing Systems, pp. 108735–108759, 2024.
Huizhuo Yuan, Yifeng Liu, Shuang Wu, Xun Zhou, and Quanquan Gu. MARS: Unleashing the power of variance reduction for training large models. In International Conference On Machine Learning, pp. 73553–73587, 2025.
Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. HellaSwag: Can a machine really finish your sentence? In Annual Meeting Of The Association For Computational Linguistics, pp. 4791–4800, 2019.
Appendix
CONTENTS
1 Introduction 1
2 Related Work 2
3 The OptiSelect Paradigm 2
3.1 Data Schemes in LLM Pretraining 2
3.2 Optimizer-Aware Influence Scoring 3
4 What Makes an Optimizer Good at Selecting Data? 4
5 Experiments 6
5.1 The OptiSelect Benchmark: Selection Gain Across Optimizers and Scale 7
5.2 Which Scoring Geometry Should an Optimizer Use? 7
5.3 Does Selection Help with Rephrasing? 8
5.4 More Candidates, Better Performance? 8
6 Discussion and Limitations 9
7 Conclusion 9
A Extended Related Work 17
A.1 Online Data Selection and Curriculum Learning 17
A.2 Influence Functions and Data Attribution 17
A.3 Modern Optimizers for LLM Pretraining 18
B Benchmarked Optimizers: Update Rules and Frozen-State Operators 19
B.1 SGD with Momentum 19
B.2 AdamW 19
B.3 AdEMAMix 20
B.4 Sophia 20
B.5 Lion 21
B.6 Signum 21
B.7 D-Muon 22
B.8 Classification of the Frozen-State Operators 23
C The Selection-Gain Principle: Proof and Empirical Evidence 24
C.1 Proof of Theorem 1 24
D Detailed Proofs for Discriminability (§4) 28
D.1 Sign Collapse (Theorem 2) 28
D.2 Diagonal-Adaptive Advantage of AdamW and Sophia (Theorem 3) 31
D.3 Radial Collapse of Muon (Theorem 4) 33
D.4 Right-Preconditioned Muon Proxy and Exact Error 36
D.5 Optimal Candidate Multiplier (Lemma 1) 37
E Experiment Configurations 38
E.1 Model Architecture 38
E.2 Training Arguments 38
E.3 Selection Proxy Details 38
E.4 Learning Rate Sweep 38
E.5 Proxy Refresh Interval 40
F Extended Experimental Results 41
F.1 Complete scores at 124M 41
F.2 Complete scores at 720M 43
G Data Selection under Rephrasing 44
G.1 Details on the Downstream Tasks 44
G.2 Extended Results on Rephrasing 44
A EXTENDED RELATED WORK
This section gives a detailed description of related work mentioned in §2. The organizing claim is unchanged: existing work either selects data while treating the optimizer as given, or studies optimizers while treating the data stream as given, and the two literatures barely cite each other. OptiSelect sits at their intersection.
A.1 ONLINE DATA SELECTION AND CURRICULUM LEARNING
The idea that training order and sample weighting matter predates deep learning. Bengio et al. (2009) proposed easy-to-hard curricula for neural network training; Loshchilov & Hutter (2015) ranked samples by their current loss and sampled with exponential decay, reporting a speedup on MNIST; Katharopoulos & Fleuret (2018) formalized the problem as importance sampling, training an auxiliary model to predict upper bounds on per-sample gradient norms. These methods score samples by scalar losses or raw gradient norms; none accounts for the transformation the optimizer applies to a gradient before it becomes an update, which is the object this paper studies.
For LLM-scale pretraining, data selection has largely been static: the corpus is curated once, before training, by a criterion that never sees the model state. DSIR (Xie et al., 2023b) performs importance resampling in a hashed n-gram feature space to match a target distribution; DCLM (Li et al., 2024) trains fastText classifiers for quality filtering and shows that classifier choice dominates other curation decisions at scale; FineWeb-Edu (Penedo et al., 2024) distills LLM quality judgments into a lightweight scorer (the FineWeb family also supplies FineWeb-HQ, the corpus our benchmark streams); DoReMi (Xie et al., 2023a) optimizes domain mixture weights with a small proxy model and group-DRO objective. Static filters are cheap at training time and composable with any optimizer, but they cannot adapt to what the model currently knows, and they answer a different question from ours: what to train on, rather than what next. A complementary static axis is rewriting rather than filtering: FinePhrase (HuggingFaceFW, 2025) rephrases FineWeb documents into cleaner prose, changing the format of the text while preserving content. Section 5.3 shows this axis composes with online selection rather than substituting for it: the selection gain is essentially unchanged at 0%, 50% and 100% rephrased shares.
Online selection interleaves scoring with training. MATES (Yu et al., 2024) is the closest precursor to our setting at pretraining scale: it performs influence-guided selection during pretraining, but predicts influence with a small auxiliary model refreshed periodically, so the scores reflect the optimizer only indirectly through the checkpoints the auxiliary model is fitted to. GREATS (Wang et al., 2024) selects greedily within each batch using exact per-sample gradient inner products made affordable by the Ghost trick, at fine-tuning scale. OPUS (Wang et al., 2026) is the most principled online approach and the direct foundation of our benchmark: it computes optimizer-aware influence scores from per-sample gradients at every step and reports up to data efficiency at . OPUS, however, instantiates and validates the paradigm for AdamW and Muon only, and offers little analysis of how the operator shapes selection; the paradigm's defining component—the optimizer—is exactly the axis it leaves unexplored, and the axis along which this paper varies everything.
A.2 INFLUENCE FUNCTIONS AND DATA ATTRIBUTION
Classical influence functions (Koh & Liang, 2017) estimate the effect of removing training point z on the loss at a test point as , requiring an inverse-Hessian-vector product that is intractable at LLM scale and fragile in deep non-convex models. A line of work replaces the Hessian with tractable surrogates. TracIn (Pruthi et al., 2020) approximates influence by gradient dot products summed over checkpoints, which is exact for SGD dynamics and explicitly ignores optimizer preconditioners. TRAK (Park et al., 2023) scales attribution to billion-parameter models by random projection and kernel linearization. Data Shapley valuations can now be computed in a single training run (Wang et al., 2025), and LoGra (Choe et al., 2025) makes influence queries affordable at GPT scale by projecting gradients onto low-rank subspaces during training.
Most relevant to us is the recent recognition that the optimizer’s adaptive state fundamentally changes attribution. LESS (Xia et al., 2024) extends TracIn to account for Adam’s second moment when selecting instruction-tuning data, finding that Adam-aware selection consistently outperforms SGD-aware selection under an Adam-trained model. TrackStar (Chang et al., 2025) divides per-sample gradients by Adam’s before scoring, reporting that uncorrected scores preferentially retrieve long, high-magnitude examples rather than genuinely influential ones. These works treat a single optimizer’s correction as a fix to an attribution pipeline. Our frozen-state operator (§3.2) generalizes that move into a formalism: every optimizer induces its own influence geometry, the induced geometries differ qualitatively (diagonal, sign, polar-tangent), and the differences are large enough to reorder which optimizers benefit from selection at all (§5). Attribution also differs from our setting in when it acts: it explains a trained model’s behaviour retrospectively, whereas OptiSelect scores candidates prospectively, before the update they would cause, with the optimizer state frozen at the current step.
A.3 MODERN OPTIMIZERS FOR LLM PRETRAINING
The families. Adam (Kingma & Ba, 2015) with decoupled weight decay (Loshchilov & Hutter, 2019) remains the default for LLM pretraining. AdEMAMix (Pagliardini et al., 2025) adds a third, much slower momentum buffer ( , mixed in with weight ), on the observation that gradients stay informative for tens of thousands of steps. Sophia (Liu et al., 2024) maintains a diagonal Hessian estimate via Hutchinson or Gauss–Newton–Bartlett probes and clips the preconditioned update coordinate-wise. The sign family descends from SignSGD and its momentum variant Signum (Bernstein et al., 2018), motivated by communication compression; Lion (Chen et al., 2023), discovered by program search, interpolates momentum and gradient inside the sign and stores the buffer with a separate decay. Muon (Jordan, 2024) applies Newton–Schulz orthogonalization to the momentum matrix of each 2-D parameter, approximating the matrix-sign/polar-factor update; the D-Muon variant we benchmark follows Semenov et al. (2025) in handling 1-D parameters with AdamW, and refinements continue to appear (Li et al., 2026). The Kronecker-factored line runs from Shampoo (Gupta et al., 2018) through its scalable variants (Anil et al., 2020) to SOAP (Vyas et al., 2025), which runs Adam in Shampoo’s eigenbasis. Closest in spirit to our operator view, Bernstein & Newhouse (2024) read modern optimizers as steepest descent under different norms; our frozen-state operator is the same structural move aimed at a different question—not what update geometry an optimizer imposes, but what influence geometry it induces on data.
Benchmarks. Semenov et al. (2025) benchmark eleven optimizers (AdamW, AdEMAMix, MARS, D-Muon, SOAP, ADOPT, Prodigy, Sophia, Lion, Signum, SF-AdamW) on Llama-style models up to 720M parameters on FineWeb—the recipe our setup follows for comparability—finding that AdEMAMix dominates at larger scale, sign-based methods degrade with model size, SOAP wins short horizons but not long ones, and Sophia diverges in small-batch regimes. The concurrent study of Wen et al. (2026) partially disputes Muon's ranking and finds per-component learning-rate tuning critical. Both benchmarks train on uniformly sampled batches; neither considers any form of data selection. Our results give a concrete reason this omission matters: the benefit an optimizer draws from selection is an ordering of its own, stable across scale and unpredicted by standard-training quality (§5)—an optimizer chosen from these leaderboards may be the wrong choice for a selection pipeline.
B BENCHMARKED OPTIMIZERS: UPDATE RULES AND FROZEN-STATE OPERATORS
This section specifies the optimizer update rules and the frozen-state operators used for data selection. For each optimizer discussed below, we provide (i) pseudocode for the update rule, (ii) the corresponding frozen-state scoring operator , and (iii) the approximations and normalization conventions used for scoring. We distinguish the implemented scoring maps from the exact nonlinear maps and derivative-based operators considered in the analysis.
Derivation conventions. We use the following conventions:
(S1) Freeze the scoring state. Hold the reference state fixed across candidates at step , and write for the gradient argument. Where scoring also freezes a quantity that the optimizer normally updates using the incoming gradient, we state that approximation explicitly.
(S2) Separate candidate-independent additive terms. When the frozen update is affine in x, separate its constant component from the candidate-dependent direction. An additive constant in a completed scalar score does not affect rankings or Boltzmann probabilities. Terms inside nonlinear maps cannot generally be removed this way; the scoring conventions for those maps are specified below.
(S3) Choose a linear scoring map. A nonlinear batch update generally cannot be decomposed into independent per-sample directions. We therefore distinguish derivative-based linearizations from linear surrogates: the analysis considers the ideal polar derivative for Muon, while the experiments use a right-preconditioned Muon proxy and fixed-sign surrogates for Lion/Signum. Exact additivity of these scoring maps does not imply exact attribution under the full optimizer update.
Multiplying a completed score by a common positive scalar preserves hard rankings but rescales its variance and changes raw-score Boltzmann sampling at fixed temperature. Rescaling need not preserve the rankings induced by (1): when is rescaled consistently, the alignment term scales linearly and the redundancy term quadratically. The omitted prefactors therefore define the scoring convention rather than an invariance of the full utility or optimizer update.
B.1 SGD WITH MOMENTUM
Algorithm 2 SGD with heavy-ball momentum, one step.
Require: learning rate ; momentum ; first-order momentum buffer b (init 0)
1:
2:
Derivation. Substituting x for (S1), the update direction is . The frozen buffer term is candidate-independent and drops (S2), leaving the identity map (S3):
SGD scoring operator. : scoring with raw gradients. With the momentum state fixed, the update direction is affine in the gradient. After removing the constant momentum term, the candidate-dependent map is exactly linear.
B.2 ADAMW
Algorithm 3 AdamW (Kingma & Ba, 2015; Loshchilov & Hutter, 2019), one step.
Require: learning rate ; decays ; ; decoupled weight decay ; state with first- and second-moment estimates (m, v) (init 0)
1:
2:
3: ;
4:
Derivation. For scoring, freeze and the reference second-moment estimate across candidates. This suppresses the dependence of the denominator on the candidate gradient in the full AdamW update. Under this approximation, substituting gives
After removing the frozen additive terms, we set the current-gradient coefficient to one as a scoring normalization, obtaining the diagonal map below.
AdamW scoring operator. The scoring operator is linear, with exact per-sample decomposition under the frozen-denominator, unit-prefactor convention. with : inverse-square-root second-moment rescaling, assigning larger weights to coordinates with smaller estimated second moments.
B.3 AdEMAMix
Algorithm 4 AdEMAMix (Pagliardini et al., 2025), one step. The runs use the linear - and -warmup schedulers of the original paper.
Require: learning rate ; decays ; slow-buffer weight ; ; weight decay ; state
1: {fast buffer, bias-corrected below}
2: {slow buffer, uncorrected}
3: ; ;
4:
Derivation. Under the same frozen-denominator convention, the candidate enters both the fast and slow buffers, yielding the update direction:
After removing the frozen additive terms and setting the displayed current-gradient coefficient to one, we obtain the same diagonal scoring form as AdamW, evaluated at AdEMAMix 's frozen second moment.
AdEMAMix scoring operator. , with the same functional form as AdamW under the stated normalization. The two methods need not produce identical scores: their update dynamics can lead to different parameter trajectories and second-moment estimates.
B.4 SOPHIA
Algorithm 5 Sophia-G (Liu et al., 2024), one step. is the batch size used by the Hessian estimator; the trust scale is .
Require: learning rate ; decays ; trust parameter ; floor ; Hessian interval ; weight decay ; state
1: if then 2: draw for the mini-batch; 3: {Gauss–Newton–Bartlett estimate of } 4: 5: end if 6: 7: {coordinate-wise clip at magnitude 1}
Sophia estimates curvature from training gradients ,
(GNB; the Hutchinson variant uses , ), (12)
.
Derivation. Freeze and substitute into the momentum (S1):
Implementation. Clipping makes the update nonlinear in . For scoring, the implementation omits clipping and uses the unclipped operator
Equation (13) defines an unclipped scoring surrogate, with frozen, the frozen momentum contribution removed, and the current-gradient coefficient set to one. Its per-sample decomposition is exact for this linear scoring map, not for the clipped optimizer update in general.
Sophia scoring operator. . This linear surrogate assigns larger weights to coordinates with smaller estimated curvature, subject to the numerical floor.
B.5 LION
Algorithm 6 Lion (Chen et al., 2023), one step. Define two decay coefficients: mixes inside the sign, updates the stored buffer.
Require: learning rate ; decays ; weight decay ; state (init 0)
1: {one-off interpolation; not stored}
2:
3:
Derivation. Substituting gives the exact frozen-state operator directly:
When the frozen momentum dominates the candidate contribution, the exact operator usually agrees with the candidate-independent pattern . Candidate dependence then arises through coordinate sign flips. Under the Gaussian candidate model and momentum-dominance assumption of Theorem 2, these flips are rare tail events. The default alone does not establish this regime.
Implementation. The implementation instead uses a fixed-sign linear surrogate: the frozen pattern multiplies the candidate gradient coordinate-wise. The alignment component of the score is . The full utility also includes the redundancy term in (1). The collapse bound for the exact sign score does not directly apply to this surrogate.
Lion scoring operator. Exact: . Implemented: the linear surrogate map read from the stored buffer.
B.6 SIGNUM
Algorithm 7 Signum (Bernstein et al., 2018), one step.
Require: learning rate ; momentum decay ; state (init 0)
1:
2:
Derivation. Substituting for the incoming gradient gives
The superscript lin denotes a linear surrogate, not a Taylor or Fréchet linearization of the sign map, whose derivative is zero almost everywhere.
This has the same form as the Lion operator when , with the same coefficient controlling both the direction used for the update and the stored momentum. The gradient-driven updates coincide under this identification; any weight-decay conventions must also be matched. Unlike Lion, what is signed is the freshly stored buffer, so the frozen pattern’s persistence across steps tracks rather than a separate memory coefficient.
Signum scoring operator. Exact: . Implemented: the fixed-sign linear surrogate , as for Lion, with . For plain SignSGD ( ), the implementation uses SGD scoring as a fallback; this is a scoring convention, not the exact sign-update map.
B.7 D-Muon
Algorithm 8 D-Muon (Jordan, 2024; Semenov et al., 2025), one optimizer step. Settings used throughout this paper: , , , , and nesterov = False.
Require: learning rate ; momentum ; Newton–Schulz steps ; RMS target ; weight decay ; AdamW hyperparameters for the auxiliary path
1: Partition: W takes the Muon path iff is -D and ; embeddings and the LM head (vocabulary-sized first axis) therefore take the AdamW path, as do all 1-D parameters.
2: for each Muon-path weight with gradient do
3:
4: if nesterov else
5:
6:
7: end for
8: update the AdamW-path parameters by bias-corrected AdamW at the same
D–Muon does not compute an SVD. It applies steps of a fixed odd polynomial iteration to approximately orthogonalize the update matrix:
with . The finite iteration is distinct from the ideal polar map used in the analysis below.
Derivation. On a 2-D parameter block, the frozen state is the momentum matrix . For the ideal polar map, a candidate perturbation with weight gives , which is nonlinear in . This is an idealized local perturbation model, not an identity for the finite Newton–Schulz update. The rigorous linear object is the Fréchet derivative of the polar map at ,
with full derivations and rank assumptions in Appendices D.3.1 and D.3. The derivative is defined per unit perturbation; a perturbation of size contributes the corresponding scalar prefactor. Through the adjoint of (89), the first-order score is again a linear functional of the candidate, supported on singular-subspace rotations and new column-space directions and exactly zero on radial ones.
Implementation. The implementation scores with the cheaper right-preconditioned proxy
is formed once per weight matrix by symmetric eigendecomposition and reused for scoring calls ( in experiments). At a full-column-rank reference matrix and with , this proxy agrees with on the column-space complement. Positive regularization changes that agreement. The proxy also retains radial candidate components that the ideal derivative annihilates; Appendix D.4 gives the discrepancy in closed form.
Table 2: Properties of the frozen-state maps discussed in this appendix. Linearity guarantees additivity of the represented batch direction, not exact attribution under the full optimizer update. “Magnitude information” refers to retaining continuous amplitude information rather than only sign patterns; it does not imply norm preservation. §The Sophia row describes its unclipped scoring surrogate. ‡The Muon row describes the ideal polar derivative; the implemented right-preconditioned proxy is also linear but retains radial components. *The Lion/Signum rows describe the exact sign maps; their implemented fixed-sign surrogates are linear and retain candidate amplitude on coordinates with nonzero frozen signs.
| Optimizer | Operator family | Linear in x? | Magnitude information |
|---|---|---|---|
| Operators analyzed | |||
| SGD | Unpreconditioned (identity) | ✓ | ✓ |
| AdamW | Diagonal adaptive (second moment) | ✓ | ✓ |
| AdEMAMix | Diagonal adaptive (second moment) | ✓ | ✓ |
| Sophia | Diagonal adaptive (curvature) | ✓§ | ✓ |
| Muon | Matrix sign / polar tangent | ✓‡ | Tangential; radial discarded |
| Lion * | Sign-based | × | × |
| Signum * | Sign-based | × | × |
D-Muon scoring operator. The ideal polar derivative annihilates radial perturbations under the assumptions of Theorem 4. This radial-invariance result does not extend to the implemented proxy. Implemented: , with the preconditioner refreshed every steps. The auxiliary AdamW path’s parameters are excluded from scoring, as are all vocabulary-sized layers.
B.8 CLASSIFICATION OF THE FROZEN-STATE OPERATORS
Table 2 summarizes the operators discussed in this appendix, including the SGD and Signum reference methods. The following remark states what linearity of a frozen scoring map guarantees and distinguishes that property from fidelity to the optimizer update.
Remark 1 (Distributivity: when the per-sample decomposition is exact). The batch direction represented by a frozen linear scoring map decomposes exactly into per-sample directions:
This holds for SGD, AdamW, AdEMAMix, and Sophia’s unclipped scoring operator (13). With a fixed scoring reference, these linear maps also induce linear scalar scores. By contrast, the exact clipped Sophia update, coordinate-wise sign maps, and the finite Muon matrix-sign map are nonlinear. We use the following linear scoring approximations: the fixed-sign surrogate for Lion/Signum, and the Fréchet derivative in the Muon analysis or the right-preconditioned proxy in the benchmark. Their per-sample decomposition is exact for the chosen scoring map, but only approximates attribution under the nonlinear optimizer update, to first order for and heuristically for the deployed sign and Muon proxies.
C THE SELECTION-GAIN PRINCIPLE: PROOF AND EMPIRICAL EVIDENCE
C.1 PROOF OF THEOREM 1
Let us separate two ingredients for the proof of Theorem 1. Smoothness of the validation objective relates the realized one-step loss reduction to the mean utility of the trained-on batch, while the Gaussian candidate model determines the expected utility of the uniformly sampled and top-selected batches.
Proof. Condition on the parameters , the optimizer state, and the frozen scoring reference at step t. Let
For , denote by the batch returned by the corresponding sampling rule and by
the resulting batch direction.
We first make explicit the regularity conditions required for the one-step comparison. Assume that is -Lipschitz on a neighborhood containing every line segment
and that the two batch directions satisfy
Assume further that the frozen map used in the present argument is linear and is the same map used both to score candidates and to form the batch direction. Consequently,
The descent lemma now gives, for either sampling rule,
where
Let us clarify that this argument relies solely on local smoothness, requiring neither positive-definiteness nor a local quadratic-model assumption.
To connect (21) to the candidate utilities, write the frozen reference used in (1) as
where is the frozen redundancy direction. For
the adopted utility score can then be written as
Averaging (24) over and using (20) gives
(25)
Combining (21) and (25) therefore yields
where
By (19) and Cauchy–Schwarz,
Thus, uniformly over the two sampling rules,
Hence, up to a controlled second-order error, comparing one-step loss reductions is equivalent to comparing the expected mean utilities of the retained batches.
It remains to evaluate these two expectations. Let be the candidate utilities, and let denote their order statistics. Under uniform sampling, conditioning on the candidate pool gives
Taking expectation once more yields the exact identity
For top-B selection,
Assume first that and write
Then
where the exact finite-pool coefficient is
The case is immediate: all utilities are identical and both sampling rules have zero selection gain.
Equations (29), (31), and (33) give the exact finite-pool relations
(35)
with
Consequently,
The population coefficient in Theorem 1 is obtained by letting while keeping fixed. Consistency of upper-trimmed L-statistics gives
Equivalently, with
continuity of the Gaussian law gives
Since ,
(39)
Dividing by yields
In particular, when and hence ,
Thus, under the population top-q idealization, (36) becomes
which is (4). For a finite candidate pool, the mathematically exact statement is (36). Alternatively, invoking the standard fixed-q Gaussian L-statistic bound gives
Because is defined after centering and standardization, it is dimensionless and invariant under every positive affine transformation of the utility scores.
Corollary 1 (Relative selection gain). Under the assumptions of Theorem 1, suppose that and that the aggregate learning-rate and finite-pool remainder is . Then
or, equivalently, . Thus, for a fixed retained fraction , the relative benefit of selection is governed by the coefficient of variation of the optimizer-induced utility scores; the complete finite-pool and remainder bounds are given in Appendix C.1.
Proof of Corollary 1. Write
where
Suppose that and . Direct substitution gives
(46)
Hence, to leading order,
In the population limit, , and therefore
Equivalently, the multiplicative one-step improvement satisfies
Remark 2 (Linearity and attribution error). The preceding loss-reduction argument applies when the same frozen linear map, with matching scale, is used to score candidates and form the batch update. Linearity holds for the specified AdamW, AdEMAMix, and unclipped Sophia scoring maps; agreement with the full optimizer update is a separate assumption.
For any mismatched optimizer update satisfying the corresponding smoothness and moment conditions, let
denote the discrepancy between the direction actually applied and the additive direction represented by the scoring map. The same proof then acquires the additional error
Thus, the conclusion extends to a nonlinear update only when this attribution error is itself . It is zero for the exact linear families and is controlled to first order for the Fréchet-linearized polar map. For the deployed fixed-sign and right-preconditioned proxies, the theorem describes the gain predicted by the additive scoring geometry unless the corresponding update mismatch is bounded separately, as discussed in Remark 1.
Remark 3 (Scope of the gain comparison). Theorem 1 compares selection with uniform sampling for a fixed optimizer and scoring geometry, not absolute convergence across optimizers. For , in the population approximation and with negligible remainder terms, the relative extra one-step reduction is ; the total improvement factor is . Score spread alone does not establish alignment with the validation objective: useful selection requires both spread and ranking fidelity.
Remark 4 (Temperature and the empirical gain). Boltzmann sampling without replacement interpolates between top-B selection as and uniform sampling as . For nondegenerate scores, let denote the fraction of the expected top-B score gain retained. In the Gaussian population approximation,
With standardized utilities, depends on temperature and distributional shape, not raw score scale alone.
Assuming approximately constant and , and neglecting trajectory changes, a heuristic applied-token speedup is . For and , the efficiency reported by Wang et al. (2026) corresponds to . Indeed, this is a consistency calculation, not a convergence or compute-efficiency guarantee.
D DETAILED PROOFS FOR Discriminability ( )
This section provides proofs for each theorem in §4 with detailed derivations and supporting assumptions (§D.1–§D.3).
D.1 SIGN COLLAPSE (THEOREM 2)
Throughout this subsection, we condition on the step-t optimizer state and on the frozen scoring reference . Consequently, all expectations, probabilities, and variances are taken only over the candidate gradient
Coordinates with but contribute only candidate-independent constants to both scores and therefore contribute zero variance. They may be removed without affecting any discriminability statement. Hence, without loss of generality, we take on . We also fix an arbitrary -valued convention for ; under the preceding non-degeneracy condition, the argument of the exact sign map equals zero with probability zero.
Variance of fixed linear diagonal scores. We first record the variance identity used for the linearized score and, subsequently, for the diagonal-operator comparison of Theorem 3. Importantly, this identity applies only to a candidate-independent linear diagonal map; it does not apply directly to the exact nonlinear Lion score.
Let be fixed conditional on the optimizer state, and define
Since only is random,
(53)
In particular,
Whenever , define
Then every comparison among fixed linear diagonal operators satisfies
If , the SGD and linearized sign scores are both deterministic, so their variance equality remains valid, although the normalized ratio (56) is undefined.
Assumption 1 (Momentum dominance). Let . There exists such that
To interpret the assumption, define the coordinate-wise dominance statistic
Assumption 1 is equivalent to requiring on the support of the scoring reference. It is therefore a state-dependent and directly measurable condition, rather than a universal property of sign-based optimization.
As a heuristic interpretation, under stationary i.i.d. gradients the stored momentum buffer approaches the expectation ; for Lion, this remains true even though the stored buffer uses the separate decay coefficient . Replacing the realized buffer by its stationary mean gives the mean-state approximation
For , the prefactor permits a substantial dominance margin when the gradient retains a persistent mean component. This stationary approximation is only interpretive and is not used in the proof below.
Proposition 1 (Linearized sign scoring is spread-neutral). For every fixed sign pattern , the linearized sign score
satisfies
Proof of Proposition 1. The linearized score is a fixed linear functional of the candidate:
Applying the fixed-diagonal variance identity (53) with gives
(62)
because for every coordinate. This is exactly the SGD score variance. Equivalently, the diagonal reflection preserves the covariance geometry because
Proposition 2 (Exponential collapse of the exact score). Suppose that, for some ,
Then the exact Lion score
satisfies
Consequently, whenever
The same conclusions hold for Signum after replacing with its momentum coefficient .
Proof of Proposition 2. Step 1: define coordinate-wise sign flips
We first apply exact decomposition into coordinate-wise sign flips. Denote
and the exact candidate-dependent sign
For each coordinate, introduce the flip indicator, which is the probability that the candidate gradient flips the sign of the momentum buffer at coordinate.
Since both and take values in ,
Therefore, we have
According to our Gaussian candidate modelling, is diagonal and is Gaussian, so the coordinates are independent. Therefore, the flip indicators are independent across coordinates. We can write the variance of the exact score as:
(72)
Thus, we find that the candidate-dependent variation in the nonlinear sign score is carried by coordinate-wise sign reversals.
Step 2: sign flips is a Gaussian tail events under momentum dominance.
, a flip occurs when the candidate gradient satisfies:
Since
the flip probability can be written in a Gaussian cumulative distribution function :
According to Assumption 1, we have , therefore,
The second inequality is from .
Combining (74) and (75) gives the sharper one-sided bound
In particular, for , according to Gaussian Chernoff tail bound, we have
Substituting (77) into (72), we obtain
(78)
which proves Eq. (6).
Finally, when , combining Eqs. (5) and (6) yields
Therefore,
whenever
The proof uses only the generic sign-operator form
The same proof applies to Signum by replacing with Signum's scalar momentum coefficient , which is distinct from the gradient-mean vector .
The two parts of Theorem 2 concern distinct scoring rules. Proposition 1 analyzes the fixed-sign linear score denoted by , whereas (6) analyzes the exact nonlinear score . Accordingly, the fixed-diagonal spread identity (56) may be applied to the former but not to the latter. Conversely, the momentum-dominance bound for the exact score does not by itself constitute a variance bound for the implemented linearized score.
D.2 DIAGONAL-ADAPTIVE ADVANTAGE OF ADAMW AND SOPHIA (THEOREM 3)
The amplification half of the ranking rests on one further empirical condition and one convexity lemma, from which the two auxiliary propositions and the theorem follow.
Assumption 2 (Weighted variance normalization). With the weights of (55), the second-moment estimates satisfy , and is non-constant on the support of .
Assumption 2 asks that the coordinates carrying validation-relevant variance not sit where the second moments are large. It is empirically mild since gradient clipping caps the incoming squared gradients, and the downstream proxy concentrates w on rare-feature coordinates, precisely those with . We start the comparison on AdamW and Sophia from Lemma 2:
Lemma 2 (Preconditioner amplification). Let be weights with , and let be positive scalars that are not all equal. Then . Moreover, for under Assumption 2,
and in the regime relevant to AdamW ( ),
Proof of Lemma 2 (Preconditioner amplification). The first statement is an immediate consequence of Jensen's inequality applied to the strictly convex function : when is non-constant under the distribution .
For the second statement, write , so that coordinate-wise; it therefore suffices to bound . By Jensen's inequality applied to the convex function on ,
where the last step uses Assumption 2; the inequality is strict since is non-constant on the support of . The statement follows since when . We also discuss the role of the normalization condition; without it the conclusion can fail (e.g., , gives ), so Assumption 2 is not merely technical.
Proposition 3 (Variance preconditioning amplifies spread). The AdamW score has
so its spread ratio (56) is , which under Assumption 2, Lemma 2 bounds below:
Proof of Proposition 3 (Variance preconditioning amplifies spread). The Adam influence score is . By independence of the coordinates of : , yielding (82). Dividing by gives the spread ratio with the weights (55), and Lemma 2 under Assumption 2 bounds it below by .
Proposition 4 (Curvature preconditioning amplifies spread). The Sophia score under the unclipped scoring operator (13) is the diagonal-form score with pattern . Suppose the curvature estimates satisfy the normalization analogous to Assumption 2: , with non-constant on the support of . Then, with ,
in the regime . The amplification enters through the squared inverse curvature, concentrated on exactly the flat directions (small ) that the validation-relevant weights occupy; the condition is measurable along training in the same way as Assumption 2.
Proof. Since , we have coordinate-wise. Applying Jensen's inequality twice, to (strictly, since is non-constant on the support of ) and to the convex map ,
where the last step uses the normalization. Combining the two displays gives the claim; the spread-ratio identity is (56).
Combining Proposition 3–4 with Proposition 2 (66), we complete the proof of Theorem 3.
D.3 RADIAL COLLAPSE OF MUON (THEOREM 4)
D.3.1 PRELIMINARIES: THE IDEAL POLAR MAP
Throughout, all matrices are real, and msign denotes the ideal polar-factor map, not the conventional primary matrix-sign function. The exact identities below do not describe the finite Newton–Schulz computation in (16). We condition on the momentum matrix , the scoring reference , and all scoring coefficients. All probabilistic statements are conditional on these frozen quantities; only the candidate gradient is random.
Assumption 3 (Regular polar state). The matrix , , has full column rank. Fix a compact SVD
where and is square. Repeated singular values are allowed.
The polar decomposition is , where
In particular, . The polar-derivative statements for full-row-rank wide matrices follow by transposition. The right-preconditioned proxy is analyzed below in the displayed orientation.
Proposition 5 (Spectral-norm steepest descent). For full-column-rank , is the unique maximizer of over .
Proof. For any feasible D, its alignment with the singular vectors satisfies
with equality at . Since every , equality requires for every . Together with , this implies . The vectors form a basis, so .
D.3.2 POLAR DERIVATIVE AND RADIAL GEOMETRY
Fix an orthonormal complement so that is orthogonal. Define
When , complement-block terms are absent. Unless indicated otherwise, range over and over .
The radial subspace and its Frobenius-orthogonal complement are
Equivalently, : radial perturbations change the positive polar factor at fixed . Writing , define
These are the orthogonal projections onto and , respectively, since symmetric and skew-symmetric matrices are Frobenius-orthogonal and the two column-space blocks are orthogonal. Set for .
Theorem 5 (Exact first-order geometry of matrix-sign scoring). Under Assumption 3, let . For any , set and . Then
The derivative is self-adjoint for the Frobenius inner product:
Moreover, with , there exists , depending only on , such that
(90)
for every real and every satisfying .
Proof. The polar map is smooth on the open set of full-column-rank matrices. Differentiate in direction to obtain . Since and is symmetric, is skew-symmetric, and
In the V basis, the first identity becomes , where . Solving entrywise and using gives (88).
In the orthogonal block coordinates (B, C), the map on each pair ([B]{ij}, [B]{ji}), , has the symmetric matrix
diagonal entries are sent to zero, and each is multiplied by . Thus is self-adjoint. Finally, the closed Frobenius ball of radius around lies in the full-column-rank set. The second derivative is bounded on this compact ball, so Taylor's theorem and Cauchy–Schwarz give (90).
Corollary 2 (Exact radial nullspace). Under Assumption 3,
Proof. The two terms in (88) are orthogonal and vanish simultaneously exactly when and . This gives the kernel and the first projection identity; self-adjointness gives the second.
Corollary 3 (Exact radial invariance). Under Assumption 3, for every symmetric and every real ,
Proof. The factorization is its polar decomposition.
A diagonal S changes only singular values in the chosen basis. A general symmetric S can also change the eigenvectors of the positive polar factor while leaving Q unchanged. The finite invariance above concerns purely radial perturbations; for arbitrary candidates differing radially, equality is guaranteed only for their first-order scores at the frozen state.
D.3.3 SCORE VARIANCE AND PROOF OF THEOREM 4
Fix and , and assume . Define
Thus is the candidate-dependent first-order term of .
Corollary 4 (General covariance formula). Under the frozen-state and second-moment conditions above, let and . Then
No coordinate-uncorrelation assumption is needed.
Proof. Apply the covariance identity for the linear functional .
For the coordinate formulas and Theorem 4, additionally assume that the entries of the combined collection are pairwise uncorrelated, including cross-block pairs, and write
These are entry variances, not variances of antisymmetric differences. Uncorrelation is assumed in the fixed singular-vector basis and does not follow merely from diagonal covariance in the original parameter coordinates. Neither Gaussianity nor a zero-mean assumption is required.
Proof of Theorem 4. Corollary 2 gives , so changing only the radial component leaves the score unchanged. By self-adjointness and (88),
Pairwise uncorrelation yields
Likewise, the tangential projection gives
Since and , termwise comparison gives
which is (9).
Comparison with SGD. Orthogonality of the matrix projections does not imply uncorrelation of the projected scalar scores. Indeed,
and expansion under the coordinate assumptions above gives
For example, transpose-pair variance symmetry makes this covariance zero; together with , it is sufficient for . There is no unconditional ordering: for , , a nonzero skew-symmetric reference , and independent unit-variance entries of , the ratio is , which exceeds one when .
D.4 RIGHT-PRECONDITIONED MUON PROXY AND EXACT ERROR
For fixed , write
The score with the normalization of (2) is . Since
taking the inner product with R and using the same coordinate uncorrelation assumption gives
Without coordinate uncorrelation, the corresponding identity is , where . Both scores are fixed linear functionals of ; if this vector is Gaussian, the scores are jointly Gaussian, possibly degenerate.
For any , subtracting the proxy from (88) gives
The two blocks are orthogonal, hence
(96)
At , the proxy agrees with the derivative on the column-space complement, but generally not on the parallel block. For , the complement weights also differ when that block is present. Since is invertible, the proxy annihilates no nonzero matrix, including radial perturbations. Their scalar alignments can nevertheless vanish for particular references. Thus radial invariance of the ideal polar map is not a radial-collapse guarantee for the deployed proxy.
Normalization and scope. The coefficient is the candidate's weight in the local matrix perturbation, determined by the batch and momentum conventions; it is not universally 1/B. The displayed proxy score omits this weight, as in (2). For equally weighted scores,
Multiplying any score by a fixed scalar multiplies its variance by the square of that scalar; any additional block-update rescaling must therefore be retained in calibrated comparisons. All variance identities above concern the specified linear scores, not the finite nonlinear alignment . The Taylor estimate in (90) is local and must be controlled separately when relating their variances.
D.5 OPTIMAL CANDIDATE MULTIPLIER (LEMMA 1)
We provide the detailed proof of Lemma 1 here.
Proof. Following Theorem 1, the per-step selection gain is with . A step draws candidate rows and trains on of them. Denote sequence length , OptiSelect streams and scores tokens while training the model on . Therefore, under a budget counted in tokens read, we quantify the selection gain per-read-token as
Let , define the density, CDF and upper tail functions for as
with denoting the quantile function.
Let hard top-q selection retain the largest q-fraction, i.e. those above the -quantile . Writing and , the truncated-normal mean is
using , so that . By construction , hence selection lifts the mean utility by and
Therefore, plug in (97), we have:
Write , so . Differentiating implicitly,
Then, plug in with the chain rule, we have:
We then find the optimum of (100) by introducing an involution , which maps onto itself and corresponds to . Because and is even, (100) gives
so the efficiency curve is symmetric under that involution, i.e. and exactly. An involution of an interval has exactly one fixed point here, , and a strictly unimodal function invariant under it must attain its extremum there.
Therefore, the multiplier sets the unique optimum.
37
□
E EXPERIMENT CONFIGURATIONS
E.1 MODEL ARCHITECTURE
Configurations. We follow Llama architecture with RMSNorm pre-normalization, SwiGLU and RoPE positional embedding for all the LLM pretraining runs in Section 5. We apply GPT2 BPE tokenizer with vocabulary size 50,304.
Table 3: Model architecture configurations.
| Scale | layers | heads | seq. len. | tokens/step | |
|---|---|---|---|---|---|
| 124M | 768 | 12 | 12 | 512 | 32,768 |
| 720M | 2048 | 12 | 16 | 512 | 131,072 |
Infrastructure. All runs use single GH200 nodes (4 GPUs, DDP) on the Clariden cluster, inside an NGC PyTorch container. FineWeb-HQ and FinePhrase datasets are loaded in streaming.
E.2 TRAINING ARGUMENTS
On both 124M and 720M model runs, we apply cosine schedule decaying to with 2,000 warmup steps and weight decay 0.1, the optimal learning rate are determined by a grid sweep per-optimizer and per-scale, according to Appendix E.4. The 124M models are trained with a global batch size tokens across 4 GH200 GPUs, while the 720M models are trained with a global batch size tokens On both standard training and OptiSelect, the models are train from scratch for 128k steps, consuming 4.2B tokens in total.
E.3 SELECTION PROXY DETAILS
The proxy set holds 4,096 densely packed 512-token sequences split evenly over ARC-Easy, ARC-Challenge, HellaSwag, PIQA, and SciQ, each document rendered as the task prompt concatenated with its correct completion. The proxy gradient is recomputed every refresh interval (1000 steps) on the corresponding model checkpoint. The proxy refresh interval is determined by the ablation of Appendix E.5.
E.4 LEARNING RATE SWEEP
Switching a run to OptiSelect changes which data the optimizer sees, and could in principle move the optimizer's best step size with it. If it did, every OptiSelect run would need its own learning-rate search and the cost of using the method would roughly double. This appendix settles the question at 124M, and the answer is what licenses the cheaper protocol used at 720M.
LR Sweep on 124M runs On 124M models, we grid-search the learning rate over four geometrically spaced rates across 7 optimizers, on OptiSelect and standard training respectively.
According to Table 4 and Figure 8, we find The optimal learning rate is transferrable on most optimizers. All seven optimizers select the same learning rate under standard training and OptiSelect paradigm according to its downstream performance. Therefore, a run can adopt the optimal learning rate from its standard-training rate in the OptiSelect mode.
720M Learning-Rate Search Given the transferability of learning rate, we swept five optimizers in standard training mode at the full 720M configuration (16 GPUs, 256 sequences per step, 2k steps = 262M tokens). We select the optimum across four grids according to Figure 9 and directly apply the same optimal learning rate on OptiSelect.
Table 4: Downstream loss (“dwn”) and FineWeb Validation loss (“val”) across a sweep of learning rates at 124M. Bold marks the optimal learning rate on the downstream loss, which are taken for experiments.
| Optimizer | Mode | val / dwn at default | |||
|---|---|---|---|---|---|
| AdamW | std | 3.692 / 3.963 | 3.610 / 3.865 | 3.579 / 3.840 | 3.642 / 3.902 |
| sel | 3.733 / 3.850 | 3.650 / 3.771 | 3.616 / 3.745 | 3.949 / 4.080 | |
| AdEMAMix | std | 3.680 / 3.950 | 3.617 / 3.885 | 3.599 / 3.863 | 4.206 / 4.446 |
| sel | 3.724 / 3.855 | 3.659 / 3.780 | 3.635 / 3.763 | 4.484 / 4.646 | |
| Sophia | std | 3.796 / 4.062 | 3.687 / 3.947 | 3.647 / 3.908 | 3.730 / 3.979 |
| sel | 3.828 / 3.950 | 3.724 / 3.856 | 3.679 / 3.804 | 3.737 / 3.891 | |
| D-Muon | std | 3.777 / 4.043 | 3.658 / 3.931 | 3.607 / 3.870 | 3.622 / 3.877 |
| sel | 3.789 / 3.971 | 3.675 / 3.851 | 3.620 / 3.794 | 3.613 / 3.795 | |
| Lion | std | 3.611 / 3.867 | 3.585 / 3.852 | 3.603 / 3.862 | 5.697 / 5.946 |
| sel | 3.638 / 3.841 | 3.609 / 3.834 | 3.629 / 3.835 | 5.562 / 5.742 | |
| Signum | std | 3.840 / 4.099 | 3.740 / 3.996 | 3.709 / 3.964 | 3.867 / 4.107 |
| sel | 3.858 / 4.059 | 3.761 / 3.967 | 3.727 / 3.934 | 3.819 / 4.009 | |
| SGD | std | 6.996 / 7.190 | 6.878 / 7.073 | 6.728 / 6.930 | 6.558 / 6.763 |
| sel | 6.992 / 7.160 | 6.885 / 7.054 | 6.722 / 6.905 | 6.506 / 6.648 | |

Figure 8: Downstream loss in 124M learning-rate sweep. Stars * mark the optimum for each optimizer.

Figure 9: Downstream loss in 720M learning-rate search. Stars * mark the optimum for each optimizer.
E.5 PROXY REFRESH INTERVAL
Recomputing costs a backward pass over the packed proxy set, so the engine caches it and reuses it for steps. This trades a per-step cost against a staleness bias: between refreshes the reference gradient is evaluated at parameters the model has since left. We sweep on AdamW at its best rate (, 10k steps, everything else held fixed) and report the results in Figure 10, Table 5. Since the cost is essentially free and the benefit saturates by (3.7178 vs. 3.7165 nats at ), we set as the default.

Figure 10: Ablation on Proxy-refresh Frequency. AdamW at , 10k steps, varying only the refresh interval ; stars mark the best cell. (a) The downstream loss degrades monotonically proxy-refresh frequency; while (b) Held-out FineWeb-HQ loss moves in an opposite way. (c) Selection entropy falls as grows, i.e. a stale reference makes the scores look more decisive while aligning them with a stale target. (d) Step time is flat to within 0.03 s (6%): the refresh is amortized over steps and never dominates.
Table 5: Proxy refresh sweep, AdamW at , 10k steps at 124M. is measured as median wall-clock per optimizer step.
| refresh (steps) | 500 | 1000 | 5000 | 10000 |
|---|---|---|---|---|
| downstream loss | 3.7165 | 3.7178 | 3.7421 | 3.8244 |
| FineWeb-HQ val. loss | 3.6265 | 3.6265 | 3.6185 | 3.6052 |
| selection entropy | 0.84 | 0.84 | 0.81 | 0.79 |
| (s) | 0.51 | 0.50 | 0.50 | 0.48 |
F EXTENDED EXPERIMENTAL RESULTS
We present an extended analysis on the experimental results from section §5, at both 124M and 720M model scales.
F.1 COMPLETE SCORES AT 124M
Losses. We directly compare across various optimizers under standard training and OptiSelect in terms of average loss across all downstream tasks (Figure 11a,b) and validation loss on a held-out set from FineWeb-HQ (Figure 11c,d). The full loss values are presented in Table 6.
Figure 11 demonstrates that data selection improves downstream loss with every optimizers, while the ranking of optimizers is largely preserved at 124M, with AdamW and AdEMAMix taking the leading position. In comparison, Lion and D-Muon falls behind other optimizers in rank despite its improvements on raw downstream performance. However, OptiSelect does not affect the optimizer ranking upon training distribution, i.e. the ranks upon held-out FineWeb-HQ loss are constant between standard training and OptiSelect.
Accuracy. Table 7 provides the complete accuracy scores across 9 in-domain and out-of-domain tasks. OptiSelect outperforms standard training with the equal amount of trained tokens in both in-domain and out-of-domain tasks, while falling behind with an equal amount of read tokens ( of trained tokens). Across optimizers, AdEMAMix achieves the best accuracy across in-domain tasks, while AdamW achieves the best score on out-of-domain ones. In comparison, Lion underperforms standard baseline in the average in-domain accuracy and Sophia underperforms in the average accuracies of out-of domain tasks.



Figure 11: Downstream loss and Held-out Fineweb-HQ loss compared across all optimizers at 720M. (i) Standard training, (ii) OptiSelect.
Table 6: Downstream loss and Held-out Fineweb-HQ loss on 124M models.
| Optimizer | Held-out FineWeb-HQ loss↓ | Downstream loss↓ | ||||
|---|---|---|---|---|---|---|
| std@128k | sel@128k | Δ | std@128k | sel@128k | Δ | |
| AdamW | 3.107 | 3.094 | -0.013 | 3.361 | 3.241 | -0.119 |
| AdEMAMix | 3.108 | 3.093 | -0.014 | 3.410 | 3.274 | -0.135 |
| Sophia | 3.198 | 3.179 | -0.019 | 3.486 | 3.458 | -0.028 |
| Lion | 3.133 | 3.116 | -0.016 | 3.417 | 3.399 | -0.018 |
| D-Muon | 3.204 | 3.195 | -0.008 | 3.455 | 3.471 | +0.015 |
Table 7: 124M zero-shot accuracy (%) per task. OptiSelect outperforms standard training with equal amount of trained tokens, while falls behind with the equal amount of read tokens ( of trained tokens). Bold marks the best performance scores. Red color marks the slots where OptiSelect underperformed.
| Optimizer | Checkpoint | In-distribution | Out-of-distribution | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PIQA | HSwag | ARC-e | ARC-c | SciQ | mean | Wino | WSC | CSQA | OBQA | mean | ||
| AdamW | std@128k | 64.80 | 31.83 | 44.11 | 23.38 | 65.40 | 45.90 | 51.14 | 36.54 | 19.66 | 28.80 | 34.03 |
| sel@128k | 64.80 | 32.56 | 44.32 | 25.51 | 65.20 | 46.48 | 52.96 | 41.35 | 19.74 | 29.00 | 35.76 | |
| sel@64k | 62.08 | 30.56 | 42.93 | 23.72 | 62.40 | 44.34 | 50.91 | 36.54 | 19.49 | 28.00 | 33.73 | |
| AdEMAMix | std@128k | 63.71 | 31.98 | 43.01 | 25.51 | 65.40 | 45.92 | 50.83 | 36.54 | 19.57 | 29.40 | 34.09 |
| sel@128k | 65.18 | 32.50 | 43.81 | 25.26 | 66.80 | 46.71 | 54.14 | 36.54 | 20.64 | 26.60 | 34.48 | |
| sel@64k | 62.51 | 29.91 | 41.88 | 23.46 | 61.80 | 43.91 | 51.38 | 36.54 | 19.57 | 29.00 | 34.12 | |
| Sophia | std@128k | 62.95 | 31.27 | 41.71 | 24.32 | 58.80 | 43.81 | 49.64 | 38.46 | 19.66 | 27.80 | 33.89 |
| sel@128k | 62.40 | 31.26 | 43.22 | 24.15 | 62.80 | 44.77 | 50.28 | 36.54 | 19.57 | 26.40 | 33.20 | |
| sel@64k | 62.35 | 29.58 | 41.12 | 25.34 | 60.20 | 43.72 | 50.59 | 36.54 | 19.57 | 28.00 | 33.68 | |
| Lion | std@128k | 63.44 | 32.39 | 43.18 | 23.21 | 65.00 | 45.44 | 50.75 | 36.54 | 19.49 | 27.60 | 33.60 |
| sel@128k | 63.71 | 32.10 | 42.47 | 25.51 | 62.20 | 45.20 | 51.46 | 37.50 | 19.57 | 28.00 | 34.13 | |
| sel@64k | 61.86 | 30.17 | 40.99 | 24.23 | 59.70 | 43.39 | 52.41 | 36.54 | 19.57 | 27.60 | 34.03 | |
| D-Muon | std@128k | 64.58 | 32.15 | 41.96 | 24.15 | 62.60 | 45.09 | 52.88 | 36.54 | 19.74 | 25.00 | 33.54 |
| sel@128k | 63.00 | 32.62 | 42.47 | 24.06 | 64.20 | 45.27 | 50.99 | 40.38 | 19.66 | 28.00 | 34.76 | |
| sel@64k* | 61.15 | 29.84 | 40.19 | 23.63 | 60.00 | 42.97 | 49.57 | 38.46 | 19.57 | 27.20 | 33.70 | |
F.2 COMPLETE SCORES AT 720M
Losses. According to Figure 12 and Table 8. At 720M, D-Muon ranks at the first under standard training while falling behind of AdamW and AdEMAMix with OptiSelect in downstream losses. Whereas for held-out FineWeb-HQ loss, Muon keeps its leading position while AdamW, AdEMAMix and Lion demonstrate a degradation compared with standard training.
Accuracy. Table 9 provides the complete accuracy scores across 9 in-domain and out-of-domain tasks at 720M. All the optimizers outperform standard training in in-domain accuracies, while Muon and AdEMAMix underperform in average out-of-domain accuracy.



Figure 12: Downstream loss and Held-out Fineweb-HQ loss compared across all optimizers at 720M. (i) Standard training, (ii) OptiSelect.
Table 8: Downstream loss and Held-out Fineweb-HQ loss on 720M models.
| Optimizer | Held-out FineWeb-HQ | Downstream probe | ||||
|---|---|---|---|---|---|---|
| std@107k | sel@107k | Δ | std@107k | sel@107k | Δ | |
| AdamW | 2.704 | 2.714 | +0.010 | 2.995 | 2.891 | -0.104 |
| AdEMAMix | 2.705 | 2.710 | +0.005 | 3.004 | 2.908 | -0.096 |
| Sophia | 2.745 | 2.736 | -0.009 | 3.049 | 3.026 | -0.023 |
| Lion | 2.729 | 2.731 | +0.002 | 3.018 | 3.022 | +0.004 |
| D-Muon | 2.696 | 2.684 | -0.012 | 2.993 | 2.944 | -0.049 |
Table 9: 720M zero-shot accuracy (%), per task.
| Optimizer | Checkpoint | In-distribution | Out-of-distribution | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PIQA | HSwag | ARC-e | ARC-c | SciQ | mean | Wino | WSC | CSQA | OBQA | mean | ||
| AdamW | std@107k | 69.45 | 46.03 | 53.89 | 28.37 | 75.85 | 54.72 | 50.87 | 45.19 | 19.49 | 32.50 | 37.01 |
| sel@107k | 70.51 | 47.05 | 56.44 | 28.75 | 76.30 | 55.81 | 52.88 | 36.54 | 20.72 | 33.00 | 35.79 | |
| sel@53.5k | 68.72 | 41.35 | 52.31 | 27.39 | 73.00 | 52.55 | 49.96 | 36.54 | 19.74 | 30.20 | 34.11 | |
| AdEMAMix | std@107k | 69.29 | 46.04 | 54.19 | 27.60 | 74.50 | 54.32 | 52.49 | 42.31 | 19.57 | 32.60 | 36.74 |
| sel@107k | 70.13 | 47.07 | 55.43 | 27.82 | 76.00 | 55.29 | 52.80 | 54.81 | 18.59 | 34.00 | 40.05 | |
| sel@53.5k | 68.61 | 42.27 | 51.52 | 27.13 | 73.40 | 52.59 | 51.22 | 59.62 | 20.07 | 32.40 | 40.83 | |
| Sophia | std@107k | 69.04 | 44.14 | 52.21 | 26.96 | 73.65 | 53.20 | 50.91 | 37.50 | 21.09 | 32.90 | 35.60 |
| sel@107k | 69.59 | 45.41 | 53.41 | 28.58 | 75.00 | 54.40 | 50.99 | 47.12 | 21.29 | 32.20 | 37.90 | |
| sel@53.5k | 67.68 | 41.66 | 52.48 | 27.13 | 71.20 | 52.03 | 51.38 | 36.54 | 20.88 | 31.40 | 35.05 | |
| Lion | std@107k | 69.94 | 44.95 | 53.85 | 27.69 | 72.30 | 53.75 | 50.59 | 36.54 | 20.84 | 30.70 | 34.67 |
| sel@107k | 71.11 | 45.38 | 52.90 | 27.30 | 74.40 | 54.22 | 51.93 | 42.31 | 20.23 | 32.60 | 36.77 | |
| sel@53.5k | 67.85 | 41.62 | 48.57 | 26.54 | 70.80 | 51.07 | 50.67 | 38.46 | 20.31 | 30.40 | 34.96 | |
| D-Muon | std@107k | 70.67 | 47.49 | 54.84 | 28.24 | 73.55 | 54.96 | 52.92 | 58.65 | 20.43 | 32.50 | 41.13 |
| sel@107k | 70.57 | 49.91 | 55.51 | 29.52 | 76.60 | 56.42 | 54.06 | 45.19 | 20.48 | 33.60 | 38.33 | |
| sel@53.5k | 67.57 | 41.09 | 47.64 | 26.79 | 70.30 | 50.68 | 52.96 | 36.54 | 19.25 | 31.00 | 34.94 | |
G DATA SELECTION UNDER REPHRASING
G.1 DETAILS ON THE DOWNSTREAM TASKS
We categorize all five downstream tasks into two groups according their probing formats: (1) QA-formatted: A task is QA-formatted if the prompt poses an explicit question and terminates with an answer slot, so the model is scored on the Question-Answering ability; (2) completion-formatted A task is is completion-formatted if it feeds a plain textual stem to the model, and every option is a continuation of it. The model is scored on its ability on continuation.
According to the evaluation harness on each task, we categorize ARC-Easy, ARC-Challenge, PIQA, SciQ, CommonSense QA, Openbook QA as QA-formatted; and HellaSwag, WinoGrande, WSC are completion-formatted.
G.2 EXTENDED RESULTS ON REPHRASING
We present the complete results on the OptiSelect × Format rephrasing experiments in §5.3. According to Table 10, OptiSelect consistently outperforms standard training across various rephrasing mixtures in terms of average accuracy on in-domain proxy tasks and out-of-domain benchmarks. Notably, both standard training and OptiSelect achieve the best performance across all 9 tasks at 50% rephrasing rates, which mixes original FineWeb and FinePhrase documents by 1 : 1 ratio.
Table 10: Format rephrasing × OptiSelect, zero-shot accuracy (%).
| Rephrased | Mode | In-Domain | Out-of-Domain | overall-mean | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PIQA | HSwag | ARC-e | ARC-c | SciQ | mean | Wino | WSC | CSQA | OBQA | mean | |||
| 0% | standard | 64.74 | 29.59 | 47.81 | 20.65 | 75.10 | 47.58 | 51.14 | 36.54 | 19.66 | 16.60 | 30.98 | 40.20 |
| OptiSelect | 64.74 | 30.01 | 50.04 | 20.31 | 74.10 | 47.84 | 52.01 | 44.23 | 19.74 | 17.40 | 33.35 | 41.40 | |
| 50% | standard | 64.47 | 29.87 | 51.94 | 23.04 | 75.90 | 49.04 | 50.28 | 38.46 | 19.57 | 18.00 | 31.58 | 41.28 |
| OptiSelect | 64.91 | 30.13 | 53.24 | 23.29 | 77.00 | 49.72 | 52.17 | 40.38 | 19.57 | 17.60 | 32.43 | 42.03 | |
| 100% | standard | 63.71 | 30.05 | 54.00 | 23.21 | 75.60 | 49.31 | 49.96 | 36.54 | 19.49 | 18.40 | 31.10 | 41.22 |
| OptiSelect | 64.91 | 30.23 | 54.38 | 22.70 | 77.70 | 49.98 | 52.17 | 36.54 | 19.74 | 19.40 | 31.96 | 41.97 | |