English

Context Generation Improves Open Domain Question Answering

Computation and Language 2023-04-28 v2 Artificial Intelligence

Abstract

Closed-book question answering (QA) requires a model to directly answer an open-domain question without access to any external knowledge. Prior work on closed-book QA either directly finetunes or prompts a pretrained language model (LM) to leverage the stored knowledge. However, they do not fully exploit the parameterized knowledge. To address this issue, we propose a two-stage, closed-book QA framework which employs a coarse-to-fine approach to extract relevant knowledge and answer a question. Our approach first generates a related context for a given question by prompting a pretrained LM. We then prompt the same LM for answer prediction using the generated context and the question. Additionally, to eliminate failure caused by context uncertainty, we marginalize over generated contexts. Experimental results on three QA benchmarks show that our method significantly outperforms previous closed-book QA methods (e.g. exact matching 68.6% vs. 55.3%), and is on par with open-book methods that exploit external knowledge sources (e.g. 68.6% vs. 68.0%). Our method is able to better exploit the stored knowledge in pretrained LMs without adding extra learnable parameters or needing finetuning, and paves the way for hybrid models that integrate pretrained LMs with external knowledge.

Keywords

Cite

@article{arxiv.2210.06349,
  title  = {Context Generation Improves Open Domain Question Answering},
  author = {Dan Su and Mostofa Patwary and Shrimai Prabhumoye and Peng Xu and Ryan Prenger and Mohammad Shoeybi and Pascale Fung and Anima Anandkumar and Bryan Catanzaro},
  journal= {arXiv preprint arXiv:2210.06349},
  year   = {2023}
}

Comments

8 pages; Accepted at EACL2023

R2 v1 2026-06-28T03:27:44.142Z