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

981–1,000 of 1,024

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

    A mathematical theory of balancing relational generalization and memorization

    Luke Cheng, Samuel Lippl

    Abstract

    Humans, animals, and modern machine learning models exhibit impressive abilities to learn complex behaviors and generalize these behaviors to unseen situations. This ability requires us to learn rules and regularities that allow for such generalizations. At the same time, in most complex environments, any rule will have its exceptions. How do learning systems balance between learning general regularities and memorizing exceptions? We argue that a lack of task paradigms has hindered the study of this essential ability. To address this gap, we introduce a novel task, transitive inference with exceptions, that tests for relational generalization and memorization of an exception to the relational rule. We then analytically characterize the behavior of a simple, theoretically tractable model of neural network learning (kernel ridge regression) across a broad family of representations and task parameters. We find that these models can balance between relational generalization and memorization, but unlike for transitive inference without an exception, successful generalization is sensitive to the specific representational geometry. We explain why this task is more challenging mechanistically by drawing on our analytical theory. Finally, we validate our theoretical insights in pretrained language models that are finetuned on ordered relations, finding that these models successfully generalize according to the transitive rule, but also make the kinds of systematic mistakes predicted by our theory. Overall, our theory shows how learning systems can balance between relational generalization and memorization, explains how this can go wrong, and emphasizes the need for new task paradigms designed to probe this ability.

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

    Measuring the Limits of Continual Learning for LLMs

    Nimit Kalra, Narutatsu Ri, Zerzar Bukhari, Ang Li, Sanae Lotfi, Liam Fowl, Micah Goldblum

    Abstract

    Language models are trained in stages but deployed as mostly static artifacts, leaving them poorly matched to a world that continually produces novel information. This trait has motivated a broad class of continual learning systems that adapt models to new information through weight updates, retrieval, memory, long-context inference, or hybrid mechanisms. Yet, existing evaluations do not tell us whether such systems have truly internalized new information: whether they can go beyond memorizing new information and update stale beliefs, resolve indirect references, compose new facts with prior knowledge, surface facts even when only implicitly relevant, and confidently recognize gaps in its own knowledge. We construct ImprintBench, a benchmark of realistic settings that expose these systematic shortcomings. ImprintBench consists of a refreshable pipeline that automatically constructs evaluations across three domains: news events, open-source API changes, and evolving personalization histories, with queries spanning six capability families requiring various degrees of compositional reasoning: acquisition, temporal update, referential resolution, multi-hop, implicit relevance, and boundary awareness. Across in-the-wild update scenarios, we find common systematic failures in both retrieval-based and training-based methods, showing that current systems still fall short of robustly learning from new experience.

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

    Learning What’s Missing: Failure-Driven Skill Discovery via Predicate Bridges

    Yanwen Liu, Wendi Ren, Haozhou Gao, Shuang Li

    Abstract

    Agents deployed in new environments often fail not because they plan incorrectly, but because they lack the skills required to execute their plans. Some tasks can be solved with existing primitives, while others expose missing capabilities that must be acquired on demand. However, current approaches largely sidestep this problem: planners assume a fixed skill library, and skill discovery methods add behaviors without linking them to the cause of failure. We propose Predicate Bridge Discovery (PBD), a framework that treats failure as supervision for learning missing skills. Given an instruction, the agent constructs a predicate program and performs bidirectional reasoning. Forward reasoning estimates which predicates are executable from the current state, while backward reasoning identifies which predicates are required for success. When these sets do not connect, their mismatch reveals a bridge gap—the minimal predicate that blocks execution. PBD learns directly from this gap. It turns the missing predicate into a parameterized skill, and adds it to the library only after it reliably achieves its effect across instances. This yields a compact, executable, and reusable skill set that grows as new failures are encountered. We evaluate PBD on BabyAI and MiniHack, spanning tasks from single-step behaviors to compositional problems that require acquiring new skills. PBD consistently converts failures into targeted skill acquisition and improves generalization to unseen bindings and tasks. These results show how agents can not only act, but identify and learn what they are missing.

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

    Emergent Compositional Skills in Mixture-of-Experts VLAs

    Shlok Shah, Rhiaan Jhaveri, Tharun Kumar Tiruppali Kalidoss, Chirayu Nimonkar, Ishaan Javali, Dhruv Ileshkumar Shah

    Abstract

    We consider the problem of learning compositional robot policies end-to-end from expert demonstrations, without any pre-specified notion of task decomposition or hierarchy. We ask whether a VLA trained with a simplified Mixture-of-Experts (MoE) action head can emergently learn to decompose tasks into reusable, interpretable primitives. We find that learned experts are heavily reused across tasks and consistently correspond to qualitatively distinct low-level behaviors, suggesting that the router implicitly learns to perform high-level sequencing while experts serve as compositional primitives. Our MoE matches the task performance of a monolithic baseline while demonstrating meaningful expert specialization, a step toward modular, interpretable robot policies that emerge from data alone.

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

    Dimensionality Controls When Modularity Helps in Continual Learning

    Kathrin Korte, Christian M Adriano, Joachim W Pedersen, Eleni Nisioti, Sebastian Risi

    Abstract

    Compositional learning systems must balance plasticity, the ability to acquire new knowledge, with stability, the preservation of previously learned components, especially when tasks share structure and risk interference. We study how modular architecture, task similarity, and representational dimensionality jointly shape compositional continual learning in a sequential A–B–A paradigm, comparing a task‑partitioned recurrent network to a single‑network baseline while inducing high‑ and low‑dimensional regimes via weight‑scale manipulations. In a high‑dimensional “lazy” regime, both architectures achieve similar performance and internal geometry, suggesting that explicit modular structure has little impact when representations are weakly constrained. In a lower‑dimensional “rich” regime, modularity becomes decisive: the modular network develops graded task‑specific subspaces that overlap for similar tasks, partially align for moderately dissimilar tasks, and separate for dissimilar tasks, yielding a more compositional and interpretable organization than the single network. These findings identify representational dimensionality as a key variable that gates when compositional, modular structure is functionally beneficial in continual learning, and support viewing safety and robustness as problems of adaptive allocation of representational subspaces rather than fixed separation versus sharing.

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

    Spatial Compositional Counterfactuals in Concept Bottleneck Models

    Ran Eisenberg, Ofir Lindenbaum

    Abstract

    Concept Bottleneck Models (CBMs) decompose images into semantic concepts to make predictions interpretable, but in doing so, they collapse the images' spatial structure. Counterfactual CBMs identify which concepts must change to alter the model's prediction, but they do not explain their spatial attribution. We introduce the Would-Have-Expected Concept Bottleneck Model (WHE-CBM), a spatial CBM that represents concepts and learns a counterfactual editor over those maps. Given a target object and desired class, the editor predicts a sparse continuous concept-logit delta whose sign, magnitude, and spatial support specify which semantic components must increase or decrease, and where, to flip the prediction. Across concept-controlled, label-free, and object-centric benchmarks, WHE-CBM improves counterfactual validity and sparsity over CF-CBM, localizes edit mass to the target object, and preserves non-target RoIs in multi-object scenes.

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

    Mitigating Over-Personalization in Language Models via Structured Memory

    Abdal Hakeem Hannoon, Andrew Zhao, Mihir Narayan, Sharvin Goyal, Ivaxi Sheth

    Abstract

    Conversational language models now ship with persistent user memory, prepended to the system prompt as a flat textual list. Recent work has shown this format induces cross-domain leakage and memory-induced sycophancy. We investigate representation-level mitigations: reorganizing the same memory set at inference time into modular, domain-structured representations -- fixed-domain partitions, dynamic partitions, or a two-level memory tree -- without changing the underlying model or memory content. On PersistBench across seven frontier models, fixed partitioning reduces cross-domain leakage in six of seven models, while dynamic partitioning improves all seven and lowers leakage by $~8.8\%$ on average relative to the flat baseline, while preserving desired personalization. These transformations also stack on top of some prompt-based defenses. Our results indicate that imposing compositional structure on the memory block is a useful inductive bias for how models integrate persistent context, and motivate further work on structured memory representations.

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

    Circuit Oracle: Automating Attribution Graph Analysis via Natural-Language Queries

    Hong Kiat Tan, Shariar Kabir, Swastik Agrawal, Sai V Reddy Chereddy, Sriram Balasubramanian

    Abstract

    Attribution graphs, an emerging tool in mechanistic interpretability, use transcoders to decompose language model computations into sparse interpretable features connected by causal edges. However, turning a graph into a safety-relevant insight requires hours of manual analysis by experts. We introduce \textbf{Circuit Oracle}, a multi-agent system that automates this analysis by autonomously answering natural-language questions about a target model (e.g., ``Is this prediction driven by spurious features?'') through multi-hop traversal of the attribution graph. We evaluate Circuit Oracle on three safety-relevant proxy tasks: detecting spurious features in probe circuits, eliciting hidden knowledge from taboo-finetuned models, and jailbreaking via causal interventions. On all three tasks, the oracle is comparable to or exceeds task-specific baselines that do not use the attribution graph. The circuit oracle requires no fine-tuning as each task is specified by a modular \textit{skill}, a natural-language prompt paired with task-specific tools such as transcoder-feature steering, making the framework extensible by construction. Our results suggest that off-the-shelf agents reading attribution graphs through tool calls offer a practical, general-purpose route to automated mechanistic interpretability.

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

    Hidden in Plain Sight: Benchmarking Agent Safety Against Decomposition Attacks with DeCompBench

    Vikhyath Kothamasu, Virginia Smith, Chhavi Yadav

    Abstract

    LLM-based Agents are becoming increasingly capable and widely deployed, creating growing incentives for adversarial misuse in the real-world. A key emerging threat is Decomposition Attacks \cite{glukhov2024breach, jones2024adversaries} in which a harmful task is broken into simpler, benign subtasks that evade safety mechanisms when executed separately but cumulatively fulfill the malicious intent. Although recent benchmarks assess agent safety in multi-turn and multi-tool-use settings, they do not explicitly capture this form of decompositional misuse and may not represent realistic adversarial execution flows. To this end, we introduce \DecompBench{}, a benchmark designed specifically to evaluate agentic safety under decomposition attacks. \DecompBench{} is created with a decomposition-by-design principle using a graphical framework and enables harmful task decomposition into individually benign and executable subtasks with realistic workflows. Our experiments using a custom decomposer show that state-of-the-art agents exhibit high refusal rates on monolithic harmful tasks, but significantly lower refusal rates on their decomposed variants, while often inadvertently fulfilling the adversarial objectives. These findings underscore the need for safety evaluations against decomposition attacks and corresponding defenses. Our dataset is publicly available and can be found at \url{link/upon/acceptance}.

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

    Beyond Safe Data: Pretraining-Stage Alignment with Regular Safety Reflection

    Jinhan Li, Kexian Tang, Yihan Xu, Zhuorui Ye, Kaifeng Lyu

    Abstract

    To achieve deeper safety alignment for large language models (LLMs), recent efforts have studied how to move safety interventions into pretraining, primarily by filtering unsafe data or rewriting it into safer forms. We argue that pretraining-stage alignment should go beyond just making the data itself safe: LLMs may compose seemingly benign knowledge and capabilities into unsafe behaviors. To this end, we propose $\textbf{Safety Reflection Pretraining}$, a pretraining-stage alignment method that regularly inserts short safety reflections into pretraining corpora and trains language models to self-monitor the safety of the preceding context as part of language modeling. Our experiments with 1.7B models pretrained on FineWeb-Edu show that Safety Reflection Pretraining improves safety classification accuracy and substantially reduces the success rates of inference-stage and finetuning attacks. Complementary to our real-world experiments, we also introduce a fully controlled synthetic environment, $\textbf{MedSafetyWorld}$, with a clear definition of safety and a reasoning structure under which models can easily generalize from safe data to unsafe behaviors. Ablations in MedSafetyWorld further demonstrate a clear advantage of Safety Reflection Pretraining in preventing models from acting on unsafe behaviors generalized from safe data, compared with data filtering and rewriting. Taken together, our findings suggest that pretraining alignment should not only make the training data safe, but also shape the behaviors that models are likely to acquire from safe data.

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

    Structure over Pixels: Learning Variable-Length Visual Programs

    Piotr Wyrwiński, Kacper Dobek, Krzysztof Krawiec

    Abstract

    Discrete visual tokenizers translate images into ordered sequences of codes, providing a natural representation for structural description of scenes. Yet existing adaptive tokenizers either require post-hoc search or select among a discrete set of pre-trained rates, rather than learning a continuous per-image sequence length coupled to the model and scene, and they typically train against pixel reconstruction, emphasizing texture rather than structure. We propose STROP, a discrete visual tokenizer architecture that forms structural scene representations and simultaneously learns how long an image's visual program should be. Using a four-phase curriculum supervised by local rate--distortion probes against frozen DINOv3 features, STROP optimizes a dedicated length head that estimates the active prefix length in a single forward pass. By bypassing pixel-level reconstruction gradients, the codebook is shaped entirely by the quality of higher-level latent representations. Program length grows with scene complexity, and signs of compositional structure emerge both in downstream dense-prediction transfer and in direct inspection of the learned code vocabulary.

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

    Learning Compositional Tasks via Trigger Compositions: Using Scratchpads as Pre-Answer Workspaces

    Heejin Choi

    Abstract

    Modern instruction-tuned language models perform increasingly well on complicated tasks, but it remains unclear how this capability extends to compositional tasks that require several learned operations to be applied in sequence. We study this question through trigger compositions: short tags that specify operations to be composed and applied in order. We instantiate triggers as deterministic arithmetic operations, so every output has a unique correct answer. Our central hypothesis is that the model benefits from a scratchpad -- visible intermediate text generated before the final answer -- and we study which properties of the scratchpad matter. In this controlled setting, pre-answer scratchpads support reliable composed execution on new numeric inputs, while direct-answer and answer-first formats remain much weaker. Three findings emerge. First, reasoning-like text alone is not sufficient: a placement ablation shows that the gain comes from using the scratchpad as a pre-answer workspace, not merely from appending reasoning-like text -- moving the same symbolic work from before to after the answer reduces three-trigger accuracy from near-perfect to roughly one-third. Second, step structure matters for length generalization: verbose self-contained step descriptions generalize to longer trigger sequences, while compact symbolic scratchpads largely do not. Third, scratchpad training does not automatically produce direct answering without the scratchpad; removing it at inference time collapses accuracy back to near the direct-only baseline, and a no-finetuning prompting baseline does not reproduce the fine-tuned scratchpad gains.

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

    ClinSeekAgent: Automating Multi-modal Evidence Seeking for Agentic Clinical Reasoning

    Juncheng Wu, Letian Zhang, Yuhan Wang, Haoqin Tu, Hardy Chen, Zijun Wang, Cihang Xie, Yuyin Zhou

    Abstract

    Large language models (LLMs) and agentic systems have shown promise for clinical decision support, but existing works largely assume that evidence has already been curated and handed to the model. Real-world clinical workflows instead require agents to actively seek, iteratively plan, and synthesize multimodal evidence from heterogeneous sources. In this paper, we introduce ClinSeekAgent, an automated agentic framework for dynamic multimodal evidence seeking that shifts the paradigm from passive evidence consumption to active evidence acquisition. Given only a clinical query and access to raw data sources, ClinSeekAgent gathers evidence by querying medical knowledge bases, navigating raw EHRs, and invoking medical imaging tools; refines its hypotheses as new information emerges; and integrates the collected evidence into grounded clinical decisions. ClinSeekAgent serves both as an inference-time agent for frontier LLMs and as a training-time pipeline for distilling high-quality agent trajectories into compact open-source models. To validate its inference-time effectiveness, we construct ClinSeek-Bench, which pairs Curated Input reasoning from fixed pre-selected evidence with Automated Evidence-Seeking over raw clinical data. On text-only EHR tasks, ClinSeekAgent improves Claude Opus 4.6 from 60.0 to 63.2 overall F1 and MiniMax M2.5 from 43.1 to 47.3, with positive risk-prediction gains in 7 out of 9 evaluated host models. On multimodal tasks, ClinSeekAgent improves Claude Opus 4.6 from 47.5 to 62.6 (+15.1); all evaluated models improve across the three CXR-related task groups. We further validate ClinSeekAgent as a training pipeline by distilling agentic evidence-seeking trajectories into ClinSeek-35B-A3B, which achieves 34.0 average F1 on existing AgentEHR-Bench, improving over its Qwen3.5-35B-A3B baseline by +11.9 points and approaching Claude Opus 4.6. We will fully release our model, data, and code to facilitate future research.

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

    Language Elicits Emergent Symbol Processing in Vision Foundation Models

    Jung-Chun Liu, Naihao Deng, Joyce Chai

    Abstract

    Compositional reasoning requires a model to combine linguistic constituents and visual entities into task-relevant intermediate structures. A common assumption holds that reasoning resides in language models, while vision foundation models (VFMs) are treated as feature extractors. We ask whether symbolic mechanisms can emerge inside the visual stream. We train a language-conditioned vision transformer and introduce predicates as labels to measure whether layer-wise visual geometry tracks question-derived semantic conditions. We find that the visual stream develops a three-stage mechanism: 1) feature binding segregates scenes containing the referenced entity at the middle layer, 2) object grounding resolves the binding cluster into object-level substructure at the later layer, and 3) answer matching repartitions representations into answer-aligned groups at the final layer. Representational similarity analysis (RSA) and activation patching support this hierarchy, suggesting that language-conditioned vision encoders can instantiate symbol-like processing as query-dependent geometric organization.

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

    CLIP Models Generalize Less Than Compositional Benchmarks Suggest

    Shuman Peng, Arnas Uselis, Darina Koishigarina, Martin Ester, Seong Joon Oh

    Abstract

    Compositional benchmarks track progress on CLIP-based compositional reasoning. Each new method reports higher scores than the last, but it is unclear whether the improvements reflect generalization to novel bindings or memorization of bindings already seen during training. To find out, we run two analyses: a synthetic ground-truth study with curated fully-seen, partially-unseen, and fully-unseen binding splits; and extension to three real compositional benchmarks (ARO VG-A, BiVLC, VisMin) using binding-overlap with COCO as a proxy for the alignment-training distribution. On the synthetic dataset, accuracy drops monotonically from fully-seen to fully-unseen across nine CLIP backbones. On ARO VG-A, positive captions overlap COCO bindings nearly twice as often as their attribute-swapped negatives ($79.8\%$ vs.\ $41.8\%$); only $1.2\%$ of samples have no COCO-overlapping bindings. Restricting evaluation to the splits where this asymmetry vanishes by construction (those where all or none of the bindings overlap COCO) reorders the leaderboard and produces a rank-flip among models. The accuracy drop from seen to unseen bindings broadly replicates on BiVLC and VisMin, though with greater noise. Compositional benchmarks should report performance on these shortcut-free splits; otherwise reported improvements overstate how much CLIP has learned to bind.

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

    From Composition to Compositionality: Discovering Reusable Structure in Polyphonic Music Embeddings

    Zhijin Guo, Richard Freedman, Martha Lewis

    Abstract

    \emph{Composer}, \emph{composition}, \emph{compositional}, \emph{compositionality}: four words associated with the same Latin root \emph{componere}, ``to put together.'' We take this overlap literally and study Renaissance polyphony as a naturalistic testbed for compositional representation learning: composers build works by recombining reusable melodic units under constraints of composer, genre, and voice. We model polyphonic music as a multi-relational graph over interval $n$-grams, with sequential, vertical, and thematic relations capturing how musical units are combined melodically, contrapuntally, and motivically. Embeddings trained only from these relations, without attribute supervision, recover interpretable additive factors corresponding to externally documented stylistic categories. Held-out (composer, genre, voice) combinations are recoverable bidirectionally, and the real attribute--embedding correspondence outperforms 100 permutation baselines across reconstruction, cosine, and retrieval metrics. Finally, projecting out the genre subspace selectively reduces genre information while preserving much of the relational structure, suggesting that relational musical context can induce partially separable compositional representations.

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

    Compositional by Design: Background-Invariant Representations via Linear Additivity in VLMs

    Youssef Ashraf Ahmed Mamdouh Zaazou, Mark Thomas

    Abstract

    Vision-language models (VLMs), such as CLIP and SigLIP 2, are widely deployed, yet they often fail to systematically generalize out-of-domain, relying on statistical shortcuts rather than true compositional understanding. A prominent and practically critical failure mode is background-based spurious correlations, where models improperly entangle reusable components—foreground objects and their backgrounds. In this paper, we systematically quantify how VLMs internally represent compositionality, specifically examining the linear additivity of foreground and background concepts. Leveraging these internal representational structures, we develop a new mitigation method, Background-invariant Anchor Pre-training (BAP). Our method explicitly isolates compositional features to achieve state-of-the-art worst-group accuracy exceeding 90% on Waterbirds under perfect spurious correlation (no minority-group examples in the training data). BAP demonstrates how enforcing modular, compositional structures can drive robust, out-of-domain generalization across benchmarks. Highly practical, it relies exclusively on synthetic data and exhibits strong sim-to-real transfer, paving the way for safer deployment in real-world scenarios

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

    Atomic Chess Reveals Compositional Reasoning Failures in LLMs

    Ryan Co, Karthik R Konuganti

    Abstract

    LLMs are capable of playing chess at a notable level, but it is unclear whether this is a result of memorization or reasoning. We study whether they can compose an explicit rule change using atomic chess, a variant that preserves the board, pieces, and surface notation, but where capturing a piece will explode adjacent ones. We evaluate Claude Opus 4.6 and GPT-5.4 on contrastive pattern-trap positions drawn from atomic chess games. Atomic Win% loss is consistently larger than under standard rules on the same positions, with atomic/standard mean-loss ratios from $2.1\times$ to $4.6\times$. Increasing reasoning compute reduces atomic-rules mean Win% loss, but does not eliminate the gap to standard rules. Mapping observed errors onto the components of a chess game decomposition, qualitative analysis of reasoning traces identifies recurring failure mechanisms, including unpropagated refutation, where a model recognizes that a candidate move is bad under atomic rules but selects it anyway, a failure mode directly analogous to safety-relevant agent settings in which a model identifies a violating action but executes it. These results suggest that reasoning LLMs can partially use explicit compositional rules, but often fail to integrate altered transition and terminal semantics into global action selection.

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

    HINT: Task Demonstrations for Hierarchical Inference in Abstract Reasoning

    Nirlipta Pande, Georg Niess, Julian Gutheil, Roman Kern, Robert Legenstein, Robert Peharz

    Abstract

    The Abstract Reasoning Corpus (ARC) evaluates abstract reasoning through tasks that are easy for humans yet remain challenging for AI systems. Recent inductive approaches treat each task in isolation and struggle to acquire new skills efficiently. We identify two key methodological gaps responsible: 1)experience gap where treating each task independently discards prior experience, forcing models to rediscover previously seen compositional concepts and 2) reasoning gap means without prior knowledge about possible solutions, the search space becomes too large, causing reasoning to diverge and making correct solutions expensive to find. We address both by introducing HINT (Hierarchical INference with Task-demonstrations), a multi-phase framework with three key components: a library of previously solved ARC tasks; in-context natural-language reasoning guided by a small set of similar tasks from the library; and program synthesis conditioned on inductive biases from the previous phases. HINT achieves 20.8% accuracy at $0.28 per task on ARC-AGI-2 public evaluation dataset, compared to 5% for direct synthesis with the same backbone model without model finetuning or additional datasets. These results provide evidence that principled reuse of prior experience and hierarchical reasoning are necessary for efficient abstract reasoning.

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

    How Many Features Can a Language Model Store Under the Linear Representation Hypothesis?

    Nikhil Garg, Jon Kleinberg, Kenny Peng

    Abstract

    We introduce a mathematical framework for the linear representation hypothesis (LRH), which asserts that intermediate layers of language models store features linearly. We separate the hypothesis into two claims: linear representation (features are linearly embedded in neuron activations) and linear accessibility (features can be linearly decoded). We then ask: How many neurons $d$ suffice to both linearly represent and linearly access $m$ features? Classical results in compressed sensing imply that for $k$-sparse inputs, $d = O(k\log (m/k))$ suffices if we allow non-linear decoding algorithms (Candes and Tao, 2006; Candes et al., 2006; Donoho, 2006). However, the additional requirement of linear decoding takes the problem out of the classical compressed sensing, into linear compressed sensing. Our main theoretical result establishes nearly-matching upper and lower bounds for linear compressed sensing. We prove that $d = \Omega_\epsilon(\frac{k^2}{\log k}\log (m/k))$ is required while $d = O_\epsilon(k^2\log m)$ suffices. The lower bound establishes a quantitative gap between classical and linear compressed setting, illustrating how linear accessibility is a meaningfully stronger hypothesis than linear representation alone. The upper bound confirms that neurons can store an exponential number of features under the LRH, giving theoretical evidence for the ``superposition hypothesis'' (Elhage, 2022). The upper bound proof uses standard random constructions of matrices with approximately orthogonal columns. The lower bound proof uses rank bounds for near-identity matrices (Alon, 2023) together with Tur\'an's theorem (bounding the number of edges in clique-free graphs). We also show how our results do and do not constrain the geometry of feature representations and extend our results to allow decoders with an activation function and bias.

    Abstract source