Task-Aware Specialization for Efficient and Robust Dense Retrieval for Open-Domain Question Answering

Hao Cheng, Hao Fang, Xiaodong Liu, Jianfeng Gao
10/11/2022
cs.CL

Official code: microsoft/taser (10 stars, Python, CC-BY-4.0, last commit 2024-03-20).

Abstract

Given its effectiveness on knowledge-intensive natural language processing tasks, dense retrieval models have become increasingly popular. Specifically, the de-facto architecture for open-domain question answering uses two isomorphic encoders that are initialized from the same pretrained model but separately parameterized for questions and passages.

Show full abstract

This bi-encoder architecture is parameter-inefficient in that there is no parameter sharing between encoders. Further, recent studies show that such dense retrievers underperform BM25 in various settings. We thus propose a new architecture, Task-aware Specialization for dense Retrieval (TASER), which enables parameter sharing by interleaving shared and specialized blocks in a single encoder. Our experiments on five question answering datasets show that TASER can achieve superior accuracy, surpassing BM25, while using about 60% of the parameters as bi-encoder dense retrievers. In out-of-domain evaluations, TASER is also empirically more robust than bi-encoder dense retrievers. Our code is available at https://github.com/microsoft/taser.

View on arXivView PDF

Code Implementations(1)

microsoft/taserOfficial100%
CC-BY-4.0
100Python, ShellMay 18, 20232 years agoCC-BY-4.0

Similar Papers

Cite this paper

@article{cheng2022taskaware,
  title  = {Task-Aware Specialization for Efficient and Robust Dense Retrieval for Open-Domain Question Answering},
  author = {Hao Cheng and Hao Fang and Xiaodong Liu and Jianfeng Gao},
  year   = {2022},
  eprint = {2210.05156},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.05156}
}

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

Discussion