Optimizing Test-Time Query Representations for Dense Retrieval

Mujeen Sung, Jungsoo Park, Jaewoo Kang, Danqi Chen, Jinhyuk Lee
5/25/2022
cs.CLcs.IR

Official code: dmis-lab/TouR (30 stars, Python, Apache-2.0, last commit 2023-10-24).

Abstract

Recent developments of dense retrieval rely on quality representations of queries and contexts from pre-trained query and context encoders. In this paper, we introduce TOUR (Test-Time Optimization of Query Representations), which further optimizes instance-level query representations guided by signals from test-time retrieval results.

Show full abstract

We leverage a cross-encoder re-ranker to provide fine-grained pseudo labels over retrieval results and iteratively optimize query representations with gradient descent. Our theoretical analysis reveals that TOUR can be viewed as a generalization of the classical Rocchio algorithm for pseudo relevance feedback, and we present two variants that leverage pseudo-labels as hard binary or soft continuous labels. We first apply TOUR on phrase retrieval with our proposed phrase re-ranker, and also evaluate its effectiveness on passage retrieval with an off-the-shelf re-ranker. TOUR greatly improves end-to-end open-domain question answering accuracy, as well as passage retrieval performance. TOUR also consistently improves direct re-ranking by up to 2.0% while running 1.3-2.4x faster with an efficient implementation.

View on arXivView PDF

Code Implementations(1)

dmis-lab/TouROfficial100%
Apache-2.0

Findings of ACL'2023: Optimizing Test-Time Query Representations for Dense Retrieval

302PythonDec 20, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{sung2022optimizing,
  title  = {Optimizing Test-Time Query Representations for Dense Retrieval},
  author = {Mujeen Sung and Jungsoo Park and Jaewoo Kang and Danqi Chen and Jinhyuk Lee},
  year   = {2022},
  eprint = {2205.12680},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.12680}
}

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

Discussion