arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.01589cs.CL
收藏

ExBERT:一种用于自然语言推理的外部知识增强的BERT

ExBERT: An External Knowledge Enhanced BERT for Natural Language Inference

University of Sheffield(谢菲尔德大学);University of Durham(杜伦大学)

Amit Gajbhiye, Noura Al Moubayed, Steven Bradley

摘要:

神经语言表示模型,如BERT,在大规模非结构化语料库上进行预训练,缺乏对现实世界常识知识的明确基础,并且通常无法记住推理和推断所需的事实。自然语言推理(NLI)是一个具有挑战性的推理任务,它依赖于人类对语言的共同理解和现实世界的常识知识。我们引入了一个新的模型NLI称为外部知识增强BERT(ExBERT),丰富的上下文表示与现实世界的常识知识,从外部知识源,并提高BERT的语言理解和推理能力。ExBERT充分利用从BERT中获得的上下文词表示,并使用它们从知识图谱中检索相关的外部知识,并对检索到的外部知识进行编码。我们的模型自适应地结合了推理输入所需的外部知识背景。在具有挑战性的SciTail和SNLI基准测试上进行的大量实验证明了ExBERT的有效性:与之前的最新技术相比,我们在SciTail上获得了95.9%的准确率,在SNLI上获得了91.5%的准确率。

英文摘要:

Neural language representation models such as BERT, pre-trained on large-scale unstructured corpora lack explicit grounding to real-world commonsense knowledge and are often unable to remember facts required for reasoning and inference. Natural Language Inference (NLI) is a challenging reasoning task that relies on common human understanding of language and real-world commonsense knowledge. We introduce a new model for NLI called External Knowledge Enhanced BERT (ExBERT), to enrich the contextual representation with real-world commonsense knowledge from external knowledge sources and enhance BERT's language understanding and reasoning capabilities. ExBERT takes full advantage of contextual word representations obtained from BERT and employs them to retrieve relevant external knowledge from knowledge graphs and to encode the retrieved external knowledge. Our model adaptively incorporates the external knowledge context required for reasoning over the inputs. Extensive experiments on the challenging SciTail and SNLI benchmarks demonstrate the effectiveness of ExBERT: in comparison to the previous state-of-the-art, we obtain an accuracy of 95.9% on SciTail and 91.5% on SNLI.

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

↑