2025-09-04 · 专家 · 机器学习 · 自然语言处理

LMEnt: A Suite for Analyzing Knowledge in Language Models from Pretraining Data to Representations

LMEnt是一个用于分析语言模型在预训练过程中知识获取的套件,通过提供知识丰富的预训练语料库、基于实体的检索方法和预训练模型,帮助研究者理解语言模型的知识表示和训练动态。

更新于 2025-10-27。作者:Daniela Gottesman、Alon Gilae-Dotan、Ido Cohen、Yoav Gur-Arieh、Marius Mosbach、Ori Yoran、Mor Geva。

中文摘要

语言模型(LMs)越来越推动着需要世界知识的实际应用。然而,模型将数据转化为关于世界的知识表示和信念的内部过程却了解甚少。对这些过程的洞察可能为开发具有更一致、更稳健和更完整知识表示的LMs铺平道路。为了便于研究这些问题,我们推出了LMEnt,这是一套用于分析LMs在预训练期间知识获取的工具。LMEnt引入了以下内容:(1)一个基于维基百科的知识丰富预训练语料库,其中实体提及已完全标注,(2)一种基于实体的检索方法,在预训练数据上的表现优于之前的方案,最高可提升80.4%,(3)12个预训练模型,参数量高达10亿,中间检查点达到4K,在知识基准测试上的性能与流行的开源模型相当。这些资源共同提供了一个可控的环境,用于分析预训练中实体提及与下游性能之间的联系,以及预训练数据中因果干预的影响。我们通过研究检查点之间的知识获取,展示了LMEnt的实用性,发现事实频率是关键,但它并不能完全解释学习趋势。我们将LMEnt发布出来,以支持对LMs中知识的各种研究,包括知识表示、塑性、编辑、归因和学习动态。

英文摘要

Language models (LMs) increasingly drive real-world applications that require world knowledge. However, the internal processes through which models turn data into representations of knowledge and beliefs about the world, are poorly understood. Insights into these processes could pave the way for developing LMs with knowledge representations that are more consistent, robust, and complete. To facilitate studying these questions, we present LMEnt, a suite for analyzing knowledge acquisition in LMs during pretraining. LMEnt introduces: (1) a knowledge-rich pretraining corpus, fully annotated with entity mentions, based on Wikipedia, (2) an entity-based retrieval method over pretraining data that outperforms previous approaches by as much as 80.4%, and (3) 12 pretrained models with up to 1B parameters and 4K intermediate checkpoints, with comparable performance to popular open-sourced models on knowledge benchmarks. Together, these resources provide a controlled environment for analyzing connections between entity mentions in pretraining and downstream performance, and the effects of causal interventions in pretraining data. We show the utility of LMEnt by studying knowledge acquisition across checkpoints, finding that fact frequency is key, but does not fully explain learning trends. We release LMEnt to support studies of knowledge in LMs, including knowledge representations, plasticity, editing, attribution, and learning dynamics.

解读

一句话总结

LMEnt是一个用于分析语言模型在预训练过程中知识获取的套件,通过提供知识丰富的预训练语料库、基于实体的检索方法和预训练模型,帮助研究者理解语言模型的知识表示和训练动态。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt