Abstract
Researchers from Tel Aviv University have introduced Spider, a dense passage retriever that achieves state-of-the-art performance without requiring a single labeled question-answer pair. By leveraging "recurring spans" within documents to create synthetic training data, Spider outperforms previous unsupervised methods and, when combined with traditional search techniques, even rivals models trained on tens of thousands of examples.
Introduction
Open-Domain Question Answering (ODQA) systems typically rely on a two-step process: a retriever that finds relevant documents and a reader that extracts the answer. Modern retrievers have shifted from simple keyword matching (sparse retrieval) to "dense" retrieval, which uses neural networks to understand the semantic meaning behind a query.
However, these dense models (such as DPR) are notoriously data-hungry, typically requiring massive datasets of manually labeled question-passage pairs. This dependency makes it difficult and expensive to build high-quality search tools for new languages, specialized technical domains, or private datasets. While unsupervised methods exist, they have historically struggled to outperform the classic keyword-matching algorithm, BM25.
Methodology: Recurring Span Retrieval
The authors propose a novel self-supervised pretraining scheme called Recurring Span Retrieval (RSR). The core idea is that if a specific phrase (a "span") appears in two different parts of the same document, those two passages are likely related.
The training process follows four key steps:
- Identify Recurring Spans: Find an n-gram $S$ that appears in passage A and passage B of the same document.
- Create a Pseudo-Query: A small window of text around $S$ in passage A is used to act as a "question."
- Lexical-Semantic Transformation: To make the model robust, the span $S$ is either kept or removed from the pseudo-query. Keeping it teaches lexical matching, while removing it forces the model to learn semantic matching based on surrounding context.
- Contrastive Learning: The model is trained to represent the pseudo-query and passage B similarly in a high-dimensional space, while distancing them from "negative" passages.
Finally, a Hybrid Retriever approach is used, summing the scores of Spider and BM25 to benefit from both neural intuition and exact keyword precision.
Experimental Setup
Spider was evaluated across six diverse ODQA benchmarks based on Wikipedia:
- Natural Questions (NQ) and TriviaQA: Large-scale standard benchmarks.
- WebQuestions (WQ) and CuratedTREC: Smaller datasets for testing generalization.
- SQuAD: A reading comprehension dataset adapted for retrieval.
- EntityQuestions: A dataset testing performance on rare entities.
Results and Discussion
Spider demonstrates that the internal structure of a document contains sufficient signal to train a high-performing retriever without human intervention. By toggling the presence of recurring spans, Spider masters both lexical and semantic retrieval.
Key Performance Metrics
- Dominating Unsupervised Retrieval: Spider significantly outperformed previous unsupervised leaders like ICT and Contriever. On the Natural Questions (NQ) dataset, Spider achieved a Top-20 retrieval accuracy of 68.3%, compared to ICT's 50.6%.
- Competitive with Supervised Models: When combined with BM25 (Spider + BM25), the system reached 72.1% Top-20 accuracy on NQ. This outperformed standard supervised DPR models in several zero-shot scenarios.
- Few-Shot Efficiency: In "cold start" scenarios with only 128 labeled examples, Spider provided a massive head start, outperforming other models by 3-11% absolute accuracy.
Conclusion
Spider represents a significant step forward in unsupervised retrieval, proving that self-supervision can rival human-labeled data in many contexts. While a gap remains compared to models trained on tens of thousands of high-quality labels, Spider's ability to generalize makes it an ideal candidate for domains where labeled data is unavailable. Future work will focus on reducing computational pretraining costs and testing performance on non-Wikipedia domains such as legal or medical literature.
Summary updated