Skip to content

ICLR papers

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

Explore the ICLR analysis

Search results

6,201–6,220 of 7,016

  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    RFG: Test-Time Scaling for Diffusion Large Language Model Reasoning with Reward-Free Guidance

    Tianlang Chen, Minkai Xu, Jure Leskovec, Stefano Ermon

    Abstract

    Diffusion Large Language Models (dLLMs) have shown great potential in language modeling, yet enhancing their capacity for complex reasoning remains a critical challenge. For autoregressive language models, this is typically addressed by guiding the reasoning process step by step using Process Reward Models (PRMs), which necessitate dense annotation for intermediate steps. However, this approach cannot be applied to dLLMs, since their intermediate generations are partially masked, non-sequential states rather than complete prefixes. Here we propose Reward-Free Guidance (RFG), a training-free framework that guides the reasoning trajectory of dLLMs without explicit process reward models. We provide theoretical justification that a process reward for partially masked states can be parameterized by the log-likelihood ratio of a policy and a reference model, which can be instantiated with off-the-shelf dLLM checkpoints without additional training. Extensive experiments demonstrate that RFG consistently outperforms various state-of-the-art post-trained dLLM baselines, achieving absolute accuracy gains of up to 9.2%.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    Offline RL with Hierarchical Action Chunking

    Ahad Jawaid

    Abstract

    Offline goal-conditioned reinforcement learning (RL) holds the promise of learning general-purpose policies from static datasets. However, effectively scaling these methods to long-horizon tasks remains a significant challenge due to the "curse of horizon," where value estimation errors can compound through long chains of bootstrapped Bellman backups. Existing hierarchical approaches mitigate this by decomposing tasks into subgoals, yet they often rely on low-level controllers that suffer from myopic execution and biased value estimates. In this work, we propose Hierarchical Implicit Q-Chunking (HiQC), a offline RL algorithm that combines high-level latent planning with low-level action chunking. By conditioning the low-level critic on temporally extended action sequences, HiQC enables unbiased k-step value backups, effectively compressing the horizon at both the planning and execution levels. We theoretically demonstrate that this dual decomposition results in a tighter bound on value error under a bounded per-backup error model compared to standard hierarchy or flat chunking alone. Empirically, HiQC outperforms strong baselines on the OGBench suite, particularly in challenging long-horizon navigation tasks such as humanoid-giant, while maintaining robust performance on high-dimensional manipulation tasks.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    Learning from Partial Chain-of-Thought via Truncated-Reasoning Self-Distillation

    Gianluigi Silvestri, Edoardo Cetin

    Abstract

    Reasoning-oriented language models achieve strong performance by generating long chain-of-thought traces at inference time. However, this capability comes with substantial and often excessive computational cost, which can materialize in redundant or inefficient reasoning. We study this setting and introduce Truncated-Reasoning Self-Distillation (TRSD), a lightweight post-training procedure that encourages models to produce correct predictions from partial reasoning traces. In TRSD, a frozen teacher model first generates a full reasoning trace and evaluates the corresponding answer distribution conditioned on the prompt and the complete reasoning to construct a synthetic training target. A student model with the same architecture is then trained to match the teacher’s answer distribution while being conditioned only on a truncated prefix of its reasoning trace. Across multiple reasoning benchmarks and token budgets, we demonstrate that TRSD improves robustness to truncated inference, with far reduced accuracy tradeoffs when applied to a diverse set of reasoning models. Moreover, although never explicitly regularized for shorter generation during training, we also find that TRSD-trained models inherently output shorter reasoning traces without truncation, significantly reducing inference-time costs even without artificial interventions.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    How Do Latent Reasoning Methods Perform Under Weak and Strong Supervision?

    Yingqian Cui, Zhenwei Dai, Bing He, Zhan Shi, Hui Liu, Rui Sun, Zhiji Liu, Yue Xing, Jiliang Tang, Benoit Dumoulin

    Abstract

    Latent reasoning has been recently proposed as a reasoning paradigm and performs multi-step reasoning through generating steps in the latent space instead of the textual space. This paradigm enables reasoning beyond discrete language tokens by performing multi-step computation in continuous latent spaces. Although there have been numerous studies focusing on improving the performance of latent reasoning, its internal mechanisms remain not fully investigated. In this work, we conduct a comprehensive analysis of latent reasoning methods to better understand the role and behavior of latent representation in the process. We identify two key issues across latent reasoning methods with different levels of supervision. First, we observe pervasive shortcut behavior, where they achieve high accuracy without relying on latent reasoning. Second, we examine the hypothesis that latent reasoning supports BFS-like exploration in latent space, and find that while latent representations can encode multiple possibilities, the reasoning process does not faithfully implement structured search, but instead exhibits implicit pruning and compression. Finally, our findings reveal a trade-off associated with supervision strength: stronger supervision mitigates shortcut behavior but restricts the ability of latent representations to maintain diverse hypotheses, whereas weaker supervision allows richer latent representations at the cost of increased shortcut behavior.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    When Shallow Wins: Silent Failures and the Depth–Accuracy Paradox in Latent Reasoning

    Subramanyam Sahoo, Aman Chadha, Vinija Jain, Divya Chaudhary

    Abstract

    Mathematical reasoning models are widely deployed in education, automated tutoring, and decision support systems despite exhibiting fundamental computational instabilities. We demonstrate that state-of-the-art models (Qwen2.5-Math-7B) achieve 61\% accuracy through a mixture of reliable and unreliable reasoning pathways: 18.4\% of correct predictions employ stable, faithful reasoning while 81.6\% emerge through computationally inconsistent pathways. Additionally, 8.8\% of all predictions are silent failures—confident yet incorrect outputs. Through comprehensive analysis using novel faithfulness metrics, we reveal: (1) reasoning quality shows weak negative correlation with correctness ($r=-0.21$, $p=0.002$), reflecting a binary classification threshold artifact rather than a monotonic inverse relationship; (2) scaling from 1.5B to 7B parameters (4.7$\times$ increase) provides zero accuracy benefit on our evaluated subset (6\% of GSM8K), requiring validation on the complete benchmark; and (3) latent reasoning employs diverse computational strategies, with $\approx$20\% sharing CoT-like patterns. These findings highlight that benchmark accuracy can mask computational unreliability, demanding evaluation reforms measuring stability beyond single-sample metrics.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    Learning Multi-step Reasoning via Persistent Latent State Propagation

    Yinxi Li, Jiaao Chen, Fang Wu, Jiakai Yu, Heli Qi, Weihao Xuan, Haokai Zhao, Pengyu Nie, Di Jin, Xiangru Tang

    Abstract

    Large language models (LLMs) typically rely on chain-of-thought (CoT) prompting for multi-step reasoning. While effective, this paradigm is brittle, data-intensive, and tightly constrained by token-level generation. Recently, latent reasoning has emerged as an alternative approach. Representative methods, such as HRM and TRM, perform complex inference entirely within their hidden, continuous state space. However, existing studies typically remain confined to direct prediction tasks and operate over restricted representational vocabularies. In this paper, we propose a lightweight Step-wise Persistent Latent Reasoner (SPLR) that performs explicit multi-step reasoning while maintaining persistent hidden-state propagation across steps. SPLR outputs step-wise intermediate hypotheses, optionally consumes external observations, and refines a compact latent state via hierarchical latent dynamics instead of growing a long token-level trace. In controlled experiments on GSM8k-Aug where all architectures are trained from scratch, SPLR achieves 79.4% on MultiArith, substantially higher than the GPT-2 baseline (18.9%). This indicates strong robustness under distribution shift with only 89M parameters.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    Dynamics Within Latent Chain-of-Thought: An Empirical Study of Causal Structure

    Zirui Li, Xuefeng Bai, Kehai Chen, Yizhi Li, Jian Yang, Chenghua Lin, Min Zhang

    Abstract

    Latent or continuous chain-of-thought methods replace explicit textual rationales with a number of internal latent steps, but these intermediate computations are difficult to evaluate beyond correlation-based probes. In this paper, we view latent chain-of-thought as a manipulable causal process in representation space by modeling latent steps as variables in a structural causal model (SCM) and analyzing their effects through step-wise $\mathrm{do}$-interventions. We study two representative paradigms (i.e., Coconut and CODI) on both mathematical and general reasoning tasks to investigate three key questions: (1) which steps are causally necessary for correctness and when answers become decidable early; (2) how does influence propagate across steps, and how does this structure compare to explicit CoT; and (3) do intermediate trajectories retain competing answer modes, and how does output-level commitment differ from representational commitment across steps. We find that latent-step budgets behave less like homogeneous extra depth and more like staged functionality with non-local routing, and we identify a persistent gap between early output bias and late representational commitment. These results motivate mode-conditional and stability-aware analyses---and corresponding training/decoding objectives---as more reliable tools for interpreting and improving latent reasoning systems.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    LLMs Encode Their Failures: Predicting Success from Pre-Generation Activations

    William Lugoloobi, Thomas Foster, William Bankes, Chris Russell

    Abstract

    Running LLMs with extended reasoning on every problem is expensive, but determining which inputs actually require additional compute remains challenging. We investigate whether their likelihood of success is recoverable from their internal representations prior to generation, and whether this signal can guide more efficient inference. We train linear probes on pre-generation activations to predict policy-specific success on math and coding tasks, substantially outperforming surface features such as question length and TF-IDF. Using E2H-AMC, which provides both human and model performance on identical problems, we show that models encode a model-specific notion of difficulty that is distinct from human difficulty, and that this distinction increases with extended reasoning. Leveraging these probes, we demonstrate that routing queries across a pool of models can exceed the performance of the best-performing model whilst reducing inference cost by up to 70\% on MATH, showing that internal representations enable practical efficiency gains even when they diverge from human intuitions about difficulty. Our code is available at: \url{https://github.com/KabakaWilliam/llmsknowdifficulty}

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    The Power of Power Law: Asymmetry Enables Compositional Reasoning

    Zixuan Wang, Xingyu Dang, Jason Lee, Kaifeng Lyu

    Abstract

    Natural language data follows a power-law distribution, with most knowledge and skills appearing at very low frequency. While a common intuition suggests that reweighting or curating data toward a uniform distribution may help models better learn these long-tail skills, we find a counterintuitive result: across a wide range of compositional reasoning tasks, such as state tracking and multi-step arithmetic, training under power-law distributions consistently outperforms training under uniform distributions. To understand this advantage, we introduce a minimalist skill-composition task and show that learning under a power-law distribution provably requires significantly less training data. Our theoretical analysis reveals that power law sampling induces a beneficial asymmetry that improves the pathological loss landscape, which enables models to first acquire high-frequency skill compositions with low data complexity, which in turn serves as a stepping stone to efficiently learn rare long-tailed skills. Our results offer an alternative perspective on what constitutes an effective data distribution for training models.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    Thinking into the Future: Latent Lookahead Training for Transformers

    Lorenzo Noci, Gregor Bachmann, Seyed-Mohsen Moosavi-Dezfooli, Moin Nabi

    Abstract

    Autoregressive language models trained with next-token prediction generate text by sampling one discrete token at a time. Although very scalable, this objective forces the model at every step to commit to a singular choice, preventing it from exploring or reflecting upon multiple plausible continuations. Furthermore, the compute allocation across tokens is uniform; every token is formed based on a single forward-pass, potentially limiting the model's expressiveness in cases where difficult tokens require inherently more compute. Towards addressing these limitations, we introduce *latent lookahead*, a training strategy that enables models to ``think'' before generating: at selected positions in the sequence, before committing to the next token, the model performs a multi-step lookahead in latent space. More precisely, instead of sampling future tokens, we leverage the network's latent space by recursively feeding its hidden states back into the context for $\tau$ steps, investing more compute on predicting that token. This produces $\tau$ latent predictions that are supervised against the next $\tau$ ground-truth tokens, encouraging the model to "lookahead" and refine its prediction. We show that latent lookahead substantially outperforms both autoregressive and non-autoregressive baselines on planning tasks such as maze solving, Sudoku, and ProsQA, where foresight is essential.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    Latent-DARM: Bridging Discrete Diffusion And Autoregressive Models For Reasoning

    Lina Berrayana, Ahmed Heakl, Abdullah Sohail, Thomas Hofmann, Salman Khan, Wei Chen

    Abstract

    Most multi-agent systems rely exclusively on autoregressive language models (ARMs) that are based on sequential generation. Although effective for fluent text, ARMs limit global reasoning and plan revision. On the other hand, Discrete Diffusion Language Models (DDLMs) enable non-sequential, globally revisable generation and have shown strong planning capabilities, but their limited text fluency hinders direct collaboration with ARMs. We introduce Latent-DARM, a latent-space communication framework bridging DDLM (planners) and ARM (executors), maximizing collaborative benefits. Across mathematical, scientific, and commonsense reasoning benchmarks, Latent-DARM outperforms text-based interfaces on average, improving accuracy from 27.0% to 36.0% on DART-5 and from 0.0% to 14.0% on AIME2024. Latent-DARM approaches the results of state-of-the-art reasoning models while using less than 2.2% of its token budget. This work advances multi-agent collaboration among agents with heterogeneous models.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    Think-at-Hard: Selective Latent Iterations to Improve Reasoning Language Models

    Tianyu Fu, Yichen You, Zekai Chen, Guohao Dai, Huazhong Yang, Yu Wang

    Abstract

    Improving reasoning abilities of Large Language Models (LLMs), especially under parameter constraints, is crucial for real-world applications. Looped transformers address this by performing multiple latent iterations to refine each token beyond a single forward pass. However, we identify a latent overthinking phenomenon: most token predictions are already correct after the first pass, but are sometimes revised into errors in later iterations. In this work, we ask whether selectively skipping latent iterations may improve accuracy. We reveal significant potential with an oracle iteration policy that boosts model performance by up to 7.3%. Motivated by this, we propose Think-at-Hard (TaH), a looped transformer optimized for selective iteration. TaH employs a lightweight neural decider to trigger latent iteration only at tokens that are likely incorrect after the standard forward pass. During latent iterations, depth-aware Low-Rank Adaptation (LoRA) modules shift the LLM's objective from general next-token prediction to focused hard-token refinement. A duo-causal attention mechanism extends attention from the token sequence dimension to an additional iteration depth dimension, enabling cross-iteration information flow with full sequential parallelism. Experiments on nine benchmarks show consistent gains across math, QA, and coding tasks. With identical parameter counts, TaH outperforms always-iterate baselines by 3.8-4.4% while skipping iterations on 93% of tokens, and exceeds single-iteration Qwen3 baselines by 3.0-3.8%. When allowing <3% more parameters from LoRA and decider modules, the gains further increase to 5.3-6.2% and 6.1-6.8%, respectively.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    Analyzing and Improving Chain-of-Thought Monitorability Through Information Theory

    Usman Anwar, Tim Bakker, Dana Kianfar, Cristina Pinneri, Christos Louizos

    Abstract

    Chain-of-thought (CoT) monitors are LLM-based systems that analyze reasoning traces to detect when outputs may exhibit attributes of interest, such as test-hacking behavior during code generation. In this paper, we use information-theoretic analysis to show that non-zero mutual information between CoT and output is a necessary but not sufficient condition for CoT monitorability. We identify two sources of approximation error that may undermine the performance of CoT monitors in practice: information gap, which measures the extent to which the monitor can extract the information available in CoT, and elicitation error, which measures the extent to which the monitor approximates the optimal monitoring function. We further demonstrate that CoT monitorability can be systematically improved through targeted training objectives. To this end, we propose two complementary approaches: (a) an oracle-based method that directly rewards the monitored model for producing CoTs that maximize monitor accuracy, and (b) a more practical, label-free approach that maximizes conditional mutual information between outputs and CoTs. Across multiple different environments, we show both methods significantly improve monitor accuracy while preventing CoT degeneration even when training against a monitor, thereby mitigating reward hacking when the task reward is imperfectly specified.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    From Growing to Looping: A Unified View of Iterative Computation in LLMs

    Ferdinand Kapl, Emmanouil Angelis, Kaitlin Maile, Johannes von Oswald, Stefan Bauer

    Abstract

    Looping, reusing a block of layers across depth, and depth growing, training shallow-to-deep models by duplicating middle layers, have both been linked to stronger reasoning, but their relationship remains unclear. We provide a mechanistic unification: looped and depth-grown models exhibit convergent depth-wise signatures, including increased reliance on late layers and recurring patterns aligned with the looped or grown block. These shared signatures support the view that their gains stem from a common form of iterative computation. Building on this connection, we show that the two techniques are adaptable and composable: applying inference-time looping to the middle blocks of a depth-grown model improves accuracy on some reasoning primitives by up to $2\times$, despite the model never being trained to loop. Both approaches also adapt better than the baseline when given more in-context examples or additional supervised fine-tuning data. Additionally, depth-grown models achieve the largest reasoning gains when using higher-quality, math-heavy cooldown mixtures, which can be further boosted by adapting a middle block to loop. Overall, our results position depth growth and looping as complementary, practical methods for inducing and scaling iterative computation to improve reasoning.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    Mechanistic Evidence for Faithfulness Decay in Chain-of-Thought Reasoning

    Donald Ye, Max Loffgren, Om Kotadia, Linus Wong, Jonas Rohweder

    Abstract

    Chain-of-Thought (CoT) explanations are widely used to interpret how language models solve complex problems, yet it remains unclear whether these step-by-step explanations reflect how the model actually reaches its answer, or merely post-hoc justifications. We propose \textbf{Normalized Logit Difference Decay (NLDD)}, a metric that measures whether individual reasoning steps are faithful to the model's decision-making process. Our approach corrupts individual reasoning steps from the explanation and measures how much the model's confidence in its answer drops, to determine if a step is truly important. By standardizing these measurements, NLDD enables rigorous cross-model comparison across different architectures. Testing three model families across syntactic, logical, and arithmetic tasks, we discover a consistent \textbf{Reasoning Horizon ($k^*$)} at 70–85\% of chain length, beyond which reasoning tokens have little or negative effect on the final answer. We also find that models can encode correct internal representations while completely failing the task. These results show that accuracy alone does not reveal whether a model actually reasons through its chain. NLDD offers a way to measure when CoT matters.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    How to Train Your HRM

    Sam Olesker-Taylor, Erika Aranas, Michael A Pearce, Luke Hudlass-Galley

    Abstract

    Hierarchical Reasoning Models (HRMs) are a recently proposed model architecture for solving complex reasoning tasks such as the Abstract and Reasoning Corpus (ARC-AGI) challenge: the objective is to learn an underlying transformation, demonstrated by example input–output pairs. The HRM learns transformations via supervised learning on the demonstration pairs. Each task involves an entirely new transformation, necessitating test-time training on the evaluation tasks. We investigate training curricula for HRMs to compensate for limited test-time compute, focused on three stages: offline pre-training on available training data; test-time fine-tuning on evaluation tasks; test-time, per-task `overfitting', in which a specialized model is trained for each task. Our results suggest that pre-training can offer early gains, which may not persist, and that fine-tuning on all tasks (training and evaluation) is optimal. The majority of test-time compute should be spent on fine-tuning, rather than overfitting---typically 2:1 or more.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    Dynamic Large Concept Models: Latent Reasoning in an Adaptive Semantic Space

    Xingwei Qu, Shaowen Wang, Zihao Huang, Kai Hua, Fan Yin, Jundong Zhou, Qiyang Min, Zihao Wang, Yizhi Li, Tianyu Zhang, He Xing, Zheng Zhang, Yuxuan Song, Tianyu Zheng, zhiyuan zeng, Chenghua Lin, Ge Zhang, Wenhao Huang

    Abstract

    Large language models apply uniform computation to all tokens, despite language exhibiting highly non-uniform information density. We propose Dynamic Large Concept Models (DLCM), which learn variable-length semantic concepts from latent representations and perform reasoning in a compressed concept space. By reallocating computation from redundant token processing to concept-level reasoning, DLCM enables adaptive compute allocation aligned with semantic structure. We further introduce a compression-aware scaling law and a decoupled µP parametrization for heterogeneous token- and concept-level modules. With approximately 34\% lower inference FLOPs, DLCM achieves a 2.69\% average improvement across 12 zero-shot benchmarks, with gains concentrated on reasoning-intensive tasks.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    All Roads Lead to Rome: Distilling Verifiable Reasoning via Shared Decision Pivots

    Dongkyu Cho, Amy Zhang, Bilel Fehri, Sheng Wang, Rumi Chunara, Hengrui Cai, Rui Song

    Abstract

    Chain-of-thought (CoT) reasoning exposes the intermediate thinking process of large language models (LLMs), yet verifying those traces at scale remains unsolved. In response, we introduce the idea of decision pivots-minimal, verifiable checkpoints that any correct reasoning path must visit. We hypothesize that correct reasoning, though stylistically diverse, converge on the same pivot set, while incorrect ones violate at least one pivot. Leveraging this property, we propose a self-training pipeline that (i) samples diverse reasoning paths and mines shared decision pivots, (ii) compresses each trace into pivot-focused short-path reasoning using an auxiliary verifier, and (iii) post-trains the model using its self-generated outputs. The proposed method aligns reasoning without ground truth reasoning data or external metrics. Experiments on standard benchmarks such as LogiQA, MedQA, and MATH500 show the effectiveness of our method.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    Parcae: A Dynamical Systems Perspective to Stable Looped LLMs

    Hayden Prairie, Zachary Novack, Taylor Berg-Kirkpatrick, Daniel Fu

    Abstract

    Traditional fixed-depth architectures scale performance by increasing training FLOPs, typically through expanded parameterization at the expense of higher memory footprints. Recent work has suggested a promising alternative — looped architectures — which increases FLOPs while keeping parameters constant by looping layers in the model. While initial results are promising, existing recipes for training looped architectures can be unstable, suffering from residual explosion and loss spikes. To address these challenges, we recast layer looping as a nonlinear time-variant dynamical system. Linearizing this system, we observe strict theoretical conditions for stability on the parameters of the system. With these conditions in mind, we propose Parcae, a novel looped Transformer that enforces stability on the looped layers. When trained on the same data, Parcae converges up to 1.25x faster than prior looped models, while reducing downstream perplexity by up to 27% and 64% in comparison to similarly-sized prior looped models and transformers, respectively. Finally, we investigate recurrence as a medium to increase FLOPs, observing a new scaling axis in training and providing a means of scaling test-time compute and improving quality with constant memory overhead.

    Abstract source
  • ICLR · Workshop · Latent & Implicit Thinking – Going Beyond CoT Reasoning

    Single-Position Intervention Fails: Distributed Output Templates Drive In-Context Learning

    Bryan Cheng, Jasper Zhang

    Abstract

    Understanding how large language models encode task identity from few-shot demonstrations is a central open problem in mechanistic interpretability. Prior work uses linear probing to localize task representations, reporting high classification accuracy at specific layers. We reveal a striking dissociation: probing accuracy completely fails to predict causal importance. Single-position activation intervention achieves 0% task transfer across all 28 layers of Llama-3.2-3B—despite 100% probing accuracy at those same positions. This null result is itself a key finding, demonstrating that task encoding is fundamentally distributed. Multi-position intervention—replacing activations at all demonstration output tokens simultaneously—achieves up to 96% transfer (N=50, 95% CI: [87%, 99%]) at layer 8, pinpointing for the first time the causal locus of ICL task identity. We establish the generality of these findings across four models spanning three architecture families (LLaMA, Qwen, Gemma), discovering a universal intervention window at ∼30% network depth. Causal tracing uncovers an asymmetric architecture: the query position is strictly necessary (53–100% disruption) while no individual demonstration position is necessary (0% disruption)—resolving a key ambiguity in prior accounts. Crucially, transfer depends on internal representation compatibility, not surface similarity (r=−0.05 vs r=0.31), ruling out trivial explanations. These results establish the distributed template hypothesis: ICL task identity is encoded as output format templates distributed across demonstration tokens, fundamentally reshaping our understanding of how in-context learning operates.

    Abstract source