ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
281–300 of 354
- ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Optimal scaling laws in learning hierarchical multi-index models
Leonardo Defilippis, FLORENT KRZAKALA, Bruno Loureiro, Antoine Maillard
Abstract
In this work, we provide a sharp theory of scaling laws for two-layer neural networks trained on a class of hierarchical multi-index targets, in a genuinely representation-limited regime. We derive exact information-theoretic scaling laws for subspace recovery and prediction error, revealing how the hierarchical features of the target are sequentially learned through a cascade of phase transitions. We further show that these optimal rates are achieved by a simple, target-agnostic spectral estimator, which can be interpreted as the small learning-rate limit of gradient descent on the first-layer weights. Once an adapted representation is identified, the readout can be learned statistically optimally, using an efficient procedure. As a consequence, we provide a unified and rigorous explanation of scaling laws, plateau phenomena, and spectral structure in shallow neural networks trained on such hierarchical targets.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Anytime Pretraining: Horizon-Free Learning-Rate Schedules with Weight Averaging
Alex Meterez, Pranav Nair, Depen Morwani, Cengiz Pehlevan, Sham Kakade
Abstract
Large language models are increasingly trained in continual or open-ended settings, where the total training horizon is not known in advance. Despite this, most existing pretraining recipes are not anytime: they rely on horizon-dependent learning rate schedules and extensive tuning under a fixed compute budget. In this work, we provide a theoretical analysis demonstrating the existence of anytime learning schedules for overparameterized linear regression, and we highlight the central role of weight averaging—also known as model merging—in achieving the minimax convergence rates of stochastic gradient descent. We show that these anytime schedules polynomially decay with time, with the decay rate determined by the source and capacity conditions of the problem. Empirically, we evaluate 150M and 300M parameter language models trained at 1–32× Chinchilla scale, comparing constant learning rates with weight averaging and $1/\sqrt{t}$ schedules with weight averaging against a well-tuned cosine schedule. Across the full training range, the anytime schedules achieve comparable final loss to cosine decay. Taken together, our results suggest that weight averaging combined with simple, horizon-free step sizes offers a practical and effective anytime alternative to cosine learning rate schedules for large language model pretraining.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Reparametrizing Shampoo and SOAP for Subspace Basis Updates and BFloat16 Storage
Alan Milligan, Zikun Xu, Simon Lacoste-Julien, Felix Dangel, Wu Lin
Abstract
Shampoo-based methods, such as KL-Shampoo and SOAP, have demonstrated strong performance in training neural networks and leverage QR decompositions. As existing QR implementations require single-precision arithmetic and remain computationally expensive, these methods become time- and memory-intensive when their preconditioning matrices are large. Moreover, using half-precision (BFP16) storage to reduce memory can degrade the performance of Shampoo-based methods. We propose a reparametrization of the preconditioner that supports half-precision storage, and also enables efficient QR-based updates in subspaces while retaining single-precision arithmetic and thereby reducing both computational cost and memory overhead. It applies broadly to Shampoo-based methods that employ QR decomposition, including KL-Shampoo and SOAP. Our approach mitigates the performance degradation of these methods under half-precision storage and, overall, makes them more memory- and time-efficient.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Why Routers Freeze: Infinite Width Learning Dynamics for Mixture of Experts
Anish Dhir, Volkan Cevher, Leena Chennuru Vankadara
Abstract
Mixture-of-Experts (MoE) models scale efficiently through sparse expert activation, but their training dynamics remain poorly understood. We study MoEs in the infinite-width limit with a fixed number of experts, a regime relevant to width-based scaling for hyperparameter transfer. Using Tensor Programs, we derive the training dynamics of soft and Top-$K$ MoEs under SGD and Adam. We show that under the Standard Parameterisation, router logits diverge after one step of feature learning, causing softmax or sigmoid gates to saturate and router gradients to vanish. In contrast, we derive $\mu$P-MoE scaling which restores stability, but soft routing produces symmetric router dynamics: experts remain identically distributed and fail to specialise. For softmax routers, this symmetry also nullifies router gradients. We then show that Top-$K$ routing has a qualitatively different effect: even when logits converge to a symmetric limit, finite-width fluctuations determine the selected experts, making Top-$K$ an implicit symmetry-breaking mechanism. Experiments validate the predicted scaling laws and demonstrate hyperparameter transfer under $\mu$P-MoE.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Sequential Correlations Change In-Context Learning: Effective Context Length and Architectural Mismatch
Mary Letey, Yue Lu, Cengiz Pehlevan, Jacob A Zavatone-Veth
Abstract
Modern sequence models have a striking capacity for in-context learning (ICL); they can perform new tasks based only on examples given in the prompt. Understanding how this ability emerges requires theory that captures important properties of natural data. Linear regression has served as a useful sandbox for ICL theory, but existing work has largely focused on prompts with independent examples. In this work, we extend this setting to sequentially correlated data, a basic feature of real sequences. We present a solvable model based on linear attention and test our predictions on realistic transformer architectures. We identify two distinct effects: First, when the query token is independent of the context, within-context correlations induce an effective context length: correlated prompts behave like shorter i.i.d. prompts. Second, when the query is also correlated with its context, test error is reduced, particularly for softmax attention when compared to linear attention. These results suggest that correlated prompts alter not only the effective sample size of in-context learning, but also which attention architectures are best matched to the task.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
BReD: Stabilizing Quantized EMA Dynamics for Memory-Efficient Large-Scale Training
Heshen Zhan, Youhan Huang, Yunke Peng, Yao Wang, Linghui Kong, Ziwei Zhu, Qingyu Han, Yaoyuan Wang, Congliang Chen, Ruoyu Sun
Abstract
Low-bit storage of optimizer states can reduce the memory footprint of large-scale language-model training, but for states updated by exponential moving averages (EMAs), it also changes the optimizer dynamics. At every step, the stored state is dequantized, updated, requantized, and written back, so quantization errors are recursively fed into future optimizer states. We analyze the quantized EMA recursion and identify a failure mode: biased quantization errors accumulate into persistent drift, error variance is amplified, and the aggregate state error scales with state dimensionality. We propose **BReD** (**B**lock **Re**play **D**ithering), which adapts classical subtractive dithering to optimizer-state storage using deterministic seed replay and block-wise shared dither values. BReD leaves optimizer updates and hyperparameters unchanged, stores no auxiliary random tensors, and reduces random-number generation from $O(d)$ to $O(d/B)$ for state dimension $d$ and block size $B$. In controlled 120M pretraining experiments across five optimizers, 4-bit BReD remains stable where nearest and stochastic rounding diverge or degrade. In AdamW and Muon pretraining at 1.1B and 3.4B parameters, 4-bit BReD closely tracks full-precision optimizer-state baselines: validation perplexity shifts by at most $0.3$, average zero-shot accuracy changes by at most $0.5$ points, and optimizer-state memory is reduced by up to $86.0\%$ in the evaluated settings. These results suggest that stable low-bit EMA-state storage is a practical option for memory-constrained scaling.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Scaling Theory for SlowRunning: Model size, Ensembling, and Training Horizon in the Multi-Epoch Regime
Zhen Yang, Yidi Miao, Blake Bordelon
Abstract
We study the learning dynamics of multi-epoch training both empirically and theoretically. Consistent with empirical works on language model training, naive scaling of training epochs and model size fail to deliver monotonic improvements in performance under multiple passes. However, denoising methods such as ensembling, regularization, and averaging over data shuffles can improve performance in the multi-epoch regime. We theoretically analyze multi-epoch training in a solvable powerlaw random feature model using dynamical mean field theory. This theory predicts how train and test loss evolve over iterations of SGD within-epoch and across epochs. We show that SGD noise adds variance across steps within epochs while systematic overfitting effects arise from the \textit{cross-epoch} correlations in gradients which build up as response functions in the theory. Using the model, we provide an analysis of ensembling, model size, and SGD noise. We then conduct experiments in language model pretraining where we show that, in regimes where learning curves are non-monotonic, increasing ensembles can be preferable to increasing width at fixed compute. Using our model, we provide a theoretical argument for this account.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Weight Anisotropy in Mean-Field Theory: Learning on Isotropic Data
Niclas Göring, Chris Mingard, Yoonsoo Nam, Jake Reid, Ard Louis
Abstract
Neural networks efficiently learn isotropic data distributions with low-dimensional target structure where fixed kernel limits fail. We trace this advantage to input feature selection (IFS): networks develop strong weight anisotropy along task-relevant coordinates. While standard Mean-Field (MF) theory captures the onset of feature learning, it tracks only first moments and thus misses IFS and underestimates post-transition generalisation. We introduce MF-ARD, augmenting MF with a single additional set of order parameters for coordinate-wise precisions. MF-ARD successfully captures the sharp generalisation transitions of finite-width networks.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Signal Frequency Imbalance and Ill-Conditioning
Tianyue Zhang, Francis Bach, Frederik Kunstner
Abstract
The source of the ill-conditioning addressed by Adam- and Muon-like optimizers remains poorly understood, making it unclear when and why they outperform SGD. We introduce a generalization of signal frequency imbalance that captures effective low-rank structure arising from correlations between weight-space directions and data subsets. Empirically, we show that this structure appears in the inner layers of language models as semantically meaningful gradient clusters, helping explain why Muon can outperform Adam. On a simplified problem, we show that signal frequency imbalance induces ill-conditioning only at large batch sizes, where minibatch averaging suppresses progress along rare directions, explaining why Adam and Muon outperform SGD only in this regime.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Loss and Optimizer as Two Essential Factors Behind Knowledge Distillation
Satoki Ishikawa, Sameer S Deshmukh, Sakina Fatima, Takumi Honda, Rio Yokota
Abstract
Knowledge distillation (KD) is typically improved through better divergence functions between teacher and student models, while the role of the optimizer has received less attention. In this paper, we argue that optimizer choice can also play an important role in KD, since both the divergence and the optimizer reshape the training dynamics under a finite training budget. On CIFAR-100 distillation, replacing SGD with SOAP often improves accuracy more than replacing KD with ABKD. On GPT-2 distillation with Dolly, preconditioned gradients provide little improvement, whereas switching from KD to GKD or ABKD increases the critical batch size and enables large-batch training, similar to the effect of preconditioned GD in large-batch training. We hope that this paper serves as a first step toward understanding the role of preconditioned GD in distillation.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
On the Surprising Effectiveness of Masking Updates in LLM Training
Taejong Joo, Wenhan Xia, Cheolmin Kim, Ming Zhang, Eugene Ie
Abstract
Training large language models (LLMs) relies almost exclusively on dense adaptive optimizers with increasingly sophisticated preconditioners. We challenge this by showing that randomly masking parameter updates can be highly effective, with a masked variant consistently outperforming the corresponding dense optimizer. Our analysis shows that random masking induces a curvature-dependent regularization term that penalizes sharp update directions. Motivated by this finding, we introduce Momentum-aligned gradient masking (Magma), which modulates the masked updates using momentum-gradient alignment. Across extensive LLM pre-training experiments up to 1B parameters, Magma improves a broad range of optimizers—including Adam, Lion, Muon, and SOAP—in 26 out of 28 cases for dense architectures, and successfully improves both Adam and Muon in sparse mixture-of-experts (MoE) architectures. Our analysis shows that alignment-based masking can widen the stable optimization regime by damping noisy, high-curvature blocks while preserving descent direction.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Common Origins, Divergent Destinations: The Development of Cross-Layer Alignment Under GELU and SwiGLU
Delbert Bray Jr.
Abstract
Transformer language models coordinate computation across independently parameterized layers through a shared residual stream, yet the developmental process of this coordination remains poorly understood. We track the emergence of inter-layer alignment in six models across four families, finding a common early formation followed by divergent architectural fates. Early in training, adjacent layers align their dominant MLP transformation directions. This alignment forms via a backward cascade originating at the output and propagating toward the input. The persistence of the resulting structure throughout the rest of training is architecturally determined: GELU models (Pythia, BLOOM) maintain weight-level alignment, while SwiGLU models (OLMo-2, TinyLlama) progressively dissolve it. We argue that early establishment of cross-layer alignment is a developmental priority for transformer training, and that the activation-function-dependent divergence is among the most consequential dynamical differences across modern transformer architectures.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Linear Loss Classification: Efficient Training Through Neural Collapse
Wonyeong Song, Donghwan Kim
Abstract
Logistic loss is the de facto standard for classification. This success is commonly attributed to inductive biases, such as the directional convergence of the last-layer classifier toward the max-margin solution for a given feature representation, and neural collapse (NC), a terminal-phase phenomenon characterized by structural simplification of last-layer features and classifiers. However, both emerge slowly because the gradients of logistic loss decay exponentially. In this work, we introduce a linear loss $\ell(u)=-u$, which avoids exponentially decaying gradients and leads to faster training dynamics. Under this loss, the last-layer classifier trained by GD no longer directionally converges to the max-margin solution, but instead aligns with the difference between class means. Although this direction differs from the max-margin solution and may therefore appear suboptimal, once NC occurs, the two directions become closely aligned, reducing the discrepancy. Empirically, we demonstrate that GD with linear loss, combined with weight normalization, exhibits NC, and that both NC and generalization occur faster than with logistic loss. On the theoretical side, we prove that the unconstrained feature model (UFM) exhibits NC, while shallow ReLU networks exhibit a weaker directional collapse of features and classifiers. Together, these results demonstrate that linear loss, despite being unbounded below, provides a simple yet effective alternative to logistic loss by accelerating both neural collapse and generalization.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Physics-Guided Policy Optimization with Self-Distillation
Ke Wang, Yuning Wu, Haoran Liu, Chaoqun Jia, Devin Chen, Kai Wei
Abstract
Self-distilled policy optimization (SDPO) has become a popular paradigm for LLM post-training, where a model learns from its own predictions conditioned on privileged information. SDPO, however, is sensitive to how much each update step should be trusted: corrections from a self-teacher can be highly informative on some batches and misleading on others, and applying them uniformly with a fixed step size can destabilize training. Drawing inspiration from viscous-fluid dynamics and formalizing the analogy at the SDE level, we propose Physics-Guided Policy Optimization (PGPO), which introduces an information-modulated step-size multiplier derived from a mutual-information estimate between the student's predictions and the feedback-conditioned teacher. We show that this modulation preserves the order-1 weak-approximation guarantees of vanilla SGD, and incurs negligible overhead per iteration. We evaluate PGPO on the Science-QA dataset, where it outperforms SDPO on 3 of the 4 domains with gains of up to +4.5 points, while remaining stable in a setting where SDPO collapses late in training.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Learnability and Competition in High-Dimensional Multi-Component ICA
Eser İlke Genç, Samet Demir, Zafer Dogan
Abstract
Independent Component Analysis (ICA) is a foundational tool for unsupervised representation learning, yet its high-dimensional theory remains largely limited to single-component recovery. We develop an asymptotically exact mean-field theory for multi-component online ICA, capturing the coupling from simultaneous learning and orthogonalization. In the high-dimensional limit, the overlap matrix between estimates and true components obeys a closed ODE system. This reveals an initialization-driven phase structure: a decoupled regime, where estimates align with distinct components and evolve nearly independently, and a competition regime, where overlapping initializations induce orthogonality-driven conflicts and delayed convergence. Explicit learnability and competition boundaries show larger higher-order moments and competition shrink the stable learning-rate window and induce a staircase in component recovery. Experiments on synthetic data and hyperspectral remote sensing data validate the predicted trajectories and phase behavior.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Reset-and-Discard (ReD) Improves Coverage at every Budget under Inference Power-Law Scaling
Sagi Meir, Tommer D Keidar, Noam Levi, Shlomi Reuveni, Barak Hirshberg
Abstract
The performance of large language models (LLMs) on verifiable tasks is usually measured by pass@$k$, the probability of answering a question correctly at least once in $k$ trials. At a fixed budget across a workload of many tasks, a more suitable metric is coverage@cost: the expected number of unique questions answered as a function of total attempts. We connect these metrics via renewal theory and show that the empirically-observed power-law scaling of pass@$k$ (with exponent $0<\alpha<1$) leads to sublinear (diminishing-returns) growth of coverage@cost under standard solve-to-completion allocation. We propose Reset-and-Discard (ReD), a cross-problem allocation policy that provably restores linear coverage growth and maximizes coverage@cost at every budget, even under imperfect verifiers. ReD also provides a statistically efficient method to estimate inference power-law exponents when large $k$ pass@$k$ measurements are expensive. Experiments across three LLMs and three benchmarks show large reductions in required attempts, tokens, and USD cost.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
High-Dimensional Limit of Stochastic Gradient Flow via Dynamical Mean-Field Theory
Sota Nishiyama, Masaaki Imaizumi
Abstract
We study the high-dimensional dynamics of multi-pass stochastic gradient descent (SGD) with small batch sizes. Existing asymptotic descriptions of SGD primarily cover online learning, large-batch regimes, or linear models. We address this gap by analyzing a continuous-time stochastic differential equation, called \emph{stochastic gradient flow} (SGF), which approximates small-batch multi-pass SGD. In the proportional limit $n,d\to\infty$ with $n/d\to\delta$, we derive a closed dynamical mean-field theory (DMFT) system and prove that it characterizes the asymptotic empirical distribution of the SGF parameters. The framework applies to nonlinear models including generalized linear models and two-layer neural networks, and recovers several existing high-dimensional descriptions, including noiseless gradient flow, online SGD, and high-dimensional linear regression.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Rank-One Potential Geometry for Normalized Optimizers
Insung Yun, Sungyoon Lee
Abstract
Recent normalized optimizers such as Lion and Muon highlight the importance of geometry in modern optimizer design. We propose a unified framework that extends the Lion-K perspective to a broader class of normalized update rules by representing the momentum variable in an orthonormal rank-one system and defining an $\ell_1$-type coefficient potential, thereby covering SGD, Lion, and Muon within a single geometric view. We further study a regime with explicit time-dependent potentials, which is not covered by the static formulation, and show empirically that the resulting optimizer remains stable at ImageNet scale. On ViT-Base trained on ImageNet-1k, the proposed variant converges reliably and outperforms AdamW in our comparison, suggesting a route toward more systematic normalized-optimizer design.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Detecting overfitting in Neural Networks during long-horizon grokking using Random Matrix Theory
Hari Prakash, Charles H Martin
Abstract
Training Neural Networks (NNs) without overfitting is difficult; detecting that overfitting is difficult as well. We present a novel Random Matrix Theory method that detects the onset of overfitting in deep learning models without access to train or test data. For each model layer, we randomize each weight matrix element-wise, $\mathbf{W} \rightarrow \mathbf{W}_{\mathrm{rand}}$, fit the shuffled matrix’s empirical spectral distribution with a Marchenko-Pastur distribution, and identify large outliers that violate self-averaging. We call these outliers Correlation Traps. During the onset of overfitting, which we call the "anti-grokking” phase in long-horizon grokking, Correlation Traps form and grow in number and scale as test accuracy decreases while train accuracy remains high. Traps may be benign or may harm generalization; we provide an empirical approach to distinguish between them by passing random data through the trained model and evaluating the JS divergence of output logits. Our findings show that anti-grokking is an additional grokking phase with high train accuracy and decreasing test accuracy, structurally distinct from pre-grokking through its Correlation Traps. More broadly, we find that some foundation-scale LLMs exhibit the same Correlation Traps, indicating potentially harmful overfitting.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Model Behavior and Predictive Stability Under Severe Class Imbalance in High-Dimensional Classification
Linxi Li, Li Xing
Abstract
Class imbalance remains a major challenge in high-dimensional biological classification problems, particularly in single-cell RNA sequencing (scRNA-seq), where rare cell populations are often underrepresented. In this study, we evaluate the behavior of four classification models, including Elastic Net, Random Forest, Extreme Gradient Boosting (XGBoost), and multilayer perceptron (MLP), under varying imbalance and sample size conditions using a two-factor simulation framework derived from the Human Lung Cell Atlas (HLCA). Simulation settings vary across five minority class proportions and four sample size levels, with repeated train-test splits used to evaluate predictive performance. Under severe imbalance conditions, substantial differences in minority class recovery and predictive stability are observed across model architectures. Elastic Net shows unstable minority class recovery under extreme imbalance, including non-monotonic recall behavior at intermediate imbalance levels. In contrast, MLP demonstrates the fastest recovery as sample size and minority class proportion increase, while XGBoost maintains comparatively stable performance across imbalance regimes. Random Forest shows more gradual improvement as sample size increases. These results suggest that class imbalance interacts differently across model architectures and substantially influences predictive stability and minority class recovery in high-dimensional classification settings.
Abstract source