Abstract
Large Language Models (LLMs) often struggle with "long-tail" questions concerning rare or niche entities. While Retrieval-Augmented Generation (RAG) aims to mitigate this, dense retrievers frequently underperform compared to traditional keyword-matching methods like BM25 on infrequent terms. We present RPDR (Round-trip Prediction-Based Data Augmentation), a framework that leverages high-quality synthetic data selected via a round-trip consistency check. Our results demonstrate that dense retrievers, when properly trained, can significantly outperform BM25 on long-tail queries, achieving a 74.5% Recall@10 on the PopQA benchmark.
Introduction
Large Language Models are highly effective at answering common questions but often hallucinate or fail when queried about "long-tail" entities—rare topics such as niche historical figures or obscure locations. This performance gap creates a negative feedback loop: as systems fail on rare queries, users lose confidence and ask fewer long-tail questions, resulting in less training data for these topics.
Retrieval-Augmented Generation (RAG) is the standard solution to this problem. However, dense retrievers—neural models that represent text as vectors—traditionally struggle with the precise term matching required for rare entities, often performing worse than traditional keyword search (BM25). RPDR addresses this by improving the quality of training data available for these rare entities.
Methodology
The RPDR framework consists of three main stages designed to "teach" dense retrievers how to handle the long tail:
- Synthetic Data Generation: The system identifies rare entities in Wikipedia (based on low page-view counts) and uses templates to generate thousands of synthetic Question-Answer (QA) pairs.
- Data Selection with Round-trip Prediction: To ensure high data quality, RPDR uses an inverse model to check for "reversibility." A question is converted into a vector embedding, and the model then attempts to reconstruct the original text from that vector. If the reconstruction is successful, the data point is considered high-quality and "learnable."
- Retriever Training: A standard dense retriever (e.g., Contriever) is fine-tuned using only these validated, high-quality synthetic samples.
Key Results and Insights
RPDR demonstrates that the perceived weakness of neural models on long-tail data is primarily a training data issue rather than an architectural limitation.
- Retrieval Performance: On the PopQA "Long-tail" category, RPDR achieved a 74.5% Recall@10, significantly outperforming BM25 (62.6%) and state-of-the-art models like NV-Embed (55.0%).
- End-to-End Accuracy: Integrating RPDR into a full RAG system (using GPT-3.5) improved final answer accuracy by 11.7% compared to a standard Contriver retriever.
- Reversibility as a Proxy for Learnability: The success of the round-trip check suggests that if information can be compressed into a vector and perfectly decompressed, the retriever has effectively "captured" the entity's essence.
Conclusion
RPDR proves that dense retrievers can excel at long-tail question answering when provided with high-quality, reversible training data. While BM25 remains superior for certain syntactically complex names, RPDR provides a robust path forward for neural retrieval in niche domains. Future work will explore extending this framework to multi-hop reasoning and more complex linguistic structures.
Summary updated