MemDuet: Learning Dual-Process Memory for Long-Context Reasoning
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Reasoning over infinitely long documents is becoming a reality with recurrent memory agents. However, increasing context length exacerbates the trade-off between reasoning performance and inference efficiency. Inspired by Kahneman's account of fast and slow thinking, we propose MemDuet, a dual-process memory framework that learns to coordinate a small language model for fast, parallel evidence selection from raw context chunks (System 1) with a large language model for memory-update verification and memory updates in document order (System 2). We train MemDuet in three stages: supervised fine-tuning of System 1 for evidence selection, Group Relative Policy Optimization (GRPO) of System 2 for verification and memory rewriting, and joint optimization of both policies to coordinate selection and updating for long-context reasoning. Experiments on diverse long-context reasoning benchmarks (RULER-HQA, LongBench v2, and 2WikiMultiHopQA) demonstrate a favorable accuracy-efficiency trade-off as context length grows. Averaged across evaluation settings on the three datasets, MemDuet achieves an end-to-end inference speedup of 9.74x and an output-token reduction of 73.91% relative to RL-MemAgent.
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 25 of its 38 references that are in the map. First posted on arXiv 14 Oct 2026.
Builds on
25 of 38 references.
Closest ancestors · 5
Same direction, newest first
- 2026When to Memorize and When to Stop: Gated Recurrent Memory for Long-Context Reasoning11 Feb
- 2026Dynamic Long Context Reasoning over Compressed Memory via End-to-End Reinforcement Learning9 Feb
- 2025QwenLong-L1.5: Post-Training Recipe for Long-Context Reasoning and Memory Management15 Dec
- 2025QwenLong-L1: Towards Long-Context Large Reasoning Models with Reinforcement Learning23 May
- 2024Dualformer: Controllable Fast and Slow Thinking by Learning with Randomized Reasoning Traces13 Oct
Other references · 20
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 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
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,006
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
8 more
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
- 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 246
- 2024FlashRAG: A Modular Toolkit for Efficient Retrieval-Augmented Generation Researchcited by 166
- 2023System 2 Attention (is something you might need too)cited by 89
- 2025Look Back to Reason Forward: Revisitable Memory for Long-Context LLM Agentscited by 38
- 2026InfMem: Learning System-2 Memory Control for Long-Context Agentcited by 9
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026PI-Mem: Pushing Long-Context Reasoning to 3.6M Tokens with Parallel-Iterative Memory
- 2026CoEM: Empowering Long-Context Reasoning with Commit-on-Evidence Memory
- 2026MemReread: Enhancing Agentic Long-Context Reasoning via Memory-Guided Rereading
- 2025Reuse, Don't Recompute: Efficient Large Reasoning Model Inference via Memory Orchestration
- 2025Beyond Context Limits: Subconscious Threads for Long-Horizon Reasoning
- 2026ReContext: Recursive Evidence Replay as LLM Harness for Long-Context Reasoning
- 2026Learning to Remember: End-to-End Training of Memory Agents for Long-Context Reasoning
- 2026MemCoT: Test-Time Scaling through Memory-Driven Chain-of-Thought