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

作为知识基础的语言模型?

Language Models as Knowledge Bases?

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

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

摘要:

最近在大型文本语料库上预训练语言模型的进展导致了下游NLP任务的改进。在学习语言知识的同时,这些模型还可以存储存在于训练数据中的关系知识,并且可以能够回答被构造为“填空”完形填空语句的查询。语言模型比结构化知识库有许多优点:它们不需要模式工程,允许从业者查询开放类的关系,易于扩展到更多的数据,并且不需要人工监督训练。我们提出了一个深入分析的关系知识已经存在(没有微调)在广泛的国家的最先进的预训练语言模型。我们发现,(i)没有微调,BERT包含的关系知识与传统的NLP方法有一定的竞争力,这些方法可以访问Oracle知识,(ii)BERT在开放领域的问答中也表现得非常好,(iii)某些类型的事实知识比标准的语言模型预训练方法更容易学习。这些模型在没有任何微调的情况下召回事实知识的能力令人惊讶地强大,这表明它们作为无监督开放域QA系统的潜力。复制我们分析的代码可在https://github.com/facebookresearch/LAMA上获得。

英文摘要:

Recent progress in pretraining language models on large textual corpora led to a surge of improvements for downstream NLP tasks. Whilst learning linguistic knowledge, these models may also be storing relational knowledge present in the training data, and may be able to answer queries structured as "fill-in-the-blank" cloze statements. Language models have many advantages over structured knowledge bases: they require no schema engineering, allow practitioners to query about an open class of relations, are easy to extend to more data, and require no human supervision to train. We present an in-depth analysis of the relational knowledge already present (without fine-tuning) in a wide range of state-of-the-art pretrained language models. We find that (i) without fine-tuning, BERT contains relational knowledge competitive with traditional NLP methods that have some access to oracle knowledge, (ii) BERT also does remarkably well on open-domain question answering against a supervised baseline, and (iii) certain types of factual knowledge are learned much more readily than others by standard language model pretraining approaches. The surprisingly strong ability of these models to recall factual knowledge without any fine-tuning demonstrates their potential as unsupervised open-domain QA systems. The code to reproduce our analysis is available at https://github.com/facebookresearch/LAMA.

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

↑