Abstract
Language models (LMs) often require the removal of specific information to address privacy or accuracy concerns. However, the structural properties of the knowledge being deleted can significantly influence the stability of the remaining knowledge base. This study investigates the "Curse of Popularity," demonstrating that deleting facts associated with highly connected "hub" entities leads to catastrophic side effects. Using synthetic knowledge graphs to simulate real-world data structures, we show a near-perfect correlation between an entity's centrality and the damage caused by its deletion using state-of-the-art editing methods like ROME.
Introduction
As language models (LMs) increasingly serve as repositories of human knowledge, the ability to surgically remove specific facts—due to privacy, copyright, or obsolescence—has become a critical research frontier. While techniques like "knowledge editing" aim to modify specific parameters without full retraining, the interconnected nature of neural representations often leads to unintended consequences. This paper explores whether the structural position of an entity within a knowledge network determines the severity of these side effects. We hypothesize that "popular" entities—those with numerous connections—act as structural anchors, and their removal can trigger a catastrophic collapse of unrelated knowledge.
Methodology
To isolate the impact of entity popularity, researchers from Tohoku University, RIKEN, and MBZUAI employed a controlled experimental framework using synthetic knowledge graphs. This "clean room" approach avoids the confounding variables present in natural language datasets.
The pipeline consists of four primary stages: synthesizing a knowledge graph, training a language model on that graph, deleting a specific knowledge instance using the ROME (Rank-One Model Editing) method, and analyzing the resulting impact on the model's overall accuracy.
Experimental Setup
The study compared two distinct graph topologies to test the popularity hypothesis:
- Erdős-Rényi (ER): Random graphs where connections are distributed uniformly, resulting in entities with similar levels of popularity.
- Barabási-Albert (BA): Power-law graphs that mimic real-world knowledge structures, where a few "hub" entities possess a disproportionately high number of connections.
Models (GPT-2 variants) were trained on 20% of the possible triples $(s, r, o)$ using five paraphrased names for each entity and relation to ensure the learning of generalized concepts rather than literal string memorization.
Results: The Hub Vulnerability
The findings reveal a stark contrast between the two graph types. In BA graphs, which reflect real-world data distributions, there is a near-perfect Pearson correlation (up to 0.9892) between an entity's degree (number of connections) and the "Impact" of its deletion.
Deleting a "hub" entity in a BA graph caused significantly more damage than deleting any entity in a uniform ER graph. For instance, in a 24-layer model, the maximum accuracy drop in the BA graph was 1.13, compared to only 0.21 in the ER graph. This suggests that popular entities serve as high-dimensional anchors for the model's internal representations; shifting these anchors destabilizes the entire conceptual neighborhood.
Conclusion
The "Curse of Popularity" highlights a fundamental fragility in how language models store and generalize knowledge. The very mechanisms that enable LMs to connect related concepts also make them vulnerable to structural failures when central nodes are tampered with. Future work must focus on developing "popularity-aware" editing techniques that can mitigate these catastrophic side effects, ensuring that knowledge deletion remains a surgical rather than destructive process.
Paper Citation: Takahashi, R., Kamoda, G., Heinzerling, B., Sakaguchi, K., & Inui, K. (2024). The Curse of Popularity: Popular Entities have Catastrophic Side Effects when Deleting Knowledge from Language Models. arXiv:2406.06032v1 [cs.CL].
Summary updated