Parameter-Efficient Prompt Tuning Makes Generalized and Calibrated Neural Text Retrievers

Weng Lam Tam, Xiao Liu, Kaixuan Ji, Lilong Xue, Xingjian Zhang +4 more
7/14/2022
cs.CLcs.IRcs.LG

No official code found. Best implementation: THUDM/P-tuning-v2 (2,077 stars, Apache-2.0, last commit 2023-11-16).

Abstract

Prompt tuning attempts to update few task-specific parameters in pre-trained models. It has achieved comparable performance to fine-tuning of the full parameter set on both language understanding and generation tasks. In this work, we study the problem of prompt tuning for neural text retrievers. We introduce parameter-efficient prompt tuning for text retrieval across in-domain, cross-domain, and cross-topic settings. Through an extensive analysis, we show that the strategy can mitigate the two issues -- parameter-inefficiency and weak generalizability -- faced by fine-tuning based retrieval methods. Notably, it can significantly improve the out-of-domain zero-shot generalization of the retrieval models. By updating only 0.1% of the model parameters, the prompt tuning strategy can help retrieval models achieve better generalization performance than traditional methods in which all parameters are updated. Finally, to facilitate research on retrievers' cross-topic generalizability, we curate and release an academic retrieval dataset with 18K query-results pairs in 87 topics, making it the largest topic-specific one to date.

View on arXivView PDF

Code Implementations(1)

THUDM/P-tuning-v2Community100%
Apache-2.0

An optimized deep prompt tuning strategy comparable to fine-tuning across scales and tasks

2,077212Shell, PythonOct 14, 20212 years agoApache-2.0
natural-language-processingp-tuningparameter-efficient-learningpretrained-language-modelprompt-tuning

Similar Papers

Cite this paper

@article{tam2022parameterefficient,
  title  = {Parameter-Efficient Prompt Tuning Makes Generalized and Calibrated Neural Text Retrievers},
  author = {Weng Lam Tam and Xiao Liu and Kaixuan Ji and Lilong Xue and Xingjian Zhang and Yuxiao Dong and Jiahua Liu and Maodi Hu and Jie Tang},
  year   = {2022},
  eprint = {2207.07087},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.07087v1}
}

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

Discussion