arXiv(opens in a new tab)cs.CLAug 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2608.21252

EnSI-RAG: Entity-Structure-Indexed Retrieval-Augmented Generation for Long-Document Question Answering

Xuanyu Meng, Jiashuo Sun, Jash Rajesh Parekh, Jiawei Han

Abstract

Question answering (QA) over long, connected documents remains challenging because relevant evidence may span multiple entities and their relationships. Existing retrieval-augmented generation (RAG) methods typically index documents as raw chunks and retrieve them through embedding similarity. Their performance degrades when chunk boundaries separate entities from supporting evidence or when a question requires multi-hop reasoning across the corpus. We propose EnSI-RAG (Entity-Structure-Indexed Retrieval-Augmented Generation), a framework that constructs a query-independent, entity-centered index. Each record ⟨e,t,k,v⟩\langle e,t,k,v\rangle represents an entity ee, its type tt, a semantic category k∈{property,relation,aspect}k\in\{\text{property},\text{relation},\text{aspect}\}, and a value vv, while retaining links to the original source passages. At query time, these records serve as retrieval handles, and an LLM synthesizes the retrieved passages into the final answer. This design separates evidence localization from answer synthesis while preserving traceable source evidence. Across Loong and Oolong, EnSI-RAG achieves an average accuracy of 78.24. Relative to the published baseline scores used as references, this is 6.62 points higher, suggesting its effectiveness across these settings. The code is available at https://github.com/RamonMeng/EnSI-RAG.

University of Illinois Urbana-Champaign

Urbana, Illinois, USA

{xuanyum2, jiashuo5, jashrp2, hanj}@illinois.edu

Introduction

Answering questions over long documents remains a fundamental challenge for large language models (LLMs). In many real-world applications, the information required to answer a question is rarely contained within a single passage. Financial analysts may need to compare values across multiple reports, legal researchers may need to classify or aggregate evidence from many judgments, and scientists may need to trace citations, methods, or findings across collections of papers. These tasks require systems not only to locate relevant evidence, but also to preserve entity identity, document structure, and relationships among dispersed pieces of information.

Recent advances in LLMs have made long-document question answering increasingly feasible. One prominent direction is to extend the context window, allowing models to consume longer inputs directly (Anthropic 2024; Gemini 2024). However, larger context windows alone do not guarantee reliable evidence utilization: models remain sensitive to the position of relevant information, exhibiting the well-known “lost in the middle” phenomenon (Liu et al. 2024). Moreover, recent long-context benchmarks demonstrate that even frontier models continue to struggle with questions requiring evidence aggregation and multi-hop reasoning across long documents rather than localized information lookup (Wang et al. 2024; Bertsch et al. 2025; Bai et al. 2025). Another direction is retrieval-augmented generation (RAG), which retrieves external evidence before generation (Lewis et al. 2020; Guu et al. 2020). While RAG substantially reduces the amount of text processed by the LLM, it shifts the burden to the retriever, since answer quality is ultimately limited by the evidence it retrieves.

Most existing RAG systems treat documents as collections of fixed-length chunks and retrieve them using lexical or dense similarity. Although simple and scalable, fixed-size chunking is often poorly aligned with the semantic organization of long documents. Chunk boundaries may separate entities from their supporting evidence, detach table rows from their headers, or merge multiple unrelated topics into the same retrieval unit. Consequently, retrieval may return passages that are locally similar to the query but insufficient for answering it, while overlooking semantically essential evidence that shares little lexical similarity with the question.

Our key observation is that retrieval units should be defined semantically rather than mechanically. Instead of indexing arbitrary chunks, EnSI-RAG represents documents as entity-centered passages, where each passage focuses primarily on one entity together with the local context describing that entity. Such passages preserve semantically coherent evidence while reducing both semantic fragmentation and contamination, providing a more reliable foundation for retrieval. However, semantically coherent passages alone are insufficient. To retrieve them efficiently for arbitrary future questions, they must also be organized into a query-independent representation that exposes their underlying semantic structure.

Based on this observation, we propose EnSI-RAG (Entity-Structure-Indexed Retrieval-Augmented Generation), a query-independent framework for long-document question answering. EnSI-RAG first preprocesses a document collection by constructing entity-centered passages and extracting structured records describing the entities, their semantic types, and their associated properties, relations, and aspects. These records are organized into an entity-structure index that serves as a set of retrieval handles pointing back to the original passages. At query time, the index guides retrieval toward the supporting passages, while the LLM remains responsible for integrating the retrieved evidence and synthesizing the final answer. Unlike fully structured approaches that perform reasoning over normalized databases, EnSI-RAG uses structure only to improve evidence localization; reasoning remains grounded in the original document text.

We evaluate EnSI-RAG on two complementary long-document question-answering benchmarks: Loong (Wang et al. 2024) and Oolong (Bertsch et al. 2025). Loong evaluates heterogeneous multi-document reasoning across financial, legal, and academic domains, while Oolong emphasizes large-scale information aggregation over long inputs. Across these different document structures and reasoning requirements, EnSI-RAG applies a unified retrieval framework while allowing domain-specific passage construction. Experimental results demonstrate that this design achieves competitive or superior performance compared with strong retrieval baselines. Our contributions are threefold. First, we introduce an entity-centered passage representation that defines retrieval units according to semantic coherence rather than fixed-length segmentation. Second, we propose a query-independent entity-structure index that enables passages to be retrieved through entities and their associated semantic information while preserving the original documents as evidence. Third, we develop a unified retrieval framework that combines structured evidence localization with LLM-based semantic synthesis, providing an effective middle ground between conventional chunk-based RAG and fully structured question answering systems.

References (32)