arXiv:2610.03432cs.LGOct 2026

Manuscript Offprint

arXiv:2610.03432

OptiSelect: How does the Optimizer Shape Data Curriculum?

Simin Fan, Alireza Abdollahpoorrostam, Martin Jaggi

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 ( §3§3). We formalize the OptiSelect training paradigm through an optimizer-aware transformation operator OtO_t and derive the corresponding optimizer-aware data utility functions across five optimizers spanning various geometries.

• A principled theory of the optimizer–selection interplay ( §4§4). 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 λ∗=2\lambda^* = 2.

• A comprehensive pretraining benchmark ( §5§5). 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.

References (38)