Introduction
Large Language Models (LLMs) frequently require updates to correct outdated or erroneous factual knowledge. While "knowledge editing" techniques have been developed to address this without full retraining, they often struggle in multilingual environments. A significant challenge is negative interference: updating a fact in one language (e.g., English) can inadvertently degrade the model's performance in other languages (e.g., Chinese) or compromise its general reasoning abilities. Existing methods like ROME or MEMIT, designed primarily for monolingual settings, fail to maintain consistency across a sequential stream of multilingual updates.
The LangEdit Framework
To address these challenges, we introduce LangEdit, a framework that treats sequential knowledge editing as a constrained optimization problem. The core objective is to update the model while preserving its existing multilingual capabilities.
Null-Space Projection
LangEdit's primary innovation is the use of null-space projection. To prevent new edits from interfering with previous ones, the framework identifies the parameter subspace utilized by prior updates. New parameter changes are then projected onto the orthogonal complement (the null-space) of this subspace. Mathematically, this ensures that new updates have zero impact on the parameter directions critical for previously learned multilingual knowledge, effectively creating "language safeguards."
Recursive Covariance Updates
Calculating the null-space typically requires storing all keys and values from previous edits, which is computationally expensive. LangEdit overcomes this by using uncentered feature covariance matrices that are updated recursively. This allows the model to retain information about important parameter directions without the need to store raw data from every previous edit.
Experimental Evaluation
LangEdit was evaluated across three major architectures—GPT-J-6B, Llama3-8B, and Qwen2.5-7B—using several multilingual benchmarks:
- mzsre (Multilingual ZsRE): 2,400 edits across six languages (English, German, Dutch, Spanish, French, and Chinese).
- bzsre (Bilingual Zero-Shot Relation Extraction): 1,600 edits across English and Chinese.
- XTREME Benchmark: Evaluates general multilingual performance across tasks such as Natural Language Inference (XNLI), paraphrase identification (PAWS-X), and Question Answering (MLQA).
Key Results and Insights
LangEdit demonstrates significant improvements over previous state-of-the-art methods in sequential multilingual settings.
Performance and Generalization
On the Llama3-8B model, LangEdit achieved a +5.65 F1 score gain on the XTREME benchmark compared to AlphaEdit after sequential training on the mzsre dataset. While traditional methods like MEMIT saw efficacy drop to near 1% in sequential settings, LangEdit maintained an Efficacy Score of approximately 82%.
Specificity and Robustness
The method consistently outperformed baselines in Specificity, ensuring that target facts are updated without accidentally altering unrelated knowledge. Furthermore, the researchers observed Cross-Lingual Fact Propagation: a fact updated in one language often correctly propagates to others, suggesting that LangEdit respects the model's underlying language-agnostic factual core.
The Saturation Effect
An interesting finding was the "saturation effect," where editing effectiveness is inversely correlated with the volume of a language's pre-training data. For instance, Llama3-8B showed more significant improvements from Spanish updates than from English updates, where its baseline knowledge was already very high.
Conclusion and Future Work
LangEdit provides a robust solution for sequential multilingual knowledge editing by mathematically guaranteeing update independence. While highly effective for 6B-8B parameter models, future research is needed to scale these null-space constraints to larger models (70B+) and to expand the linguistic breadth beyond the six languages tested. Additionally, exploring the impact of sequential editing on more diverse downstream tasks like creative writing remains an open area for investigation.
Summary updated