Context-Aware Sentence/Passage Term Importance Estimation For First Stage Retrieval

Zhuyun Dai, Jamie Callan
10/23/2019
cs.IR

Official code: AdeDZY/DeepCT (326 stars, BSD-3-Clause, last commit 2021-05-09).

Abstract

Term frequency is a common method for identifying the importance of a term in a query or document. But it is a weak signal, especially when the frequency distribution is flat, such as in long queries or short documents where the text is of sentence/passage-length. This paper proposes a Deep Contextualized Term Weighting framework that learns to map BERT's contextualized text representations to context-aware term weights for sentences and passages. When applied to passages, DeepCT-Index produces term weights that can be stored in an ordinary inverted index for passage retrieval. When applied to query text, DeepCT-Query generates a weighted bag-of-words query. Both types of term weight can be used directly by typical first-stage retrieval algorithms. This is novel because most deep neural network based ranking models have higher computational costs, and thus are restricted to later-stage rankers. Experiments on four datasets demonstrate that DeepCT's deep contextualized text understanding greatly improves the accuracy of first-stage retrieval algorithms.

View on arXivView PDF

Code Implementations(1)

AdeDZY/DeepCTOfficial100%
BSD-3-Clause

DeepCT and HDCT uses BERT to generate novel, context-aware bag-of-words term weights for documents and queries.

32647Shell, PythonNov 26, 20195 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{dai2019contextaware,
  title  = {Context-Aware Sentence/Passage Term Importance Estimation For First Stage Retrieval},
  author = {Zhuyun Dai and Jamie Callan},
  year   = {2019},
  eprint = {1910.10687},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.10687}
}

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

Discussion