Abstract
Generative Multi-hop Retrieval (GMR) represents a paradigm shift in document retrieval, moving from vector-space similarity to direct text generation. By leveraging a Transformer encoder-decoder model to "write out" target documents, GMR overcomes the "embedding bottleneck" inherent in traditional bi-encoder systems. This approach proves particularly effective for complex, multi-step reasoning tasks, offering significant improvements in retrieval accuracy and storage efficiency, albeit at the cost of increased inference latency.
Introduction
The prevailing standard for information retrieval in Natural Language Processing relies on bi-encoder architectures, such as Dense Passage Retrieval (DPR). These systems map queries and documents into a shared vector space, identifying relevant content through nearest-neighbor search. While efficient for single-hop queries, this method falters in multi-hop scenarios. In such tasks, the query must incorporate information from previously retrieved documents, leading to increasingly complex inputs. Attempting to compress these multi-faceted queries into a single, fixed-size vector creates an "embedding bottleneck," resulting in information loss and catastrophic error propagation.
Methodology
To address these limitations, we introduce Generative Multi-hop Retrieval (GMR). Instead of calculating vector similarities, GMR utilizes a Transformer encoder-decoder (specifically T5) to generate the literal text of relevant documents.
Core Components
- Constrained Decoding with Prefix Trees: To ensure the model generates valid document text rather than hallucinating, GMR employs a prefix tree (trie) of the entire corpus. This restricts the model's output at each step to tokens that exist in the actual document set.
- Corpus Memorization: The model's parameters are trained to "memorize" the corpus through two pre-training tasks: standard Language Modeling (LM) and a novel Multi-hop Memorization task using generated pseudo-queries for document chains.
- Dynamic Retrieval: GMR can autonomously determine the end of a retrieval chain by generating a special
DONEtoken, allowing for a variable number of hops based on the query's complexity.
Experimental Evaluation
The performance of GMR was evaluated across five diverse benchmarks: HotpotQA (two-hop QA), Entailment TreeBank (reasoning over evidence), StrategyQA (implicit reasoning), Explagraphs-Open (commonsense reasoning), and RuleTaker-Open (deep logical reasoning).
Results and Discussion
GMR demonstrates a significant advantage in complex reasoning tasks. On the RuleTaker-Open dataset, GMR improved retrieval success rates by 300-385% over bi-encoder baselines. Furthermore, GMR exhibits superior robustness; in scenarios where the first hop is incorrect, GMR is more likely to recover and identify the correct subsequent documents compared to traditional systems.
As shown in the table above, while highly optimized bi-encoders like MDR maintain a slight edge on simpler two-hop tasks like HotpotQA, GMR remains competitive. A key advantage of GMR is its storage efficiency: for HotpotQA, GMR requires only 2.95 GB of storage, a nearly 80% reduction compared to the 15.81 GB required by MDR's dense index.
Limitations and Future Work
The primary trade-off for GMR's robustness is inference speed. Token-by-token generation is fundamentally slower than Maximum Inner Product Search (MIPS). Currently, GMR is approximately 24 times slower than standard bi-encoders. Future research will focus on optimizing decoding strategies and early stopping mechanisms to bridge this latency gap while maintaining the model's superior reasoning capabilities.
Summary updated