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

基于语义级精确度和扩展词汇量的预训练语言模型常识知识挖掘

Probing Commonsense Knowledge in Pre-trained Language Models with Sense-level Precision and Expanded Vocabulary

INESC TEC(葡萄牙国家工程与系统创新研究所);University of Porto(波尔图大学);Cardiff University(卡迪夫大学)

Daniel Loureiro, Alípio Mário Jorge

摘要:

常识推理的进展通常是从设计要求常识知识的问答任务的性能改进来衡量的。然而,在这些特定任务上微调大语言模型(LM)并不直接评估在预训练期间学习的常识。在预先训练的LM中,对常识知识的最直接评估可以说是针对常识断言的完形填空式任务(例如,一笔用于[面具]。)然而,这种方法受到LM可用于屏蔽预测的词汇表的限制,并且其精度取决于断言提供的上下文。在这项工作中,我们提出了一种方法,用于丰富LM与接地的感觉库存(即,WordNet)在词汇水平上可用,无需进一步培训。这种修改将完形填空式提示的预测空间增大到大型本体的大小,同时实现更细粒度(感测级)的查询和预测。为了评估LM具有更高的精度,我们提出了SenseLAMA,一个完形填空风格的任务,具有来自WordNet,WikiData和ConceptNet的消歧三元组的动词化关系。将我们的方法应用于BERT,产生一个名为SynBERT的WordNet丰富版本,我们发现LM可以从自我监督中学习非平凡的常识知识,覆盖众多的关系,并且比基于相似性的方法更有效。

英文摘要:

Progress on commonsense reasoning is usually measured from performance improvements on Question Answering tasks designed to require commonsense knowledge. However, fine-tuning large Language Models (LMs) on these specific tasks does not directly evaluate commonsense learned during pre-training. The most direct assessments of commonsense knowledge in pre-trained LMs are arguably cloze-style tasks targeting commonsense assertions (e.g., A pen is used for [MASK].). However, this approach is restricted by the LM's vocabulary available for masked predictions, and its precision is subject to the context provided by the assertion. In this work, we present a method for enriching LMs with a grounded sense inventory (i.e., WordNet) available at the vocabulary level, without further training. This modification augments the prediction space of cloze-style prompts to the size of a large ontology while enabling finer-grained (sense-level) queries and predictions. In order to evaluate LMs with higher precision, we propose SenseLAMA, a cloze-style task featuring verbalized relations from disambiguated triples sourced from WordNet, WikiData, and ConceptNet. Applying our method to BERT, producing a WordNet-enriched version named SynBERT, we find that LMs can learn non-trivial commonsense knowledge from self-supervision, covering numerous relations, and more effectively than comparable similarity-based approaches.

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

↑