CMT-RAG: Complementary Memory Traces for Multi-turn Multi-hop RAG

Lang Zhou, Yingjian Chen, Shuxuan Li, Kun-Yu Lin, Zhilin ZhaoarXiv 2026

TL;DR

CMT-RAG introduces a novel framework for multi-turn, multi-hop Retrieval-Augmented Generation (RAG) by aligning conversational memory directly with retrieval via sub-question-level reasoning traces. By combining a state-space model (SSM) for local context tracking with a persistent Directed Acyclic Graph (DAG) for long-range dependency resolution, it significantly improves answer accuracy while reducing latency and context bloat. The authors also release MuMu-QA, a new benchmark explicitly annotated for cross-turn sub-question dependencies.

What Problem Does This Paper Address?

In extended information-seeking conversations, users often ask complex questions that build on previous turns, omitting repeated entities or refining earlier queries. Answering these requires both multi-hop reasoning (decomposing a query into multiple sub-questions) and tracking long-range dependencies across turns.

Current conversational RAG systems typically store memory as raw dialogue history, rewritten standalone queries, or unstructured summaries. This turn-level approach creates a structural mismatch: retrievers need fine-grained, sub-question-level context, but the memory only provides compressed or coarse turn-level history. As a result, systems struggle to recover specific prior reasoning steps and reuse previously retrieved evidence, leading to inefficiency and errors in long conversations.

Figure 1: A multi-turn multi-hop conversation with cross- turn dependencies. The graph illustrates two dependency types: Ext. (Predicate Extension) queries a new attribute or relation of a previously resolved target, and Ref. (Entity Reference) directly reuses a previously introduced entity.

Methods

CMT-RAG addresses this by decoupling conversational state from the downstream reader using two complementary memory channels:

  1. Runtime Memory (SSM Decomposer): Driven by a Mamba-2 state-space model backbone, this component maintains a compact recurrent hidden state across turns. Instead of re-encoding the entire dialogue history at each turn, it incrementally processes the new query and decomposes it into structured trace drafts. Each draft contains a decomposed sub-question, keywords for lookup, and explicit dependency links to prior traces.
  2. Persistent Memory (Trace DAG): A session-level Directed Acyclic Graph stores completed traces. Each node binds a resolved sub-question, its answer, keywords, and the specific paragraph identifiers retrieved for it.

When a new query arrives, the system resolves cross-turn dependencies through the DAG (substituting past answers into placeholders) and uses keyword matching to fetch relevant historical evidence. The stateless reader then answers the sub-questions using only the freshly retrieved and reused historical evidence, without needing to replay the dialogue history.

The trace generator is trained using a three-stage curriculum learning process (single-turn $\rightarrow$ short dialogue $\rightarrow$ long dialogue) followed by Direct Preference Optimization (DPO) to align trace generation with downstream QA performance.

Figure 3: Overview of CMT-RAG. The framework consists of four stages: (i) Trace generation, where a state-space model (SSM) maintains a recurrent state to generate structured trace drafts; (ii) Reference resolution, where cross-turn dependencies are resolved through the trace DAG; (iii) Evidence retrieval and trace update, where supporting paragraphs are retrieved and completed traces are written back to the DAG; and (iv) Question answering, where the stateless reader answers the resolved sub-questions using only the retrieved evidence, without replaying the dialogue history, before producing the final response.

Datasets

  • MuMu-QA: A newly introduced benchmark specifically designed for multi-turn multi-hop RAG with explicit cross-turn sub-question dependency annotations. Synthesized from the MuSiQue dataset, it includes short (3–7 turns), long (6–32 turns), and ultra-long (33–67 turns) dialogue splits.
  • RECOR: A conversational retrieval benchmark used to evaluate transfer capability.
  • HotpotQA & 2WikiMultiHopQA: Standard single-turn multi-hop QA benchmarks used to test the framework's robustness on shared-corpus setups.

Key Insights and Ideas

  • Memory-Retrieval Alignment: The core "aha" moment is that conversational memory should be stored at the exact granularity that the retriever and reader consume it—sub-questions and their supporting evidence—rather than full dialogue turns or text summaries.
  • Decoupled & Stateless Reader: By externalizing the conversational state into the SSM recurrent state and the trace DAG, the downstream reader can remain completely stateless. It only looks at the current sub-question and its immediate evidence, avoiding the "lost-in-the-middle" effect common in long-context LLMs.
  • Complementary Roles of Memory: The recurrent SSM state excels at maintaining local discourse continuity (topics, intent shifts), while the persistent DAG handles explicit, long-range structural dependencies and evidence reuse over extended sessions.
Figure 4: Ablation of the complementary memory framework across dialogue lengths. w/o DAG removes persistent trace- DAG lookup while retaining SSM runtime memory. w/o SSM state disables cross-turn SSM state carry-over while retaining persistent trace-DAG memory.

Key Results

  • Superior Accuracy: On the MuMu-QA long-dialogue split, CMT-RAG achieved 41.73 EM / 55.63 F1 with a Qwen3-32B reader and 44.70 EM / 57.55 F1 with a Llama-3.3-70B reader, consistently outperforming five categories of baselines (including query rewriting and agentic RAG).
  • Context Efficiency: CMT-RAG achieved these top results while providing significantly fewer unique paragraphs to the reader (~14 paragraphs per turn) compared to baselines that used up to 20 paragraphs, proving it uses retrieved context more effectively.
  • High Efficiency: Utilizing a Mamba-2 backbone instead of a Transformer (Pythia-2.8B) for the trace generator resulted in a 48.4% reduction in end-to-end latency (0.83s vs 1.61s per turn) because the SSM avoids re-encoding the full history at every turn.
  • Strong Transferability: CMT-RAG transferred successfully to the RECOR benchmark, achieving the highest F1 (36.42%), BLEU-1, and ROUGE-L scores among all tested methods.

Limitations and Future Work

  • Dependency on Decomposition Accuracy: The framework relies heavily on the trace generator's ability to accurately decompose queries and predict cross-turn dependencies. Errors in early stages can propagate downstream.
  • Synthetic Bias: MuMu-QA is synthetically generated from MuSiQue and inherits its domain biases. The authors note that evaluating CMT-RAG on human-authored conversations is an important next step.
  • Future Directions: The authors suggest focusing on more robust trace generation techniques to handle complex, noisy real-world dialogues.

Summary updated

BibTeX
@misc{zhou2026cmt,
  author = {Lang Zhou and Yingjian Chen and Shuxuan Li and Kun-Yu Lin and Zhilin Zhao},
  title = {{CMT-RAG: Complementary Memory Traces for Multi-turn Multi-hop RAG}},
  year = {2026},
  eprint = {2607.26470},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.26470},
}
Figure