Skip to main content
QUICK REVIEW

[Paper Review] DPTDR: Deep Prompt Tuning for Dense Passage Retrieval

Zhengyang Tang, Benyou Wang|arXiv (Cornell University)|Aug 24, 2022
Topic ModelingComputer Science4 citations
TL;DR

This paper proposes DPTDR, a deep prompt tuning method for dense passage retrieval that achieves state-of-the-art performance on MS-MARCO and Natural Questions by introducing retrieval-oriented intermediate pretraining (RIP) and unified negative mining (UNM). These strategies enable prompt tuning to match fine-tuning performance while drastically reducing deployment costs through parameter-efficient adaptation.

ABSTRACT

Deep prompt tuning (DPT) has gained great success in most natural language processing~(NLP) tasks. However, it is not well-investigated in dense retrieval where fine-tuning~(FT) still dominates. When deploying multiple retrieval tasks using the same backbone model~(e.g., RoBERTa), FT-based methods are unfriendly in terms of deployment cost: each new retrieval model needs to repeatedly deploy the backbone model without reuse. To reduce the deployment cost in such a scenario, this work investigates applying DPT in dense retrieval. The challenge is that directly applying DPT in dense retrieval largely underperforms FT methods. To compensate for the performance drop, we propose two model-agnostic and task-agnostic strategies for DPT-based retrievers, namely retrieval-oriented intermediate pretraining and unified negative mining, as a general approach that could be compatible with any pre-trained language model and retrieval task. The experimental results show that the proposed method (called DPTDR) outperforms previous state-of-the-art models on both MS-MARCO and Natural Questions. We also conduct ablation studies to examine the effectiveness of each strategy in DPTDR. We believe this work facilitates the industry, as it saves enormous efforts and costs of deployment and increases the utility of computing resources. Our code is available at https://github.com/tangzhy/DPTDR.

Motivation & Objective

  • To address the high deployment cost of fine-tuning (FT) in multi-task dense retrieval scenarios where each task requires a separate copy of the backbone model.
  • To investigate whether deep prompt tuning (DPT) can achieve comparable performance to fine-tuning (FT) in dense passage retrieval, despite its typical performance drop in this setting.
  • To develop model-agnostic and task-agnostic strategies that enhance DPT performance in dense retrieval without modifying model architecture.
  • To enable efficient, scalable deployment of multiple retrieval models using a single frozen backbone by leveraging lightweight, trainable prompts.

Proposed method

  • Introduces retrieval-oriented intermediate pretraining (RIP), which applies contrastive learning to pre-train the backbone model using randomly sampled sentences or text spans to improve representation quality before prompt tuning.
  • Proposes unified negative mining (UNM), which combines hard negatives from diverse retrievers—including BM25 and dense retrievers—using both undenoised and denoised sampling to improve training signal diversity and difficulty.
  • Employs deep prompt tuning (DPT) by inserting trainable prompt vectors at deep layers of a pre-trained language model (e.g., RoBERTa), freezing the backbone weights, and fine-tuning only the prompt parameters.
  • Uses a contrastive learning objective to align positive passage pairs and uniform the representation space, with loss components $l_{align}$ and $l_{uniform}$ to evaluate representation quality.
  • Applies a re-ranker to denoise hard negatives from multiple retrievers, improving the quality of negative samples used in DPT training.
  • Supports any pre-trained language model (PLM) without architectural modifications, enabling plug-and-play deployment of DPT-based retrievers.

Experimental results

Research questions

  • RQ1Can deep prompt tuning (DPT) achieve performance comparable to fine-tuning (FT) in dense passage retrieval, despite its typical underperformance?
  • RQ2Does retrieval-oriented intermediate pretraining (RIP) significantly improve DPT performance in dense retrieval by enhancing text representation quality?
  • RQ3To what extent does unified negative mining (UNM) improve DPT performance by combining diverse, hard negatives from multiple retrieval systems?
  • RQ4Is the performance gain from RIP and UNM robust across different pre-trained language models and retrieval benchmarks?
  • RQ5Can DPT-based models achieve SOTA results while maintaining low deployment cost through parameter efficiency?

Key findings

  • DPTDR outperforms previous state-of-the-art models on both MS-MARCO and Natural Questions, achieving MRR@10 of 38.7 and 35.5 respectively.
  • The combination of RIP and UNM enables DPT to match the performance of full fine-tuning, with MRR@10 increasing by 3.2 points over vanilla DPT on MS-MARCO.
  • RIP pretraining using randomly sampled sentences yields better zero-shot performance (MRR@10: 15.4) than span-based sampling (MRR@10: 11.1), indicating sentence-level pretraining preserves semantic completeness.
  • RIP outperforms coCondenser, a carefully modified model with additional decoder structures, in both alignment ($l_{align}$) and uniformity ($l_{uniform}$), suggesting that architectural modifications may not be necessary.
  • UNM improves performance by 1.5 points in MRR@10 when combining undenoised hard negatives from multiple retrievers, and by an additional 0.4 points with denoised negatives.
  • DPTDR shows insensitivity to prompt length and achieves strong performance even in zero-shot settings when combined with RIP, indicating robustness and generalization.

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.