English

Augmentation-Adapted Retriever Improves Generalization of Language Models as Generic Plug-In

Computation and Language 2023-05-30 v1 Machine Learning

Abstract

Retrieval augmentation can aid language models (LMs) in knowledge-intensive tasks by supplying them with external information. Prior works on retrieval augmentation usually jointly fine-tune the retriever and the LM, making them closely coupled. In this paper, we explore the scheme of generic retrieval plug-in: the retriever is to assist target LMs that may not be known beforehand or are unable to be fine-tuned together. To retrieve useful documents for unseen target LMs, we propose augmentation-adapted retriever (AAR), which learns LM's preferences obtained from a known source LM. Experiments on the MMLU and PopQA datasets demonstrate that our AAR trained with a small source LM is able to significantly improve the zero-shot generalization of larger target LMs ranging from 250M Flan-T5 to 175B InstructGPT. Further analysis indicates that the preferences of different LMs overlap, enabling AAR trained with a single source LM to serve as a generic plug-in for various target LMs. Our code is open-sourced at https://github.com/OpenMatch/Augmentation-Adapted-Retriever.

Keywords

Cite

@article{arxiv.2305.17331,
  title  = {Augmentation-Adapted Retriever Improves Generalization of Language Models as Generic Plug-In},
  author = {Zichun Yu and Chenyan Xiong and Shi Yu and Zhiyuan Liu},
  journal= {arXiv preprint arXiv:2305.17331},
  year   = {2023}
}

Comments

Accepted to ACL 2023

R2 v1 2026-06-28T10:48:08.328Z