ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
501–520 of 573
- ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
How does RL Post-training Induce Skill Composition? A Case Study on Countdown
Simon Park, Simran Kaur, Sanjeev Arora
Abstract
While reinforcement learning (RL) successfully enhances reasoning in large language models, its role in fostering compositional generalization (the ability to synthesize novel skills from known components) is often conflated with mere length generalization. To this end, we study what RL post-training teaches models about skill composition and how the composition structure affects the skill trasnfer. We focus on the COUNTDOWN task (given $n$ numbers and a target, form an expression that evaluates to the target) and analyze model solutions using expression trees, where each subtree corresponds to a reusable subtask and thus can be viewed as a ``skill.'' Tracking tree shapes and their success rates over training, we find: (i) out-of-distribution (OOD) generalization to larger and to unseen tree shapes, indicating compositional reuse of subtasks; (ii) the order of skill acquisition depends upon the composition structure---models master shallow balanced trees (workload is balanced between subtasks) before deep unbalanced ones, with persistent fragility on right-heavy structures for a fixed composition depth. Our diagnostic reveals what is learned, in what order, and where generalization fails, clarifying how RL-only post-training induces OOD generalization beyond what standard metrics such as pass@k reveal. To study the implication of our findings for more real-world tasks, we present a preliminary study on formal theorem proving.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
Dual-Resolution Recursive Energy: Certified Contract–Expand Inference for Sequential Decision Making
Haozhou Gao, ZENG JIARUI, Wendi Ren, Yanwen Liu, Shuang Li
Abstract
Fast habits and slow deliberation are usually modeled as separate systems. We propose a different view: System 1 and System 2 are two resolutions of the same recursive energy. A candidate decision is represented by a tree-structured energy whose root score determines the preferred action. The tree can be evaluated coarsely, by replacing subtrees with learned macro-energies, or finely, by expanding selected subtrees into their lower-level reasoning steps. In this view, a habit is a certified compressed evaluation, while deliberation is selective expansion of the same decision structure. The model switches resolution through learned certificates rather than a separate heuristic gate. If the contracted energy is sufficient to certify the current action choice, the model acts immediately; otherwise, it expands only the uncertain parts of the tree. Training follows a wake–sleep procedure: wake fits expert actions and records useful expansions, while sleep distills these expanded evaluations into macro-energies and calibrates contraction certificates. At test time, the same certificates guide online contract–expand decision making under a compute budget. This yields an imitation-based model of adaptive deliberation in which reasoning effort is allocated only when needed, while preserving explicit traces of the computation behind each action.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
On the Role of Learned Alignment Matrices in LatentMAS
Spursh Deshpande, Wenhao Lu
Abstract
Latent multi-agent systems propose that agents collaborate more effectively by sharing hidden states via a learned alignment matrix than through natural language. We test this premise through systematic ablations across three reasoning benchmarks. Replacing the trained alignment matrix with an identity transformation causes no statistically significant accuracy drop on any task. Removing cross-agent transfer entirely performs comparably or better than the full system on mathematical and scientific reasoning. On code generation, latent collaboration provides a genuine benefit over single-agent baselines, but text-based multi-agent communication substantially outperforms latent communication. A spectrum-matched random matrix also beats the trained one on code generation. We conclude that the trained alignment matrix may be functionally trivial, that genuine latent collaboration is task-specific, and that text communication remains superior for code despite being substantially slower.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
Compositional Adversarial Training for Robust Visual Watermarking
Anirudh Satheesh, Michael-Andrei Panaitescu-Liess, Andrew Y Xu, Georgios Milis, Heng Huang, Zikui Cai, Furong Huang
Abstract
Robust watermarking is typically trained with random post-processing augmentation, but random sampling under-covers the combinatorial space of realistic attack pipelines and rarely encounters the rare compositions that actually break detection. This leads to unstable training and poor sample efficiency. We instead formulate watermark robustness as a min-max problem over a structured space of compositional transformations. We propose Compositional Adversarial Training (CAT), a plug-in framework that learns a sequential differentiable adversary that observes the current watermarked image and selects an attack family at each step to maximally disrupt message recovery. CAT combines a straight-through Gumbel-Softmax attack selection with entropy regularization, allowing the backward pass to be end-to-end differentiable and aggregate gradient information across attack families, yielding faster, smoother convergence without collapsing to a single attack mode. We evaluate CAT on post-generation watermarks VideoSeal 0.0, VideoSeal 1.0, and PixelSeal and in-generation WMAR under both single-step and two-step attack suites, on in-distribution and multiple out-of-distribution image and video benchmarks. CAT consistently outperforms random-augmentation baselines trained with the same augmentation budget, with the largest gains on hard composed attacks and OOD evaluations; improving overall watermark capacity by up to 63.5\% in the single-step attack setting and 13.0\% in the compositional setting. In the autoregressive setting, CAT improves the TPR@FPR$=1\%$ by 12\% on average over random training on difficult geometric transformations. These results show that robust visual watermarking benefits from training against adaptive compositional adversaries rather than independent random corruptions.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
Installing and Obstructing Heuristics: Learning Dynamics in Nim
Leo Villani, Sultan Daniels, Ijin Yu, Anant Sahai
Abstract
The algorithmic capabilities of large language models may be driven by simple heuristics or spurious shortcuts. We study this phenomenon via Nim, a controlled natural language reasoning task in which the exact optimal strategy is known and the space of plausible shortcuts is explicit. In this setting, natural coarsenings of the target strategy correspond to coset structures of modular reduction, allowing us to directly observe when model performance plateaus at an intermediate heuristic during training. We show that these intermediate heuristics can be selectively implanted or circumvented through curriculum learning.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
Retrieval is Enough: Training-Free Interpretability with a Tool-Using Agent
Sriram Balasubramanian, Soheil Feizi
Abstract
Interpretability methods for neural network activations span a wide cost spectrum, from cheap, training-free techniques (such as linear probes, PCA, SVD) to more expensive training-based ones (such as SAEs and activation oracles). Training-based methods are typically more powerful, in part because they leverage large activation datasets during training. This raises a natural question --- do they actually surface insights that go beyond what is recoverable from the training dataset itself? To address this, we equip an LLM agent with a vector database of activations paired with their textual contexts, along with tools for manipulating activations --- projecting out directions in latent space, computing activation differences and averages. The agent iteratively queries the database, forms hypotheses from the retrieved samples, and validates them by constructing linear probes. We call this method HARP, for Hypothesis-driven Agentic Retrieval and Probing. Despite not involving any training, HARP outperforms both activation oracles and SAE-based agents on concept discovery, concept detection, model steering, and secret elicitation. The training-free design also makes HARP substantially cheaper and more flexible: new datasets can be indexed on demand whenever existing ones prove insufficient. More broadly, our results suggest that current training-based methods do not yet extract insights beyond their training data, and motivate benchmarks that explicitly require interpretability methods to demonstrate such insights.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
Don't Trust Stubborn Neighbors: A Security Framework for Agentic Networks
Samira Abedini, Sina Mavali, Lea Schönherr, Martin Pawelczyk, Rebekka Burkholz
Abstract
Large Language Model (LLM)-based Multi-Agent Systems (MASs) deliberate through communication to solve complex tasks like web automation and itinerary planning. However, this interactive nature makes them vulnerable to malicious agents that can exploit communication channels to manipulate collective decisions. To model these deliberation dynamics, we propose a theoretical framework based on the Friedkin–Johnsen opinion dynamics model. Despite its simplicity, it closely captures empirical LLM-MAS behavior across various network topologies and attack settings. Our framework's tractability enables us to derive conditions under which stubborn, persuasive agents can trigger cascades that dominate opinion formation. Building on our theoretical analysis, we introduce a trust-adaptive defense that dynamically adjusts inter-agent trust to reduce adversarial influence without sacrificing cooperative performance. Extensive experiments validate both our modeling framework and the defense mechanism, demonstrating improved robustness against adversarial takeovers.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
A Theory of Atomic Features and Four Testable Predictions
Kenny Peng, Jon Kleinberg, Nikhil Garg
Abstract
Features serve as a core conceptual building block in the study of language models. We formalize the hypothesis that there exists an atomic set of features and consider if sparse autoencoders (SAEs) are capable of recovering these features. Starting from the theory, we derive testable hypotheses including a stability principle: that under the hypothesis, SAEs of increasing size recover a growing set of stable features (which we expect are the atomic features). We demonstrate that this principle holds in practice on SAEs trained on two large embedding models. We also find evidence for three other testable predictions: recovery of features at each level of a hierarchy, recovery of shared features using different training data distributions, and recovery of shared features across SAEs trained on different embedding models (evidence of platonicity). Our results suggest the expressivity and fidelity of a theory of atomic features. Practically, our results suggest that scaling SAEs can provide more granularity while retaining stable high-level features.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
Irreducible Supervision Enables Compositional Generalization in Post-Training
Ellen Ma, Nikhil Anand
Abstract
Reinforcement learning (RL) with verifiable rewards has driven recent gains in large language model (LLM) reasoning, but whether it creates new capabilities or merely sharpens existing ones remains debated, especially for compositional generalization, where models must combine learned primitives into novel multi-step functions. Using a controlled program synthesis domain over a typed domain-specific language (DSL) of 119 primitives with verifiable compositional depth and irreducibility, where the base model has zero capability prior to fine-tuning, we show on Qwen3-8B (and replicate within-family at 4B and 32B, and cross-family on Llama-3.1-8B) that compositional capability is established during supervised fine-tuning (SFT) and depends on irreducibility at two levels of SFT data: structural irreducibility of compositional exemplars and observational irreducibility, where prompt input-output pairs are chosen adversarially to rule out shallower programs. Neither alone is sufficient; even moderate contamination with structurally reducible exemplars substantially degrades performance, and full contamination yields zero pass@64. Given this SFT foundation, standard outcome-reward RL (GRPO, PPO) maintains but does not extend compositional performance, contrasting with prior results in settings with simpler nested function execution. Compositional capability is bottlenecked by structural properties of SFT data, before RL begins. Code release pending institutional IP review.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
Meaning Representations as Variational Quantum Circuits
Tilen G Limbäck-Stokin, Tanishka Birdavade, Kin I Lo, Mehrnoosh Sadrzadeh
Abstract
Large vision-language models struggle with a "compositionality gap" due to their reliance on unstructured statistical approximations to capture complex relations. We propose CCG-VQC, a quantum framework that explicitly maps linguistic syntax into parametrised quantum circuits. To separate the impact of architectural design from scale, we introduce MicroCLIP, a parameter-matched classical transformer. While CCG-VQC achieved 71.19 % on ARO-Attribution, MicroCLIP struggled to surpass random chance (50.85 %), and even standard CLIP lags behind at 61.00 %. This demonstrates that in low-parameter regimes, explicit linguistic structure outperforms statistical approximation.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
Not Just RLHF: Why Alignment Alone Won't Fix Multi-Agent Sycophancy
Adarsh Kumarappan, Ananya Mujoo
Abstract
Multi-agent LLM pipelines exhibit a *compositional vulnerability*: a shared mid-layer circuit (L14-L18) composes two independently varying input features (channel framing and consensus strength) to produce a structured family of failure modes that flip correct answers to incorrect at rates of 44-98\%. The vulnerability is pretrained, not RLHF-induced: base models across four families show the same substitution pattern as their Instruct variants, and alignment partially mitigates rather than causes it. Activation patching localizes the corruption to L14-L18, where attention carries the causal weight and MLP contribution is negligible; patching above this window restores 96\% of the clean-to-pressured P(correct) gap. The two-factor interaction produces a 47.5 percentage-point yield gap at majority consensus, preserved across jury sizes $N \in \lbrace 4, 5, 6 \rbrace$. Two converging activation-space interventions show that pressure suppresses clean-reasoning features rather than activating a new sycophancy circuit. A single correctly-arguing dissenter reduces yield by 54-73 percentage points across all framings because it targets the consensus factor the shared mechanism gates on; the strongest prompt-level defense fails on compositions outside its design surface. Compositionally aware mitigations, specifically structured dissent at the pipeline level, generalize where prompt-level defenses do not.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
Learning to Theorize the World from Observation
Doojin Baek, Gyubin Lee, Junyeob Baek, Hosung Lee, Sungjin Ahn
Abstract
What does it mean for an AI system to understand the world? Contemporary world models often operationalize understanding as accurate prediction in latent or observation space. Developmental cognitive science, however, suggests a different view: human understanding emerges through the construction of internal theories of how the world works, even before mature language is acquired. Inspired by this theory-building view of cognition, we introduce Learning-to-Theorize (L2T), a learning paradigm for inferring explicit explanatory theories of the world from raw, non-textual observations. In L2T, a theory is represented as an executable, compositional program whose learned primitives can be systematically recombined to explain novel phenomena. We instantiate this paradigm with the Neural Theorizer, a probabilistic neural model that induces latent programs as a learned Language of Thought and executes them through a shared transition model. In experiments, we show that this formulation enables explanation-driven generalization, allowing observations to be understood in terms of the programs that generate.
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 - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
RL Post-Training Builds Compositional Reasoning Strategies
Azwar Abdulsalam, Nishil Patel, Andrew Saxe
Abstract
Does RL post-training merely amplify primitive skills already latent in a base model, or can it compose primitive skills into new higher-level strategies? We study this question in a fully observable rewrite-grammar environment where the pretraining distribution is known and every generated rewrite can be audited. A Transformer is pretrained on primitive symbol-rewrite chains and post-trained with only a binary final-answer reward. RL solves held-out problems that remain rarely solved by the pretrained model even under much larger sampling budgets, while rejection fine-tuning improves early but plateaus. Trace analysis shows that RL reorganizes primitive competence through a phased compositional mechanism: it first strengthens primitive reductions, then discovers valid composed procedures. These include sequential compositions, which collapse ordered chains of primitive contractions, and parallel compositions, which combine independent primitive contractions in a single step. The composed procedures are not isolated samples; they are reused and consolidated into a stable repertoire. Comparing RL with rejection fine-tuning shows that the key difference is not exploration volume but selectivity: RFT produces many shortcut-like rewrites, much of them invalid, whereas RL concentrates exploration into valid reusable structure. Pretraining ablations show that compositional strategy emergence is gated not by primitive exposure alone, but by whether pretraining organizes primitive competence into reduction procedures that RL can later compress. The base model provides weak procedural ingredients; RL builds them into reliable higher-level strategies.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
Compositional Consistency-Guided Decoding for Three-Way Logical Question Answering
Tianyi Huang, Ming Ren Hou, Jiaheng Su, Yutong Zhang, Ziling Zhang
Abstract
Three-way logical question answering (QA) assigns one of $\text{True}$, $\text{False}$, or $\text{Unknown}$ to a hypothesis $H$ given a premise set $S$. We study this task as a compact compositional inference problem: predictions for $H$ and for a mechanically negated hypothesis $\neg H$ should agree under a deterministic negation map. Despite this simple structure, large language models (LLMs) can exhibit two practical failure modes: (i) negation inconsistency, where answers to $H$ and $\neg H$ violate the required label mapping, and (ii) epistemic $\text{Unknown}$, where the model abstains even when one side is entailed. We introduce CGD-PD, a lightweight, training-free test-time layer that combines neural 3-way classification, symbolic negation-consistency projection, and targeted binary entailment probes. On one validation split of FOLIO's first-order logic fields, CGD-PD improves accuracy by 4.4 points on GPT-5.2 and 6.8 points on Claude Sonnet 4.5, while reducing $\text{Unknown}$ predictions and epistemic abstention. These results provide a controlled proof of concept that simple logical composition at inference time can help evaluate and improve LLM reasoning reliability; they do not, by themselves, establish robustness beyond this formal benchmark setting.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
Compositional Investigation: Why Reasoning Enables Tool-Using Agents to Fix What They Diagnose
Dhatri C, Tadisetty S Yashwanth
Abstract
We introduce rca llms, a closed-loop bench- mark in which an agent must diagnose and patch microservice bugs by composing four sub-skills (evidence gathering, cross-service correlation, code localization, and code editing), with cor- rectness verified by a deterministic reproducer rather than an LLM judge. Across six frontier models and five multi-hop incidents, all three rea- soning variants achieve 5/5 pass rates while all three non-reasoning variants score 1/5, with most failures being non-terminations. The same base model (grok-4-1-fast) scores 5/5 with rea- soning and 1/5 without, isolating chain-of-thought as a compositional controller that commits to sub- conclusions and advances the pipeline, rather than a simple accuracy booster.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
Reasoning as State Transition: A Representational Analysis of Reasoning Evolution in Large Language Models
Siyuan Zhang, Jialian Li, Yichi Zhang, Xiao Yang, Yinpeng Dong, Hang Su
Abstract
Large Language Models have achieved remarkable performance on reasoning tasks, motivating research into how this ability evolves during training. Prior work has primarily analyzed this evolution via explicit generation outcomes, treating the reasoning process as a black box and obscuring internal changes. To address this opacity, we introduce a representational perspective to investigate the dynamics of the model's internal states. Through comprehensive experiments across models at various training stages, we discover that post-training yields only limited improvement in static initial representation quality. Furthermore, we reveal that, distinct from non-reasoning tasks, reasoning involves a significant continuous distributional shift in representations during generation. Comparative analysis indicates that post-training empowers models to drive this transition toward a better distribution for task solving. To clarify the relationship between internal states and external outputs, statistical analysis confirms a high correlation between generation correctness and the final representations; while counterfactual experiments identify the semantics of the generated tokens, rather than additional computation during inference or intrinsic parameter differences, as the key driver of the transition. Collectively, we offer a novel understanding of the reasoning process and the effect of training on reasoning enhancement, providing valuable insights for future model analysis and optimization.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
Adaptive Recurrence as Algorithmic Time for Length Generalization in Addition
Imran Ibrahimli, Jae Hee Lee, Stefan Wermter
Abstract
Length generalization asks whether a model can reuse a learned computation beyond the lengths seen in training. Arithmetic makes this test precise because a model trained on short additions should apply the same digit-wise rule for more steps, rather than fit patterns tied to the training range. Many strong extrapolation results, however, rely on explicit aids that tell the model how digits should be aligned. We ask whether a model can length-generalize without such aids. We train small looped transformers with adaptive halting on a controlled decimal-addition task, without positional information or arithmetic-specific side information. The models extrapolate beyond the training range across multiple training regimes. To understand why, we analyze their internal dynamics and find that recurrent depth becomes organized as algorithmic time: later answer positions are resolved at later recurrent phases. These results suggest that adaptive recurrence can turn repeated latent computation into a less hand-engineered route for applying a digit-wise rule beyond the training length.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
Direction-Conditioned Policies via Compositional Subgoal Scoring for Online Goal-Conditioned Reinforcement Learning
Swaminathan S K, Damiya Gondha, Theyanesh Eswaramoorthy Rajahkrishnan, Aritra Hazra
Abstract
Hamilton-Jacobi-Bellman (HJB) theory suggests that optimal goal-conditioned actions depend solely on the value gradient of the goal-reaching distance at the current state; yet standard Goal-Conditioned Reinforcement Learning (GCRL) agents are typically conditioned on raw goals—signals that are geometrically uninformative when the goal is distant. We introduce Direction-Conditioned Policies (DCP), a complete online method that bridges this gap by decomposing goal-reaching into waypoint selection and direction-conditioned execution within a shared InfoNCE representation space. DCP trains jointly but factors cleanly at deployment (scoring drops and direction conditioning remains) and admits independent modification at the same interface. We theoretically establish (a) the sufficiency of directional signals under HJB, where the optimal action depends on the goal only through the value gradient; (b) a quantitative bound demonstrating that, under mild conditions, the actor's input distributions during training (on-path waypoints) and deployment (final goals) coincide, bounded only by representation error and geodesic slack; and (c) a controllable-subspace characterisation of directional conditioning failure. DCP consistently outperforms Contrastive RL across nine navigation and manipulation environments, achieving its most significant gains on the hardest manipulation tasks. Qualitative analysis of the learned-distance landscape shows the contrastive representation acts as an online quasimetric encoding environment topology, while the sole failure case (AntSoccer) localises to a learned gradient pathology as predicted by our theory.
Abstract source - ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents
What Do Latent Agents Actually Represent? Interpreting Hidden-State Communication in Multi-Agent Systems
Wenhao Lu, Spursh Deshpande
Abstract
Latent multi-agent systems replace text communication between agents with direct hidden-state transfer, promising richer inter-agent collaboration. Yet what information actually flows through these latent channels remains poorly understood. We present a systematic mechanistic analysis of a four-agent system evaluating on mathematical reasoning, science multiple-choice, and code generation benchmarks. We find that task identity is nearly perfectly linearly separable in the latent space, that individual agent roles are recoverable with near-perfect accuracy from hidden states alone, and that the vast majority of the representation space is effectively unused. Correctness information peaks at mid-network layers, yet this signal exists equally in single-agent baselines, revealing it as a base-model property rather than an emergent collaborative signal. Agents are highly informationally redundant with one another despite exhibiting distinct role signatures. Taken together, our results suggest that the apparent richness of latent communication reflects base-model geometry rather than learned compositional coordination.
Abstract source