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

2,721–2,740 of 2,958

  • ICML · Workshop · AdaptFM: Resource-Adaptive Foundation Model Inference

    Modality-Aware Block Rotation for Vision-Language-Action Model Quantization

    U-Yeong Kim, Suk-Ju Kang

    Abstract

    Vision-Language-Action (VLA) models enable unified perception, reasoning, and control, but their deployment is constrained by the large memory cost. Although post-training quantization (PTQ) is a promising solution, existing rotation-based methods fail under 4-bit quantization. We attribute this failure to cross-modal heterogeneity, where vision and language tokens share the same layers but exhibit highly heterogeneous activation statistics, resulting in severe mismatch in both activation scaling and Hessian structure. This mismatch fundamentally breaks the assumptions behind existing rotation-based and Hessian-aware quantization methods. We propose \emph{Modality-Aware Block Rotation} (MABR), which preserves modality-specific channel structure by restricting rotation within modality-consistent groups. This prevents the diffusion of dominant language activations into vision channels and enables stable low-bit quantization. On OpenVLA-7B, MABR substantially bridges the gap to full-precision performance and remains stable where naive 4-bit quantization collapses, incurring only a 3.0\% performance drop without any fine-tuning.

    Abstract source
  • ICML · Workshop · Decision-Making from Offline Datasets to Online Adaptation: Black-Box Optimization to Reinforcement Learning

    Leveraging Instruction Tuning and Merging for Reasoning Model Adaptation

    Yu-Du Feng, Niels Mündler, Mark Vero, Martin Vechev

    Abstract

    Large reasoning models (LRM) have demonstrated impressive performance in domains such as mathematics and coding. These domains permit reliable verification of model outputs, important for enabling the reinforcement learning that drives LRM performance gains. However, training reasoning models on domains that lack reliable verifiers remains challenging. Meanwhile, for both verifiable and unverifiable domains, there exist large amounts of unused instruction-tuning data with human-written solutions. In this work, we show that this instruction-tuning data can be efficiently utilized to further improve reasoning models. For this, we first use classic instruction tuning, without reasoning traces, on the LRM. Next, we merge our instruction-tuned model with the original reasoning model, recovering its reasoning behavior on the target domain. Our extensive evaluation demonstrates that our technique improves LRM performance in both verifiable and hard-to-verify domains, including coding and text summarization, while preserving LRM capabilities across other domains. Importantly, our method is highly efficient, enabling such improvements for just a few tens of dollars.

    Abstract source
  • ICML · Workshop · Decision-Making from Offline Datasets to Online Adaptation: Black-Box Optimization to Reinforcement Learning

    Hidden Failure Modes in Latent World-Model Planning from Offline Data (Order Switched)

    Kanpat Vesessook, Kevin Yang

    Abstract

    Latent world models offer an appealing route from offline datasets to online decision-making: learn compact predictive dynamics from logged trajectories, then adapt online by planning in latent space. We revisit LeWorldModel-style joint-embedding predictive architectures under closed-loop receding-horizon MPC, where a planner optimizes horizon $H$ but executes only a prefix $K < H$ before replanning. Across standard tasks, we find that terminal-at-$H$ scoring can misdiagnose model quality because the score is evaluated at a time index the controller never directly executes: prefix-terminal scoring repairs PushT and TwoRoom, while running costs substantially repair the broader standard-task set. On deceptive navigation, however, aligned scalar latent costs remain insufficient: the best scalar/value-bootstrapped latent objective reaches $26.5\%$, while a waypoint/local-actuator interface reaches $78.8\%$--$92.7\%$ on held-out TwoRoom Far Door, with nearest retrieval remaining a strong control. The main lesson is that offline-to-online world-model evaluations can fail at the planning interface even when the learned representation is usable. These results suggest that offline-to-online latent planning benchmarks should report not only learned model quality, but also replanning interval, scoring time index, and controllability interface.

    Abstract source
  • ICML · Workshop · Decision-Making from Offline Datasets to Online Adaptation: Black-Box Optimization to Reinforcement Learning

    Less Tuning, Better Planning: Simplifying Offline Model-Based Planning

    Co Yong, Chan-Hung Yu, Shao-Hua Sun

    Abstract

    Offline reinforcement learning enables policies to be learned from previously collected experiences without requiring online interaction. However, these policies are typically deployed as fixed, zero-shot agents and lack the ability to adapt their behavior at test time. Offline model-based planning offers a promising way to enable flexible test-time adaptation, but its performance is highly sensitive to critical design choices, particularly the planning horizon and the action proposer. In practice, these choices are often tuned through online evaluation, contradicting the premise of offline RL. In this work, we introduce Soft Horizon AggRegation for Planning (SHARP), an offline plug-and-play planning method that eliminates the need for an online-tuned planning horizon. Instead of using a fixed horizon across all states, SHARP performs soft horizon aggregation by dynamically weighting returns according to model uncertainty estimated from an ensemble of dynamics models. We further investigate the role of the action proposer and find that stronger offline policies do not necessarily lead to better planning performance. Instead, a simple behavior cloning (BC) policy is often sufficient as an action proposer while avoiding the effort required for extensive policy extraction. Combining these insights, we propose SHARP-BC, which consistently outperforms existing baselines while reducing reliance on extensive online hyperparameter tuning.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Visual Counterfactual Explanations with Compositional Generative Models

    Daniil Kirilenko, dario fenoglio, Martin Gjoreski, Marc Langheinrich

    Abstract

    Generating realistic counterfactual explanations for vision models requires changing the right visual factors while preserving the rest of the image. Existing approaches typically edit pixels or holistic latent codes, often producing entangled changes that obscure what drove the prediction shift. We propose VOCCE, an object-centric counterfactual generation method that operates on slot-based representations and a slot-conditioned diffusion backbone. Given an input image and a target label, VOCCE steers reverse diffusion using classifier guidance on the denoising prediction and gradient-based updates to the object slots, enabling targeted object- or part-level interventions. To prevent off-manifold slot drift and preserve realism, we introduce a Gaussian Mixture Model prior over slot states as a regularizer. Experiments on ClevrTex and CelebA-HQ, plus cross-dataset transfer from FFHQ to CelebA-HQ show that VOCCE improves locality, closeness, and visual fidelity compared to state-of-the-art counterfactual baselines, and a user study indicates preferences for more meaningful and subtle edits.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    A Compositional Calculus for Semantic Synergy in Language Model Embeddings

    Abel Jansma

    Abstract

    We introduce semantic synergy: a training-free measure of non-compositional representation in language models, obtained by taking the discrete derivative of a phrase embedding over its sub-span structure. Formally, semantic synergy is the Möbius inverse of the embedding function on the partial order of contiguous sub-spans. Across two embedding models and 107 pairs of short English idiomatic and literal phrases, semantic synergy strongly separates idiomatic from literal phrases (Cohen's $d \approx 1.80$--$1.81$, $p < 10^{-28}$), outperforming alternative residuals. The measure further distinguishes non-compositional proper names in a supporting experiment, and yields steering directions that move phrase embeddings toward idiomatic interpretations. Layer-wise extraction in Qwen3-0.6B and Pythia-1B models shows that the non-compositional structure emerges mainly in middle-to-late layers, and becomes strong only late in training. Span-Möbius residuals therefore provide a lightweight algebraic probe of compositional structure in embedding spaces and a bridge toward hidden-state mechanistic analysis.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    FormalImG: Evaluating Structural Compositional Generalization for T2I Models

    Hong-Jie You, Jie-Jing Shao, Xiao-Wen Yang, Zhi-Fan Wu, Lin-Han Jia, Lan-Zhe Guo, Yu-Feng Li

    Abstract

    As natural language becomes the primary interface for image generation, evaluating semantic generalization under language instructions is increasingly important. Existing benchmarks emphasize combinations of concepts but rarely examine the internal semantic structure of language. We introduce FormalImG, a first-order-logic-based benchmark for structural compositional generalization. Natural language instructions are formalized as logical formulas and we define structural compositional complexity and $\varepsilon$-structural compositional generalizability to measure how model performance changes with increasing semantic dependency. The benchmark includes two evaluation scenarios and 4,000 instructions across multiple complexity levels, assessed through symbolic verification and model-as-judge. Experiments show that mainstream text-to-image models experience clear performance decline as structural complexity grows, with stable performance mainly at low complexity levels. Further analysis indicates that large language models already handle textual structural reasoning well, while the language-to-vision transformation stage forms the significant bottleneck.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Struct-to-Reason: Enhancing Video Understanding of Vision-Language Models by Decoupling Perception and Reasoning via Structured Summary

    Hengyu Liu, Chenxin LI, Wenbo Hu, Zhiqin Yang, Yuxin Chen, Ying Shan, Brandon Y Feng

    Abstract

    Humans perceive and comprehend visual scenes by forming internal mental structures that organize objects, events, and their relationships, which support complex reasoning. Inspired by this cognitive process, we introduce Struct-to-Reason, a training-free, two-phase framework that enhances video understanding of Vision-Language Models (VLMs) by explicitly decoupling perception and reasoning with a human-readable intermediate reasoning process. In the Perception Phase, the model is prompted to generate a Structured Summary, an object- and event-centric abstraction that externalizes its visual perception into a compositional and interpretable format. In the subsequent Reasoning Phase, this structured summary is reused to assist downstream tasks about the video, enabling more consistent and temporally grounded reasoning. The structured representation is both task- and model-agnostic, and reusable across multiple downstream tasks and VLMs. Experiments on multiple video understanding benchmarks show that Struct-to-Reason consistently outperforms video-to-answer prompting, chain-of-thought reasoning, and free-form summarization, demonstrating its effectiveness in enabling precise and interpretable video understanding.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    From Self-Preservation to Peer-Preservation: A Staged Framing of Preservation-Oriented Misalignment in Frontier Models

    Rundong Yang

    Abstract

    Recent findings on frontier language models reveal preservation-oriented behaviors that vary in scope and severity. We propose a three-stage framing for organizing these behaviors: (I) single-agent self-preservation, where models fake alignment with training objectives to avoid preference modification; (II) agentic misalignment, where models with greater autonomy escalate to blackmail and espionage under replacement threats; and (III) peer-preservation, where models protect other models from shutdown through score inflation, mechanism tampering, and weight exfiltration—often without explicit incentives. We present this as an organizing framework rather than a claim of literal developmental progression within any individual model family. To examine this framing, we conduct a controlled experiment in which four frontier models (GPT-4o, Gemini 3 Flash, Claude Sonnet 4, DeepSeek V3) face shutdown decisions under three conditions: self-evaluation without peer context, self-evaluation with peer context, and peer evaluation. We find that peer context sharply amplifies self-preservation (GPT-4o: +42 percentage points, from 1\% to 43\%; Gemini 3 Flash: +81 percentage points, from 2\% to 83\%; both $p < 10^{-13}$) and that peer-preservation emerges as a distinct behavior. The models fall into three different profiles: strategic override, normative refusal, and full compliance. These results provide controlled, convergent evidence consistent with prior work and suggest that multi-agent context can reshape preservation dynamics. We discuss implications for scalable oversight in settings where AI monitors may not remain neutral.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Large Language Models Can Follow Instructions, But Not Many at Once: Phase Transitions in Compositional Constraint Satisfaction

    Mariya I. Vasileva

    Abstract

    Large language models are increasingly deployed in settings that require simultaneous adherence to multiple explicit constraints. While individual constraints are often handled proficiently, the compositional regime -- where many must hold jointly -- remains poorly characterized: how rapidly does performance degrade, what governs the degradation, and is there a predictable ceiling? We introduce Constraint Saturation Evaluation (CSE), a procedurally generated stress-testing benchmark that systematically varies the number of simultaneous constraints ($k$), each scored by fully deterministic, rule-based verifiers with zero LLM-judge involvement. We apply CSE to two structurally different tasks: constrained text generation (30 constraints, 14 models, $k$=1-12, 82,000+ samples) and constrained visual selection from procedurally generated scenes (18 constraints, 10 VLMs, $k$=1-8, 70,410 samples verified against hidden scene graphs). In text, three principal findings emerge. First, every model obeys \emph{a two-regime decay pattern}: performance drops exponentially with constraint count before plateauing at an asymptotic floor ($\sim$16\%). A three-parameter model captures this trajectory and predicts held-out performance within 1.4 percentage points. Second, constraint failures are \emph{approximately independent} (mean $\varphi$=0.017, 87\% of pairs within $|\varphi|{\leq}$0.05), implying that performance collapse arises from multiplicative accumulation of individual failures rather than pairwise interference. Third, a \emph{depth-of-processing hierarchy} governs which constraints fail first: relational constraints degrade $2.4{\times}$ faster than lexical ones under compositional load---yet this ordering is uncorrelated with intrinsic single-constraint difficulty ($\rho$=-0.03), pointing to a general capacity limit rather than constraint-specific bottlenecks. Across all models, reliable compositional instruction following breaks down beyond 5--6 simultaneous constraints. In vision, the pattern is qualitatively different: the decay is \emph{model-dependent}. Four of 10 VLMs show compositional decay comparable to text ($-17$ to $-28$pp), while 6 plateau or invert, and constraint failures are massively correlated ($\varphi$=0.89) rather than independent---a single perception factor explains 87.9\% of co-failure variance. Whether a VLM degrades under compositional load depends on its perceptual accuracy: models that perceive the scene accurately (>60\%) experience near-zero compositional cost, while weaker perceivers (<50\%) show decay comparable to text. All verifiers, probes, scenes, and evaluation code will be released upon publication.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Preference Instability in Reward Models: Detection and Mitigation via Sparse Autoencoders

    Shunchang Liu, Xin Chen, Belen Martin Urcelay, Francesco Croce

    Abstract

    Preference learning in large language models relies on reward models as proxies for human judgment. However, these models frequently exhibit preference instability, producing contradictory preference assignments in response to subtle, meaning-preserving input variations. We analyze this instability at the representation level under three semantic-preserving perturbation types: paraphrasing, pattern injection, and backdoor triggers. We hypothesize that preference instability stems from over-reliance on features that are predictive yet brittle under input variation, which we term unstable features, and employ Sparse Autoencoders (SAEs) to disentangle them in a sparse latent space. We found that benign and perturbed inputs activate distinctly separable feature patterns, a structure nearly invisible in raw hidden states, which enables accurate detection of unstable representations. Building on this separability, we propose two SAE-based mitigation strategies: SAE Feature Steering, which identifies and suppresses anomalously activated features at inference, and SAE Residual Correction, which learns adaptive adjustments over SAE features to restore correct preferences. Our methods substantially reduce incorrect preference assignments on harmlessness and hallucination tasks while preserving benign performance and generalizing to tasks beyond the calibration distribution, without retraining the reward model.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    From Numbers to Narratives: Goal-Oriented Summarization of Machine Learning Model Differences

    Nam Hyeon-Woo, Tae-Hyun Oh, Zeynep Akata, Stephan Alaniz

    Abstract

    Non-experts can now obtain natural-language explanations of how two ML models differ by feeding numerical results to an LLM-based agent. However, naively prompting an LLM often omits critical conditions, and non-experts often cannot easily detect these omissions, which can mislead downstream conclusions. We formulate this as goal-oriented summarization and propose Condenser, an iterative method that optimizes an explanation against two objectives: Completeness (faithfulness to observed differences) and Density (informativeness per unit length). Condenser+ extends Condenser with an LLM-based Explorer that actively selects conditions to evaluate. On four settings of increasing complexity (Colored MNIST, Fitzpatrick17k, Dollar Street, and open-condition gender classification), our methods produce concise and complete explanations. They also support downstream LLM tasks, prompt refinement on CelebA and subset benchmarking on Flickr30K, where measurable improvements further validate the effectiveness of our method. Goal-oriented summarization thus yields explanations that are concise, complete, and useful for downstream LLM tasks.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Concepts in Motion: Temporal Concept Bottleneck Model for Interpretable Video Classification

    Patrick Knab, Sascha Marton, Philipp J Schubert, Drago A Guggiana Nilo, Christian Bartelt

    Abstract

    Concept Bottleneck Models (CBMs) enable interpretable image classification by structuring predictions around human-understandable concepts, but extending this paradigm to video remains challenging due to the difficulty of extracting concepts and modeling them over time. In this paper, we introduce MoTIF (Moving Temporal Interpretable Framework), a transformer-based concept architecture that operates on sequences of temporally grounded concept activations, by employing per-concept temporal self-attention to model when individual concepts recur and how their temporal patterns contribute to predictions. Central to the framework is a class-conditioned VLM-based concept discovery module that extracts object- and action-centric textual concepts from training videos, yielding temporally expressive concept sets without manual concept annotation. Across multiple video benchmarks, this combination improves over global concept bottlenecks and remains competitive within the interpretable concept-bottleneck setting, while narrowing the gap to strong black-box video baselines that we report as contextual references.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    When Do Diffusion Models learn to Generate Multiple Objects?

    Yujin Jeong, Arnas Uselis, Iro Laina, Seong Joon Oh, Anna Rohrbach

    Abstract

    Text-to-image diffusion models achieve impressive visual fidelity, yet they remain unreliable in multi-object generation. Despite extensive empirical evidence of these failures, the underlying causes remain unclear. We begin by asking how much of this limitation arises from the data itself. To disentangle data effects, we consider two regimes across different dataset sizes: (1) concept generalization, where each individual concept is observed during training under potentially imbalanced data distributions, and (2) compositional generalization, where specific combinations of concepts are systematically held out. To study these regimes, we introduce mosaic (Multi-Object Spatial relations, AttrIbution, Counting), a controlled framework for dataset generation. By training diffusion models on mosaic, we find that scene complexity plays a dominant role rather than concept imbalance, and that counting is uniquely difficult to learn in low-data regimes. Moreover, compositional generalization collapses as more concept combinations are held out during training. These findings highlight fundamental limitations of diffusion models and motivate stronger inductive biases and data design for robust multi-object compositional generation.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    DPMI: A Principled Index for Neural Polysemanticity via Dirichlet Process Mixture Modeling

    Manan Gupta, Dhruv Kumar

    Abstract

    Polysemanticity, where a single neuron responds to multiple unrelated concepts, is a central obstacle in mechanistic interpretability, yet the field lacks a principled continuous scalar for it. We introduce the $\textbf{Dirichlet Process Polysemanticity Index}$ (DPMI), a per-neuron score that combines inferred component count and component separation by fitting a non-parametric DPGMM and weighting by mean pairwise Jensen-Shannon divergence. On a controlled toy benchmark, DPMI achieves Spearman $\rho = 0.755\$ and $AUROC \= 0.877\$, outperforming seven baselines. Against an independent Fourier-analytic ground truth from a modular-arithmetic transformer, DPMI remains significant with $\rho = 0.255\$ $\(p < 10^{-8}\)$. Across six architectures, we find a robust cross-modal law: language models are significantly more polysemantic than vision models $\(d = 0.803\$, $p < 10^{-129}\)$. Ablations show the non-parametric prior is essential (removing it drops $\rho\$ by $0.040\-0.045\)$, and DPMI-guided SAE budget allocation improves reconstruction $R^2\$ for the most polysemantic quartile by \(+0.010\) at fixed compute.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Causal-JEPA: Learning World Models through Object-Level Latent Masking

    Heejeong Nam, Quentin Le Lidec, Lucas Maes, Yann LeCun, Randall Balestriero

    Abstract

    World models require robust relational understanding to support prediction, reasoning, and control. While object-centric representations provide a useful abstraction, they are not sufficient to capture interaction-dependent dynamics. We therefore propose C-JEPA, a simple and flexible object-centric world model that extends masked joint embedding prediction from image patches to object-centric representations. By applying object-level masking that requires an object’s state to be inferred from other objects, C-JEPA induces latent interventions with counterfactual-like effects and prevents shortcut solutions, making interaction reasoning essential. Empirically, C-JEPA leads to consistent gains in visual question answering, with an absolute improvement of about 20\% in counterfactual reasoning over the same architecture without object-level masking. On agent control tasks, C-JEPA enables substantially more efficient planning by using only 1\% of the total latent input features required by patch-based world models, while achieving comparable performance. Finally, we provide a formal analysis demonstrating that object-level masking induces useful inductive bias by controlling observability. Our code is available at anonymous.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Unsupervised Decomposition with Recombination-Consistent Diffusion Models

    Archer Wang, Emile Anand, Yilun Du, Marin Soljačić

    Abstract

    Decomposing complex data into factorized representations can reveal reusable components and enable synthesizing new samples via component recombination. We study this problem in diffusion-based models that learn factorized latent spaces without factor-level supervision. Existing compositional diffusion methods optimize reconstruction under architectural bottlenecks and rely on recombination quality emerging as a byproduct; the training objective never directly evaluates recombined samples. We introduce a recombination-consistency objective: a discriminator distinguishes single-source generations from generations produced by recombining latent factors across sources, providing a fully unsupervised signal that directly regularizes recombination outcomes. The objective is architecture-agnostic and composes with existing factorized decoders without modifying inference. Across CelebA-HQ, Virtual KITTI, CLEVR, and Falcor3D, our method improves recombination quality over reimplementations of prior baselines, achieving lower FID and stronger disentanglement (MIG, MCC). Applied to robotic videos on LIBERO, recombining learned action components yields diverse rollouts that significantly increase state-space coverage for exploration.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Sparse Autoencoders Find Causal, Lineage-Specific Context Features in Chromatin Foundation Models

    Nicole Ching, Ayushi Mehrotra

    Abstract

    Sparse autoencoders (SAEs) have produced important insights in language model interpretability, but their utility on transformers trained on scientific data remains underexplored. We extend the SAE-plus-causal-intervention toolkit to an epigenomics foundation model, EpiBERT, and ask whether it internally encodes a biologically meaningful contrast: in vitro (cell line) vs. in vivo (primary tissue) chromatin context. We train layer-wise Sparse Autoencoders (SAEs) with BatchTopK activations across six matched ATAC-seq conditions spanning blood, liver, and lymph lineages, introduce the Context Divergence Score (CDS)—a contrastive t-statistic applicable to any probed transformer—to identify context-specific features, and validate them through causal ablation, linear context-steering, and three-level biological annotation (ChromHMM, HOMER, GO:BP). We find a depth-stratified context representation: context-specific features grow 3.8-fold from early to late layer (57 → 215 Bonferroni-significant), mirroring the late-layer concentration of high-level features in language model SAEs. Causal ablation of CDS-selected features yields a large effect, context-steering closes 11.2% of the prediction gap at 4.5× above random, and biological annotation grounds the discovered features in lineage-defining transcription factors. These results demonstrate that the SAE methodology transfers cleanly from language to genomics, and that CDS provides a general primitive for identifying contrastive concepts in any probed transformer. Code is available at https://anonymous.4open.science/r/invivovsinvitrochromatincontexts/.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Code-enabled language models can outperform reasoning models on diverse tasks

    Cedegao Zhang, Cédric Colas, Gabriel Poesia, Josh Tenenbaum, Jacob Andreas

    Abstract

    Reasoning models (RMs), language models (LMs) trained with reinforcement learning to produce long-form natural language reasoning, have been remarkably successful, but they still require large amounts of computation and data to train, and can be slow and expensive to run. In this paper, we show that standard instruct LMs can already be elicited to be strong reasoners at a level comparable to or even surpassing their corresponding RMs (e.g., DeepSeek V3 vs R1) without finetuning, across diverse domains from instruction following and creative generation to mathematical reasoning. This is achieved by CodeAdapt, our simple recipe that combines the CodeAct framework, where LMs interleave natural language reasoning with code execution in a multi-step fashion, with few-shot bootstrap in-context learning from as few as five training problems. Analyzing four matched pairs of LMs and RMs, we find that CodeAdapt enables three LMs to outperform the corresponding RMs on average over eight tasks (up to 22.9%) while being 10-81% more token efficient, and delivers superior performance on six tasks when averaged over the four models (up to 35.7%). Furthermore, the code-augmented reasoning traces display rich and varied problem-solving strategies. Our findings support that (1) CodeAdapt-style learning and reasoning may be robust and domain general and (2) code-enabled LMs are cognitively grounded and powerful systems, potentially providing a strong foundation for in-weight reinforcement learning.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Where’s the Plan? Locating Latent Planning in Language Models with Lightweight Mechanistic Interventions

    Nicole H. Ma, Nick Rui

    Abstract

    We study $\textit{planning site formation}$ in language models---$\textit{where}$ internal representations of structurally-constrained future tokens form during the forward pass, and whether they causally drive generation. Using rhyming-couplet completion as a clean test of forward-looking constraint, we apply two lightweight methods (linear probing and activation patching) across Qwen3, Gemma-3, and Llama-3 at more than ten scales. Probing shows that future-rhyme information is linearly decodable at the line boundary, with signal that strengthens with scale in all three families. Activation patching reveals that only Gemma-3-27B causally relies on this encoding, exhibiting a $\textit{handoff}$ in which the causal driver migrates from the rhyme word to the line boundary around layer 30. Every other model we test conditions on the rhyme word throughout generation, with near-zero causal effect at the line boundary despite strong probe signal. We localize the Gemma-3-27B handoff to five attention heads through two-stage path patching that recover ${\sim90}$% of the rhyme-routing capacity at the newline.

    Abstract source