Introduction
In the evolving landscape of Retrieval-Augmented Generation (RAG) and Document Question Answering (DocQA), the standard methodology for processing extensive documents involves partitioning text into fixed-length chunks. While computationally straightforward, this "blind" chunking strategy is fundamentally flawed for long-form content (10,000+ words). It frequently bisects coherent semantic units or aggregates disparate topics, leading to "chunking errors" where critical context is lost. As Large Language Models (LLMs) face "lost in the middle" challenges and strict token limits during retrieval, a more sophisticated indexing strategy is required.
Methodology: MC-Indexing
To address these structural deficiencies, researchers from Huawei Noah’s Ark Lab introduced Multi-view Content-aware indexing (MC-indexing), a plug-and-play framework that leverages document structure to enhance retrieval accuracy.
The MC-indexing approach consists of two primary components:
- Content-aware Chunking: Instead of arbitrary word counts, the system identifies the smallest structural divisions—such as sections, subsections, or paragraphs—using headers from formats like Markdown or LaTeX. These serve as atomic semantic units.
- Multi-view Representation: To optimize retrieval, each section is indexed through three distinct views:
- Raw-text view: The original source text.
- Keyword view: A list of essential concepts and entities extracted via LLM.
- Summary view: A succinct overview of the section generated by an LLM.
During the retrieval phase, the system queries all three views and aggregates the results. This multi-view approach effectively bypasses the 512-token bottleneck common in dense retriever models, as summaries and keywords provide high-density semantic signals.
Experimental Setup
The framework was evaluated on two datasets modified to include structural metadata:
- WikiWeb2M: A multimodal dataset transformed into a long-context QA benchmark with 83,625 pairs.
- Natural Questions (NQ): Augmented with structural headers and filtered for documents exceeding 10,000 words.
Results and Discussion
The implementation of MC-indexing across eight diverse retrievers (including BM25, DPR, BGE, and GTE) demonstrated significant performance gains.
Key empirical findings include:
- Retrieval Recall: MC-indexing achieved a 42.8% boost in recall at top-1.5 compared to traditional fixed-length chunking.
- Error Mitigation: By respecting inherent section boundaries, the system reduced chunking errors from approximately 75% in baseline systems to 0%.
- View Efficacy: Ablation studies highlighted the summary view as the most impactful single representation, acting as a compressed semantic map that dense retrievers can process more effectively than bulky raw text.
Conclusion
MC-indexing proves that document structure is a vital semantic signal that should not be ignored. By transitioning from fixed-length snippets to content-aware sections and multi-view representations, retrieval systems can achieve massive performance gains without the need for additional model training or fine-tuning. Future work will explore automated section boundary detection for unstructured "wall of text" documents.
Summary updated