Large Language Models (LLMs) might hallucinate facts, while curated Knowledge Graph (KGs) are typically factually reliable especially with domain-specific knowledge. Measuring the alignment between KGs and LLMs can effectively probe the factualness and identify the knowledge blind spots of LLMs. However, verifying the LLMs over extensive KGs can be expensive. In this paper, we present KGLens, a Thompson-sampling-inspired framework aimed at effectively and efficiently measuring the alignment between KGs and LLMs. KGLens features a graph-guided question generator for converting KGs into natural language, along with a carefully designed importance sampling strategy based on parameterized KG structure to expedite KG traversal. Our simulation experiment compares the brute force method with KGLens under six different sampling methods, demonstrating that our approach achieves superior probing efficiency. Leveraging KGLens, we conducted in-depth analyses of the factual accuracy of ten LLMs across three large domain-specific KGs from Wikidata, composing over 19K edges, 700 relations, and 21K entities. Human evaluation results indicate that KGLens can assess LLMs with a level of accuracy nearly equivalent to that of human annotators, achieving 95.7% of the accuracy rate.
Birds have four legs?! NumerSense: Probing Numerical Commonsense Knowledge of Pre-trained Language Models
University of Southern California(南加州大学)
最近的工作表明,预训练语言模型(PTLM),如BERT,拥有一定的常识和事实知识。他们认为,通过预测屏蔽词,将PTLM用作“神经知识库”是有希望的。令人惊讶的是,我们发现这可能不适用于数字常识知识(例如,鸟通常有两条腿。在本文中,我们调查是否以及在何种程度上,我们可以从PTLM以及这个过程的鲁棒性的数值常识知识。为了研究这一点,我们引入了一个新的探测任务,诊断数据集NumerSense包含13.6k个屏蔽词预测探测器(10.5k用于微调,3.1k用于测试)。我们的分析表明:(1)在任何微调之前,BERT及其更强的变体RoBERTa在诊断数据集上表现不佳;(2)远程监督的微调带来了一些改进;(3)与人类表现相比,最好的监督模型仍然表现不佳(准确率为54.06% vs 96.3%)。
Context Variance Evaluation of Pretrained Language Models for Prompt-based Biomedical Knowledge Probing
College of Information and Computer Science, University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校信息与计算机科学学院);Department of Computer Science, University of Massachusetts Lowell(马萨诸塞大学洛厄尔分校计算机科学系);Department of Medicine, University of Massachusetts Medical School(马萨诸塞大学医学院医学系);Center for Healthcare Organization and Implementation Research, Bedford Veterans Affairs Medical Center(贝德福德退伍军人事务医疗中心医疗保健组织与实施研究中心)
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(杜伊斯堡-埃森大学)
How Large Language Models Encode Context Knowledge? A Layer-Wise Probing Study
School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University(上海交通大学电子信息与电气工程学院);Shandong University(山东大学);Southeast University(东南大学);Leiden University(莱顿大学)
本文利用ChatGPT构建探测数据集并以 $\mathcal V$-usable information 为指标,揭示LLM在不同层编码上下文知识的位置、扩散与遗忘规律。
Explaining Black-box Language Models with Knowledge Probing Systems: A Post-hoc Explanation Perspective
School of Computer and Information Technology, Shanxi University, China(山西大学计算机与信息学院);Key Laboratory of Computational Intelligence and Chinese Information Processing of Ministry of Education, Shanxi University, China(教育部计算智能与中文信息处理重点实验室);Institute for Infocomm Research, A*Star, Singapore(A*Star信息与通信研究所)
Demystifying Scientific Problem-Solving in LLMs by Probing Knowledge and Reasoning
Department of Computer Science, Yale University;Department of Molecular \& Cellular Biology, Harvard University;Allen Institute for AI;Department of Computer Science, Northwestern University
Unlearning vs. Obfuscation: Are We Truly Removing Knowledge?
Department of Engineering, University of Cambridge(剑桥大学工程系);Department of Informatics, King’s College London(伦敦大学国王学院信息学院);SCB 10X, SCBX Group(SCB 10X,SCBX集团)
Decomposed Prompting: Probing Multilingual Linguistic Structure Knowledge in Large Language Models
Center for Information and Language Processing (CIS)(信息与语言处理中心);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);ScaDS.AI and TU Dresden(ScaDS.AI 和 梅克伦堡-前波美拉尼亚技术大学);Department of Statistics, LMU Munich(统计学系,慕尼黑大学);University of Maryland, College Park(马里兰大学 College Park 分校)
Probing Emergent Semantics in Predictive Agents via Question Answering
Georgia Institute of Technology(佐治亚理工学院);DeepMind(深度思维)
最近的研究表明,预测建模可以赋予智能体丰富的环境知识,提高他们在复杂环境中的行动能力。我们提出问答作为一种通用范式来解码和理解这种代理开发的表示,将我们的方法应用于最近的两种预测建模方法-动作条件CPC(Guo et al.,2018)和SimCore(Gregor等人,2019年)。在一个视觉丰富的3D环境中训练具有这些预测目标的智能体,其中包含各种各样的对象,颜色,形状和空间配置,我们用合成(英语)问题探测它们的内部状态表示,而不需要将梯度从问答解码器反向传播到智能体中。当以这种方式探索时,不同代理的表现表明,它们学会了从物理环境中编码关于物体,属性和空间关系的事实和看似组成的信息。我们的方法是直观的,即人类可以很容易地解释模型的响应,而不是检查连续向量,并且模型不可知,即适用于任何建模方法。通过揭示主体在学习过程中获得的对象、数量、属性和关系的隐含知识,问题条件主体探测可以刺激更强预测性学习目标的设计和发展。
Do PLMs Know and Understand Ontological Knowledge?
ShanghaiTech University(上海科技大学);Shanghai Engineering Research Center of Intelligent Vision and Imaging(上海智能视觉成像工程研究中心);DAMO Academy, Alibaba Group(阿里巴巴集团达摩院)
Does Mapo Tofu Contain Coffee? Probing LLMs for Food-related Cultural Knowledge
The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shenzhen Research Institute of Big Data(深圳大数据研究院);Hebrew University of Jerusalem(耶路撒冷希伯来大学);University of Electronic Science and Technology of China(电子科技大学);University of Copenhagen(哥本哈根大学);University of Tübingen(蒂宾根大学)
Black-Box Membership Inference Attack for LVLMs via Prior Knowledge-Calibrated Memory Probing
Department of Electronic Engineering, Tsinghua University(清华大学电子工程系);School of Computer Science, Beijing University of Posts and Telecommunications(北京邮电大学计算机学院);College of Computer Science and Technology, Xinjiang University(新疆大学计算机科学与技术学院)