通过大规模物化实现大语言模型知识分析
Enabling LLM Knowledge Analysis via Extensive Materialization
AI总结:
本文提出通过递归查询与结果整合全面物化大语言模型事实知识的方法,并构建包含1.01亿条三元组、覆盖290万实体的GPTKB知识库,首次系统分析GPT-4o-mini知识的规模、准确性、偏差、截止点与一致性。
摘要:
大语言模型(LLMs)极大地推动了自然语言处理(NLP)和人工智能(AI)的发展,除了执行广泛程序性任务的能力外,其成功的一个主要因素在于内化的 factual knowledge(事实性知识)。自 Petroni et al. (2019) 以来,分析这类知识日益受到关注。然而,大多数方法通过规模适中的预定义样本一次只研究一个问题,由此引入了“availability bias(可得性偏差)”(Tversky & Kahnemann, 1973),使得对 LLM 知识(或信念)的分析无法超越实验者预设倾向的限制。为应对这一挑战,我们提出一种新颖的方法论,通过递归查询与结果整合来全面物化 LLM 的 factual knowledge。我们的方法是 LLM 研究的一个里程碑,首次为建设性地洞察 LLM 知识(或信念)的范围与结构提供了可能。作为原型,我们构建了 GPTKB,这是一个知识库(KB),包含来自 GPT-4o-mini 的 1.01 亿条关系三元组,覆盖超过 290 万个实体。我们利用 GPTKB 示例性地同时分析了 GPT-4o-mini 的 factual knowledge 在规模、准确性、偏差、cutoff(知识截止点)和一致性方面的表现。GPTKB 可通过 https://gptkb.org 访问。
英文摘要:
Large language models (LLMs) have majorly advanced NLP and AI, and next to their ability to perform a wide range of procedural tasks, a major success factor is their internalized factual knowledge. Since Petroni et al. (2019), analyzing this knowledge has gained attention. However, most approaches investigate one question at a time via modest-sized pre-defined samples, introducing an ``availability bias'' (Tversky&Kahnemann, 1973) that prevents the analysis of knowledge (or beliefs) of LLMs beyond the experimenter's predisposition. To address this challenge, we propose a novel methodology to comprehensively materialize an LLM's factual knowledge through recursive querying and result consolidation. Our approach is a milestone for LLM research, for the first time providing constructive insights into the scope and structure of LLM knowledge (or beliefs). As a prototype, we build GPTKB, a knowledge base (KB) comprising 101 million relational triples for over 2.9 million entities from GPT-4o-mini. We use GPTKB to exemplarily analyze GPT-4o-mini's factual knowledge in terms of scale, accuracy, bias, cutoff and consistency, at the same time. GPTKB is accessible at https://gptkb.org
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。