ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
6,861–6,880 of 8,785
- ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
A $p$-adic Perspective on Low-Bit Training of Neural Networks
Daniil Bershatskiy, Marina Munkhoeva, Ivan Oseledets
Abstract
We investigate low-bit neural network training from a $p$-adic perspective. In extreme low-bit regimes, the set of representable values is so small that gradient descent operates on an essentially discrete domain, making continuous analysis inadequate. This observation motivates us to model a neural network as a polynomial system over the integers modulo $p^N$. Activations and losses are replaced by piecewise polynomial approximations, and training is recast as finding roots of the resulting system. Hensel's lemma provides an iterative procedure for lifting seed roots digit-by-digit to the required precision. We formalize this approach and demonstrate its feasibility on linear regression and shallow polynomial networks.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Nexus: Same Pretraining Loss, Better Downstream Generalization via Common Minima
Huanran Chen, Huaqing ZHANG, Xiao Li, Yinpeng Dong, Ke Shen, Jun Zhu
Abstract
The foundational capabilities of large language models are acquired during pretraining on internet-scale, highly heterogeneous data mixtures. In this work, we investigate a geometric question regarding the converged state of this pretraining process: Does the model converge to a common minimizer across all data sources (e.g., \cref{fig:cwaillustration} (b)), or merely a minimizer of the averaged loss (e.g., \cref{fig:cwaillustration} (a))? We hypothesize that the geometric ``closeness'' of task-specific minima is intrinsically linked to downstream generalization. However, we reveal that standard optimizers (e.g., AdamW) often converge to points where task-specific minima are distant from each other. To address this, we propose the \textit{Nexus} optimizer, which encourages the closeness of these minima by maximizing gradient similarity during optimization. Experiments across models ranging from 130M to 3B parameters demonstrate that Nexus boosts downstream performance, despite achieving nearly \textit{the same pretraining loss} (see \cref{fig:demo:benchmark}). On the 3B model, Nexus reduces the out-of-distribution loss by 0.012 and yields up to a 15.0\% accuracy improvement on complex reasoning tasks (e.g., GSM8k). Our findings challenge the reliance on pretraining loss as the sole proxy for model evaluation and highlight the critical role of optimizer implicit bias in unlocking downstream generalization.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
On the Convergence of Low-Precision LoRA Training
Dechen Zhang, Xuan Tang, Difan Zou
Abstract
Low-rank adaptation (LoRA) has become a standard approach for parameter-efficient fine-tuning, substantially reducing the number of trainable parameters and the optimizer memory required during training. Quantization offers a further route to resource-efficient fine-tuning, but many existing quantized LoRA methods focus on weight-only compression, leaving unclear how low precision affects optimization when it is used throughout training. In this work, we initiate a systematic theoretical study of low-precision LoRA training in which the data, pretrained weights, adapters, gradients, and intermediate matrix multiplications are quantized during optimization. For spectrally initialized LoRA under a low-rank linear model with sub-Gaussian data and relative quantization error, we establish finite-horizon convergence upper bounds that consist of a full-precision linear convergence term plus a quantization-dependent additive error floor. Our results show that low-precision LoRA can retain convergence behavior close to its full-precision counterpart, provided that the mantissa length grows only logarithmically with the inverse of the full-precision contraction rate.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Training Transformers for KV Cache Compressibility
Yoav Gelberg, Yam Eitan, Michael Bronstein, Yarin Gal, Haggai Maron
Abstract
Long-context language modeling is increasingly constrained by the Key--Value (KV) cache, whose memory and decode-time access costs scale linearly with the prefix length. This bottleneck has motivated a range of context-compression methods, from token-level summarization to recent optimization-based KV cache compression methods. These post-hoc methods operate on the KV cache of a fixed pretrained model, so their effectiveness is fundamentally limited by how well the model's internal representations can be compressed. In this work, we formalize the notion of KV compressibility and show that it is a property of the learned representations, rather than of the context alone. We prove that almost any sequence-to-vector function admits both highly compressible and inherently non-compressible transformer implementations, highlighting the need to guide transformers toward compressible representations during training. Motivated by this, we propose **KV**-Compression Aware Training (KV-CAT), a continued pretraining procedure that incentivizes the emergence of compressible representations. We introduce a train-time KV sparsification policy that masks KV slots during training. This forces the model to use fewer KV slots and encourages it to learn representations amenable to post-hoc compression. Empirically, we show that KV-CAT improves the quality–budget tradeoff of downstream compression methods across retrieval, long-context question answering, and perplexity-based evaluation of compressed-prefix continuation.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Dynamics of Nonlinear Feature Learning in Two-Layer GCNs on XOR-CSBM
Zen Inagaki, Guillaume Braun, Masaaki Imaizumi
Abstract
Graph Convolutional Networks (GCNs) are widely used for graph-structured data, but their feature learning dynamics is not well understood. We study nonlinear feature learning in a two-layer GCN through a minimal XOR Contextual Stochastic Block Model (XOR-CSBM), where successful prediction requires nonlinear feature formation. By analyzing the population-gradient dynamics, we derive a tractable difference equation for the relevant representation variables. This reveals that feature learning proceeds through two distinct phases and ultimately yields task-relevant nonlinear representations.
Abstract source - 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
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
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
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
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
On the Optimizer Dependence of Neural Scaling Laws
Shourya V Jain, Vansh Ramani
Abstract
The scaling exponent $\alpha$ in neural scaling laws $L(N) \propto N^{-\alpha}$ is commonly treated as a fixed constant set by architecture and data. We present evidence that $\alpha$ depends systematically on the optimizer. In controlled random-feature regression experiments---the canonical theoretical framework for neural scaling---we measure $\alpha$ across five optimizer variants and six spectral conditions. Preconditioned optimizers consistently yield steeper scaling (larger $\alpha$), with the $\alpha$-shift growing monotonically with the spectral decay rate $s$ of the data covariance. At $s \approx 1.0$ (characteristic of natural language), the full natural gradient achieves $\alpha \approx 0.31$ versus $\alpha \approx 0.12$ for gradient descent---a $2.6\times$ improvement that, within the random-feature model, compounds with each model-size doubling. Whether and how this exponent shift transfers to large-scale LLM training---where recent evidence suggests the advantage may attenuate with scale---remains an important open question. Our results imply that scaling-law forecasts should account for optimizer choice, and we provide a spectral diagnostic predicting when advanced optimizers will pay off.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Efficient Clustering with Provable Guardrails for LLM Inference at Scale
Longshaokan Wang, Waitsang Keung, Punit Ghodasara, Roman Z Wang, Ali Dashti, Francesc Moreno-Noguer
Abstract
Scaling LLM-based applications to millions of users is bottlenecked by the inference cost and latency of modern foundation models. A natural fix is to cluster the inputs and call the LLM only on cluster representatives, letting other members inherit the output — but this is only safe if each member is measurably close to its representative. Existing clustering methods do not offer such per-sample quality control at scale: none jointly guarantee a minimal within-cluster similarity, exact matching of categorical attributes, and scalability to tens of millions of samples. We propose a two-stage algorithm that generates initial clusters with Mini-batch K-Means, then greedily selects representatives within each initial cluster — a step equivalent to the Johnson–Chvátal heuristic for Set Cover over $\alpha$-balls in embedding space. The algorithm enforces the similarity and attribute guardrails exactly by construction; and runs in $O(nd + n^2d/K)$ time and $O(nd + n^2/K^2)$ memory for $n$ samples, feature dimension $d$, and $K$ initial clusters — linear in $n$ when $K$ grows proportionally with $n$. We provide benchmarks against common clustering methods on internal and public datasets — our method not only delivers per-sample guardrails but also runs $10$–$1000\times$ faster and scales to data sizes where most standard methods become intractable. Deployed on 38 million customers for a persona-based recommender, the clustering method cut downstream cost and latency by 50-fold while preserving personalization and unblocked the production launch.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Depth scaling and Muon enable balanced expert usage in MoE training
Xi Wang, Soufiane Hayou, Eric Nalisnick
Abstract
Mixture of Experts (MoE) Transformers rely on a router to distribute tokens across experts, and a severely unbalanced router wastes model capacity. We study load balance at \emph{random initialization}, before any auxiliary loss has had an effect, and show that it is fundamentally a question about the geometry of the hidden states entering the router. When hidden states across tokens are diverse, a random linear router produces diverse logits and top-$k$ selection naturally spreads tokens across experts; when hidden states collapse, the router collapses with them. We connect this observation to representation collapse in deep pre-norm Transformers and argue that $1/\sqrt{L}$ depth scaling, beyond its known benefits for training stability, also improves routing balance at initialization. We additionally observe Muon better preserves this balance during training by producing orthogonalized updates to the router and expert matrices, and verify our claims empirically.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Explaining Data Mixing Scaling Laws
rui dai, SHURAN ZHENG
Abstract
Recent research has established empirical scaling laws to predict model performance on multi-domain data mixtures. However, a theoretical understanding of these model loss behaviors remains limited. In this work, we propose a unified framework to explain the underlying mechanics of data mixing. Our approach extends theoretical perspectives originally developed for standard neural scaling laws (e.g., Kaplan and Chinchilla) to the multi-domain setting. Based on the distributional assumption that domains overlap on fundamental skills while diverging on specialized skills, we identify two key factors that decide the domain loss of models trained on different data mixtures: \textit{Capacity Competition}, where the allocation of finite model capacity couples domain losses globally, and \textit{Noise Reduction}, where optimal weights shift toward harder-to-learn domains to minimize variance. Experiments demonstrate that our framework fits the loss landscape with lower Mean Relative Error than existing empirical baselines and accurately predicts optimal training mixtures. Most importantly, our model successfully extrapolates across scales, predicting the optimal mixture at a large, unseen scale using parameters trained on a smaller one. In addition, our model achieves these results using significantly fewer parameters compared to previous empirical laws.
Abstract source - ICML · Workshop · Graph Foundation Models: A New Era for Graph Machine Learning
A Fair Evaluation of Graph Foundation Models for Node Property Prediction
Oleg Platonov, Dmitry Eremeev, Gleb Bazhenov, Liudmila Prokhorenkova
Abstract
Due to the wide use of graph-structured data in different fields of industry and science, the development of Graph Foundation Models (GFMs) has recently attracted a lot of attention. While many different types of models get called GFMs, particular interest has been paid to GFMs designed for node property prediction tasks, which is one of the most popular settings in Graph ML with lots of real-world applications from fraud detection in financial and social networks to recommendation systems for e-commerce and user-generated content platforms. While a number of GFMs for this task have been recently proposed, the field has not converged to a unified evaluation setting, and different works evaluate their models in widely different ways, preventing reliable comparison of GFMs with each other and to other types of models. In this work, we conduct a fair and rigorous reevaluation of 9 recent GFMs for node property prediction, comparing them to strong Graph Neural Network (GNN) baselines. We find that, among these GFMs, only the most recent ones based on the Prior-data Fitted Networks paradigm outperform well-tuned GNNs in predictive performance, although at a higher inference cost.
Abstract source - ICML · Workshop · Graph Foundation Models: A New Era for Graph Machine Learning
GraphPTQ: Post-Training Quantization for Graph Models, Memory Savings and Generalization
Itay Niv, Neta Rabin
Abstract
Post-training quantization (PTQ) is essentially unexplored for graph models. Yet graph foundation models (GFMs) are scaling rapidly, straining memory budgets, while high-stakes deployment demands robustness to distribution shift. We address this with GraphPTQ, the first unified evaluation of how PTQ affects generalization in message passing models, graph transformers, and pretrained GFMs, featuring hardware-measured GPU peak memory. We evaluate eight models and eleven modes, spanning both weight-dominated and activation-dominated memory regimes across covariate shifts and zero-shot tasks. Our findings reveal clear memory-generalization tradeoffs: weight-only INT8 is the safe default for significant memory reduction, while under INT4 weights or activation quantization, out-of-distribution (OOD) accuracy responses become bidirectional and architecture-dependent. We further show that the in-distribution loss curvature along the rounding direction successfully predicts this OOD risk, with the predictive ordering strengthening as bit-width drops.
Abstract source - ICML · Workshop · Graph Foundation Models: A New Era for Graph Machine Learning
KERMT: Improving Graph Foundation Models for Drug Discovery through Multi-task Fine-Tuning, Data Scaling, and Accelerated Training
Matthew Adrian, Yunsie Chung, Kevin Boyd, Saee Paliwal, Srimukh Veccham, Alan Cheng
Abstract
Chemical foundation models can improve prediction of critical properties in small molecule drug discovery by leveraging representations learned from self-supervised pretraining. We implement multi-task fine-tuning in two pretrained graph transformer models, KPGT and KERMT (Kinetic grovER Multi-Task), our enhanced version of the GROVER model. We benchmark the models on diverse on-target biology assay and off-target ADMET (absorption, distribution, metabolism, excretion, and toxicity) prediction tasks, and show that KERMT has improved predictive performance for ADMET endpoints with 2,000 or more data points for training. Contrary to popular hypotheses that pretrained models show better performance in data-scarce regimes, KERMT improves most as dataset size increases. KERMT generalizes better than Chemprop across all compound similarity bins, while additional pretraining on chemical structures more similar to the downstream structures does not improve performance. To support future work, we release two multi-task ADMET splits and an accelerated implementation of KERMT for scalable pretraining, fine-tuning, and inference.
Abstract source