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

预训练的语言模型如何获取事实知识?一个由Caesar启发的分析

How Pre-trained Language Models Capture Factual Knowledge? A Causal-Inspired Analysis

Harbin Institute of Technology(哈尔滨工业大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Shaobo Li, Xiaoguang Li, Lifeng Shang, Zhenhua Dong, Chengjie Sun, Bingquan Liu, Zhenzhou Ji, Xin Jiang, Qun Liu

摘要:

最近,有一个趋势,调查的事实知识捕获的预训练语言模型(PLM)。许多作品都显示出PLM能够在完形填空式的提示中填补缺失的事实词,比如“但丁出生于[面具]。“然而,PLM如何正确地生成结果仍然是一个谜:依靠有效的线索还是捷径模式?我们试图回答这个问题,通过定量测量和评估PLM依赖于生成缺失的单词的单词级模式的分析。我们检查的话,有三个典型的协会与失踪的话:知识依赖,位置接近,高度共现。我们的分析表明:(1)位置相近、共现度高的词比知识依赖词更能产生缺失事实词;(2)知识依赖词比位置相近、共现度高的词更能产生缺失事实词。因此,我们的结论是,PLM捕获事实知识无效,因为依赖于不充分的关联。

英文摘要:

Recently, there has been a trend to investigate the factual knowledge captured by Pre-trained Language Models (PLMs). Many works show the PLMs' ability to fill in the missing factual words in cloze-style prompts such as "Dante was born in [MASK]." However, it is still a mystery how PLMs generate the results correctly: relying on effective clues or shortcut patterns? We try to answer this question by a causal-inspired analysis that quantitatively measures and evaluates the word-level patterns that PLMs depend on to generate the missing words. We check the words that have three typical associations with the missing words: knowledge-dependent, positionally close, and highly co-occurred. Our analysis shows: (1) PLMs generate the missing factual words more by the positionally close and highly co-occurred words than the knowledge-dependent words; (2) the dependence on the knowledge-dependent words is more effective than the positionally close and highly co-occurred words. Accordingly, we conclude that the PLMs capture the factual knowledge ineffectively because of depending on the inadequate associations.

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

↑