Skip to main content
QUICK REVIEW

[Paper Review] Parameter-Efficient Prompt Tuning Makes Generalized and Calibrated Neural Text Retrievers

Weng Lam Tam, Xiao Liu|arXiv (Cornell University)|Jul 14, 2022
Topic ModelingComputer Science6 citations
TL;DR

This paper proposes parameter-efficient prompt tuning (specifically P-Tuning v2) for neural text retrievers, achieving performance comparable to full fine-tuning while using only 0.1% of the model parameters. It demonstrates significant improvements in out-of-domain and cross-topic generalization, attributed to better confidence calibration and query-length robustness, and introduces the largest topic-specific academic retrieval dataset, OAG-QA, with 18K query-paper pairs across 87 topics.

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.

Motivation & Objective

  • To address the parameter inefficiency and poor generalization of full fine-tuning in neural text retrieval.
  • To investigate whether parameter-efficient prompt tuning can improve generalization across in-domain, cross-domain, and cross-topic settings.
  • To understand the underlying mechanisms behind the improved generalization of prompt tuning, particularly confidence calibration and query-length robustness.
  • To construct and release a large-scale, fine-grained academic retrieval dataset (OAG-QA) to support future research on cross-topic generalizability.

Proposed method

  • Apply P-Tuning v2, a parameter-efficient prompt tuning method, to fine-tune only a small subset of learnable prompt embeddings while freezing all other parameters in the pre-trained retriever.
  • Use a differentiable prompt embedding layer that is inserted before the input of the pre-trained model, allowing gradient updates only on these prompt tokens.
  • Train the retriever using contrastive learning objectives (e.g., InfoNCE) on both in-domain and out-of-domain datasets, with prompt tuning replacing full fine-tuning.
  • Evaluate model performance using standard retrieval metrics (e.g., MRR, Recall@k) and assess calibration via Expected Calibration Error (ECE) on both in-domain and cross-domain benchmarks.
  • Conduct ablation studies on query length robustness by analyzing performance across different query length bins (e.g., short, medium, long).
  • Curate and release OAG-QA, a new academic retrieval dataset with 17,948 query-paper pairs across 87 topics and 22 disciplines, to enable cross-topic evaluation.

Experimental results

Research questions

  • RQ1Can parameter-efficient prompt tuning achieve comparable in-domain performance to full fine-tuning in neural text retrieval?
  • RQ2Does prompt tuning improve zero-shot generalization to out-of-domain and cross-topic retrieval benchmarks compared to full fine-tuning?
  • RQ3What are the underlying mechanisms driving the improved generalization of prompt tuning in retrieval tasks?
  • RQ4How does prompt tuning affect model calibration and robustness to varying query lengths?
  • RQ5To what extent can prompt tuning support few-shot and meta-learning scenarios in retrieval, given its extreme parameter efficiency?

Key findings

  • P-Tuning v2 achieves comparable in-domain performance to full fine-tuning while updating only 0.1% of the model parameters.
  • On the BEIR benchmark, P-Tuning v2 achieves relative MRR gains of 3.5% to 105.0% over fine-tuned models in out-of-domain settings.
  • P-Tuning v2 models show significantly better confidence calibration than fine-tuned models, as measured by Expected Calibration Error (ECE), across both in-domain and cross-domain datasets.
  • P-Tuning v2 demonstrates superior robustness to query length variations, outperforming fine-tuned models on both short (Quora) and long (ArguAna) queries.
  • The OAG-QA dataset, containing 17,948 query-paper pairs across 87 topics and 22 disciplines, is the largest fine-grained topic-specific academic retrieval dataset released to date.
  • Empirical analysis confirms that improved calibration and query-length robustness are key drivers of the generalization advantage of prompt tuning in retrieval.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.