Improving Retrieval Augmented Open-Domain Question-Answering with Vectorized Contexts

Zhuo Chen, Xinyu Wang, Yong Jiang, Pengjun Xie, Fei Huang +1 more
4/2/2024
cs.CL

No official code found. Best implementation: Alibaba-NLP/Vec-RA-ODQA (5 stars, last commit 2024-08-30).

Abstract

In the era of large language models, applying techniques such as Retrieval Augmented Generation can better address Open-Domain Question-Answering problems. Due to constraints including model sizes and computing resources, the length of context is often limited, and it becomes challenging to empower the model to cover overlong contexts while answering questions from open domains. This paper proposes a general and convenient method to covering longer contexts in Open-Domain Question-Answering tasks. It leverages a small encoder language model that effectively encodes contexts, and the encoding applies cross-attention with origin inputs. With our method, the origin language models can cover several times longer contexts while keeping the computing requirements close to the baseline. Our experiments demonstrate that after fine-tuning, there is improved performance across two held-in datasets, four held-out datasets, and also in two In Context Learning settings.

View on arXivView PDF

Code Implementations(1)

Source code of paper Improving "Retrieval Augmented Open-Domain Question-Answering with Vectorized Contexts

51Shell, PythonMay 28, 20242 years ago

Similar Papers

Cite this paper

@article{chen2024improving,
  title  = {Improving Retrieval Augmented Open-Domain Question-Answering with Vectorized Contexts},
  author = {Zhuo Chen and Xinyu Wang and Yong Jiang and Pengjun Xie and Fei Huang and Kewei Tu},
  year   = {2024},
  eprint = {2404.02022},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.02022v3}
}

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

Discussion