TL;DR
EnSI-RAG addresses the limitations of standard chunk-based Retrieval-Augmented Generation (RAG) for long documents by creating a query-independent, entity-centered index. This index acts as a structured set of "retrieval handles" that point back to original, semantically coherent text passages. By decoupling structured evidence localization from LLM-based answer synthesis, EnSI-RAG achieves state-of-the-art performance on complex long-document question-answering benchmarks.
What Problem Does This Paper Address?
Traditional RAG systems typically slice long documents into fixed-size, mechanical chunks and retrieve them using embedding similarity. However, arbitrary chunk boundaries often sever critical context—separating entities from their supporting evidence or detaching table rows from their headers. This leads to semantic fragmentation and context contamination.
Furthermore, when a question requires multi-hop reasoning or large-scale information aggregation across a massive corpus, standard retrievers struggle. Simply expanding the LLM's context window doesn't solve the problem either; frontier models still suffer from the "lost in the middle" phenomenon and fail when tasks require deep evidence synthesis rather than localized lookups.
Methods
EnSI-RAG introduces a framework that cleanly separates evidence localization from answer synthesis using a hybrid structured/unstructured approach:
- Passage Construction (Offline): Documents are segmented into semantically self-contained, entity-centered passages (for example, treating individual rows of a financial table as distinct passages) rather than arbitrary token blocks.
- Information Extraction (Offline): An LLM processes each passage to extract structured records in the form of
⟨entity, type, category, value⟩, where categories are classified as properties, relations, or aspects. - Index Entry Building (Offline): These records are compiled into a query-independent Entity-Structure Index that maps the structured keys directly to unique passage IDs (
psg_id). - Retrieval & Generation (Online): When a user query arrives, a retrieval planner translates it into structured steps. The system queries the Entity-Structure Index to locate the relevant passage IDs. Crucially, instead of feeding the extracted structured data to the generator, EnSI-RAG fetches the original, uncorrupted text passages and hands them to the LLM to synthesize the final answer.
Datasets
The authors evaluated EnSI-RAG on two open-source benchmarks designed for long-context evaluation:
- Loong: Focuses on heterogeneous multi-document reasoning across financial, legal, and academic papers. It features four reasoning categories: Spotlight Locating, Comparison, Clustering, and Chain of Reasoning.
- Oolong (Oolong-Synth): Emphasizes large-scale information aggregation (such as counting and timeline tracking) over extremely long inputs (up to 256k tokens).
Key Insights and Ideas
- Retrieval Handles vs. Reasoning Substrates: Fully structured approaches (like converting an entire corpus into a relational database or knowledge graph) are brittle; an extraction error early on completely derails the final answer. EnSI-RAG uses structure only to locate the text, leaving the nuanced reasoning to the LLM operating on the rich, original text.
- Semantic vs. Mechanical Chunking: Defining retrieval units by entity boundaries rather than token budgets drastically reduces irrelevant context and ensures that entities remain unified with their immediate evidence.
- Domain-Dependent Granularity: The optimal level of structural abstraction varies by domain. Mapping extracted labels to coarser, higher-level concepts reduces lexical sparsity and improves performance in financial and academic papers. However, it hurts legal QA, where fine distinctions among case attributes are critical for accuracy.
Key Results
- Benchmark Superiority: EnSI-RAG achieved an average accuracy of 78.24 across both benchmarks, outperforming the strong structured-retrieval baseline SLIDERS (71.62), and vastly outperforming standard chunk-based RAG (32.84) and GraphRAG (41.64).
- Granularity Impact: In an ablation study on financial documents, row-level passage granularity achieved a perfect 100.00% accuracy, compared to 91.50% for table-level chunking, proving that compact, entity-focused text units prevent model distraction.
Limitations and Future Work
- High Preprocessing Overhead: The offline phase requires significant LLM processing to construct the entity-centered passages and extract structured records. While this cost is amortized over future queries, it represents a heavy upfront computational footprint.
- Extraction Dependency: The quality of the retrieval handles is fundamentally bounded by the accuracy of the initial information extraction phase.
- Manual Granularity Tuning: Determining whether a specific domain or dataset benefits more from fine-grained or coarse-grained labels currently requires empirical testing rather than being automatically induced by the system.
Summary updated