NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-Task Retrieval for Knowledge-Intensive Tasks

Jean Maillard, Vladimir Karpukhin, Fabio Petroni, Wen-tau Yih, Barlas Oguz, Veselin Stoyanov, Gargi Ghosh

TL;DR

This paper introduces a "universal" neural retriever trained on multiple knowledge-intensive tasks simultaneously. This multi-task approach significantly improves retrieval performance, especially in low-data scenarios, and leads to better downstream task performance compared to specialized models.

What Problem Does This Paper Address?

Knowledge-intensive tasks, like question answering and fact-checking, rely heavily on retrieving relevant information from vast knowledge sources. While neural retrieval methods have surpassed traditional ones, they often suffer from poor performance when applied to data outside their training domain. This specialization makes them unsuitable for low-data scenarios (few-shot/zero-shot) and impractical for applications requiring a single retriever for multiple diverse tasks. The paper addresses this by asking: can we build a single, universal neural retriever that performs well across a wide range of tasks, even without domain-specific training, and can be further fine-tuned for even better performance?

Methods

The core of the paper is a multi-task trained neural retriever. They build upon the Dense Passage Retriever (DPR) architecture, which uses a bi-encoder model to embed queries and passages into dense vectors. The key innovation is training a single DPR model jointly on multiple retrieval datasets. This shared architecture, with a single query encoder and a single passage encoder, allows the model to learn generalized representations. They also explore model variants like task-specific query encoders and task markers but find the unified multi-task approach to be the most effective. For training, they use a contrastive loss and incorporate "hard" confounders (passages that are lexically similar but not relevant) to improve robustness.

Datasets

The paper uses the KILT (Knowledge Intensive Language Tasks) benchmark, which comprises datasets spanning five varied classes of knowledge-intensive tasks: question answering, slot filling, fact checking, dialogue, and entity linking. Specifically, they evaluate on eight KILT datasets: FEVER, AIDA-YAGO2, T-REX, Zero Shot RE, Natural Questions, HotpotQA, TriviaQA, and Wizard of Wikipedia. These datasets are all grounded in a shared snapshot of Wikipedia.

Key Insights and Ideas

  • Universality in Retrieval: The paper demonstrates that neural retrieval models can indeed be "universal," performing comparably or even better than specialized models across diverse tasks, especially when trained in a multi-task setting.
  • Robustness in Low-Data Regimes: The multi-task retriever significantly outperforms traditional methods like BM25 and vanilla DPR in zero-shot and few-shot scenarios, making it a viable replacement for IR-based methods when training data is scarce.
  • Cross-Task Learning Benefits: Jointly training on multiple tasks acts as a form of regularization, leading to better generalization and preventing the catastrophic forgetting often seen in specialized models.
  • Downstream Task Improvement: Plugging the multi-task retriever into downstream pipelines (e.g., with BART for generation) leads to improved performance on the end tasks, highlighting the practical utility of a generalized retriever.

Key Results

  • The multi-task retriever achieved state-of-the-art or near state-of-the-art performance on multiple KILT benchmarks, often surpassing specialized models.
  • In the zero-shot setting, the multi-task retriever performed competitively with BM25, showing a significant improvement over vanilla DPR.
  • In the few-shot setting, the multi-task retriever showed markedly better performance than vanilla DPR, especially with smaller fine-tuning datasets, being more than double the performance in some cases.
  • When integrated into downstream tasks (e.g., question answering), the multi-task retriever led to significant performance improvements compared to a baseline using a specialized retriever.

Limitations and Future Work

  • Computational Cost: Embedding the entire Wikipedia for each evaluation and indexing it is computationally expensive, limiting the scope of some experiments (e.g., learning curves).
  • Task-Specific Nuances: While the universal model performs well, some tasks (like entity linking, AIDA-YAGO2) are inherently specialized and might still benefit from dedicated models, though the multi-task model still performs admirably.
  • Future Work: The authors suggest combining their multi-task approach with Retrieval-Augmented Generation (RAG) models to explore further performance gains. They also mention that their approach could be combined with other orthogonal techniques like adversarial confounder selection for further improvements. They also provide their best-performing model as a publicly available BERT checkpoint for practitioners.

Summary updated

BibTeX
@inproceedings{maillard2021multi,
  author = {Jean Maillard and Vladimir Karpukhin and Fabio Petroni and Wen-tau Yih and Barlas Oguz and Veselin Stoyanov and Gargi Ghosh},
  title = {{Multi-Task Retrieval for Knowledge-Intensive Tasks}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  url = {https://openreview.net/forum?id=nRiKy4fN3c},
}
Figure