Do PLMs Know and Understand Ontological Knowledge?
ShanghaiTech University(上海科技大学);Shanghai Engineering Research Center of Intelligent Vision and Imaging(上海智能视觉成像工程研究中心);DAMO Academy, Alibaba Group(阿里巴巴集团达摩院)
Weiqi Wu, Chengyue Jiang, Yong Jiang, Pengjun Xie, Kewei Tu
本体知识由类、属性及其关系组成,是世界知识的重要组成部分。探究预训练语言模型(PLM)是否知道并理解此类知识具有重要意义。然而,现有的PLM探测研究主要聚焦于事实知识,缺乏对本体知识的系统探测。本文重点探究PLM是否存储了本体知识,并具备对该知识的语义理解能力,而非仅仅死记硬背表面形式。为探测PLM是否知道本体知识,我们考察了PLM在以下方面的记忆效果:(1)实体类型;(2)类与属性间的层级关系,例如Person是Animal的子类,Member of Sports Team是Member of的子属性;(3)属性的定义域与值域约束,例如Member of Sports Team的主语应为Person,宾语应为Sports Team。为进一步探究PLM在记忆之外是否真正理解本体知识,我们全面研究了它们能否根据本体蕴含规则,可靠地利用给定知识进行逻辑推理。探测结果表明,PLM能够记忆特定的本体知识,并在推理中利用隐式知识。然而,记忆与推理表现均未达到完美水平,表明其知识与理解尚不完整。
英文摘要:
Ontological knowledge, which comprises classes and properties and their relationships, is integral to world knowledge. It is significant to explore whether Pretrained Language Models (PLMs) know and understand such knowledge. However, existing PLM-probing studies focus mainly on factual knowledge, lacking a systematic probing of ontological knowledge. In this paper, we focus on probing whether PLMs store ontological knowledge and have a semantic understanding of the knowledge rather than rote memorization of the surface form. To probe whether PLMs know ontological knowledge, we investigate how well PLMs memorize: (1) types of entities; (2) hierarchical relationships among classes and properties, e.g., Person is a subclass of Animal and Member of Sports Team is a subproperty of Member of ; (3) domain and range constraints of properties, e.g., the subject of Member of Sports Team should be a Person and the object should be a Sports Team. To further probe whether PLMs truly understand ontological knowledge beyond memorization, we comprehensively study whether they can reliably perform logical reasoning with given knowledge according to ontological entailment rules. Our probing results show that PLMs can memorize certain ontological knowledge and utilize implicit knowledge in reasoning. However, both the memorizing and reasoning performances are less than perfect, indicating incomplete knowledge and understanding.
KMIR: A Benchmark for Evaluating Knowledge Memorization, Identification and Reasoning Abilities of Language Models
Huawei Poisson Laboratory(华为泊松实验室);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Hong Kong University of Science and Technology(香港科技大学)
Give Me the Facts! A Survey on Factual Knowledge Probing in Pre-trained Language Models
University of Mannheim(曼海姆大学);University of Marburg(马尔堡大学);Institute for AI in Medicine (IKIM)(医学人工智能研究所(IKIM));University Hospital Essen(埃森大学医院);University of Duisburg-Essen(杜伊斯堡-埃森大学)
A Survey of Knowledge Enhanced Pre-trained Language Models
Beijing Institute of Technology(北京理工大学);Beijing University of Posts and Telecommunications(北京邮电大学);Tsinghua University(清华大学);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳))
Negated and Misprimed Probes for Pretrained Language Models: Birds Can Talk, But Cannot Fly
在Petroni等人(2019)的基础上,我们提出了两个新的探测任务,分析存储在预训练语言模型(PLM)中的事实知识。(1)否定。我们发现,PLM没有区分否定型(“Birds cannot [MASK]”)和非否定型(“Birds can [MASK]”)完形填空题。(2)启动错误。受人类心理学中启动方法的启发,我们在完形填空题中加入了“误启动”(“谈话?鸟类可以[面具]”)。我们发现,PLM很容易被误启动分心。这些结果表明,PLM仍然有很长的路要走,充分学习人类一样的事实知识。
Won't Get Fooled Again: Answering Questions with False Premises
Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);BUPT(北京邮电大学);Tencent(腾讯);International Innovation Center of Tsinghua University(清华大学国际创新中心)
Geographic Adaptation of Pretrained Language Models
CAIDAS, University of Würzburg(维尔茨堡大学CAIDAS);Jožef Stefan Institute(约热夫·斯特凡研究所);University of Ljubljana(卢布尔雅那大学);University of Oxford(牛津大学);LMU Munich(慕尼黑大学);Allen Institute for AI(艾伦人工智能研究所)
Knowledge Inheritance for Pre-trained Language Models
Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京国家信息科学与技术研究中心);Institute for Artificial Intelligence, Tsinghua University(清华大学人工智能研究院);Tencent Inc.(腾讯公司)
A Simple but Effective Pluggable Entity Lookup Table for Pre-trained Language Models
Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);WeChat AI(微信人工智能);Institute for AI Industry Research (AIR), Tsinghua University(清华大学智能产业研究院(AIR));International Innovation Center of Tsinghua University(清华大学国际创新中心);Jiangsu Collaborative Innovation Center for Language Ability(江苏语言能力协同创新中心);Institute Guo Qiang, Tsinghua University(清华大学国强研究院)
Empowering Language Model with Guided Knowledge Fusion for Biomedical Document Re-ranking
Lister Hill National Center for Biomedical Communications(利斯特·希尔国家生物医学交流中心);National Library of Medicine, National Institutes of Health(美国国立卫生研究院国家医学图书馆)
Embracing Ambiguity: Improving Similarity-oriented Tasks with Contextual Synonym Knowledge
Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Department of Computer Science, The University of Manchester(曼彻斯特大学计算机科学系);Platform and Content Group, Tencent(腾讯平台与内容事业群);Peng Cheng Laboratory(鹏城实验室)
Center for Information and Language Processing (CIS), LMU Munich(慕尼黑大学语言与信息处理中心(CIS))
最近的研究调查了存储在大型预训练语言模型(PLM)中的事实知识。代替结构化知识库(KB)查询,使用诸如“Paris is the capital of [MASK]”之类的掩码语句作为探测。这种分析任务的良好表现被解释为PLM成为事实知识的潜在存储库。在10种不同语言的实验中,我们研究了静态嵌入中包含的知识。我们表明,当限制输出空间的候选集,简单的最近邻匹配使用静态嵌入比PLM的表现更好。例如,在一个示例中,静态嵌入的性能比BERT高1.6%,而仅使用0.3%的能量进行训练。它们良好的比较性能的一个重要因素是,静态嵌入对于大词汇表是标准的。相比之下,BERT利用其更复杂,但昂贵的能力,从一个小得多的子词词汇组成有意义的表示。