Task-aware Retrieval with Instructions

Akari Asai, Timo Schick, Patrick Lewis, Xilun Chen, Gautier Izacard +3 more
11/16/2022
cs.CL

Official code: facebookresearch/tart (168 stars, Python, last commit 2023-10-04).

Abstract

We study the problem of retrieval with instructions, where users of a retrieval system explicitly describe their intent along with their queries. We aim to develop a general-purpose task-aware retrieval system using multi-task instruction tuning, which can follow human-written instructions to find the best documents for a given query.

Show full abstract

We introduce the first large-scale collection of approximately 40 retrieval datasets with instructions, BERRI, and present TART, a multi-task retrieval system trained on BERRI with instructions. TART shows strong capabilities to adapt to a new retrieval task via instructions and advances the state of the art on two zero-shot retrieval benchmarks, BEIR and LOTTE, outperforming models up to three times larger. We further introduce a new evaluation setup, X^2-Retrieval to better reflect real-world scenarios, where diverse domains and tasks are pooled and a system needs to find documents aligning users' intents. In this setup, TART significantly outperforms competitive baselines, further demonstrating the effectiveness of guiding retrieval with instructions.

View on arXivView PDF

Code Implementations(1)

Code and model release for the paper "Task-aware Retrieval with Instructions" by Asai et al.

16811Python, ShellDec 1, 20223 years agoNOASSERTION

Similar Papers

Cite this paper

@article{asai2022taskaware,
  title  = {Task-aware Retrieval with Instructions},
  author = {Akari Asai and Timo Schick and Patrick Lewis and Xilun Chen and Gautier Izacard and Sebastian Riedel and Hannaneh Hajishirzi and Wen-tau Yih},
  year   = {2022},
  eprint = {2211.09260},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.09260}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.09260.svg)](https://codeofpaper.com/paper/2211.09260)

Discussion