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

181–200 of 239

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

    Test-Time Meta-Adaptation with Self-Synthesis

    Zeyneb Kaya, Nick Rui

    Abstract

    As strong general reasoners, large language models (LLMs) encounter diverse domains and tasks, where the ability to adapt and self-improve at test time is valuable. We introduce MASS, a meta-learning framework that enables LLMs to self-adapt by generating problem-specific synthetic training data and performing targeted self-updates optimized for downstream performance at inference time. We train this behavior end-to-end via bilevel optimization: an inner loop adapts on self-generated examples while an outer loop meta-learns data-attribution signals and rewards post-update task performance. The synthetic data is optimized with scalable meta-gradients, backpropagating the downstream loss through the inner updates to reward useful generations. Experiments on mathematical reasoning show that MASS learns to synthesize per-instance curricula that yield effective, data-efficient test-time adaptation.

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

    Recursive Reasoning as Attractor Landscape Search: Mechanistic Dynamics of the Tiny Recursive Model

    Andreas Efstathiou, Aishwarya Balwani

    Abstract

    Current reasoning systems predominantly rely on chain-of-thought approaches that generate explicit reasoning tokens, though recent work has begun exploring alternative architectures. Latent reasoning models such as the Tiny Recursive Model (TRM) recursively refine continuous hidden states rather than producing readable intermediate steps, and have demonstrated competitive performance with large language models while using orders of magnitude fewer parameters. However, these models remain poorly understood mechanistically -- most evaluations focus on behavioral outcomes rather than the internal dynamics that produce them, limiting our ability to improve their reliability and efficiency. We therefore conduct a mechanistic analysis of TRM's recursive dynamics on Sudoku-Extreme, revealing three critical insights: (i) Sparse autoencoder analysis shows models form initial hypotheses early, after which feature activations converge to approximately periodic patterns that primarily stabilize rather than refine solutions; (ii) Reasoning trajectories in latent principal component space diverge within early recursion steps and descend into local minima determined by initialization, validating similar findings in the Hierarchical Reasoning Model; (iii) During inference, failed runs plateau at stable high-loss attractors rather than continuing exploration. Leveraging these insights, we demonstrate that simple inference-time interventions, i.e., adding noise to answer initialization and scaling guess attempts, enable escape from local minima, achieving near-state-of-the-art performance on Sudoku-Extreme using vanilla TRM without retraining. Our findings suggest recursive reasoning operates as adaptive search through an attractor landscape rather than incremental refinement, opening new avenues for test-time scaling.

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

    Encode, Think, Decode: Scaling test-time reasoning with recursive latent thoughts

    Yeskendir Koishekenov, Aldo Lipani, Nicola Cancedda

    Abstract

    Most efforts to improve the reasoning capabilities of large language models (LLMs) involve either scaling the number of parameters and the size of training data, or scaling inference computation by letting models generate complex chains of thought. Motivated by interpretability studies showing that the crucial computation required for reasoning tasks is concentrated in a limited range of layers, we introduce Encode–Think–Decode (ETD), a method that enhances the reasoning capabilities of a base model by training it to iterate over a small subset of reasoning-relevant layers during the mid-training stage. ETD amplifies latent reasoning while preserving the original architecture, parameter count, hyperparameters, and training data composition. When iterating on the selected layers at inference time, ETD models yield substantial gains on 17 reasoning benchmarks, including up to +28.4% relative accuracy improvement on GSM8K and up to +36% on MATH with the OLMo-2 1B Base model. We also explore an adaptive depth strategy that adjusts the computation per input token. Our results show that recursive latent reasoning offers a simple and effective path to stronger LLM reasoning.

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

    Tiny Autoregressive Recursive Models

    Paulius Rauba, Claudio Fanconi, Mihaela van der Schaar

    Abstract

    Tiny Recursive Models (TRMs) have recently demonstrated remarkable performance on ARC-AGI, showing that very small models can compete against large foundation models through a two-step refinement mechanism that updates an internal reasoning state $z$ and the predicted output $y$. Naturally, such refinement is of interest for any predictor; it is therefore natural to wonder whether the TRM mechanism could be effectively re-adopted in autoregressive models. However, TRMs cannot be simply compared to standard models because they lack causal predictive structures and contain persistent latent states that make it difficult to isolate specific performance gains. In this paper, we propose the Autoregressive TRM and evaluate it on small autoregressive tasks. To understand its efficacy, we propose a suite of models that gradually transform a standard Transformer to a Tiny Autoregressive Recursive Model in a controlled setting that fixes the block design, token stream, and next-token objective. Across compute-matched experiments on character-level algorithmic tasks, we surprisingly find that there are some two-level refinement baselines that show strong performance. Contrary to expectations, we find no reliable performance gains from the full Autoregressive TRM architecture. These results offer potential promise for two-step refinement mechanisms more broadly but caution against investing into the \textit{autoregressive} TRM-specific model as a fruitful research direction.

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

    RECURRENT-DEPTH VLA: IMPLICIT TEST-TIME COMPUTE SCALING OF VISION–LANGUAGE–ACTION MODELS VIA LATENT ITERATIVE REASONING

    Yalcin Tur, Jalal Naghiyev, Haoquan Fang, Wei-Chuan Tsai, Jiafei Duan, Dieter Fox, Ranjay Krishna

    Abstract

    Current Vision-Language-Action (VLA) models utilize fixed computational depth, processing simple adjustments and complex multi-step manipulations with same amount of compute. While Chain-of-Thought (CoT) prompting enables variable compute, it scales memory linearly and struggles with continuous action spaces. We introduce Recurrent-Depth VLA (RD-VLA), an architecture that achieves computational adaptivity through latent iterative refinement instead of explicit token generation. RD-VLA employs a recurrent action head with weight-tied layers, enabling arbitrary depth with a constant memory footprint. We train the model using truncated backpropagation through time (TBPTT), allowing for efficient supervision of the refinement process. At inference, an adaptive stopping criterion based on latent convergence enables the model to dynamically allocate compute per sample. Our experiments on complex manipulation tasks demonstrate that recurrent depth is critical for success: tasks failing (0%) with single-iteration inference achieve +90% success with four iterations, while simpler tasks saturate quickly. RD-VLA provides a scalable path for test-time compute in robotics, bypassing the data and memory overhead of CoT while replacing discrete, token-based reasoning with latent reasoning, which maintains a constant memory footprint regardless of depth, and does not require any special data collection.

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

    Transformers Provably Learn to Internalize Chain-of-Thought

    Yixiao Huang, Hanlin Zhu, Zixuan Wang, Jiantao Jiao, Stuart Russell, Somayeh Sojoudi, Song Mei

    Abstract

    Chain-of-Thought (CoT) prompting can substantially improve the sample efficiency of Large Language Models (LLMs), reducing the complexity of tasks like parity learning from exponential to polynomial. However, this benefit comes at the cost of generating explicit reasoning steps, which is computationally expensive during inference. Implicit CoT (ICoT) has been proposed to mitigate this cost by training models to internalize these intermediate steps. In this work, we provide a theoretical analysis showing that ICoT retains the sample efficiency gains of explicit CoT, enabling models to solve complex tasks efficiently without sacrificing inference speed. Moreover, we propose Log-ICoT, a provably efficient curriculum that reduces training stages from linear dependency on the problem complexity to a logarithmic one. Our theoretical results are verified with numerical experiments, confirming that ICoT offers a path to robust reasoning without the high computational overhead.

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

    When does Chain-of-Thought Help: A Markovian Perspective

    Zihan Wang, Yijun Dong, Qi Lei

    Abstract

    Chain-of-Thought (CoT) prompting is a widely used inference-time technique for improving reasoning, yet its gains are uneven across tasks. We analyze when and why CoT helps by modeling the step-wise reasoning trajectory as a Markov chain. Each intermediate step is a state and the dependence between steps is captured by a transition kernel. Our theory identifies transition alignment, whether instances share a common step-wise transition kernel, as the key determinant of CoT’s effectiveness. When transitions are identical across steps, CoT reduces inference-time sample complexity: fewer context sample trajectories suffice to recover the final decision. In contrast, when transitions differ across steps, these gains can vanish. We further quantify how noise in intermediate steps modulates CoT’s benefit. Beyond theory, we design synthetic benchmarks that isolate these factors to complement prior results on real-world tasks and to empirically validate our predictions.

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

    Thinking in Latents: Adaptive Anchor Refinement for Implicit Reasoning in LLMs

    Disha Sheshanarayana, Rajat Pal, Manjira Sinha, Dasgupta

    Abstract

    Token-level Chain-of-Thought (CoT) prompting has become a standard way to elicit multi-step reasoning in large language models (LLMs), especially for mathematical word problems. However, generating long intermediate traces increases output length and inference cost, and can be inefficient when the model could arrive at the correct answer without extensive verbalization. This has motivated latent-space reasoning approaches that shift computation into hidden representations and only emit a final answer. Yet, many latent reasoning methods depend on a fixed number of latent refinement steps at inference, adding another hyperparameter that must be tuned across models and datasets to balance accuracy and efficiency. We introduce AdaAnchor, a latent reasoning framework that performs silent iterative computation by refining a set of latent anchor vectors attached to the input. AdaAnchor further incorporates an adaptive halting mechanism that monitors anchor stability across iterations and terminates refinement once the anchor dynamics converge, allocating fewer steps to easier instances while reserving additional refinement steps for harder ones under a shared maximum-step budget. Our empirical evaluation across three mathematical word-problem benchmarks shows that AdaAnchor with adaptive halting yields accuracy gains of up to 5\% over fixed-step latent refinement while reducing average latent refinement steps by 48–60\% under the same maximum-step budget. Compared to standard reasoning baselines, AdaAnchor achieves large reductions in generated tokens (92–93\%) by moving computation into silent latent refinement, offering a different accuracy–efficiency trade-off with substantially lower output-token usage.

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

    Learning Efficient Latent Reasoning with Abstract Chain-of-Thought

    Keshav Ramji, Tahira Naseem, Ramón Astudillo

    Abstract

    While long, explicit chains-of-thought (CoT) have proven effective on complex reasoning tasks, they are costly to generate at inference-time. Recent latent reasoning methods have focused on leveraging continuous representations, yet have primarily focused on pre-training and do not demonstrate efficacy at scale, lagging behind verbalized CoT. We propose $\textbf{Abstract Chain-of-Thought}$, a discrete latent reasoning post-training mechanism in which the language model produces a short sequence of tokens from a reserved codebook in lieu of a natural language CoT, prior to generating a response. To make previously unseen “abstract” tokens useful, we introduce a policy iteration-style warm-up loop that alternates between (i.) bottlenecking from a verbal CoT via masking and performing supervised fine-tuning, and (ii.) self-distillation by training the model to generate abstract tokens from the prompt alone via constrained decoding from the codebook. After warm-up, we optimize the generation of abstract sequences with warm-started reinforcement learning under constrained decoding. For the Qwen3-8B and Granite-3.3-8B language models, Abstract-CoT achieves up to $12\times$ fewer reasoning tokens while achieving comparable performance across mathematical reasoning, instruction-following, and multi-hop reasoning in natural language. We also find emergent non-uniform usage over the codebook, resembling power law dynamics seen in pre-training. Our findings highlight the potential for post-training recipes that facilitate latent reasoning for inference efficiency while inducing new representational dynamics through the introduction of a new “reasoning language”.

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

    T2MLR: Transformer with Temporal Middle-Layer Recurrence

    Ziyang Cai, Xingyu Zhu, Yihe Dong, Yinghui He, Sanjeev Arora

    Abstract

    We introduce Transformers with Temporal Middle-Layer Recurrence (T$^2$MLR), a generalized Transformer architecture that integrates attention and recurrence by routing a lightweight temporal pathway through the middle layers. Motivated by latent-reasoning and looped-Transformer lines of work, T$^2$MLR injects intermediate representations from deeper layers of the previous token into earlier layers of the current token via a gated recurrent pathway, enabling iterative latent computation while preserving dense, token-level supervision. Across natural-language pretraining and multi-hop reasoning finetuning, T$^2$MLR consistently outperforms parameter-matched Transformer baselines at the same inference compute. Moreover, we find that looping only a middle-layer block (as little as 20\% of all layers) often outperforms full-layer looping. This offers a new perspective on latent reasoning in Transformers: effective iterative refinement does not necessarily require full-stack recurrence. It can instead be achieved more effectively through targeted middle-layer recurrence.

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

    Energy-Conditioned Thinking: A Three-State Framework for Adaptive Depth and Halting

    Ning Coeva

    Abstract

    Current work on reasoning in large language models often relies on explicit chain-of-thought (CoT) as a linear token-level trace, implicitly assuming uniform compute per token and offering limited control over when to think deeply and when to stop. We propose the Structural Energy Framework (SEF), a metabolic view of reasoning that models implicit thinking as adaptive budget allocation across three recurrent states: Diffuse (D) for low-activation standby, Aggregation (A) for targeted activation and consolidation, and Goal-Directed Drive (G) for high-budget deep reasoning. SEF reframes implicit reasoning as latent state scheduling, providing a unifying lens over adaptive compute, halting, looped architectures, and thinking-token methods. We introduce measurable state diagnostics—state occupancy and transition patterns—that evaluate when models enter or exit deep thinking. Here, "energy" denotes a compute budget proxy, enabling measurable state telemetry. SEF offers a compact foundation for designing and auditing latent thinking systems beyond CoT.

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

    Polestar-Cache: Reconciling Parallel Decoding and Accuracy in Diffusion LLMs via Token Drift-Aware KV Cache Recalibration

    Mingyu Lee, Akshat Ramachandran, Souvik Kundu, Tushar Krishna

    Abstract

    Diffusion language models (dLLMs) offer a promising alternative to autoregressive generation, but their inference efficiency remains limited by high compute cost and instability under approximate key–value (KV) cache reuse. We show that existing KV-cache–enabled dLLM inference schemes suffer from token drift, where cached representations become misaligned with evolving context, leading to degraded prediction confidence, reduced parallelism, and accuracy loss. To address this, we propose Polestar-Cache, a training-free, drift-aware KV caching framework that reconciles parallel decoding with accuracy. Polestar-Cache detects layer-wise representation drift using a lightweight KL-divergence proxy computed from cached hidden states, and selectively refreshes KV cache entries. To reduce overhead, Polestar-Cache clusters hidden states and keeps only centroids on the GPU. The non-centroid tokens are offloaded to CPU memory and fetched according to drift dynamics. Extensive experiments on multiple dLLM benchmarks, including GSM8K, MBPP, and ParallelBench, demonstrate that Polestar-Cache achieves up to 11\% accuracy improvement and $1.7\times$ performance improvement over prior KV-cache–enabled baselines.

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

    Beyond Memorization: Extending Reasoning Depth with Recurrence, Memory and Test-Time Compute Scaling

    Ivan Rodkin, Daniil Orel, Konstantin Smirnov, Arman Bolatov, Bilal Elbouardi, Besher Hassan, Yuri Kuratov, Aydar Bulatov, Preslav Nakov, Timothy Baldwin, Artem Shelmanov, Mikhail Burtsev

    Abstract

    Reasoning is a core capability of large language models, yet how multi-step reasoning is learned and executed remains unclear. We study this in a controlled cellular-automata (1dCA) framework that excludes memorisation by using disjoint train/test rules. Models are trained on short state sequences, required to infer the hidden local rule, and then chain it for multiple future steps. We find that most neural architectures learn the rule and achieve high next-step accuracy, but performance drops sharply as the required number of steps increases. Increasing model depth is crucial, and extending effective depth via recurrence, memory, or test-time compute improves results but remains bounded. Complementing these controlled experiments, a natural-language proxy game shows that contemporary LLMs largely fail on the complex setting. Together, these results separate genuine rule induction from memorisation, quantify how difficulty scales with reasoning depth, and highlight the joint roles of architecture and training/inference procedures.

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

    The Mechanistic Invariance Test: Genomic Language Models Fail To Learn Positional Regulatory Logic

    Bryan Cheng, Jasper Zhang

    Abstract

    Genomic language models (gLMs) have transformed computational biology, achieving state-of-the-art performance in variant effect prediction, gene expression modeling, and regulatory element discovery. Yet a fundamental question threatens the foundation of this success: do these models learn the mechanistic principles governing gene regulation, or do they merely exploit statistical shortcuts? We introduce the Mechanistic Invariance Test (MIT), a rigorous 650-sequence benchmark across 8 classes with scrambled controls that enables clean discrimination between compositional sensitivity and genuine positional understanding. We evaluate five gLMs spanning all major architectural paradigms (autoregressive, masked, and bidirectional state-space models) and uncover a universal failure mode. Through systematic mechanistic probing via AT titration, positional ablation, spacing perturbation, and strand orientation tests, we demonstrate that apparent compensation sensitivity is driven entirely by AT content correlation (r=0.78–0.96 across architectures), not positional regulatory logic. The failures are striking: Evo2-1B and Caduceus score regulatory elements at incorrect positions higher than correct positions, inverting biological reality. All models are strand-blind. Compositional effects dominate positional effects by 46-fold. Perhaps most revealing, a simple 100-parameter position-aware PWM achieves perfect performance (CSS=1.00, SCR=0.98), exposing that billion-parameter gLMs fail not from insufficient capacity but from fundamentally misaligned inductive biases. Larger models show stronger compositional bias, demonstrating that scale amplifies rather than corrects this limitation. These findings reveal that current gLMs capture surface statistics while missing the positional grammar essential for gene regulation, demanding architectural innovation before deployment in synthetic biology, gene therapy, and clinical variant interpretation.

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

    Modeling Tool Use in Transformers via Computation Oracles

    Utkarsh Tiwari, Sai Nalli, Amit Jayant Deshpande

    Abstract

    Prior literature has mapped the transformer architecture to classical models of computation and especially via circuit complexity, and analyzed how the expressive power gets enhanced by adding computational resources like Chain-of-Thought, padding tokens, and depth scaling. Adding tools or function calls to transformer models has shown impressive empirical gains but their theoretical understanding remains under-studied. In this paper, we analyze function calls as $oracles$ in classical complexity theory and provide a formal framework to analyze the expressive gains of augmenting transformer models with function calls and agentic cooperation. While previous works has analyzed multi agent systems as graph problems and interactive proof systems, we formalize tool use as oracle access, yielding a more general, model-agnostic framework that subsumes particular interaction patterns and enables explicit complexity-theoretic characterizations, equivalence theorems, and conditional separations on expressive power. We show that the tool-use setting is strictly more powerful than $\log$-depth transformers under similar resource bounds. Finally, we show that access to threshold decision oracles suffices to compute associated optimization objectives via binary search using only $O(\log B(n))$ adaptive queries, with all between-query control logic implementable in constant-depth softmax transformer. Together, these results provide a complexity-theoretic framework for understanding tool use as an alternative mechanism for scaling test-time compute and recovering expressivity gains analogous to dynamic depth, while clarifying when tool access can (and cannot) exceed the power of $\log$-depth transformers.

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

    On the Residual Scaling of Looped Transformers: Stability and Transferability

    Shaowen Wang, Bingrui Li, Ge Zhang, Wenhao Huang, Jian Li

    Abstract

    Looped (weight-tied) Transformers increase effective depth by repeatedly applying a shared block for $L$ steps. In practice, larger $L$ often improves capability, but requires careful hyperparameter tuning. We study the parameterization of pre-norm looped Transformers and ask which residual scaling enables stable training and transferable hyperparameters across loop counts. In contrast to the common $1/\sqrt{L}$ scale in deep networks, our simplified tied-weight residual MLP analysis shows that looped models require $1/L$ residual scaling. We validate theoratical predictions on a standard pre-norm Transformer architecture. Our experiments with looped LLMs across various loop times and learning rates demonstrate that $1/L$ scaling offers significantly better stability and hyperparameter transfer than $1/\sqrt{L}$ scaling

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

    Dual-Channel Steering: Combining Explicit Prompting and Implicit Parameter Modulation for Reasoning Diversity

    Takahito Tanimura, Kotaro Furuya

    Abstract

    Explicit Chain-of-Thought (CoT) prompting is a powerful lever for improving reasoning in language models, but it operates solely through input-level instructions. In this work, we compare two deterministic, language-indexed channels for building ensembles from a single language model: (i) explicit context steering via prompt variation, and (ii) implicit parameter modulation via Text-to-LoRA (T2L), where a fixed hypernetwork maps natural-language descriptors to LoRA adapters at inference time. We refer to this unified setup as Dual-Channel Steering (DCS) and quantify diversity by pairwise error correlation and accuracy metrics. On GSM8K with Mistral-7B-Instruct, we find that while task-specific descriptors limit diversity due to semantic overlap, using heterogeneous descriptors (describing unrelated tasks) suggests more complementary behaviors and lower error correlation among members, which is consistent with the improved majority voting observed for hybrid DCS. Moreover, prompt-induced and T2L-induced errors are less correlated across channels than within a channel, indicating complementary failure patterns. Consistently, hybrid ensembles improve voting under a fixed budget: with $k{=}9$, majority-vote accuracy peaks at $\approx$ 62.5 % at an intermediate T2L ratio, compared to $\approx$ 59.1 % (prompt-only) and $\approx$ 60.1 % (T2L-only). These observations suggest that language-controlled parameter modulation can complement prompt steering as a practical source of ensemble diversity without retraining.

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

    Breaking the Reversal Curse in Autoregressive Language Models via Identity Bridge

    Xutao Ma, Yixiao Huang, Hanlin Zhu, Somayeh Sojoudi

    Abstract

    Autoregressive large language models (LLMs) have achieved remarkable success in many complex tasks, yet they can still fail in very simple logical reasoning such as the "reversal curse" --- when trained on forward knowledge data of the form "`$A \rightarrow B$" (e.g., Alice's husband is Bob), the model is unable to deduce the reversal knowledge "$B \leftarrow A$" (e.g., Bob's wife is Alice) during test. Extensive prior research suggests that this failure is an inherent, fundamental limit of autoregressive causal LLMs, indicating that these models tend to memorize factual-level knowledge rather than capture higher-level rules. In this paper, we challenge this view by showing that this seemingly fundamental limit can be mitigated by slightly tweaking the training data with a simple regularization data recipe called the Identity Bridge of the form "$A \to A$" (e.g., The name of Alice is Alice). Theoretically, we prove that under this recipe, even a one-layer transformer can break the reversal curse by analyzing the implicit bias of gradient descent. Empirically, we show that a 1B pretrained language model finetuned with the proposed data recipe achieves a 40\% success rate on reversal tasks, in stark contrast to a near-zero success rate when trained solely on forward-knowledge data. Our work provides a novel theoretical foundation for the reversal curse and offers a principled, low-cost path to encouraging LLMs to learn higher-level rules from data.

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

    ε-Leaf Enumeration: Non-Repeating Self-Consistency via Truncated Tree Search

    Xueyan Li, Johannes Zenn, Ekaterina Fadeeva, Guinan Su, Mrinmaya Sachan, Jonas Geiping

    Abstract

    Self-consistency boosts inference-time performance by sampling multiple reasoning traces in parallel and voting. However, in constrained domains like math and code, this strategy is compute-inefficient because it samples with replacement, repeatedly generating the same early prefixes. We show that this can be fully replaced by a deterministic enumeration of completions. While enumerating exponentially many completions would become infeasible for standard samplers, we show that, when the search space is truncated to tokens above a probability threshold, partial enumeration of the most likely or the most diverse branches is significantly more efficient. We propose ε-Leaf Enumeration (ELE), a deterministic tree-search method that imposes a strict non-repetition condition, covering the search space more optimally than via sampling. ELE naturally enables prefix reuse by caching shared prefixes across branches to redundant computation. Empirically, at equal token budgets, ELE explores more distinct completions than self-consistency which translates into consistent improvements in math, coding and general reasoning tasks through efficient parallel reasoning.

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

    Emergent Analogy in Transformers

    Gouki Minegishi, Jingyuan Feng, Hiroki Furuta, Takeshi Kojima, Yusuke Iwasawa, Yutaka Matsuo

    Abstract

    Analogy is a central faculty of human intelligence, enabling abstract patterns discovered in one domain to be applied to another. However, the mechanisms underlying analogical reasoning in Transformers remain poorly understood. In this work, inspired by the notion of functors in category theory, we formalize analogical reasoning as the inference of correspondences between entities across categories. Based on this formulation, we introduce synthetic tasks that evaluate the emergence of analogical reasoning under controlled settings. We find that the emergence of analogical reasoning is highly sensitive to data characteristics, optimization choices, and model scale. Through mechanistic analysis, we show that analogical reasoning in Transformers decomposes into two key components: (1) geometric alignment of relational structure in the embedding space, and (2) the application of a functor within the Transformer. These mechanisms enable models to transfer relational structure from one category to another, realizing analogy. Finally, we quantify these effects and find that the same trends are observed in pretrained LLMs. In doing so, we move analogy from an abstract cognitive notion to a concrete, mechanistically grounded phenomenon in modern neural networks.

    Abstract source