Abstract
Retrieval-Augmented Generation (RAG) systems traditionally rely on passive text chunking, which often disrupts the logical flow and semantic integrity of documents. This paper introduces MoM (Mixtures of Scenario-Aware Document Memories), a novel framework that shifts the paradigm toward proactive "document memory" extraction. By training Small Language Models (SLMs), termed MemReaders, to simulate human-like expert reading—generating logical outlines and distilling core content—the framework bridges the cognitive gap in standard RAG. MoM utilizes a "Chain of Memory" (CoM) reasoning path to fine-tune SLMs, enabling them to perform autonomous, high-quality memory extraction. Experimental results across diverse benchmarks like CRUD, OmniEval, and MultiFieldQA demonstrate that MemReaders significantly outperform traditional chunking methods, providing more semantically complete and contextually grounded information for downstream generation.
Introduction
Current RAG systems face a significant "cognitive gap" due to their reliance on passive chunking. Most implementations slice long documents into segments based on arbitrary character counts or basic semantic similarity. This mechanical approach ignores the overarching logical structure of the text, frequently splitting related concepts and leading to hallucinations or incomplete responses when the model cannot grasp the broader context.
In contrast, human experts approach documents by first grasping the macro-level outline, identifying key arguments, and forming a structured mental model. The MoM framework proposes that RAG systems should emulate this proactive understanding to ensure retrieved segments are both semantically complete and contextually grounded.
The MoM Framework
The MoM framework transforms the retrieval process through a four-stage pipeline designed to instill expert-level reasoning into smaller, efficient models.
- Logical Outline Generation: A high-capability guiding model (e.g., DeepSeek-R1) simulates a domain expert to create a structured outline of the document, capturing its macro-logic.
- Multi-path Memory Extraction & Evaluation: The system generates multiple candidate "memories"—triplets consisting of an Outline, Core Content, and Atomic Chunks. These are evaluated based on Atomic Chunks Clarity (logical boundary quality) and Core Content Completeness (summary coverage).
- Reverse Construction of CoM: To train SLMs, the framework employs "reverse reasoning." A larger model deduces the "Chain of Memory" (CoM) reasoning path that leads to high-quality extraction outcomes, providing a rich supervision signal for fine-tuning.
- Three-layer Retrieval: MoM employs a hierarchical mechanism that independently retrieves from the Outline, Core Content, and Atomic Chunks layers. These results are then fused, a method mathematically proven to preserve "representational purity" better than early embedding fusion.
Experimental Evaluation
The researchers evaluated the MoM framework using MemReader models (ranging from 1.5B to 7B parameters) fine-tuned on a dataset of 40,000 high-quality samples. Testing spanned three major domains:
- CRUD: A news-based benchmark for long-answer generation.
- OmniEval: A financial domain dataset covering 16 distinct topics.
- MultiFieldQA_zh: A multi-domain benchmark from the LongBench suite.
Results and Key Insights
The experimental results highlight the efficacy of proactive memory extraction. MemReader-7B consistently achieved top scores across BLEU, ROUGE-L, and METEOR metrics. Notably, even the 1.5B parameter version outperformed established baselines like LlamaIndex and standard Semantic Chunking, proving that specialized reasoning-path data can empower small models to punch above their weight.
Key takeaways from the study include:
- Proactive vs. Passive: Shifting from "segmenting then understanding" to "understanding then segmenting" significantly improves retrieval quality.
- Independent Retrieval Theorem: Mathematical proof (Theorem 1) confirms that retrieving from independent memory layers before fusion prevents information loss associated with early vector dilution.
- Metric Correlation: The "Atomic Chunks Clarity" metric was found to correlate strongly with ROUGE-L, serving as a reliable proxy for chunk quality in the absence of ground-truth answers.
Conclusion and Future Work
MoM represents a significant step toward more "human-centric" RAG systems. By replacing "dumb" chunks with structured "memories," the framework ensures that LLMs receive the most relevant and coherent context possible. While the system excels in structured domains, future work will focus on improving performance in highly discrete, data-heavy environments like finance and scaling the framework to handle complex multi-document reasoning scenarios.
Summary updated