Learning Dense Representations of Phrases at Scale

Jinhyuk Lee, Mujeen Sung, Jaewoo Kang, Danqi Chen
12/23/2020
cs.CL

Official code: princeton-nlp/DensePhrases (606 stars, Apache-2.0, last commit 2022-06-15).

Abstract

Open-domain question answering can be reformulated as a phrase retrieval problem, without the need for processing documents on-demand during inference (Seo et al., 2019). However, current phrase retrieval models heavily depend on sparse representations and still underperform retriever-reader approaches. In this work, we show for the first time that we can learn dense representations of phrases alone that achieve much stronger performance in open-domain QA. We present an effective method to learn phrase representations from the supervision of reading comprehension tasks, coupled with novel negative sampling methods. We also propose a query-side fine-tuning strategy, which can support transfer learning and reduce the discrepancy between training and inference. On five popular open-domain QA datasets, our model DensePhrases improves over previous phrase retrieval models by 15%-25% absolute accuracy and matches the performance of state-of-the-art retriever-reader models. Our model is easy to parallelize due to pure dense representations and processes more than 10 questions per second on CPUs. Finally, we directly use our pre-indexed dense phrase representations for two slot filling tasks, showing the promise of utilizing DensePhrases as a dense knowledge base for downstream tasks.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[ACL 2021] Learning Dense Representations of Phrases at Scale; EMNLP'2021: Phrase Retrieval Learns Passage Retrieval, Too https://arxiv.org/abs/2012.12624

60675CSS, HTMLJan 1, 20214 years agoApache-2.0
information-retrievalknowledge-basenlpopen-domain-qapassage-retrieval+1 more

Similar Papers

Cite this paper

@article{lee2020learning,
  title  = {Learning Dense Representations of Phrases at Scale},
  author = {Jinhyuk Lee and Mujeen Sung and Jaewoo Kang and Danqi Chen},
  year   = {2020},
  eprint = {2012.12624},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.12624}
}

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

Discussion