Retrieval-Augmented Multilingual Knowledge Editing

Weixuan Wang, Barry Haddow, Alexandra Birch

Abstract

Knowledge represented in Large Language Models (LLMs) is quite often incorrect and can also become obsolete over time. Updating knowledge via fine-tuning is computationally resource-hungry and not reliable, and so knowledge editing (KE) has developed as an effective and economical alternative to inject new knowledge or to fix factual errors in LLMs. Although there has been considerable interest in this area, current KE research exclusively focuses on monolingual settings, typically in English. However, what happens if the new knowledge is supplied in one language, but we would like to query an LLM in a different language? To address the problem of multilingual knowledge editing, we propose Retrieval-Augmented Multilingual Knowledge Editor (ReMaKE) to update knowledge in LLMs. ReMaKE can be used to perform model-agnostic knowledge editing in a multilingual setting. ReMaKE concatenates the new knowledge retrieved from a multilingual knowledge base with users’ prompts before querying an LLM. Our experimental results show that ReMaKE outperforms baseline knowledge editing methods by a significant margin and is scalable to real-word application scenarios. Our multilingual knowledge editing dataset (MzsRE) in 12 languages, the code, and additional project information are available at https://github.com/weixuan-wang123/ReMaKE.

Introduction

Large Language Models (LLMs) are trained on massive datasets, but their internal knowledge is static and prone to obsolescence. For instance, political appointments or corporate changes can render a model's training data incorrect. While fine-tuning offers a path to update this knowledge, it is often prohibitively expensive and can lead to instability in the model's general performance. This has spurred the development of Knowledge Editing (KE) techniques.

However, existing KE research has been predominantly monolingual, focusing on English. In a global context, it is critical that an update in one language propagates across all languages supported by the model. Current "locate-and-edit" methods often fail this cross-lingual test; updating a fact in English may not reflect when the model is queried in Spanish or Chinese.

Methodology: The ReMaKE Framework

To overcome these challenges, we introduce ReMaKE (Retrieval-Augmented Multilingual Knowledge Editor). Unlike traditional methods that modify a model's internal weights, ReMaKE adopts a "plug-and-play" retrieval-augmented approach.

Multilingual Knowledge Retrieval

The process begins when a user submits a query. ReMaKE employs a specialized retriever, based on the XLM-R sentence transformer, to search a dedicated Knowledge Base of edited facts. This retriever maps both queries and facts into a shared semantic space, enabling effective retrieval regardless of the input language.

The ReMaKE architecture: A multilingual retriever identifies relevant edited knowledge from a database and prepends it to the user query before processing by the LLM.

Multilingual In-context Editing

Once a relevant fact is retrieved, it is injected directly into the model's prompt. We explored two primary prompting strategies:

  1. ReMaKE-zero: The retrieved fact is prepended directly to the prompt.
  2. ReMaKE-few-bi: The retrieved fact is accompanied by a few bilingual demonstration examples to provide additional cross-lingual context.
Comparison of zero-shot and few-shot prompting strategies within the ReMaKE framework.

Because ReMaKE operates solely on the input prompt, it is entirely model-agnostic and highly scalable, allowing for thousands of facts to be updated simply by expanding the knowledge base.

The MzsRE Dataset

To evaluate multilingual knowledge editing, we developed MzsRE (Multilingual zsRE). This benchmark is based on the English zsRE (Zero-Shot Relation Extraction) dataset, expanded via translation into 11 additional languages, including Spanish, French, Chinese, and Thai. The dataset comprises 743 unique items, featuring paraphrased questions to test generality, unrelated questions to test locality, and reasoning questions to test portability.

Results and Discussion

Our experiments demonstrate that ReMaKE significantly outperforms existing baselines. In "English edit → All languages test" scenarios, ReMaKE-few-bi achieved a reliability score of 69.26%, a substantial improvement over the 38.07% achieved by the previous state-of-the-art method, IKE.

Key Insights

  • Locality and Stability: ReMaKE maintains exceptional locality (~98%), ensuring that editing one fact does not inadvertently corrupt unrelated knowledge—a common issue with weight-modifying editors.
  • Noise Reduction: The multilingual retriever acts as a critical filter, reducing contextual interference and ensuring the LLM focuses only on relevant updated facts.
  • Language Sensitivity: We observed that LLMs remain sensitive to prompt language, with performance generally higher in high-resource languages like German compared to lower-resource languages like Thai.

Conclusion

ReMaKE provides a robust, efficient, and scalable solution for multilingual knowledge editing. While it excels at fact recall and maintaining model stability, challenges remain in "Portability"—the ability of models to use updated facts in complex reasoning chains. Future work will focus on bridging this gap and scaling the knowledge base to handle millions of real-world facts.

Summary updated

BibTeX
@inproceedings{wang2024retrieval,
  author = {Weixuan Wang and Barry Haddow and Alexandra Birch},
  title = {{Retrieval-Augmented Multilingual Knowledge Editing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=K8HOUoyL1a},
}
Figure