MemDuet: Learning Dual-Process Memory for Long-Context Reasoning

Jiangcheng Song, Haodong Jing, Yulin Mu, Lesong Tao, Jixin Wang +5 more
10/14/2026
cs.CL

No official code found. Best implementation: jiangchengsong/MemDuet (0 stars, last commit 2026-10-14).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

MemDuet: Learning Dual-Process Memory for Long-Context Reasoning — paper and project page

00Oct 13, 20261 weeks ago

Similar Papers

Cite this paper

@article{song2026memduet,
  title  = {MemDuet: Learning Dual-Process Memory for Long-Context Reasoning},
  author = {Jiangcheng Song and Haodong Jing and Yulin Mu and Lesong Tao and Jixin Wang and Jin Cui and Tianjing Ren and Runxuan Xie and Yongqiang Ma and Nanning Zheng},
  year   = {2026},
  eprint = {2610.19928},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.19928v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.19928.svg)](https://codeofpaper.com/paper/2610.19928)

Discussion