Knowledge in Superposition: Unveiling the Failures of Lifelong Knowledge Editing for Large Language Models

Chenhui Hu, Pengfei Cao, Yubo Chen, Kang Liu, Jun Zhao

Abstract

Continuous "lifelong" knowledge editing in Large Language Models (LLMs) frequently results in catastrophic forgetting and performance degradation. This paper investigates the underlying mechanisms of this failure through mathematical derivation and empirical analysis. We identify "knowledge superposition"—the compression of multiple concepts into non-orthogonal representations—as the primary driver of compounding interference during sequential edits. Our findings reveal a fundamental architectural constraint in current weight-update methods and establish a scaling law where larger models exhibit reduced superposition.

Introduction

As LLMs become central to information retrieval, the ability to update outdated or incorrect facts without full retraining is critical. Current "knowledge editing" techniques, such as ROME and MEMIT, effectively modify specific facts in isolation. However, these methods struggle in "lifelong editing" scenarios, where a sequence of updates leads to the erosion of both original and previously edited knowledge. This study aims to uncover the mathematical roots of this catastrophic failure.

Theoretical Framework: From Single to Lifelong Editing

The researchers began by analyzing the closed-form solutions for linear associative memory, which underpin state-of-the-art editing methods. By extending these solutions to a sequential, lifelong context, they isolated a critical interference term ($\Delta$) that accumulates with each successive edit.

Mathematical framework connecting standard knowledge editing to lifelong interference via superposition.

As shown in Figure 1, the interference is mathematically tied to a superposition term. This term is determined by the dot product of knowledge representations within a "whitening space"—a transformed space where the covariance matrix is the identity. The magnitude of this interference dictates the degree of forgetting; if representations were perfectly orthogonal, the interference would vanish.

The Superposition Phenomenon

The core issue lies in the fact that LLMs are designed to store more features than they have dimensions, a property known as superposition. Because of this capacity-saving strategy, internal representations are never perfectly orthogonal.

Conceptual visualization of non-superposition (orthogonal) vs. superposition (non-orthogonal) representations.

In the whitening space, most concepts are nearly orthogonal, but a "heavy tail" of non-orthogonal interference persists. This entanglement means that editing one concept (e.g., "Windows 8.1") inevitably affects semantically related concepts (e.g., "Mac OS X 10.1") due to their overlapping representations.

Empirical Analysis and Scaling Laws

To validate these theoretical insights, the authors computed superposition matrices ($P$) for thousands of knowledge pairs using the CounterFact dataset across various model families, including GPT-2, Pythia, and Llama.

Key findings include:

  • Universal Distribution: Across all models, knowledge superposition follows a zero-mean, heavy-tailed distribution with high kurtosis.
  • Scaling Laws: Larger models exhibit higher kurtosis in their interference distributions. This indicates that as model capacity increases, concepts are stored more orthogonally, leading to less interference during editing.
  • Layer Sensitivity: Superposition is more pronounced in later layers, which handle sparse, deep semantic features, compared to earlier layers that manage denser syntactic information.

Conclusion

This research demonstrates that lossless lifelong knowledge editing is currently mathematically impossible for parameter-modifying methods due to the inherent nature of knowledge superposition. Future advancements must either leverage significantly larger, sparser architectures to minimize superposition or develop algorithms capable of de-biasing and de-tangling representations before applying weight updates.

Summary updated

BibTeX
@inproceedings{hu2025knowledge,
  author = {Chenhui Hu and Pengfei Cao and Yubo Chen and Kang Liu and Jun Zhao},
  title = {{Knowledge in Superposition: Unveiling the Failures of Lifelong Knowledge Editing for Large Language Models}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i22.34583},
}
Figure