Skip to content

ICML papers

Search ICML papers by title, author, or track. Open a paper’s abstract to read more.

Explore the ICML analysis

Search results

141–160 of 354

  • ICML · Main conference

    IsoCompute Playbook: Optimally Scaling Sampling Compute for LLM RL

    Zhoujun Cheng, Yutao Xie, Yuxiao Qu, Amrith Setlur, Shibo Hao, Varad Pimpalkhute, Tongtong Liang, Feng Yao, Zhengzhong Liu, Eric Xing, Virginia Smith, Russ Salakhutdinov, Zhiting Hu, Taylor W. Killian, Aviral Kumar

    Abstract

    While scaling laws guide compute allocation for LLM pre-training, analogous prescriptions for reinforcement learning (RL) post-training of LLMs remain poorly understood. We study the compute-optimal allocation of sampling compute for on-policy RL methods in LLMs, framing scaling as a compute-constrained optimization over three resources: parallel rollouts per problem, number of problems per batch, and number of update steps. We find that the compute-optimal number of parallel rollouts per problem increases predictably with compute budget and then saturates. This trend holds across both easy and hard problems, though driven by different mechanisms: solution sharpening on easy problems and coverage expansion on hard problems. We further show that increasing the number of parallel rollouts mitigates interference across problems, while the number of problems per batch primarily affects training stability and can be chosen within a broad range. Validated across base models and data distributions, our results recast RL scaling laws as prescriptive allocation rules and provide practical guidance for compute-efficient LLM RL post-training.

    Abstract source
  • ICML · Main conference

    FRIGID: Scaling Diffusion-Based Molecular Generation from Mass Spectra at Training and Inference Time

    Montgomery Bohde, Hongxuan Liu, Mrunali Manjrekar, Magdalena Lederbauer, Shuiwang Ji, Runzhong Wang, Connor Coley

    Abstract

    Tandem mass spectrometry is prominent in scientific discovery workflows for identifying unknown small molecules, yet high-throughput structural elucidation remains challenging. While recent autoregressive and graph diffusion models have shown promise in *de novo* elucidation, performance remains limited by poor scalability during both training and inference time. In this work, we present FRIGID, a framework with a novel diffusion language model that generates molecular structures conditioned on mass spectra via intermediate fingerprint representations and determined chemical formulae, training at the scale of hundreds of millions of unlabeled structures. We then demonstrate how forward fragmentation models enable inference-time scaling by identifying spectrum-inconsistent fragments and refining them through targeted remasking and denoising. While FRIGID already achieves strong performance with its diffusion base, inference-time scaling significantly improves its accuracy, surpassing 18% Top-1 accuracy on the challenging MassSpecGym benchmark and tripling the Top-1 accuracy of the leading methods on NPLIB1. Further empirical analyses show that FRIGID exhibits log-linear performance scaling with increasing inference-time compute, opening a promising new direction for continued improvements in *de novo* structural elucidation. FRIGID code is publicly available at https://github.com/coleygroup/FRIGID.

    Abstract source
  • ICML · Main conference

    Scaling Law for Quantization-Aware Training

    Mengzhao Chen, Chaoyi Zhang, Jing Liu, Zeng, Zeyue Xue, Zhiheng Liu, Yunshui Li, Jin Ma, Jie Huang, zhou Xun, Ping Luo

    Abstract

    Large language models (LLMs) demand substantial computational and memory resources, creating deployment challenges. Quantization-aware training (QAT) addresses these challenges by reducing model precision while maintaining performance. However, the scaling behavior of QAT, especially at 4-bit precision (W4A4), is not well understood. Existing QAT scaling laws often ignore key factors such as the number of training tokens and quantization granularity, which limits their applicability. This paper proposes a unified scaling law for QAT that models quantization error as a function of model size, training data volume, and quantization group size. Through 268 QAT experiments, we show that quantization error decreases as model size increases, but rises with more training tokens and coarser quantization granularity. To identify the sources of W4A4 quantization error, we decompose it into weight and activation components. Both components follow the overall trend of W4A4 quantization error, but with different sensitivities. Specifically, weight quantization error increases more rapidly with more training tokens. Further analysis shows that the activation quantization error in the FC2 layer, caused by outliers, is the primary bottleneck of W4A4 QAT quantization error. By applying mixed-precision quantization to address this bottleneck, we demonstrate that weight and activation quantization errors can converge to similar levels. Additionally, with more training data, weight quantization error eventually exceeds activation quantization error, suggesting that reducing weight quantization error is also important in such scenarios. These findings offer key insights for improving QAT research and development.

    Abstract source
  • ICML · Workshop · Second Workshop on Technical AI Governance Research

    Is Multilingual LLM Watermarking Truly Multilingual? Scaling Robustness to 100+ Languages via Back-Translation

    Asim Mohamed, Martin Gubri

    Abstract

    Multilingual watermarking aims to make large language model (LLM) outputs traceable across languages, yet current methods still fall short. Despite claims of cross-lingual robustness, they are evaluated only on high-resource languages. We show that existing multilingual watermarking methods are not truly multilingual: they fail to remain robust under translation attacks in medium- and low-resource languages. We trace this failure to semantic clustering, which fails when the tokenizer vocabulary contains too few full-word tokens for a given language. To address this, we introduce STEAM, a detection method that uses Bayesian optimisation to search among 133 candidate languages for the back-translation that best recovers the watermark strength. It is compatible with any watermarking method, robust across different tokenizers and languages, non-invasive, and easily extendable to new languages. With average gains of +0.23 AUC and +37%p TPR@1%, STEAM provides a scalable approach toward fairer watermarking across the diversity of languages.

    Abstract source
  • ICML · Workshop · Second Workshop on Technical AI Governance Research

    Scaling Policy Compliance Assessment with Policy Reasoning Traces

    Joseph Marvin Imperial, Harish Tayyar Madabushi

    Abstract

    Policy compliance assessment is a fundamental task of evaluating whether an input case strictly complies with a set of human-defined rules, more generally known as policies. In practice, human experts follow a systematic, step-by-step process to identify violations with respect to specific stipulations outlined in the policy. However, such documentation of gold-standard, expert-level reasoning processes is costly to acquire. In this paper, we introduce Policy Reasoning Traces (PRT), a form of specialized generated reasoning chains that serve as a reasoning bridge to improve an LLM's policy compliance assessment capabilities. Our empirical evaluations demonstrate that the use of PRTs for both inference-time and training-time scenarios significantly enhances the performance of open-weight and commercial models, setting a new state-of-the-art for HIPAA and GDPR policies. Beyond accuracy gains, we also highlight how PRTs can improve an LLM's ability to accurately cite policy clauses, as well as influence compliance decisions through their high utilization from the raw chains-of-thought.

    Abstract source
  • ICML · Workshop · Second Workshop on Technical AI Governance Research

    The Inference Gap: Test-Time Compute Scaling and the Limits of Training-Centric AI Governance

    Luiz Felipe Piochi

    Abstract

    Contemporary AI governance frameworks, including the EU Artificial Intelligence Act and frontier developers' responsible scaling policies, assume that AI capability is determined primarily at training time. Test-time compute (TTC) scaling, wherein the same model weights produce qualitatively different outputs depending on inference budget, exposes gaps in this assumption that existing frameworks do not address. We identify three governance gaps that result from this mismatch. The first is a threshold decoupling gap, through which developers can pair sub-threshold training runs with inference-time amplification to achieve frontier-level capabilities outside the scope of enhanced regulatory scrutiny. The second is an evaluation staleness gap, through which pre-deployment safety assessments conducted at fixed inference budgets fail to characterise capabilities that emerge under extended reasoning. The third is a reasoning opacity gap, through which hidden chain-of-thought processes undermine the observability requirements that auditable governance depends on, with the additional complication that visible chain-of-thought is not reliably faithful even where accessible. We further analyse how agentic deployment compounds all three gaps and propose a set of technically grounded reforms, including inference-budget-aware capability evaluations and reasoning trace logging for regulated applications.

    Abstract source
  • ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents

    Test-Time Scaling with Weak Verifiers via Self-Play

    Akira Yoshiyama, Akmal Ashirmatov, Jonas Hübotter, Ido Hakimi, Andreas Krause

    Abstract

    Test-time scaling methods spend additional compute at deployment to improve a large language model's performance on a hard target problem. Most methods rely on a verifier that scores candidate solutions for correctness, using it to select among or refine the model's outputs. In many deployment regimes, however, a strong verifier on the target problem is unavailable. We introduce Test-Time Self-Play (TTSP), an approach to test-time scaling using asymmetric self-play without reliance on a verifier. On a difficulty-calibrated subset of LiveCodeBench v6, TTSP is the best-performing method at every verifier strength we evaluate, and the gap to the strongest baseline widens as the verifier weakens; in the no-verifier limit, TTSP yields a 35\% absolute improvement in mean@8. The gains hold across a range of verifier strengths, except when the base policy has near-zero coverage of the correct answer.

    Abstract source
  • ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents

    On Data Engineering for Scaling LLM Terminal Capabilities

    Renjie Pi, Grace Lam, Mohammad Shoeybi, Pooya Jannaty, Bryan Catanzaro, Wei Ping

    Abstract

    Despite rapid recent progress in the terminal capabilities of large language models, the training data strategies behind state-of-the-art terminal agents remain largely undisclosed. We address this gap through a systematic study of data engineering practices for terminal agents, making two key contributions: (1) Terminal-Task-Gen, a lightweight synthetic task generation pipeline that supports seed-based and skill-based task construction, and (2) a comprehensive analysis of data and training strategies, including filtering, curriculum learning, long context training, and scaling behavior. Our pipeline yields Terminal-Corpus, a large-scale open-source dataset for terminal tasks. Using this dataset, we train Terminal-LM, a family of models initialized from Qwen3 (8B, 14B, 32B) that achieve substantial gains on Terminal-Bench 2.0: Terminal-LM-8B improves from 2.5% to 13.0%, Terminal-LM-14B improves from 4.0% to 20.2%, and Terminal-LM-32B improves from 3.4% to 27.4%, matching the performance of significantly larger models. We release Terminal-LM checkpoints and Terminal-Corpus to accelerate research in this domain.

    Abstract source
  • ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling

    Scaling with Recursion in Masked Discrete Diffusion Models

    Alba Carballo-Castro, Julianna Piskorz, Paulius Rauba, Mihaela van der Schaar, Pascal Frossard

    Abstract

    Masked diffusion models (MDMs) have emerged as a promising paradigm for language generation. However, current architectures typically apply a denoising transformer only once per diffusion step, while scaling performance primarily through larger parameter counts. This approach can be inefficient in memory-constrained settings, and may underutilize computation as a source of improved performance. We introduce \textbf{recursive masked diffusion models}, which are trained to repeatedly apply the same transformer block within each denoising step, enabling iterative refinement of generated tokens through parameter reuse. Empirically, we show that recursive MDMs achieve substantially improved parameter efficiency: a model with $L$ recursive loops approaches the performance of an iso-parameter baseline containing roughly $L\times$ more parameters on structured generation tasks. Moreover, recursive computation within a denoising step can partially substitute for additional diffusion steps, as recursive models often require fewer denoising iterations to match the quality of single-pass baselines. These findings identify recursive depth as a distinct and principled scaling axis for masked diffusion models, complementary to both model size and number of denoising steps.

    Abstract source
  • ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling

    Compositional Energy-Based Inference-Time Scaling for Multi-Scale Microstructure Generation

    Chengxi Zhang, Yu Yao, Zhenting Qi, Yilun Du, Ju Li

    Abstract

    Generating scale-consistent scientific images requires satisfying physical constraints over combinatorial conditions, while standard point-wise selection can collapse the joint distribution. We introduce Compositional Energy-Based Scaling (CEBS), an inference-time scaling framework based on compositional energy minimization. CEBS decomposes a jointly trained conditional diffusion model into condition-specific energy gradients and recombines them for controllable out-of-distribution generation without retraining. It further defines a set-level energy that penalizes mean shift and covariance mismatch, selecting candidate subsets that preserve distributional statistics rather than optimizing samples independently. CEBS is general to conditional generators, requires no auxiliary discriminator, and improves scientific image generation under interpretable statistical and physical constraints.

    Abstract source
  • ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling

    Frequency-Forcing: From Scaling-as-Time to Soft Frequency Guidance

    weitao du

    Abstract

    Standard flow-matching models transport noise to data along a single synchronized time variable, even though natural images are most naturally generated from coarse low-frequency structure to fine high-frequency detail. Recent work offers two complementary ways to impose such order: K-Flow rewrites the flow coordinate as a frequency scaling variable, while Latent Forcing keeps the pixel path intact and lets an auxiliary semantic stream mature earlier. We propose \textbf{Frequency-Forcing}, a soft frequency-ordering mechanism that keeps the standard pixel flow but guides it with an earlier-maturing low-frequency stream. The auxiliary signal is derived from the data itself through a lightweight learnable wavelet packet transform, avoiding dependence on a large pretrained semantic encoder. On ImageNet-256, Frequency-Forcing improves substantially over pixel-only baselines, outperforms fixed-frequency variants, and composes naturally with a semantic stream for further gains.

    Abstract source
  • ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling

    Effective Test-Time Scaling of Discrete Diffusion through Iterative Refinement

    Sanghyun Lee, Sunwoo Kim, Seungryong Kim, Jongho Park, Dongmin Park

    Abstract

    Test-time scaling through reward-guided generation remains largely unexplored for discrete diffusion models despite its potential as a promising alternative. In this work, we introduce Iterative Reward-Guided Refinement (IterRef), a novel test-time scaling method tailored to discrete diffusion that leverages reward- guided noising-denoising transitions to progressively refine misaligned interme- diate states. We formalize this process within a Multiple-Try Metropolis (MTM) framework, proving convergence to the reward-aligned distribution. Unlike prior methods that assume the current state is already aligned with the reward distribu- tion and only guide the subsequent transition, our approach explicitly refines each state in situ, progressively steering it toward the optimal intermediate distribution. Across both text and image domains, we evaluate IterRef on diverse discrete dif- fusion models and observe consistent improvements in reward-guided generation quality. In particular, IterRef achieves striking gains under low compute budgets, far surpassing prior state-of-the-art baselines. Code will be publicly released

    Abstract source
  • ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling

    Compute Efficiency and Serial Runtime Tradeoffs for Stochastic Momentum Methods

    Depen Morwani, Alex Meterez, Pranav Nair, Sham Kakade

    Abstract

    Stochastic momentum methods such as heavy ball (HB), Nesterov momentum, and variants of Accelerated SGD (ASGD) [Kidambi et al., 2018] are widely used in modern training, but their stochastic benefits depend on two distinct quantities: serial runtime, the number of iterations needed to reach a target accuracy, and compute efficiency (CE), the inverse total gradient-query or FLOP cost. Larger batches reduce serial runtime without hurting CE only when the contraction gap grows linearly with batch size. We study stochastic HB and ASGD for consistent linear regression with Gaussian covariates and prove finite-dimensional, discrete-time lower bounds on their batch-size tradeoffs. Our first result shows that HB does not improve the CE frontier over SGD for arbitrary spectra; rather, it preserves SGD-level CE over a larger batch-size window, allowing larger batches to reduce serial runtime until HB reaches its deterministic accelerated scale. This window can be a factor $\sqrt{\kappa}$ larger than the SGD critical batch size. For ASGD, the picture is more spectrum-dependent: for rapidly decaying power-law spectra, ASGD improves small-batch CE over HB/SGD, but as batch size grows it trades this CE advantage for improved serial runtime. Synthetic linear-regression experiments verify these qualitative regimes, including near-overlap of ASGD and HB for slowly decaying spectra and the predicted CE--serial tradeoff for rapidly decaying spectra.

    Abstract source
  • ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling

    Grokking or Glitching? How Low-Precision Drives Slingshot Loss Spikes

    LIU Hanqing, Jianjun Cao, Yuanze Li, Zijian Zhou

    Abstract

    Deep neural networks exhibit periodic loss spikes during unregularized long-term training, a phenomenon known as the "Slingshot Mechanism." Existing work usually attributes this to intrinsic optimization dynamics, but its triggering mechanism remains unclear. This paper proves that this phenomenon is a result of floating-point arithmetic precision limits. We show that finite-precision errors in cross-entropy computation can break the zero-sum constraint of gradients across classes and introduce a systematic drift in the parameter update of the classifier layer. This drift forms a positive feedback loop with the feature mean, which we call _Numerical Feature Inflation_ ($\mathcal{NFI}$). Our results reinterpret Slingshot as a numerical dynamic of finite-precision training and provide a testable explanation for the emergence of periodic loss spikes in late-stage unregularized training.

    Abstract source
  • ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling

    Diagonalizing the Softmax: Hadamard Initialization for Tractable Cross-Entropy Dynamics

    Connall Garrod, Jonathan Keating, Christos Thrampoulidis

    Abstract

    In this work, we study cross-entropy (CE) dynamics using a two-layer linear network with orthogonal inputs, the simplest non-convex setting where the CE implicit bias remains unresolved. This coincides with the unconstrained features model used to study neural collapse (NC), a phenomenon occurring in deep classification networks. Our analysis is based on a key observation: Hadamard initialization diagonalizes the softmax operator. This allows us to extend the spectral initialization framework that Saxe et al. (2013,2019) developed for squared loss. We prove convergence to NC under spectral CE training and give the first finite-time analysis in this setting via an explicit Lyapunov function that decreases monotonically to NC. We further identify CE-specific phenomena absent under squared loss and show empirically that spectral dynamics model small random initialization.

    Abstract source
  • ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling

    Quantifying Hyperparameter Transfer and the Importance of Embedding Layer Learning Rate

    Dayal Singh Kalra, Maissam Barkeshli

    Abstract

    Hyperparameter transfer allows extrapolating optimal optimization hyperparameters from small to large scales, making it critical for training large language models (LLMs). This is done either by fitting a scaling law to the hyperparameters or by a judicious choice of parameterization, such as Maximal Update ($\mu$P), that renders optimal hyperparameters approximately scale invariant. In this paper, we first develop a framework to quantify hyperparameter transfer through three metrics: (1) the quality of the scaling law fit, (2) the robustness to extrapolation errors, and (3) the asymptotic loss penalty due to choice of parameterization. Next, we investigate through a comprehensive series of ablations why $\mu$P appears to offer high-quality learning rate transfer relative to standard parameterization (SP), as existing theory is inadequate. We find that the overwhelming benefit of $\mu$P relative to SP when training with AdamW arises simply from maximizing the learning rate of the embedding layer. In SP, the embedding layer learning rate acts as a bottleneck that induces training instabilities; increasing it by a factor of width to match $\mu$P dramatically smooths out training while improving hyperparameter transfer. We also find that weight decay improves the scaling law fits, while, in the fixed token-per-parameter setting, it hurts the robustness of the extrapolation.

    Abstract source
  • ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling

    How to Scale Mixture-of-Experts: From μP to the Maximally Scale-Stable Parameterization

    Leena Chennuru Vankadara, Moritz Haas, Luke Hayward, Sebastian Bordt, Alessandro Breccia

    Abstract

    Recent frontier large language models predominantly rely on Mixture-of-Experts (MoE) architectures. Despite empirical progress, there is still no principled understanding of how hyperparameters should scale with network width $N$, expert width $N_e$, number of experts $M$, sparsity $K$, and depth $L$ to ensure both stability and optimal performance at scale. We take a principled step toward resolving this gap by analyzing three different scaling regimes: (I) co-scaling $N\asymp N_e$, (II) co-scaling $N\asymp M\asymp K$, and (III) full proportional scaling of $N, N_e, M$, and $K$. For each regime, we develop a novel Dynamical Mean Field Theory (DMFT) description of the limiting training dynamics of MoEs that provides a formal foundation for our analysis. Within this framework, we derive the unique parameterization for SGD and Adam satisfying all maximal-update ($\mu$) desiderata. We then show that the resulting $\mu$P prescription does not reliably induce monotonic improvement with scale or robust learning-rate transfer. We trace these pathologies to scale-dependent observables in the aggregation dynamics, which motivates a refined set of desiderata that we term \textit{maximal scale stability}. Guided by this principle, we derive a \textit{Maximally Scale-Stable Parameterization} (MSSP) for both SGD and Adam in all three scaling regimes, and characterize the corresponding limiting dynamics - qualitatively distinct from the $\mu$P limit - through a separate DMFT analysis. Experiments verify that MSSP robustly recovers learning rate transfer and monotonic improvement with scale across regimes. Combined with existing depth-scaling theory, these results provide a complete scaling prescription for MoE architectures as a function of width, depth, expert width, and number of experts.

    Abstract source
  • ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling

    Towards Understanding Momentum Acceleration in River-Valley Loss Landscape

    Lu Miao, Zeyu Bian, Kaiyue Wen, Beining Wu, Siyu Chen, Tianhao Wang, Zhiyuan Li

    Abstract

    Momentum is a critical and ubiquitous component of modern optimizers, while the role of momentum remains unclear beyond restricted settings, especially in optimization for large-scale neural networks. Recent studies suggest that the highly non-convex loss landscape for large language models exhibits certain “river-valley” structure: a low-loss manifold (the river) bordered by sharp, high-loss directions (the valley), where the essential optimization progress is determined primarily by the progress along the river in the long run. Motivated by this structure, in this work, we investigate the role of heavy-ball momentum in such an emerging setting. Specifically, we analyze gradient descent with heavy-ball momentum and show that compared to vanilla gradient descent, momentum can accelerate the progress along the river by enabling use of a substantially larger learning rate. In fact, momentum acts as a stabilizer in the presence of oscillations caused by an aggressive choice of learning rate, which the vanilla gradient descent cannot tolerate. We validate the insights with experiments on synthetic functions and language model training, offering practical guidance for tuning learning rate and momentum parameters.

    Abstract source
  • ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling

    Sharp Capacity Scaling of Spectral Optimizers in Learning Associative Memory

    Juno Kim, Eshaan Nichani, Denny Wu, Alberto Bietti, Jason Lee

    Abstract

    Spectral optimizers such as Muon have recently shown strong empirical performance in large-scale language model training, but the source and extent of their advantage remain poorly understood. We study this question through the linear associative memory problem, a tractable model for factual recall in transformer-based models. In particular, we go beyond orthogonal embeddings and consider Gaussian inputs and outputs, which allows the number of stored associations to greatly exceed the embedding dimension. Our main result sharply characterizes the recovery rates of one step of Muon, SGD, and Newton's method on the logistic regression loss under a power law frequency distribution. We show that the storage capacity of Muon significantly exceeds that of SGD, and even matches Newton's method while only using first-order information. Moreover, Muon saturates at a larger critical batch size. We further analyze the multi-step dynamics under a thresholded gradient approximation and show that Muon achieves a substantially faster initial recovery rate than SGD, while both methods eventually converge to the information-theoretic limit at comparable speeds. Experiments on synthetic tasks validate the predicted scaling laws.

    Abstract source
  • ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling

    Why Are DMD Students Lazy? Understanding the Copying Behavior in Few-Step Distillation

    Shucheng Li, Iolo Jones, Alexander Tong, Michael Bronstein

    Abstract

    Distribution Matching Distillation (DMD) aligns noised distributions across scales to compress diffusion models. While Distribution Matching Distillation (DMD) is theoretically pairing-agnostic, we identify an emergent copying phenomenon: high-dimensional students spontaneously reproduce the teacher’s original noise–data pairings. This behavior, absent in low-dimensional settings, is not an artifact of auxiliary losses or memorization. Instead, we argue that copying arises from the constrained geometric freedom of the student model during high-dimensional distillation.

    Abstract source