Introduction
Large Language Models (LLMs) have revolutionized natural language processing, yet they remain constrained by their static training data and limited context windows. Retrieval-Augmented Generation (RAG) has emerged as the standard solution, allowing models to query external databases for up-to-date or domain-specific information. However, traditional RAG systems often suffer from a "verbosity problem." They typically retrieve fixed-size text chunks (e.g., 300 tokens) that contain significant amounts of irrelevant "filler" text. This clutter leads to increased inference costs and can cause performance degradation as models struggle to identify relevant facts within long, noisy contexts.
The Challenge of Standard Retrieval
Standard RAG systems are often inefficient because their basic unit of retrieval—the text chunk—is arbitrary. These chunks may cut off important context or include unnecessary details that distract the LLM. While alternatives like Knowledge Graphs offer structure, they are often too rigid to capture the nuances of natural language. Conversely, sentence-level propositions can be too fragmented to provide a coherent answer.
As shown in the figure above, decomposing a document into specific facts (Entity-Description Pairs) allows for a much more targeted retrieval. In this example, the proposed method provides the necessary information in just 21 tokens, compared to the 100 tokens required by a standard chunk.
Methodology: Factual Decomposition
To address these inefficiencies, this research introduces a three-step pipeline designed to create a more "context-efficient" unit of retrieval:
- Question Speculation: The system first prompts an LLM to speculate on potential questions a user might ask about a specific document section. This step acts as a cognitive filter, focusing the extraction process on utility.
- Query-Guided Factual Decomposition: Guided by these speculated questions, the LLM extracts Entity-Description Pairs (EDPs). Each EDP consists of a key concept (the entity) and its associated factual information (the description). This semi-structured format bridges the gap between raw text and rigid triples.
- Sample Augmentation: To overcome the inherent stochasticity of LLMs, the decomposition process is run multiple times. Merging these results ensures high coverage and minimizes the risk of missing critical information during a single extraction pass.
During the retrieval phase, the system employs standard BM25 search to identify the most relevant EDPs, which are then fed into the LLM's context window.
Experimental Setup and Datasets
The effectiveness of the EDP approach was evaluated using three rigorous long-context Question Answering benchmarks:
- NarrativeQA: Involves complex questions based on full-length books and movie scripts.
- Qasper: Focuses on information extraction from dense, technical NLP research papers.
- QuALITY: Features multiple-choice questions derived from long articles averaging 5,000 tokens.
Key Results
The experimental results demonstrate that the EDP-based retrieval (referred to as the "KB" method in performance charts) consistently outperforms standard retrieval and other decomposition baselines, such as simple propositions or summarization-based methods.
The performance gains are particularly notable in "short-context regimes." For instance, in the NarrativeQA benchmark, the EDP method achieved higher accuracy with a 21-token budget than the standard baseline did with 100 tokens. This represents a massive reduction in the number of tokens required to reach a specific performance threshold, directly translating to lower inference costs and faster response times.
Furthermore, the "Question Speculation" strategy proved highly effective. Analysis revealed that over 50% of speculated questions focused on the same topics as real user queries, validating the intuition that anticipating user needs leads to better data representation.
Discussion and Future Work
The "middle way" offered by EDPs—more flexible than triples but more concise than paragraphs—represents a significant step forward in knowledge representation for RAG. By treating redundancy as a feature through sample augmentation, the authors successfully mitigated the "forgetfulness" often seen in LLM-based extraction tasks.
However, the method is not without its trade-offs. The primary limitation is the pre-processing overhead; building the EDP database requires substantial LLM compute upfront. Additionally, the quality of the final answers is heavily dependent on the LLM used for the initial decomposition. Future research should explore ways to make the decomposition process more computationally efficient and investigate even more expressive yet structured internal representations.
Conclusion
Context-efficient retrieval through factual decomposition offers a promising path toward more scalable and cost-effective RAG systems. By moving away from arbitrary text chunks and toward utility-driven EDPs, researchers can significantly reduce the noise in LLM contexts while maintaining, or even improving, factual accuracy.
Summary updated