UDAPDR: Unsupervised Domain Adaptation via LLM Prompting and Distillation of Rerankers

Jon Saad-Falcon, Omar Khattab, Keshav Santhanam, Radu Florian, Martin Franz +4 more
3/1/2023
cs.IRcs.CL

No official code found. Best implementation: primeqa/primeqa (739 stars, Apache-2.0, PyTorch, last commit 2025-09-18).

Abstract

Many information retrieval tasks require large labeled datasets for fine-tuning. However, such datasets are often unavailable, and their utility for real-world applications can diminish quickly due to domain shifts. To address this challenge, we develop and motivate a method for using large language models (LLMs) to generate large numbers of synthetic queries cheaply. The method begins by generating a small number of synthetic queries using an expensive LLM. After that, a much less expensive one is used to create large numbers of synthetic queries, which are used to fine-tune a family of reranker models. These rerankers are then distilled into a single efficient retriever for use in the target domain. We show that this technique boosts zero-shot accuracy in long-tail domains and achieves substantially lower latency than standard reranking methods.

View on arXivView PDF

Code Implementations(1)

primeqa/primeqaCommunity100%
PyTorchApache-2.0

The prime repository for state-of-the-art Multilingual Question Answering research and development.

73957C++, CudaJun 15, 20221 years agoApache-2.0
aibertdpribmibm-research-ai+12 more

Similar Papers

Cite this paper

@article{saadfalcon2023udapdr,
  title  = {UDAPDR: Unsupervised Domain Adaptation via LLM Prompting and Distillation of Rerankers},
  author = {Jon Saad-Falcon and Omar Khattab and Keshav Santhanam and Radu Florian and Martin Franz and Salim Roukos and Avirup Sil and Md Arafat Sultan and Christopher Potts},
  year   = {2023},
  eprint = {2303.00807},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.00807v3}
}

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/2303.00807.svg)](https://codeofpaper.com/paper/2303.00807)

Discussion