ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
361–380 of 532
- ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
SFT Overtraining Predicts Rank Inversion via Entropy Collapse Under RLVR
Siddharth Aphale, Kelly Liu
Abstract
The standard recipe of picking the highest scoring SFT checkpoint for GRPO can pick the worst one when the policy has entered entropy collapse during SFT. We show that under binary rewards the within group advantage variance is exactly $p(1-p)(g-1)/g$, and characterise a threshold $p^{\ast}(g)$ below which the GRPO gradient vanishes. We test this on two SFT depth ladders, Qwen2.5-Coder-3B and DeepSeek-Coder-6.7B, across 1.0--5.8 epochs and 3 seeds. The Qwen ladder crosses $p^{\ast}(8)$ at deeper checkpoints and shows rank inversion: peak GRPO pass@10 falls monotonically from 0.806 to 0.481 (3 seed mean, $n=20$), with pre-RL pass@1 correlating inversely with GRPO outcome ($\rho=-0.75$) and pre-RL entropy correlating positively ($\rho=+0.69$). DeepSeek stays $\geq 4.2\times$ above $p^{\ast}(8)=0.083$ and shows rank compression with uniformly positive $\Delta$pass@10, providing a contrastive validation of the threshold prediction; $p^{\ast}(g)$ correctly classifies both experimental regimes before any RL compute is spent. A two stage diagnostic, a pre-RL entropy screen and a 150 step in training monitor, rejects high risk checkpoints before GRPO (saving 100\% of RL compute) or by step 150 of 400 (saving 62.5\%), and improves deep eval pass@10 by +0.090 ($n=128$) when used for initialisation. Neither KL regularisation nor label smoothing eliminates the rank inversion, ruling out hyperparameter and RL-stage artefacts as explanations.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
TritonRL: Training LLMs to Think and Code Triton Without Cheating
Jiin Woo, Shaowei Zhu, Allen Nie, Zhen Jia, Yida Wang, Youngsuk Park
Abstract
The rapid evolution of Large Language Models (LLMs) has driven a growing demand for automated, high-performance system kernels to accelerate machine learning workloads. We introduce TritonRL, a domain-specialized 8B-scale LLM for Triton programming, trained via a novel reinforcement learning (RL) framework. While Triton synthesis faces unique challenges, including data scarcity and a high susceptibility to reward hacking, our approach enables robust kernel generation through two primary innovations. First, we implement a multi-layered verification system that provides high-fidelity reward signals, ensuring that generated kernels are both syntactically and functionally valid. Second, we propose Hierarchical Reward Decomposition (HRD), which decouples reinforcement for high-level reasoning and low-level implementation to resolve the credit assignment problem in long-sequence generation. Comprehensive evaluations on KernelBench demonstrate that TritonRL achieves state-of-the-art correctness and runtime speedup, outperforming concurrent Triton-specific models and matching the performance of frontier models with over 100B parameters. Our results highlight the effectiveness of hardware-aware RL paradigms in specialized domain adaptation.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
Understanding and Accelerating the Training of Masked Diffusion Language Models
Chunsan Hong, Sanghyun Lee, Chieh-Hsin Lai, Satoshi Hayakawa, Yuhta Takida, Yuki Mitsufuji, Seungryong Kim, Jong Chul YE
Abstract
Masked diffusion models (MDMs) have emerged as a promising alternative to autoregressive models (ARMs) for language modeling. However, MDMs are known to learn substantially more slowly than ARMs, which may become problematic when scaling MDMs to larger models. Therefore, we ask the following question: how can we accelerate standard MDM training while maintaining its final performance? To this end, we first provide a detailed analysis of why MDM training is slow. We find that the main factor is the locality bias of language: the predictive information for a token is concentrated in nearby positions. We further investigate how this bias slows learning and suggest a simple yet effective remedy: bell-shaped time sampling as a training strategy. Notably, MDMs trained with our training recipe reach the same validation negative log-likelihood (NLL) up to $\sim4\times$ faster than standard training on One Billion Word Benchmark (LM1B). We also show faster improvements in generative perplexity, zero-shot perplexity, and downstream task performance on various benchmarks.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
Noise Scheduling as Information-Guided Allocation in Diffusion Training
Gabriel Raya, Bac Nguyen, Georgios Batzolis, Yuhta Takida, Dejan Stancevic, Naoki Murata, Chieh-Hsin Lai, Yuki Mitsufuji, Luca Ambrogioni
Abstract
We introduce InfoNoise, an online adaptive noise schedule for diffusion training that reallocates optimization effort toward noise levels where denoising is most informative. Together with loss weighting, a schedule induces an effective allocation over denoising problems. InfoNoise makes this allocation data-adaptive by estimating a conditional-entropy-rate profile from denoising losses already computed during training, without auxiliary models or offline search. Through I--MMSE, this profile identifies where noisy observations most rapidly reduce uncertainty about the clean sample and provides the signal for adapting the training noise distribution. The method changes only this distribution, keeping the objective, loss weighting, and parameterization fixed. On image benchmarks, where schedules have been extensively tuned, InfoNoise matches or slightly exceeds strong fixed baselines and can reach the same final quality with fewer updates. On shifted representation, sequence, and modality settings, including DNA and language generation, where inherited schedules transfer poorly, InfoNoise improves baseline performance with up to $3\times$ less training compute. These results establish the conditional-entropy-rate profile as the data-dependent target for noise schedule design and make online adaptation a practical alternative to manual schedule search.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
Decision-Aware Training for Sample-Based Generative Models
Kornelius Raeth, Nicole Ludwig
Abstract
Sample-based generative models are increasingly used for probabilistic forecasting in high-stakes decision settings, yet their training objectives are blind to the decision maker’s cost structure. These models are commonly trained with strictly proper scoring rules, such as the energy score, which allocate their training signal in proportion to data density, with no awareness of where forecast errors are most costly for downstream decisions. We therefore propose decision-aware training for sample-based generative models, augmenting the energy score objective with a differentiable decision loss that directly penalises the cost incurred by acting on the model's forecast. This combined loss is theoretically grounded, as the decision loss is itself a proper scoring rule. We validate our method on one synthetic and two real-world tasks, showing targeted improvements in cost-sensitive regions while retaining full probabilistic forecasts.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
MIST: Mutual Information Estimation via Supervised Training
German Gritsai, Megan Richards, Maxime Méloux, Kyunghyun Cho, Maxime Peyrard
Abstract
We propose a fully data-driven approach to designing mutual information (MI) estimators. Since any MI estimator is a function of the observed sample from two random variables, we parameterize this function with a neural network (MIST) and train it end-to-end to predict MI values. Training is performed on a large meta-dataset of 625,000 synthetic joint distributions with known ground-truth MI. To handle variable sample sizes and dimensions, we employ a two-dimensional attention scheme ensuring permutation invariance across input samples. To quantify uncertainty, we optimize a quantile regression loss, enabling the estimator to approximate the sampling distribution of MI rather than return a single point estimate. This research program departs from prior work by taking a fully empirical route, trading universal theoretical guarantees for flexibility and efficiency. Empirically, the learned estimators largely outperform classical baselines across sample sizes and dimensions, including on joint distributions unseen during training. The resulting quantile-based intervals are well-calibrated and more reliable than bootstrap-based confidence intervals, while inference is orders of magnitude faster than existing neural baselines.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
Reconsidering Positional Supervision in Masked Diffusion Language Model Training
Mengyu Ye, Keito Kudo, Ryosuke Takahashi, Jun Suzuki
Abstract
Masked diffusion language models (MDLMs) generate text by unmasking tokens in parallel and have recently emerged as alternatives to autoregressive language models. They can be viewed as parallel decoders trained with a position-wise cross-entropy (CE) loss, the same setup as non-autoregressive translation (NAT). In NAT, CE-trained parallel decoders have been argued to be sensitive to small positional shifts, since CE penalizes them harshly. We ask whether CE-trained MDLMs are similarly sensitive to such shifts under iterative decoding. To probe this, we apply a controlled intervention that introduces them during decoding. On LLaDA-8B-Instruct with Arena-Hard, displacing as little as 1% of generated tokens by one position substantially reduces win rates against the unintervened model, showing that MDLMs are sensitive to such small shifts under iterative parallel decoding. Motivated by this, we adapt connectionist temporal classification (CTC), an alignment-flexible objective known to mitigate it there, to MDLM supervised fine-tuning. By relaxing the strict position-wise match that CE imposes, CTC gives the loss room to absorb small positional shifts; concretely, we modified CTC objective to use a special \ token that absorbs positional uncertainty between target tokens and output positions, and a updated collapse map that preserves target surface forms. Across four open-ended generation benchmarks, the resulting model consistently improves over both the original model and a matched cross-entropy-trained baseline, with statistically significant gains on all four. These results identify training-side alignment flexibility as a useful design dimension for MDLM SFT, complementary to the inference-time approaches explored in prior work.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Is your LLM a sequence model on the training history? The origins and consequences of anticipation
Szilvia Ujvary, Bruno Mlodozeniec, Jose Miguel Hernandez-Lobato, Ferenc Huszár, Dmitrii Krasheninnikov
Abstract
Recent work showed that, in cyclic fine-tuning settings, transformers exhibit striking \emph{anticipatory recovery}: the loss on an upcoming document decreases \emph{before} that document is revisited. We extend this phenomenon beyond individual-document cycling to bursty pre-training over mixtures of class-conditional distributions, where examples from the same class appear in predictable bursts -- so the model is trained on one class for several steps, then on the next one, and so on. We show that Transformers anticipate upcoming classes despite having no explicit memory of training history, and that \emph{anticipation is linked to a lower training loss}. In our experiments, models realize a substantial fraction of the anticipatory advantage achievable by sequence models that explicitly learn class order. Additionally, we demonstrate anticipation in a setting where the next class can only be predicted by knowing the previous two classes, suggesting that Transformers can partially behave like sequence models over the training stream itself. To study the optimization dynamics underlying anticipation, we analyze the implicit bias of bursty mini-batch training and identify an implicit bias aligning the gradients of temporally adjacent classes. Finally, we show that structured training order reshapes measured relationships between classes, suggesting that training order itself can act as a source of representational bias during optimization.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Compute-Optimal Training as Stochastic Optimal Control
Rohan K Dalal
Abstract
Choosing learning rate and batch size schedules for neural network training is typically performed via expensive grid search over heuristic families. We formulate compute-optimal training as a stochastic optimal control problem, where the state comprises per-eigenmode loss coefficients from the continuous-time scaling model of Bordelon et al. (2024) and the remaining compute budget, while the controls are the learning rate $\eta(t)$ and batch size $B(t)$. The resulting Hamilton-Jacobi-Bellman (HJB) equation characterizes the globally optimal schedule. We solve this HJB equation using the Deep Galerkin Method with policy iteration, a mesh-free approach that handles the 12-dimensional PDE. On the random feature model, the HJB framework yields two insights: (1) in the noise-dominated regime, a well-tuned constant schedule is near-optimal—the HJB solution explains this by showing that the value function's gradient structure leaves little room for improvement; (2) the optimal batch size grows monotonically, derived from first principles via the optimality conditions rather than empirical observation (Smith et al., 2018). Joint learning-rate-and-batch-size control provides 2–6% gains over learning-rate-only optimization, with the largest benefit at hard tasks where noise management is most impactful.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Training Dynamics of Softmax Self-Attention: Fast Global Convergence via Preconditioning
Gautam Goel, Mahdi Soltanolkotabi, Peter Bartlett
Abstract
We study the training dynamics of gradient descent in a softmax self-attention layer trained to perform linear regression and propose a first-order optimization algorithm which converges to the globally optimal self-attention parameters at a geometric rate. Our analysis proceeds in two steps. First, we show that in the infinite-data limit the regression problem solved by the self-attention layer is equivalent to a nonconvex matrix factorization problem. Second, we exploit this connection to design a novel ``structure-aware'' variant of gradient descent which efficiently optimizes the original finite-data regression objective. Our optimization algorithm features several innovations over vanilla gradient descent, including a reparameterization which ensures that the empirical gradient remains close to the population gradient throughout training, a data-dependent preconditioner and data-dependent regularizer which help avoid spurious stationary points, and a spectral initialization of parameters which lie near the manifold of global minima with high probability. We prove that the excess risk of the model trained by our algorithm decreases exponentially fast in the number of gradient descent iterations, up to an additional error term that decreases as $1/n$ in the size of the training set.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Self-Distillation for Data-Scarce Language Model Pretraining
Javid Lakha, Nihal Nayak, Bingbin Liu, Sham Kakade, David Alvarez-Melis
Abstract
Language model training is increasingly bottlenecked by data. Naive multi-epoch training quickly overfits, which motivates the search for effective regularization under data scarcity. In this work, we study the effectiveness of self-distillation as a regularization method. Considering eight scarcity levels and two model scales, we find that self-distillation serves as effective regularization when data are scarcer than what Chinchilla prescribes, outperforming both direct training and common regularization methods such as weight decay and exponential moving average. For practical recommendations on self-distillation, we suggest using larger models which are more data efficient despite the greater potential to overfit, and using plain teacher logits without temperature scaling.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
HORST: Composing Optimizer Geometries for Sparse Transformer Training
Tom Jacobs, Rohan Jain, Rebekka Burkholz
Abstract
Sparsifying transformers remains a fundamental challenge, as standard optimizers fail to simultaneously encourage sparsity and maintain training stability. Effective adaptive optimizers exhibit an implicit $L_{\infty}$ bias favoring stability, yet, sparsity requires an $L_1$ bias. To integrate sparsity, we propose a composition of optimizer steps, which we cast as non-commutative operators to analyze and combine their optimization geometry in a principled way. This yields HORST (Hyperbolic Operator for Robust Sparse Training), a modular optimizer that inherits stability from adaptive methods while inducing $L_1$ sparsity bias through a hyperbolic mirror map. Our experiments demonstrate its utility for sparse training of transformers on both vision and language tasks. HORST significantly outperforms AdamW baselines across all sparsity levels, with large gains at higher sparsity.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Data-Constrained Language Model Pretraining: Improved Regularization and Scaling Laws
Zhiwei Xu, Shihao Wu, Hanseul Cho, Wei Hu, Yixin Wang
Abstract
Classical scaling laws for language model pretraining balance model size against training dataset size under a fixed compute budget, assuming abundant data and a single pass over the corpus. As training compute grows faster than the supply of natural language data, pretraining is likely to enter a data-constrained, compute-rich regime where models train for multiple epochs over a finite dataset. We study data-constrained pretraining along two axes, regularization and scaling. For regularization, we study masked-input regularization (MIR), an auxiliary next-token prediction loss on randomly masked inputs. MIR tests whether the random masking central to diffusion language models can benefit autoregressive pretraining without architectural changes or inference overhead. Across 72M to 1.4B parameter models, we find that MIR added on top of strong weight decay improves validation loss over autoregressive strong-weight-decay-only models, with downstream gains at 1.4B. For scaling, we propose SoftQ, a scaling law that couples model size and data size to capture their interaction under repeated data. Classical alternatives such as the Chinchilla law use an additive form that decouples these terms, making them misspecified in the data-constrained regime. We find that SoftQ fits data-constrained experiments substantially better than these alternatives, and estimates MIR's gains as equivalent to roughly 1.3 times as much unique training data.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Characterizing Optimizer-Dependent Training Dynamics Through Hessian Eigenvector Displacement and Localization
Marcelina Marjankowska, Paolo Barucca, Valerio Modugno
Abstract
Hessian spectral properties are a standard tool in analysing neural-network training, with eigenvalues linked to sharpness, generalization, and optimization dynamics. Eigenvalues quantify curvature magnitude, while eigenvectors identify which parameters generate that curvature. In this work, we study how the leading Hessian eigenvectors evolve during training and how they affect the learning trajectories. We track the training dynamics of multilayer perceptrons on a classification problem and measure eigenvector dynamics through two complementary statistics: (i) displacement over time, inspired by analyses of glassy systems (Baity-Jesi et al., 2018), and (ii) localization via the inverse participation ratio. The metrics are compared against a random null model of the Hessian induced by the architecture. Our preliminary results reveal clear optimizer-dependent behaviour. SGD leads to progressively more stable leading curvature directions, while Adam exhibits substantially stronger reorganization of eigenvectors throughout training. We also observe a localization phenomenon under Adam, where a small subset of parameters contributes disproportionately to the leading curvature directions. These results suggest that Hessian eigenvector dynamics capture key differences in optimizer behaviour and the resulting training trajectories.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Lightweight Surrogate-Assisted Language Model Pretraining
Nathan Truong
Abstract
Standard causal language model pretraining uses a single-label cross-entropy objective that ignores the existence of multiple valid next-token continuations, resulting in sample inefficiency. Our initial analyses of language model outputs reveal that only a handful of tokens carry meaningful signal compared to the rest of the vocabulary. Predicated on this finding, we introduce a multi-label pretraining objective that modifies the loss to append a small set of context-conforming auxiliary tokens selected by a lightweight surrogate language model. Distinct from existing knowledge distillation methods, the surrogate is used only for token selection and suggestion rather than full distribution matching. We empirically show that adopting this multi-target stance achieves superior performance on benchmarks with notably less FLOPs utilization and tokens in our tested setting.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
Spectral Equalization Minimizes Total Training Energy: A Control-Theoretic Account of Muon's Advantage
Euijin Hong
Abstract
We propose the total training energy, the integral squared error of the back-propagated signal, as a trajectory-level diagnostic for deep learning optimizers, viewing every first-order method as a discrete-time feedback controller closing the loop around the loss landscape. On quadratic losses with a Kronecker-factored Gauss–Newton Hessian, the total training energy equals the squared H2 norm of the closed loop and decomposes exactly into per-mode energy contributions. Jensen’s inequality implies that uniform per-mode rates strictly minimize the total training energy among controllers with a common weighted-mean contraction rate, which Muon’s polar step implements to the extent its update directions align with the Kronecker eigenbasis. On MNIST with one- , two-, and three-layer MLPs trained with SGD, AdamW, and Muon, Muon attains the smallest Gini coefficient of the per-mode energy distribution on every monitored hidden matrix and the smallest cumulative energy on two of three, with the advantage concentrated in the low-curvature tail of the spectrum. The framework recasts “orthogonalizing momentum helps” as a measurable, mechanism-level claim about the geometry of the Hessian spectrum.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
LoRA-Lens: Training Induces Spectral Compression in Low-Rank Adapters
Zhiyuan Gao
Abstract
Low-Rank Adaptation (LoRA) is widely used for parameter-efficient fine-tuning, but how training reshapes adapter spectral structure—and what this implies for rank allocation—remains poorly understood. We introduce LoRA-Lens, a diagnostic that tracks capacity utilization (CU), the fraction of rank budget carrying meaningful spectral energy. Across five models from three families, training compresses adapter spectra (CU: 1.0 → 0.43–0.83), with V-projection compressing 2–3× more than Q. This compression does not reliably indicate redundancy: on three representative models, V lora_B parameters are approximately 30–350× more Fisher-sensitive than Q across training stages, consistent with the OV circuit's role as the content channel that writes directly to the residual stream. Symmetric rank sweeps show that Q-rank reduction is safe in the tested models while V-rank reduction can be harmful. We propose FisherLoRA— preserve V, reduce Q—reducing Q/V adapter parameters by 38% relative to uniform rank allocation with worst-case degradation of 0.006 across five models, vs. 0.067 for spectral-guided allocation.
Abstract source - ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling
A Compute-Matched Study of Hidden Layer Distillation for LLM Pre-Training
Maxime Guigon, Lucas Dixon, Michael Sander
Abstract
Knowledge Distillation (KD) is a critical tool for training Large Language Models (LLMs), yet the majority of research focuses on approaches that rely solely on output logits, neglecting semantic information in the teacher's intermediate representations. While Hidden Layer Distillation (HLD) showed potential for encoder architectures, its application to decoder-only pre-training at scale remains largely unexplored. Through compute-controlled experiments, we benchmark HLD against logit-based KD and self-supervised baselines with Gemma3 3.4B as teacher and 123M and 735M students trained on up to 168B tokens from the C4 dataset. Our experiments show that HLD does not consistently outperform standard KD on downstream evaluation tasks. Nevertheless, we show that HLD can yield a systematic perplexity gain over KD across all shared-hyperparameter configurations, suggesting that a latent signal can be extracted, but a breakthrough may be needed for it to play a more significant role in LLM pre-training.
Abstract source - 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