arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.02392cs.CL
收藏

KnowledgeSmith:通过模型编辑和遗忘揭示LLM中的知识更新

KnowledgeSmith: Uncovering Knowledge Updating in LLMs with Model Editing and Unlearning

Carnegie Mellon University(卡内基梅隆大学);William & Mary(威廉与玛丽学院);University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Yinyi Luo, Zhexian Zhou, Hao Chen, Kai Qiu, Marios Savvides, Sharon Li, Jindong Wang

AI总结:

本文提出KnowledgeSmith框架,系统研究LLM的知识更新机制,通过结构化干预揭示知识传播、可塑性与鲁棒性等特性。

摘要:

知识编辑和机器遗忘是大型语言模型(LLMs)保持更新的两种流行方法。然而,由于评估不足、孤立和小规模,LLMs的知识更新机制仍难以探索。本文提出KnowledgeSmith,一个统一框架,系统理解LLMs的更新机制。我们首先将编辑和遗忘视为一个约束优化问题的实例。然后,我们提出一个自动数据集生成器,提供跨多个图层次和数据规模的结构化干预,使可控研究不同修改策略如何通过模型知识传播。广泛实验揭示了知识传播、可塑性扩展、一致性和鲁棒性的细微见解。例如,我们的结果表明,LLMs在不同知识层次上不表现出与人类相似的更新,并存在一致性-容量权衡。我们希望我们的发现能为更可靠和可扩展的策略设计提供建议。代码:https://github.com/AIFrontierLab/KnowledgeSmith.git

英文摘要:

Knowledge editing and machine unlearning are two popular approaches for large language models (LLMs) to stay up-to-date. However, the knowledge updating mechanism of LLMs remains largely unexplored due to insufficient, isolated, and small-scale evaluation. For instance, are LLMs similar to humans in modifying certain knowledge? What differs editing and unlearning as training data increases? This paper proposes KnowledgeSmith, a unified framework to systematically understand the updating mechanism of LLMs. We first cast editing and unlearning as instances of one constrained optimization problem. Then, we propose an automatic dataset generator that provides structured interventions across multiple graph levels and data scales, enabling controlled studies of how different modification strategies propagate through model knowledge. Extensive experiments demonstrate nuanced insights over knowledge propagation, plasticity scaling, consistency, and robustness. For instance, our results show that LLMs do not exhibit similar updating as humans for different levels of knowledge, and there exists consistency-capacity trade-off. We hope our findings can offer suggestions to the design of more reliable and scalable strategies. Code: https://github.com/AIFrontierLab/KnowledgeSmith.git

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑