arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2005.04611cs.CL
收藏

语境如何影响语言模型的事实预测

How Context Affects Language Models' Factual Predictions

Facebook AI Research(脸书人工智能研究院);University College London(伦敦大学学院)

Fabio Petroni, Patrick Lewis, Aleksandra Piktus, Tim Rocktäschel, Yuxiang Wu, Alexander H. Miller, Sebastian Riedel

摘要:

当在大型无监督文本语料库上进行预训练时,语言模型能够在一定程度上存储和检索事实知识,从而可以直接将其用于zero-shot完形填空式问答。然而,将事实知识存储在语言模型的固定数量的权重中显然具有局限性。先前的方法已经使用将信息检索系统与机器读取组件相结合的监督架构成功地提供了对模型权重之外的信息的访问。在本文中,我们更进一步,以纯粹无监督的方式将来自检索系统的信息与预先训练的语言模型集成。我们报告说,以这种方式增强预训练的语言模型可以显着提高性能,并且所产生的系统尽管是无监督的,但与有监督的机器阅读基线相比具有竞争力。此外,用不同的段标记处理查询和上下文允许BERT利用其下一句预测预先训练的分类器来确定上下文是否相关,从而大大提高了BERT的zero-shot完形填空式问答性能,并使其预测对噪声上下文具有鲁棒性。

英文摘要:

When pre-trained on large unsupervised textual corpora, language models are able to store and retrieve factual knowledge to some extent, making it possible to use them directly for zero-shot cloze-style question answering. However, storing factual knowledge in a fixed number of weights of a language model clearly has limitations. Previous approaches have successfully provided access to information outside the model weights using supervised architectures that combine an information retrieval system with a machine reading component. In this paper, we go a step further and integrate information from a retrieval system with a pre-trained language model in a purely unsupervised way. We report that augmenting pre-trained language models in this way dramatically improves performance and that the resulting system, despite being unsupervised, is competitive with a supervised machine reading baseline. Furthermore, processing query and context with different segment tokens allows BERT to utilize its Next Sentence Prediction pre-trained classifier to determine whether the context is relevant or not, substantially improving BERT's zero-shot cloze-style question-answering performance and making its predictions robust to noisy contexts.

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

↑