Abstract
EnrichIndex is a framework designed to bridge the gap between the reasoning capabilities of Large Language Models (LLMs) and the efficiency requirements of real-time Information Retrieval (IR). By shifting LLM-based reasoning from the online retrieval phase to the offline ingestion phase, EnrichIndex generates multi-faceted representations of documents—including summaries, purpose statements, and synthetic QA pairs—before they are indexed. This approach achieves significant performance improvements, such as an 11.7-point gain in Recall@10, while utilizing nearly 300 times fewer online tokens than traditional LLM re-rankers.
Introduction: The Reasoning Bottleneck in Retrieval
Standard Information Retrieval (IR) systems, such as BM25 or dense vector search, typically rely on keyword matching or surface-level semantic similarity. While efficient, these systems often struggle with implicit reasoning. For instance, a query about "depth perception" might fail to retrieve a document discussing "binocular disparity" if the specific term "depth" is absent.
To overcome this, current state-of-the-art systems often employ LLMs as "re-rankers" during the online phase. However, this is computationally expensive and introduces significant latency, as the LLM must process numerous query-document pairs in real-time. EnrichIndex addresses this bottleneck by performing the heavy lifting of LLM reasoning offline, during the data ingestion stage.
Methodology: Offline Enrichment and Online Retrieval
The EnrichIndex framework utilizes an LLM (e.g., GPT-4o-mini) to "enrich" the retrieval corpus before indexing. For every object—whether a text document or a data table—EnrichIndex generates three additional representations:
- Summary: A condensed, layman-friendly version of the content that simplifies technical jargon.
- Purpose: A description of the implicit meaning and potential utility of the object (e.g., explaining that a specific table tracks financial assets).
- QA Pairs: Approximately 20 synthetic question-and-answer pairs derived from the content, serving as "proxy queries" that mirror potential user intents.
During the online retrieval phase, the system searches across four distinct indices: the original content, the summary, the purpose statement, and the QA pairs. The final relevance score is calculated as a weighted sum of the similarity scores across these indices. This allows the system to leverage LLM-level understanding through fast, lightweight similarity mathematics at query time.
Evaluation and Key Insights
The researchers evaluated EnrichIndex across several benchmarks, including Bright (reasoning-intensive technical domains), NQ (Natural Questions), and various table retrieval tasks (Spider2, Beaver, Fiben).
Several key insights emerged from the evaluation:
- The Utility of "Purpose": On the Bright dataset, which requires deep reasoning, the "Purpose" enrichment proved most effective. By explicitly stating why a document exists, the LLM helps bridge the semantic gap between a user's goal and technical text.
- Summaries for Tabular Data: For table retrieval, "Summaries" provided the most significant boost. LLMs appear better at matching queries to textual descriptions of tables than to raw, structured data.
- Increased Class Separation: Using Wasserstein distance analysis, the authors demonstrated that EnrichIndex effectively pushes relevant ("gold") documents further away from non-relevant ones in the vector space, simplifying the retriever's task.
Results
EnrichIndex demonstrates substantial improvements in both accuracy and efficiency. Compared to strong baselines, the framework improved Recall@10 by 11.7 points and NDCG@10 by 10.6 points on average.
In terms of efficiency, EnrichIndex processed 293.3 times fewer tokens online compared to "Judgerank," a state-of-the-art LLM re-ranker. Because the LLM processing is performed upfront, online latency remains comparable to standard retrievers, making it highly suitable for production environments. Notably, on the Fiben dataset, EnrichIndex improved the rank of a target table from 36th to 2nd place.
Limitations and Future Work
While EnrichIndex offers significant online advantages, it involves a higher initial ingestion cost, as every document must be processed by an LLM once. Although this cost is amortized over many queries, it remains a consideration for massive or rapidly changing datasets. Additionally, the system currently requires tuning weights to balance the four indices for different domains. Future research will explore more efficient offline expansion methods and scaling the approach to billion-scale corpora.
Summary updated