arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.06349cs.CLcs.AI
收藏

上下文生成改进开放域问答

Context Generation Improves Open Domain Question Answering

NVIDIA(英伟达)

Dan Su, Mostofa Patwary, Shrimai Prabhumoye, Peng Xu, Ryan Prenger, Mohammad Shoeybi, Pascale Fung, Anima Anandkumar, Bryan Catanzaro

AI总结:

本文提出两阶段闭卷问答框架,通过生成并边缘化相关上下文来充分挖掘预训练语言模型的参数化知识,在三个基准上显著超越闭卷方法并媲美开卷方法。

摘要:

闭卷问答(QA)要求模型在无法访问任何外部知识的情况下,直接回答开放域问题。此前关于闭卷问答的工作要么直接微调预训练语言模型(LM),要么对其进行提示,以利用已存储的知识。然而,这些方法并未充分挖掘参数化知识。为解决这一问题,我们提出了一种两阶段闭卷问答框架,该框架采用由粗到细的方法提取相关知识并回答问题。我们的方法首先通过提示预训练 LM,为给定问题生成相关上下文。随后,我们利用生成的上下文和问题提示同一个 LM 进行答案预测。此外,为消除由上下文不确定性导致的失败,我们对生成的上下文进行边缘化处理。在三个 QA 基准上的实验结果表明,我们的方法显著优于此前的闭卷问答方法(例如精确匹配率为 68.6% 对 55.3%),并且与利用外部知识源的开卷方法性能相当(例如 68.6% 对 68.0%)。我们的方法能够在不增加额外可学习参数或无需微调的情况下,更好地利用预训练 LM 中存储的知识,并为整合预训练 LM 与外部知识的混合模型铺平道路。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑