Variational Open-Domain Question Answering

Valentin Liévin, Andreas Geert Motzfeldt, Ida Riis Jensen, Ole Winther
9/23/2022
12 citations
cs.CLcs.IRcs.LG
rag

Official code: VodLM/vod (23 stars, Python, Apache-2.0, last commit 2023-11-22). 1 more implementation below.

Abstract

Retrieval-augmented models have proven to be effective in natural language processing tasks, yet there remains a lack of research on their optimization using variational inference. We introduce the Variational Open-Domain (VOD) framework for end-to-end training and evaluation of retrieval-augmented models, focusing on open-domain question answering and language modelling.

Show full abstract

The VOD objective, a self-normalized estimate of the Rényi variational bound, approximates the task marginal likelihood and is evaluated under samples drawn from an auxiliary sampling distribution (cached retriever and/or approximate posterior). It remains tractable, even for retriever distributions defined on large corpora. We demonstrate VOD's versatility by training reader-retriever BERT-sized models on multiple-choice medical exam questions. On the MedMCQA dataset, we outperform the domain-tuned Med-PaLM by +5.3% despite using 2.500$\times$ fewer parameters. Our retrieval-augmented BioLinkBERT model scored 62.9% on the MedMCQA and 55.0% on the MedQA-USMLE. Last, we show the effectiveness of our learned retriever component in the context of medical semantic search.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
VodLM/vodOfficial23PythonApache-2.02023-11-22
FindZebra/fz-openqaOfficial0Python–2024-06-05
VodLM/vodOfficial100%
Apache-2.0

End-to-end training of Retrieval-Augmented LMs (REALM, RAG)

233Python, ShellJul 13, 20233 years agoApache-2.0
deep-learningdeepspeedfabricgenerative-ailightning+8 more

Variational Open-domain Question Answering

01Python, Jupyter NotebookJan 4, 20232 years ago

Similar Papers

Cite this paper

@article{livin2022variational,
  title  = {Variational Open-Domain Question Answering},
  author = {Valentin Liévin and Andreas Geert Motzfeldt and Ida Riis Jensen and Ole Winther},
  year   = {2022},
  eprint = {2210.06345},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.06345}
}

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

Discussion