mlsanityData to 14 Oct 2026

LatentHarness: Learning Latent Actions for Memory and Reasoning via Counterfactual Policy Distillation

arXiv 2609.39740 ↗First posted 30 Sep 2026cs.CLcited by 0

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

  1. 2026Allocating Recurrent Compute in Looped Language Models18 Aug
  2. 2026Latent Thought Credit: Multi-Answer Credit Assignment for Latent Reasoning3 Aug
  3. 2026Latent Thought Flow: Efficient Latent Reasoning in Large Language Models15 Jun
  4. 2026Unlocking the Working Memory of Large Language Models for Latent Reasoning28 May
  5. 2026Prioritize the Process, Not Just the Outcome: Rewarding Latent Thought Trajectories Improves Reasoning in Looped Language Models11 Feb
  6. 2025Scaling Latent Reasoning via Looped Language Models29 Oct
  7. 2025LoongRL: Reinforcement Learning for Advanced Reasoning over Long Contexts22 Oct
  8. 2025A Survey on Latent Reasoning8 Jul
  9. 2025QwenLong-L1: Towards Long-Context Large Reasoning Models with Reinforcement Learning23 May
  10. 2025Think Silently, Think Fast: Dynamic Latent Compression of LLM Reasoning Chains22 May
  11. 2025Reasoning with Latent Thoughts: On the Power of Looped Transformers24 Feb
  12. 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach7 Feb
2 more
  1. 2024Titans: Learning to Memorize at Test Time31 Dec
  2. 2023Think before you speak: Training Language Models With Pause Tokens3 Oct

Other references · 78

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2017Proximal Policy Optimization Algorithmscited by 15,215
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  6. 2025Qwen3 Technical Reportcited by 8,820
  7. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  8. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  9. 2023Let's Verify Step by Stepcited by 3,789
  10. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  11. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
  12. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
38 more
  1. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
  2. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
  3. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  4. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
  5. 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,210
  6. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,063
  7. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
  8. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
  9. 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 830
  10. 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 797
  11. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 779
  12. 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 707
  13. 2018Universal Transformerscited by 647
  14. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
  15. 2025Group-in-Group Policy Optimization for LLM Agent Trainingcited by 497
  16. 2015Policy Distillationcited by 440
  17. 2025Search-o1: Agentic Search-Enhanced Large Reasoning Modelscited by 433
  18. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  19. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379
  20. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
  21. 2025R1-Searcher: Incentivizing the Search Capability in LLMs via Reinforcement Learningcited by 336
  22. 2025WebThinker: Empowering Large Reasoning Models with Deep Research Capabilitycited by 335
  23. 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 246
  24. 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agentscited by 238
  25. 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learningcited by 237
  26. 2025CODI: Compressing Chain-of-Thought into Continuous Space via Self-Distillationcited by 225
  27. 2025Large Language Model Agent: A Survey on Methodology, Applications and Challengescited by 205
  28. 2024VinePPO: Refining Credit Assignment in RL Training of LLMscited by 183
  29. 2023Implicit Chain of Thought Reasoning via Knowledge Distillationcited by 176
  30. 2025Scaling Long-Horizon LLM Agent via Context-Foldingcited by 148
  31. 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarizationcited by 141
  32. 2025MemOS: A Memory OS for AI Systemcited by 138
  33. 2026MemRL: Self-Evolving Agents via Runtime Reinforcement Learning on Episodic Memorycited by 129
  34. 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 126
  35. 2025Soft Thinking: Unlocking the Reasoning Potential of LLMs in Continuous Concept Spacecited by 117
  36. 2025SoftCoT: Soft Chain-of-Thought for Efficient Reasoning with LLMscited by 116
  37. 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agentscited by 109
  38. 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

  1. 2026Unlocking the Black Box of Latent Reasoning: An Interpretability-Guided Approach to Intervention
  2. 2026Final Checkpoints Are Not Enough: Analyzing Latent Reasoning Faithfulness Along Training Trajectories
  3. 2026Latent Reward Steering: An Adaptive Inference-Time Framework that Implicitly Promotes Cognitive Behaviors in Reasoning LLMs
  4. 2025The Markovian Thinker: Architecture-Agnostic Linear Scaling of Reasoning
  5. 2025Tracing the Traces: Latent Temporal Signals for Efficient and Accurate Reasoning
  6. 2026Continual Self-Improvement with Lightweight Experiential Latent Memories
  7. 2026MemoBrain: Executive Memory as an Agentic Brain for Reasoning
  8. 2026Emergent Search and Backtracking in Latent Reasoning Models