Multi-view Content-aware Indexing for Long Document Retrieval

Kuicai Dong, Derrick-Goh-Xin Deik, Yi Quan Lee, Hao Zhang, Xiangyang Li, Cong Zhang, Yong LiuarXiv 2024 · DOI

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.

Comparison of the conventional DocQA pipeline (a) and the proposed Multi-view Content-aware indexing framework (b).

The MC-indexing approach consists of two primary components:

  1. 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.
  2. Multi-view Representation: To optimize retrieval, each section is indexed through three distinct views:
  3. Raw-text view: The original source text.
  4. Keyword view: A list of essential concepts and entities extracted via LLM.
  5. 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.

Performance metrics (Precision, Recall, F1) comparing section-based indexing against baseline document-level retrieval.

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

BibTeX
@misc{dong2024multi,
  author = {Kuicai Dong and Derrick-Goh-Xin Deik and Yi Quan Lee and Hao Zhang and Xiangyang Li and Cong Zhang and Yong Liu},
  title = {{Multi-view Content-aware Indexing for Long Document Retrieval}},
  year = {2024},
  eprint = {2404.15103},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.15103},
}
Figure