Revealing the Deceptiveness of Knowledge Editing: A Mechanistic Analysis of Superficial Editing

Knowledge editing, which aims to update the knowledge encoded in language models, can be deceptive.Despite the fact that many existing knowledge editing algorithms achieve near-perfect performance on conventional metrics, the models edited by them are still prone to generating original knowledge.This paper introduces the concept of "superficial editing" to describe this phenomenon.Our comprehensive evaluation reveals that this issue presents a significant challenge to existing algorithms.Through systematic investigation, we identify and validate two key factors contributing to this issue: (1) the residual stream at the last subject position in earlier layers and (2) specific attention modules in later layers.Notably, certain attention heads in later layers, along with specific left singular vectors in their output matrices, encapsulate the original knowledge and exhibit a causal relationship with superficial editing.Furthermore, we extend our analysis to the task of superficial unlearning, where we observe consistent patterns in the behavior of specific attention heads and their corresponding left singular vectors, thereby demonstrating the robustness and broader applicability of our methodology and conclusions.Our code is available at https://github.com/ jiakuan929/superficial-editing.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-long.868
Primary Topic
Reinforcement Learning in Robotics
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Revealing the Deceptiveness of Knowledge Editing: A Mechanistic Analysis of Superficial Editing

Cao Peng-fei, Jun Zhao, Jinqiao Xie, Yubo Chen et al.
Reinforcement Learning in Robotics
article

Revealing the Deceptiveness of Knowledge Editing: A Mechanistic Analysis of Superficial Editing

Cao Peng-fei, Jun Zhao, Jinqiao Xie, Yubo Chen, Kang Liu
article en

Abstract

Knowledge editing, which aims to update the knowledge encoded in language models, can be deceptive.Despite the fact that many existing knowledge editing algorithms achieve near-perfect performance on conventional metrics, the models edited by them are still prone to generating original knowledge.This paper introduces the concept of "superficial editing" to describe this phenomenon.Our comprehensive evaluation reveals that this issue presents a significant challenge to existing algorithms.Through systematic investigation, we identify and validate two key factors contributing to this issue: (1) the residual stream at the last subject position in earlier layers and (2) specific attention modules in later layers.Notably, certain attention heads in later layers, along with specific left singular vectors in their output matrices, encapsulate the original knowledge and exhibit a causal relationship with superficial editing.Furthermore, we extend our analysis to the task of superficial unlearning, where we observe consistent patterns in the behavior of specific attention heads and their corresponding left singular vectors, thereby demonstrating the robustness and broader applicability of our methodology and conclusions.Our code is available at https://github.com/ jiakuan929/superficial-editing.

National Natural Science Foundation of China, China Postdoctoral Science Foundation, Youth Innovation Promotion Association of the Chinese Academy of Sciences, Youth Innovation Promotion Association
Openalex Percentile: Top 90%
Reinforcement Learning in Robotics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.