Introduction
Open-Domain Question Answering (OpenQA) is a complex task requiring a system to find answers within massive corpora, such as Wikipedia. This is typically achieved through a two-stage pipeline: a Retriever to identify relevant passages and a Reader to extract the final answer. While neural retrievers have become popular, training them effectively—especially in an end-to-end fashion with the reader—remains a significant challenge due to the difficulty of optimizing over millions of documents.
Methodology and Architecture
Researchers from NVIDIA and Mila introduced a new training recipe that combines unsupervised pre-training with supervised end-to-end training. The core architecture, illustrated below, uses a dual-encoder retriever and a T5-based reader.
The proposed pipeline includes:
- Unsupervised Pre-training: Using the Inverse Cloze Task (ICT) and Masked Salient Spans to initialize the retriever.
- Relevance Score Scaling: Similarity scores are scaled by $1/\sqrt{d}$ to prevent optimization stalls caused by "peaky" probability distributions.
- End-to-End Training: The model can process documents individually or jointly (Fusion-in-Decoder), allowing the reader to aggregate information across multiple sources.
The Importance of Pre-training
A key insight of this research is the necessity of unsupervised "warm-up" phases. Without pre-training, the retriever lacks the initial accuracy needed to provide the reader with relevant documents, causing the end-to-end training process to fail.
As shown in the figure above, models initialized with ICT or Masked Salient Spans achieve much higher retrieval accuracy than those starting from standard BERT, especially when training data is limited. This zero-shot capability is essential for the retriever to provide useful gradients during the early stages of supervised training.
Key Results
The systematic approach led to several breakthroughs:
- Retrieval Gains: The model achieved a top-20 retrieval accuracy of 84% on the Natural Questions dataset, a 5-point improvement over the previous state-of-the-art (DPR).
- Answer Extraction: The system outperformed models like REALM and RAG by over 3 points in Exact Match (EM) scores.
- Encoder Updates: Updating the context encoder during training proved vital, as it allows the document embeddings to adapt to the query distribution.
Conclusion and Future Work
This work demonstrates that with the right pre-training and scaling techniques, end-to-end training of neural retrievers is not only feasible but highly effective. Future research will likely focus on reducing the computational overhead of joint document processing while maintaining the high accuracy achieved by this multi-stage approach.
Summary updated