TL;DR
This paper introduces EnrichIndex, a novel approach to information retrieval that leverages Large Language Models (LLMs) offline to create richer retrieval indices. By pre-computing semantic representations of documents and tables, EnrichIndex significantly boosts retrieval performance and drastically reduces online latency and costs compared to existing LLM-augmented methods.
What Problem Does This Paper Address?
Traditional information retrieval systems perform well when the user's query closely matches the content of the documents. However, real-world scenarios often involve "implicit relevance," where a document's connection to a query isn't explicit but requires understanding domain-specific jargon, structure, or underlying meaning. This is particularly challenging for technical texts and tables. While LLMs are powerful at inferring this implicit relevance, using them online for every query is computationally expensive and slow. This paper addresses the need for a more efficient way to harness LLM reasoning for improved retrieval, especially in complex domains.
Methods
EnrichIndex tackles the problem by shifting LLM processing from online (per-query) to offline (during index creation). The core idea is to enrich each document or table in the corpus with multiple semantic representations using an LLM. These enriched representations include:
- Original Content: The standard representation.
- Summary: A condensed, less technical version of the original content.
- Purpose: A description of the object's intended use or implicit meaning.
- QA Pairs: A set of question-answer pairs that the object can address.
During online retrieval, the system computes a weighted similarity score between the user query and all these enriched indices for each object. This allows for a more comprehensive understanding of relevance, even when the query doesn't directly mention keywords from the original content. EnrichIndex seamlessly integrates with existing stage-one retrieval methods (like BM25 or dense retrievers) by augmenting their indexing process.
Datasets
The authors evaluated EnrichIndex on a variety of datasets, including:
- Bright: A benchmark for implicit retrieval on technical documents from domains like StackExchange, coding, and theorems.
- Table Retrieval Datasets:
- Spider2: Evaluating retrieval of relevant tables for user questions over complex databases.
- Beaver: Similar to Spider2, focusing on enterprise text-to-SQL workflows.
- Fiben: Another dataset for table retrieval.
- NQ (Natural Questions): A standard document retrieval task used to validate performance on simpler scenarios.
For table retrieval, they combined databases to create larger, more challenging corpora.
Key Insights and Ideas
- Offline LLM Enrichment is Key: The most significant insight is that moving LLM-powered enrichment offline drastically reduces computational burden and latency during query time, while still yielding substantial performance gains.
- Multiple Semantic Layers Matter: Enriching objects with not just a summary, but also their purpose and QA pairs, provides complementary signals that significantly improve retrieval, especially for implicit relevance.
- Purpose is Crucial for Implicit Reasoning: For tasks requiring deep understanding and implicit reasoning (like the Bright dataset), the "purpose" enrichment proved most beneficial, highlighting its ability to bridge semantic gaps.
- Summary Excels for Modality Translation: For table retrieval, the "summary" enrichment was most effective, likely because it translates structured data into a format more amenable to standard text-based retrieval methods.
- EnrichIndex Enhances Existing Systems: EnrichIndex doesn't replace existing retrievers but augments them, making them more powerful and efficient. It can also boost the performance of downstream LLM re-rankers.
Key Results
- Performance Boost: EnrichIndex achieved an average improvement of 11.7 points in recall @10 and 10.6 points in NDCG @10 compared to strong baselines on challenging retrieval tasks.
- Massive Cost and Latency Reduction: EnrichIndex processed 293.3 times fewer tokens online compared to state-of-the-art online re-ranking methods, leading to significant reductions in latency and computational cost.
- Improved Stage-One Retrieval: EnrichIndex significantly boosted the performance of various stage-one retrievers (BM25, dense, hybrid) by an average of 4.75 points in recall @10 and 4.5 points in NDCG @10.
- Effective Across Domains: The method showed consistent improvements across document and table retrieval tasks, demonstrating its generalizability.
- Enrichment Types Contribute: Each enrichment type (purpose, summary, QA pairs) individually contributed to performance gains, with combinations yielding even better results.
Limitations and Future Work
- LLM Choice: While the paper uses GPT-40-mini for offline enrichment, the choice of LLM could impact performance and cost.
- Hyperparameter Tuning: The weighted sum of similarities requires tuning coefficients, which were optimized per dataset. Future work could explore more generalized tuning strategies.
- Future Directions: The authors suggest exploring more sophisticated ways to combine enriched indices, investigating new enrichment types, and applying EnrichIndex to other retrieval-related tasks. They also highlight the flexibility of their approach, allowing for the addition of new enrichment types or embeddings without disrupting the existing setup.
Summary updated