Table of Contents
Fetching ...

MoM: Mixtures of Scenario-Aware Document Memories for Retrieval-Augmented Generation Systems

Jihao Zhao, Zhiyuan Ji, Simin Niu, Hanyu Wang, Feiyu Xiong, Zhiyu Li

TL;DR

MoM reframes retrieval-augmented generation by converting passive document chunking into proactive document memory extraction, enabling domain-aware understanding and structured memory construction. The framework constructs a three-part document memory $M_{doc} = \{O, C, A\}$ through LLM-guided scenario analysis, multi-path sampling, and evaluative selection, then transfers this capability to small language models via reverse CoM training to create MemReader. A probabilistic, three-layer retrieval mechanism leverages global (Outline) and local (Core Content, Atomic Chunks) memories to reduce information loss and improve retrieval accuracy, with theoretical support and empirical validation across three domains. Experiments show MemReader-based RAG systems outperform baselines, including in low-resource, multi-domain settings, and the metrics demonstrate meaningful alignment between memory quality and downstream answer quality. The work thus advances human-centric, proactive reading for SLMs and demonstrates practical gains in knowledge-intensive, cross-domain QA tasks.

Abstract

The traditional RAG paradigm, which typically engages in the comprehension of relevant text chunks in response to received queries, inherently restricts both the depth of knowledge internalization and reasoning capabilities. To address this limitation, our research transforms the text processing in RAG from passive chunking to proactive understanding, defining this process as document memory extraction with the objective of simulating human cognitive processes during reading. Building upon this, we propose the Mixtures of scenario-aware document Memories (MoM) framework, engineered to efficiently handle documents from multiple domains and train small language models (SLMs) to acquire the ability to proactively explore and construct document memories. The MoM initially instructs large language models (LLMs) to simulate domain experts in generating document logical outlines, thereby directing structured chunking and core content extraction. It employs a multi-path sampling and multi-perspective evaluation mechanism, specifically designing comprehensive metrics that represent chunk clarity and extraction completeness to select the optimal document memories. Additionally, to infuse deeper human-like reading abilities during the training of SLMs, we incorporate a reverse reasoning strategy, which deduces refined expert thinking paths from high-quality outcomes. Finally, leveraging diverse forms of content generated by MoM, we develop a three-layer document memory retrieval mechanism, which is grounded in our theoretical proof from the perspective of probabilistic modeling. Extensive experimental results across three distinct domains demonstrate that the MoM framework not only resolves text chunking challenges in existing RAG systems, providing LLMs with semantically complete document memories, but also paves the way for SLMs to achieve human-centric intelligent text processing.

MoM: Mixtures of Scenario-Aware Document Memories for Retrieval-Augmented Generation Systems

TL;DR

MoM reframes retrieval-augmented generation by converting passive document chunking into proactive document memory extraction, enabling domain-aware understanding and structured memory construction. The framework constructs a three-part document memory through LLM-guided scenario analysis, multi-path sampling, and evaluative selection, then transfers this capability to small language models via reverse CoM training to create MemReader. A probabilistic, three-layer retrieval mechanism leverages global (Outline) and local (Core Content, Atomic Chunks) memories to reduce information loss and improve retrieval accuracy, with theoretical support and empirical validation across three domains. Experiments show MemReader-based RAG systems outperform baselines, including in low-resource, multi-domain settings, and the metrics demonstrate meaningful alignment between memory quality and downstream answer quality. The work thus advances human-centric, proactive reading for SLMs and demonstrates practical gains in knowledge-intensive, cross-domain QA tasks.

Abstract

The traditional RAG paradigm, which typically engages in the comprehension of relevant text chunks in response to received queries, inherently restricts both the depth of knowledge internalization and reasoning capabilities. To address this limitation, our research transforms the text processing in RAG from passive chunking to proactive understanding, defining this process as document memory extraction with the objective of simulating human cognitive processes during reading. Building upon this, we propose the Mixtures of scenario-aware document Memories (MoM) framework, engineered to efficiently handle documents from multiple domains and train small language models (SLMs) to acquire the ability to proactively explore and construct document memories. The MoM initially instructs large language models (LLMs) to simulate domain experts in generating document logical outlines, thereby directing structured chunking and core content extraction. It employs a multi-path sampling and multi-perspective evaluation mechanism, specifically designing comprehensive metrics that represent chunk clarity and extraction completeness to select the optimal document memories. Additionally, to infuse deeper human-like reading abilities during the training of SLMs, we incorporate a reverse reasoning strategy, which deduces refined expert thinking paths from high-quality outcomes. Finally, leveraging diverse forms of content generated by MoM, we develop a three-layer document memory retrieval mechanism, which is grounded in our theoretical proof from the perspective of probabilistic modeling. Extensive experimental results across three distinct domains demonstrate that the MoM framework not only resolves text chunking challenges in existing RAG systems, providing LLMs with semantically complete document memories, but also paves the way for SLMs to achieve human-centric intelligent text processing.
Paper Structure (19 sections, 2 theorems, 14 equations, 1 figure, 4 tables)

This paper contains 19 sections, 2 theorems, 14 equations, 1 figure, 4 tables.

Key Result

Theorem 1

For user queries, the HMV outperforms the SVF in terms of expected similarity. Specifically, we need to prove the following two points: Since we do not need to consider the vector length and only involve the direction representation, all vectors are normalized to unit vectors for subsequent calculations.

Figures (1)

  • Figure 1: Overview of the entire process of our MoM framework: Logical outline generation, multi-path memory extraction and evaluation, reverse CoM construction, as well as three-layer retrieval mechanism.

Theorems & Definitions (5)

  • Theorem 1
  • proof
  • Theorem 2
  • Remark 1
  • proof