Topic-DPR: Topic-based Prompts for Dense Passage Retrieval

Qingfa Xiao, Shuangyin Li, Lei Chen
10/10/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Prompt-based learning's efficacy across numerous natural language processing tasks has led to its integration into dense passage retrieval. Prior research has mainly focused on enhancing the semantic understanding of pre-trained language models by optimizing a single vector as a continuous prompt. This approach, however, leads to a semantic space collapse; identical semantic information seeps into all representations, causing their distributions to converge in a restricted region. This hinders differentiation between relevant and irrelevant passages during dense retrieval. To tackle this issue, we present Topic-DPR, a dense passage retrieval model that uses topic-based prompts. Unlike the single prompt method, multiple topic-based prompts are established over a probabilistic simplex and optimized simultaneously through contrastive learning. This encourages representations to align with their topic distributions, improving space uniformity. Furthermore, we introduce a novel positive and negative sampling strategy, leveraging semi-structured data to boost dense retrieval efficiency. Experimental results from two datasets affirm that our method surpasses previous state-of-the-art retrieval techniques.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xiao2023topicdpr,
  title  = {Topic-DPR: Topic-based Prompts for Dense Passage Retrieval},
  author = {Qingfa Xiao and Shuangyin Li and Lei Chen},
  year   = {2023},
  eprint = {2310.06626},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.06626v1}
}

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

Discussion