Exploiting Sentence-Level Representations for Passage Ranking

Jurek Leonhardt, Fabian Beringer, Avishek Anand
6/14/2021
cs.IR

Official code: mrjleo/ranking-models (9 stars, Python, MIT, PyTorch, last commit 2024-07-10).

Abstract

Recently, pre-trained contextual models, such as BERT, have shown to perform well in language related tasks. We revisit the design decisions that govern the applicability of these models for the passage re-ranking task in open-domain question answering.

Show full abstract

We find that common approaches in the literature rely on fine-tuning a pre-trained BERT model and using a single, global representation of the input, discarding useful fine-grained relevance signals in token- or sentence-level representations. We argue that these discarded tokens hold useful information that can be leveraged. In this paper, we explicitly model the sentence-level representations by using Dynamic Memory Networks (DMNs) and conduct empirical evaluation to show improvements in passage re-ranking over fine-tuned vanilla BERT models by memory-enhanced explicit sentence modelling on a diverse set of open-domain QA datasets. We further show that freezing the BERT model and only training the DMN layer still comes close to the original performance, while improving training efficiency drastically. This indicates that the usual fine-tuning step mostly helps to aggregate the inherent information in a single output token, as opposed to adapting the whole model to the new task, and only achieves rather small gains.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Training and inference of various ranking models in PyTorch

93PythonApr 1, 20222 years agoMIT
machine-learningpythonpytorchpytorch-lightningranking

Similar Papers

Cite this paper

@article{leonhardt2021exploiting,
  title  = {Exploiting Sentence-Level Representations for Passage Ranking},
  author = {Jurek Leonhardt and Fabian Beringer and Avishek Anand},
  year   = {2021},
  eprint = {2106.07316},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.07316}
}

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

Discussion