arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2110.06393cs.CLcs.IR
收藏

基于注意引导的抽取式问答生成模型

Attention-guided Generative Models for Extractive Question Answering

AWS AI Labs(亚马逊云科技人工智能实验室)

Peng Xu, Davis Liang, Zhiheng Huang, Bing Xiang

摘要:

我们提出了一种新的方法应用Transformer模型提取问答(QA)任务。近年来,预训练的生成序列到序列(seq2seq)模型在问答中取得了巨大的成功。这些模型的成功得益于内部注意力机制,例如交叉注意力。我们提出了一个简单的策略,通过利用解码器的交叉注意模式,从生成模型中获得一个提取的答案跨度。将交叉注意力视为架构优先级,我们应用联合训练来进一步提高QA性能。实证结果表明,在NaturalQuestions和TriviaQA等开放域问答数据集上,我们的方法在生成和提取推理方面都接近最先进的性能,同时使用更少的参数。此外,这种策略允许我们执行无幻觉的推理,同时显著提高模型对相关段落进行重新排序的能力。

英文摘要:

We propose a novel method for applying Transformer models to extractive question answering (QA) tasks. Recently, pretrained generative sequence-to-sequence (seq2seq) models have achieved great success in question answering. Contributing to the success of these models are internal attention mechanisms such as cross-attention. We propose a simple strategy to obtain an extractive answer span from the generative model by leveraging the decoder cross-attention patterns. Viewing cross-attention as an architectural prior, we apply joint training to further improve QA performance. Empirical results show that on open-domain question answering datasets like NaturalQuestions and TriviaQA, our method approaches state-of-the-art performance on both generative and extractive inference, all while using much fewer parameters. Furthermore, this strategy allows us to perform hallucination-free inference while conferring significant improvements to the model's ability to rerank relevant passages.

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

↑