ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
201–220 of 279
- ICML · Workshop · Graph Foundation Models: A New Era for Graph Machine Learning
Towards Direct Latent-Space Synthesis for Parallel Branches in LLM-Agent Workflows
Shikun Liu, Mufei Li, Dongqi Fu, Haoyu Wang, Yinglong Xia, Hong Li, Hong Yan, Pan Li
Abstract
Large language models increasingly serve as execution engines for agentic systems, yet they still consume context through a sequential text interface. This creates a mismatch with modern structured agent workflows, in which independent branches explore subtasks, retrieve evidence, or generate candidate solutions before a final synthesis step. Existing systems typically merge these branches by concatenating their textual outputs, which discards the parallel structure and incurs redundant prefill computation. In this work, we introduce Parallel-Synthesis, a plug-and-play framework that enables a synthesizer to directly consume the KV caches produced by parallel worker agents. Parallel-Synthesis combines a cache mapper that calibrates independently generated branch caches with a fine-tuned synthesizer adapter that enables generation from this non-sequential cache interface. We train Parallel-Synthesis using data that exposes the synthesizer to parallel cache contexts, teaches aggregation across cached branches, and distills reasoning behavior from standard text-concatenation-based synthesis. Across nine downstream datasets spanning math, science QA, code generation, GAIA, and multi-agent database diagnosis, Parallel-Synthesis matches or outperforms text-based synthesis on seven datasets and remains close on the other two. It also reduces time-to-first-token by 2.5×--11×, suggesting that direct cache-based synthesis is a promising interface for more native and efficient synthesis over parallel agent branches.
Abstract source - ICML · Workshop · Combining Theory and Benchmarks: Towards A Virtuous Cycle to Understand and Guarantee Foundation Model Performance
Latent Phase-Shift Rollback: Inference-Time Error Correction via Residual Stream Monitoring and KV-Cache Steering
Manan Gupta, Dhruv Kumar
Abstract
Large language models frequently commit unrecoverable reasoning errors mid-generation: once a wrong step is taken, subsequent tokens compound the mistake rather than correct it. We introduce $\textbf{Latent Phase-Shift Rollback}$ (LPSR): at each generation step, we monitor the residual stream at a critical layer $l_{crit}$, detect abrupt directional reversals (phase shifts) via a cosine-similarity $+$ entropy dual gate, and respond by rolling back the KV-cache and injecting a pre-computed steering vector. No fine-tuning, gradient computation, or additional forward passes are required. LPSR achieves $\mathbf{44.0\%}$ on MATH-500 with an 8B model versus $28.8\%$ for standard AR ($+15.2$ pp; McNemar $\chi^2 = 66.96$, $p < 10^{-15}$). Critically, prompted self-correction, the most natural inference-time baseline, scores only $19.8\%$, below standard AR; LPSR exceeds it by $+24.2$ pp ($\chi^2 = 89.4$, $p \approx 0$). LPSR also outperforms Best-of-16 ($+7.8$ pp) at $5.4\times$ lower token cost, and surpasses a standard 70B model ($35.2\%$) with $8.75\times$ fewer parameters at ${\sim}3\times$ the token budget. A 32-layer sweep reveals a novel $\textbf{detection-correction dissociation}$: error-detection AUC peaks at layer-14 ($0.718$) but task accuracy peaks at layer-16 ($44.0\%$ vs. $29.2\%$), demonstrating that optimal monitoring depth differs for detection and correction.
Abstract source - ICML · Workshop · Combining Theory and Benchmarks: Towards A Virtuous Cycle to Understand and Guarantee Foundation Model Performance
Where’s the Plan? Locating Latent Planning in Language Models with Lightweight Mechanistic Interventions
Nicole H. Ma, Nick Rui
Abstract
We study $\textit{planning site formation}$ in language models---$\textit{where}$ internal representations of structurally-constrained future tokens form during the forward pass, and whether they causally drive generation. Using rhyming-couplet completion as a clean test of forward-looking constraint, we apply two lightweight methods (linear probing and activation patching) across Qwen3, Gemma-3, and Llama-3 at more than ten scales. Probing shows that future-rhyme information is linearly decodable at the line boundary, with signal that strengthens with scale in all three families. Activation patching reveals that only Gemma-3-27B causally relies on this encoding, exhibiting a $\textit{handoff}$ in which the causal driver migrates from the rhyme word to the line boundary around layer 30. Every other model we test conditions on the rhyme word throughout generation, with near-zero causal effect at the line boundary despite strong probe signal. We localize the Gemma-3-27B handoff to five attention heads through two-stage path patching that recover ~${90}$% of the rhyme-routing capacity at the newline.
Abstract source - ICML · Workshop · Combining Theory and Benchmarks: Towards A Virtuous Cycle to Understand and Guarantee Foundation Model Performance
Probabilistic Chain-of-Thought: Sequential Bayesian Inference over Latent Reasoning Correctness
Suriya Dev Saravanakumar, Ezra Wesenie, Kishore Nuthalapati, Laksh Patel
Abstract
Chain-of-thought prompting elicits multi-step reasoning from large language models, yet existing approaches treat confidence at each step as an independent signal. This independence assumption contradicts the autoregressive generation process, wherein errors at early steps propagate forward and corrupt downstream outputs, creating epistemic blind spots where a model appears locally certain but is globally unreliable. We introduce \emph{Probabilistic Chain-of-Thought} (PCoT), which models a reasoning chain as a Hidden Markov Model over latent step correctness and performs exact posterior inference via the forward-backward algorithm. PCoT yields a principled answer confidence $C_{\mathrm{final}}$ and a posterior-driven reflection policy that dominates raw-score threshold rules under the model. On MATH and GSM8K, PCoT reduces Expected Calibration Error by $\mathbf{76\%}$ over the best heuristic baseline and improves accuracy by $\mathbf{14.7}$ percentage points at a $2\times$ token budget, while remaining robust across three confidence estimators. Our analysis of \emph{sequential contamination}---whereby a single upstream error suppresses posteriors of all downstream steps--- provides a formal explanation for why point-wise step scoring is insufficient for reliable reasoning evaluation.
Abstract source - ICML · Workshop · Generative and Agentic AI for Biology
LeFlur: A Biomolecular Design Model with Latent Structure Tokens
Sidney Lisanza, Karina Zadorozhny, Frederic Dreyer, Kyunghyun Cho
Abstract
Protein design pipelines today are fragmented, separating backbone generation, sequence design, and structure prediction into bespoke models. We present LeFlur, a unified discrete-token model that integrates these tasks into a single standard text transformer. We offload Cartesian-space modeling to LatentGenerator, a Vision Transformer autoencoder that discretizes arbitrary 3D structures (proteins and small molecules alike) into a compact, shared-vocabulary token stream (with modality-specific quantizers $\mathcal{Q}^{(p)}$ and $\mathcal{Q}^{(\ell)}$ feeding a single combined transformer), using a Simple Linear Quantizer (SLQ), an application of Gumbel-Softmax categorical bottlenecks to per-residue 3D-coordinate latents,as a minimal-vocabulary alternative to Finite Scalar Quantization. On top of this representation, LeFlur supports both protein-only and ligand-conditioned design, a first for structure-token models. Because LeFlur is trained as a masked any-order model, it admits a sequence/structure/joint pseudo-likelihood (PLL) that is closely approximated by a single masked forward pass and made unbiased with $K$ stratified Monte-Carlo draws. This PLL correlates strongly with downstream designability and structure-prediction accuracy and serves as a best-of-$N$ ranker that re-uses the model itself. We also introduce Self-Reflection, an inference-time refinement loop that iteratively redesigns outputs against an internal forward-fold consistency check, lifting designability without any retraining or external scorer. Despite its architectural simplicity, LeFlur is competitive with specialized baselines across folding and generation tasks.
Abstract source - ICML · Workshop · Generative and Agentic AI for Biology
Token-Wise Residual Latent Adapters: Steering Seq2Seq Models for Protein Fitness Extrapolation
Steven Wu, Mostafa Karimi, Sharmi Banerjee, Peng Gao, Jonah Noh, Jiachen Li, Robert Jiang, Bella Dubrov, Shang Shang, Hao Song
Abstract
Protein design requires extrapolating beyond training data to achieve higher fitness. State-of-the-art methods typically fine-tune billion-parameter language models end-to-end, often combined with external scorers, data distillation, and multiple rounds of iterative refinement. We introduce a residual latent adapter, a 5M parameter MLP inserted between the encoder and decoder of a frozen ProtT5-3B model, which learns a token-wise residual transformation on encoder embeddings via a simple MSE objective. In a single forward pass with no external scorer, RLA achieves comparable or superior fitness to methods requiring 600$\times$ more trainable parameters and multi-stage pipelines, particularly on the harder extrapolation benchmarks most relevant to practical protein engineering. Our results demonstrate that a compact residual transformation in latent space provides a simple, data-efficient, and compute-efficient approach to protein fitness extrapolation.
Abstract source - ICML · Workshop · Generative and Agentic AI for Biology
COMPASS: Decoupled Latent Steering for Protein Conformational Transitions
Chan-gyu Lee, Sunghee Choi, Gyu Rie Lee
Abstract
Protein function often depends on distinct conformational states and the transitions between them, yet structure predictor models such as AlphaFold 3 (AF3) are not designed to capture all biologically meaningful states. Unsteered ensemble generation models can broadly explore conformational space but lack directional control, whereas direct 3D-coordinate guidance accelerates structural transitions at the cost of geometric violations and steric clashes. We propose COMPASS, a framework that decouples target-directed optimization from structural inference. COMPASS backpropagates gradients only to conditional prior embeddings at an intermediate anchor timestep via Tweedie's expectation, leaving the reverse diffusion process unmodified. On a curated set of paired ligand-bound and unbound protein structures, COMPASS improves the efficiency of sampling structures that closely resemble a target conformational state by up to 18.9% over the unsteered baseline without compromising the physical quality of the structure. Notably, Apo-guided steering raises the Holo-like hit rate from 20.7% to 50.0%, suggesting that COMPASS broadens sampling across functionally distinct regions of the transition manifold rather than simply steering generations toward the guide structure itself. Downstream ligand docking on COMPASS steered structures, evaluated on standard and ternary-complex benchmarks, shows docking accuracy comparable to AF3 protein-ligand complex predictions.
Abstract source - ICML · Workshop · Generative and Agentic AI for Biology
Antibody Generation via Redistributed Latent Diffusion
Andrey Shevtsov, Viacheslav Meshchaninov, Pavel Strashnov, Dmitry Vetrov
Abstract
Generating antibody sequences is challenging because they combine conserved framework regions with hypervariable loops. Latent diffusion is attractive for this task since it enables flexible conditioning and bidirectional generation. But standard approaches fail. Global noise schedules treat all positions equally, so models learn the predictable frameworks well while the diverse loops remain poorly captured. We address this by learning a latent space that redistributes information evenly, allowing standard diffusion to succeed where it previously failed. On organism-conditioned generation across six species, our approach achieves 10× lower Fréchet Distance than latent diffusion without redistribution. It supports chain-type control, loop infilling, and paired-chain generation. Validation across five protein encoders confirms the method is encoder-agnostic. These results establish latent diffusion as a practical tool for antibody sequence design.
Abstract source - ICML · Workshop · SCALE: SCALABLE LEARNING AND OPTIMIZATION FOR EFFICIENT MULTIMODAL AI AGENTS
SeeTraceAct: Grounding Vision-Language-Action Models with One-Shot Video Demonstrations via Visual Latent Planning
Jaehyeon Son, Junhyun Kim, Kyle Kam, Jinhoo Kim, Seok J Kim, Junghwan Yim, Zsolt Kira
Abstract
Vision-language-action models (VLAs) have shown strong promise as general-purpose robot policies. However, adapting them to new tasks typically requires costly task-specific teleoperation data. In contrast, human demonstration videos are easier to collect, making them an attractive source of supervision for task adaptation. In this work, we study one-shot demo-conditioned VLAs, where a robot is conditioned on a single demonstration video of the target task. We find that existing end-to-end approaches often treat the demonstration primarily as a task identifier, rather than as an executable visual plan for spatially precise action generation. To address this limitation, we propose SeeTraceAct, a demo-conditioned VLA framework that learns a visual latent plan from demonstrations via auxiliary future visual trace supervision. In our experiments on RoboCasa benchmarks, SeeTraceAct significantly outperforms strong baselines, with the largest gains on tasks that demand precise spatial interaction, showing that our approach is effective for grounding VLAs on one-shot demonstration videos.
Abstract source - ICML · Workshop · SCALE: SCALABLE LEARNING AND OPTIMIZATION FOR EFFICIENT MULTIMODAL AI AGENTS
Latent Phase-Shift Rollback: Inference-Time Error Correction via Residual Stream Monitoring and KV-Cache Steering
Manan Gupta, Dhruv Kumar
Abstract
Large language models frequently commit unrecoverable reasoning errors mid-generation: once a wrong step is taken, subsequent tokens compound the mistake rather than correct it. We introduce $\textbf{Latent Phase-Shift Rollback}$ (LPSR): at each generation step, we monitor the residual stream at a critical layer $l_{crit}$, detect abrupt directional reversals (phase shifts) via a cosine-similarity $+$ entropy dual gate, and respond by rolling back the KV-cache and injecting a pre-computed steering vector. No fine-tuning, gradient computation, or additional forward passes are required. LPSR achieves 44.0% on MATH-500 with an 8B model versus $28.8\%$ for standard AR ($+15.2$ pp; McNemar $\chi^2 = 66.96$, $p < 10^{-15}$). Critically, prompted self-correction, the most natural inference-time baseline, scores only $19.8\%$, below standard AR; LPSR exceeds it by $+24.2$ pp ($\chi^2 = 89.4$, $p \approx 0$). LPSR also outperforms Best-of-16 ($+7.8$ pp) at $5.4\times$ lower token cost, and surpasses a standard 70B model ($35.2\%$) with $8.75\times$ fewer parameters at ${\sim}3\times$ the token budget. A 32-layer sweep reveals a novel $\textbf{detection-correction dissociation}$: error-detection AUC peaks at layer-14 ($0.718$) but task accuracy peaks at layer-16 ($44.0\%$ vs. $29.2\%$), demonstrating that optimal monitoring depth differs for detection and correction.
Abstract source - ICML · Workshop · Workshop on Weight-Space Symmetries: from Foundations to Practical Applications
LS-Merge: Merging Language Models in Latent Space
Bedionita Soro, Aoxuan Zhang, Bruno Andreis, Jaehyeong Jo, Song Chong, Sung Ju Hwang
Abstract
Model merging in weight space efficiently reuses pretrained models, but existing methods assume matching architectures, making heterogeneous merges brittle or infeasible. We address this by encoding weights into a smooth latent space where cross-architecture merging becomes natural, then decoding the merged representation back to weights. Two challenges arise: the billions of parameters in LLMs make latent encoding costly, and high compression ratios can hinder generalization to unseen weights. We tackle both with a transformer-based VAE trained via a two-stage compression curriculum with layer-aware chunking, first learning a high-capacity representation and then distilling it to a compact code for stability and out-of-distribution generalization. A dimensionality-matching projection and distributional alignment via optimal transport further enables interpolation across different model sizes. Empirically, latent-space interpolation is more robust than direct weight averaging and yields stronger downstream performance across heterogeneous merges. Together, these components provide a scalable recipe for model merging across heterogeneous architectures.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Chain-of-Generation: Progressive Latent Diffusion for Text-Guided Molecular Design
Lingxiao Li, Haobo Zhang, Bin Chen, Jiayu Zhou
Abstract
Compositional prompts in text-to-molecule generation often specify several structural constraints at once, such as scaffolds, functional groups, substituents, and finer modifiers. Existing molecular latent diffusion models typically inject the full prompt once and apply it uniformly throughout denoising, which can cause later constraints to overwrite or distort earlier structural commitments. We propose Chain-of-Generation (CoG), a training-free progressive latent diffusion strategy for text-guided molecular design. Technically, CoG realizes progressive generation as multi-stage latent denoising over cumulative molecular sub-prompts: it factorizes a prompt into chemistry-informed coarse-to-fine segments, conditions each stage on the cumulative sub-prompt, and continues denoising from the previous-stage latent using a fixed partial-denoising schedule. This turns one-shot conditional generation into a sequence of stage-wise denoising steps that help retain earlier structure while introducing later constraints. Across benchmark, out-of-distribution, and ablation settings, CoG improves structural prompt fidelity over one-shot conditioning on the tested latent graph-diffusion backbones.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Local Manifold Identification with Latent Linear Models and OT Flows
Sherman Khoo, Song Liu, Mark Beaumont
Abstract
The manifold hypothesis states that high-dimensional data often concentrate near low-dimensional structures. Identifying these local manifold structures allows us to separate signals from ambient noise. In this paper, we study the problem of identifying local manifold structure from data. Given a query point $y_0$ from a dataset, our goal is to recover the geometry of the data manifold in a neighborhood of $y_0$ using a \emph{pretrained} optimal transport flow from the reference to the data distribution. First, we prove that the Brenier optimal transport map preserves manifold structure: the preimage of an $m$-dimensional data manifold is itself an $m$-dimensional manifold in the reference space. Second, motivated by this result, we propose a latent variable model that maps a linear model through the transport flow. We prove that the linear approximation error is significantly reduced by the optimal transport map, leading to a tight fit of the non-linear data manifold. Third, noting the intractability of the resulting likelihood, we deploy denoising Fisher score estimation --- a recent development from simulation-based inference that learns the Fisher score over parameter--observation pairs --- to perform likelihood-based inference effectively. Experiments on both synthetic and real-world datasets demonstrate the effectiveness of the proposed method.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Measurement-Consistent Langevin Corrector for Stabilizing Latent Diffusion Inverse Problem Solvers
Hyoseok Lee, Sohwi Lim, Eunju Cha, Tae-Hyun Oh
Abstract
While latent diffusion models (LDMs) have emerged as powerful priors for inverse problems, existing LDM-based solvers frequently suffer from instability. In this work, we first identify the instability as a discrepancy between the solver dynamics and stable reverse diffusion dynamics learned by the diffusion model, and show that reducing this gap stabilizes the solver. Building on this, we introduce Measurement-Consistent Langevin Corrector (MCLC), a theoretically grounded plug-and-play stabilization module that remedies the LDM-based inverse problem solvers through measurement-consistent Langevin updates. Compared to prior approaches that rely on linear manifold assumptions, which often fail to hold in latent space, MCLC provides a principled stabilization mechanism, leading to more stable and reliable behavior in latent space.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Why Limit the Residual Stream to Layers and Not Tokens? Persistent Memory for Continuous Latent Reasoning
Mujtaba farhan, Ashwinee Panda, Maheep Chaudhary, Sean Wu
Abstract
Large language models (LLMs) have demonstrated remarkable reasoning abilities on mathematical and multi-hop planning tasks. Large language models (LLMs) have demonstrated remarkable reasoning abilities on mathematical and multi-hop planning tasks. The CoCoNuT (Chain of Continuous Thought) paradigm~\cite{hao2024coconut} extends this by enabling models to reason in latent space, exploring multiple reasoning paths simultaneously rather than committing to a single chain early on. However, we identify a limitation we term the \textbf{concept bottleneck}. At each reasoning pass, intermediate hidden states are overwritten, causing the model to lose critical facts computed in earlier steps as reasoning depth increases. We observe this empirically. On HotpotQA, vanilla CoCoNuT (10.4% EM) fails to improve over the CoT baseline (11.0% EM), and performance degrades with curriculum depth on GSM8K. To address this, we propose \textbf{AGCLR} (Adaptive Gated Continuous Latent Reasoning), which augments CoCoNuT with a \textit{Gated Concept Stream}. A persistent residual memory maintained across all reasoning passes, controlled by three learned gates: a \textit{write} gate that commits intermediate facts to memory, a \textit{read} gate that retrieves relevant prior states, and a \textit{forget} gate that prunes irrelevant context. Evaluated on GSM8K, HotpotQA, and ProsQA using GPT-2 as our base model, AGCLR achieves consistent improvements across all types of datasets. With the performance gap compounding as curriculum depth increases, directly resolving the concept bottleneck. Code available at https://anonymous.4open.science/r/JJJJ/README.md
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Interpreting Latent CoT Reasoning as Dynamical Systems
Shreya Sanjay Boyane, Sabari I Duraipandian, Manju Nagesh, Jerome Francis, Archana Vaidheeswaran, Kevin Zhu
Abstract
Recent latent reasoning methods such as CODI and COCONUT face a fundamental interpretability problem since they carry multiple superimposed candidate traces in hidden space at each step, obscuring how reasoning evolves, while explicit-CoT follows a single transparent reasoning trace at each step. Existing mechanistic methods show compression, shortcuts, and superposition without in-depth analysis, hence failing to explain how reasoning evolves across latent steps. To address this gap, we model the sequence of latent tokens as a trajectory in representation space and apply dynamical-system analysis to define the reasoning evolution. Using both quantitative (step-to-step change, direction consistency, Lyapunov sensitivity, etc.) and qualitative (UMAP and DMD/PHATE projections), we show that latent CoT exhibits structured, non-random dynamics with two distinct stability classes: CODI behaves as a stable attractor while COCONUT behaves as an unstable expanding system. Sim-CoT supervision tightens both behaviors handling latent instability in these methods without changing the underlying dynamics. This framework advances the interpretability of latent CoT reasoning dynamics and introduces actionable findings to catalyze further research into improving latent reasoning performance. All code, data, and other artifacts will be publicly released upon acceptance.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Personalized Federated Training of Latent Diffusion Models with Privacy Guarantees
A F Kabir, Lingxiao Wang
Abstract
We study the problem of federated training of diffusion models (DMs) with privacy guarantees. For high-dimensional data, existing private federated DMs often exhibit a poor privacy-utility tradeoff, since the privacy noise introduced to protect client data becomes increasingly damaging as the dimension of the image representation grows. To address this challenge, we propose Personalized Federated Training of Latent Diffusion Models (PF-LDM), a framework that performs private federated diffusion training in latent space. The key idea is to identify latent representations whose distributional structure is more favorable for private learning. In particular, we show that latent spaces with more discriminative feature representations can better preserve utility under privacy constraints. PF-LDM further combines a shared server-side diffusion model with personalized client-side refinement models: the server captures cross-client generative structure from privatized latent data, while client-specific models refine samples to recover fine-grained local details. Experiments on the CelebAHQ dataset demonstrate that our method enables high-dimensional image generation, improves performance on underrepresented classes across clients, and maintains strong privacy protection.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Flow Matching on General Manifolds via Pulling Back Geodesic Convex Latent Manifolds
Neil He, Ge Liu
Abstract
Generative models that construct conditional paths transforming a source distribution into a target distribution have seen substantial success in modeling scientific data. However, traditional methods typically assume Euclidean geometry and fail to adhere to data manifolds, falling short on tasks such as trajectory inference. Recent flow matching methods on general manifolds often relies on approximating geodesics without closed forms, suffers from limited theoretical and implementation grounding, or trades generation quality to learn velocity fields. As a result, we propose GCL-FM, a novel simulation-free framework that enables interpolation on unknown data manifolds by explicitly enforcing a $\textbf{G}$eodesic $\textbf{C}$onvex $\textbf{L}$atent subamnifold for $\textbf{F}$low \textbf{M}atching. Our theoretical analysis shows that GCL-FM possesses desirable guarantees for modeling manifold transport dynamics, including robustness to data noise. We demonstrate that GCL-FM achieves superior performance on trajectory inference for multiple biological and computational fluid dynamics datasets, while requiring significantly less computational cost compared to prior methods, providing a principled and efficient route to high-fidelity manifold-aware conditional generation for real-world transport dynamics in high dimensions.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Latent Phase-Shift Rollback: Inference-Time Error Correction via Residual Stream Monitoring and KV-Cache Steering
Manan Gupta, Dhruv Kumar
Abstract
Large language models frequently commit unrecoverable reasoning errors mid-generation: once a wrong step is taken, subsequent tokens compound the mistake rather than correct it. We introduce $\textbf{Latent Phase-Shift Rollback}$ (LPSR): at each generation step, we monitor the residual stream at a critical layer $l_{crit}$, detect abrupt directional reversals (phase shifts) via a cosine-similarity $+$ entropy dual gate, and respond by rolling back the KV-cache and injecting a pre-computed steering vector. No fine-tuning, gradient computation, or additional forward passes are required. LPSR achieves $\mathbf{44.0\%}$ on MATH-500 with an 8B model versus $28.8\%$ for standard AR ($+15.2$ pp; McNemar $\chi^2 = 66.96$, $p < 10^{-15}$). Critically, prompted self-correction, the most natural inference-time baseline, scores only $19.8\%$, below standard AR; LPSR exceeds it by $+24.2$ pp ($\chi^2 = 89.4$, $p \approx 0$). LPSR also outperforms Best-of-16 ($+7.8$ pp) at $5.4\times$ lower token cost, and surpasses a standard 70B model ($35.2\%$) with $8.75\times$ fewer parameters at ${\sim}3\times$ the token budget. A 32-layer sweep reveals a novel $\textbf{detection-correction dissociation}$: error-detection AUC peaks at layer-14 ($0.718$) but task accuracy peaks at layer-16 ($44.0\%$ vs. $29.2\%$), demonstrating that optimal monitoring depth differs for detection and correction.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Where’s the Plan? Locating Latent Planning in Language Models with Lightweight Mechanistic Interventions
Nicole H. Ma, Nick Rui
Abstract
We study $\textit{planning site formation}$ in language models---$\textit{where}$ internal representations of structurally-constrained future tokens form during the forward pass, and whether they causally drive generation. Using rhyming-couplet completion as a clean test of forward-looking constraint, we apply two lightweight methods (linear probing and activation patching) across Qwen3, Gemma-3, and Llama-3 at more than ten scales. Probing shows that future-rhyme information is linearly decodable at the line boundary, with signal that strengthens with scale in all three families. Activation patching reveals that only Gemma-3-27B causally relies on this encoding, exhibiting a $\textit{handoff}$ in which the causal driver migrates from the rhyme word to the line boundary around layer 30. Every other model we test conditions on the rhyme word throughout generation, with near-zero causal effect at the line boundary despite strong probe signal. We localize the Gemma-3-27B handoff to five attention heads through two-stage path patching that recover ~${90}$% of the rhyme-routing capacity at the newline.
Abstract source