LatentHarness: Learning Latent Actions for Memory and Reasoning via Counterfactual Policy Distillation
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Long-context reasoning faces two complementary bottlenecks: retaining evidence across long inputs and sustaining computation across many reasoning steps. Existing approaches largely address them separately, with external memory extending access to distant evidence and latent reasoning compressing multi-step computation. We introduce LatentHarness, which unifies memory access and latent reasoning as sequential latent action selection. At each internal step, the model chooses THINK for further computation, RECALL from a fast-weight memory of input evidence and intermediate reasoning states, or EXIT to emit the next token. We train this policy with counterfactual policy distillation, which branches every action for one step and scores its effect on the emitted token. These gains teach the policy when memory is more useful than further reasoning, while gradients through counterfactual recall teach which intermediate states should be retained in memory for future use. Across six general and long-context reasoning benchmarks, LatentHarness at 1.4B improves on the strongest baselines by 2.8% and 10.0% relative, respectively, and runs 5.9x faster than the strongest long-context baseline.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 92 of its 94 references that are in the map. First posted on arXiv 30 Sep 2026.
Builds on
92 of 94 references.
Closest ancestors · 14
Same direction, newest first
- 2026Allocating Recurrent Compute in Looped Language Models18 Aug
- 2026Latent Thought Credit: Multi-Answer Credit Assignment for Latent Reasoning3 Aug
- 2026Latent Thought Flow: Efficient Latent Reasoning in Large Language Models15 Jun
- 2026Unlocking the Working Memory of Large Language Models for Latent Reasoning28 May
- 2026Prioritize the Process, Not Just the Outcome: Rewarding Latent Thought Trajectories Improves Reasoning in Looped Language Models11 Feb
- 2025Scaling Latent Reasoning via Looped Language Models29 Oct
- 2025LoongRL: Reinforcement Learning for Advanced Reasoning over Long Contexts22 Oct
- 2025A Survey on Latent Reasoning8 Jul
- 2025QwenLong-L1: Towards Long-Context Large Reasoning Models with Reinforcement Learning23 May
- 2025Think Silently, Think Fast: Dynamic Latent Compression of LLM Reasoning Chains22 May
- 2025Reasoning with Latent Thoughts: On the Power of Looped Transformers24 Feb
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach7 Feb
2 more
Other references · 78
- 2023GPT-4 Technical Reportcited by 18,396
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025Qwen3 Technical Reportcited by 8,820
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Let's Verify Step by Stepcited by 3,789
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
38 more
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
- 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,210
- 2025A-MEM: Agentic Memory for LLM Agentscited by 1,063
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 830
- 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 797
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 779
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 707
- 2018Universal Transformerscited by 647
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2025Group-in-Group Policy Optimization for LLM Agent Trainingcited by 497
- 2015Policy Distillationcited by 440
- 2025Search-o1: Agentic Search-Enhanced Large Reasoning Modelscited by 433
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
- 2025R1-Searcher: Incentivizing the Search Capability in LLMs via Reinforcement Learningcited by 336
- 2025WebThinker: Empowering Large Reasoning Models with Deep Research Capabilitycited by 335
- 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 246
- 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agentscited by 238
- 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learningcited by 237
- 2025CODI: Compressing Chain-of-Thought into Continuous Space via Self-Distillationcited by 225
- 2025Large Language Model Agent: A Survey on Methodology, Applications and Challengescited by 205
- 2024VinePPO: Refining Credit Assignment in RL Training of LLMscited by 183
- 2023Implicit Chain of Thought Reasoning via Knowledge Distillationcited by 176
- 2025Scaling Long-Horizon LLM Agent via Context-Foldingcited by 148
- 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarizationcited by 141
- 2025MemOS: A Memory OS for AI Systemcited by 138
- 2026MemRL: Self-Evolving Agents via Runtime Reinforcement Learning on Episodic Memorycited by 129
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 126
- 2025Soft Thinking: Unlocking the Reasoning Potential of LLMs in Continuous Concept Spacecited by 117
- 2025SoftCoT: Soft Chain-of-Thought for Efficient Reasoning with LLMscited by 116
- 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agentscited by 109
- 2025AgentFold: Long-Horizon Web Agents with Proactive Context Managementcited by 103
50 most cited of 78 All 78 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Unlocking the Black Box of Latent Reasoning: An Interpretability-Guided Approach to Intervention
- 2026Final Checkpoints Are Not Enough: Analyzing Latent Reasoning Faithfulness Along Training Trajectories
- 2026Latent Reward Steering: An Adaptive Inference-Time Framework that Implicitly Promotes Cognitive Behaviors in Reasoning LLMs
- 2025The Markovian Thinker: Architecture-Agnostic Linear Scaling of Reasoning
- 2025Tracing the Traces: Latent Temporal Signals for Efficient and Accurate Reasoning
- 2026Continual Self-Improvement with Lightweight Experiential Latent Memories
- 2026MemoBrain: Executive Memory as an Agentic Brain for Reasoning
- 2026Emergent Search and Backtracking in Latent Reasoning Models