arXiv:2604.21882cs.CL2026-04ACL

研究大模型如何记忆事实,发现命名形式影响记忆准确性

Revisiting Non-Verbatim Memorization in Large Language Models: The Role of Entity Surface Forms

论文配图:Revisiting Non-Verbatim Memorization in Large Language Models: The Role of Entity Surface Forms
图 1 · 摘自论文原文
  • 构建新数据集RedirectQA,用维基百科重定向关系关联实体与多种命名形式
  • 13个大模型在不同命名形式下表现不一,拼写变体影响小,别名缩写影响大
  • 实体出现频率比命名形式频率更关键,揭示记忆机制非完全依赖名称

理解大语言模型(LLMs)记忆何种事实知识,对评估其可靠性至关重要。现有基于实体的问答框架通常仅使用单一标准命名形式提问,难以区分事实记忆与特定名称的访问依赖。本文提出RedirectQA,利用维基百科重定向信息,将维基数据事实三元组与每实体的分类命名形式(包括别名、缩写、拼写变体及常见错误形式)关联。在13个LLMs上评估表面形式条件下的事实记忆,发现仅改变实体命名形式时,预测结果常发生变化。这种不一致性具有类别依赖性:模型对微小拼写变化较鲁棒,但对别名和缩写等较大词汇变化敏感。频率分析表明,实体与命名形式的频率均与准确率相关,且实体频率的贡献常超过命名形式频率。总体而言,事实记忆既非完全依赖表面形式,也非完全不变,强调在评估非字面记忆时需考虑命名形式多样性。

原文摘要 · Abstract (English)

Understanding what kinds of factual knowledge large language models (LLMs) memorize is essential for evaluating their reliability and limitations. Entity-based QA is a common framework for analyzing non-verbatim memorization, but typical evaluations query each entity using a single canonical surface form, making it difficult to disentangle fact memorization from access through a particular name. We introduce RedirectQA, an entity-based QA dataset that uses Wikipedia redirect information to associate Wikidata factual triples with categorized surface forms for each entity, including alternative names, abbreviations, spelling variants, and common erroneous forms. Across 13 LLMs, we examine surface-conditioned factual memorization and find that prediction outcomes often change when only the entity surface form changes. This inconsistency is category-dependent: models are more robust to minor orthographic variations than to larger lexical variations such as aliases and abbreviations. Frequency analyses further suggest that both entity- and surface-level frequencies are associated with accuracy, and that entity frequency often contributes beyond surface frequency. Overall, factual memorization appears neither purely surface-specific nor fully surface-invariant, highlighting the importance of surface-form diversity in evaluating non-verbatim memorization.

大模型知识记忆实体识别问答系统

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。