Cross-Lingual Multi-Hop Knowledge Editing

Aditi Khandelwal, Harman Singh, Hengrui Gu, Tianlong Chen, Kaixiong Zhou

Introduction

Large Language Models (LLMs) are static snapshots of knowledge that quickly become outdated as the world changes. Knowledge Editing (KE) has emerged as a vital technique for "patching" these models without the prohibitive cost of full retraining. However, existing research has largely focused on monolingual (English-only) settings and isolated facts. In practice, new information often arrives in one language but must be accessible to answer complex, multi-step questions in another. This paper, presented at EMNLP 2024, introduces the challenge of cross-lingual multi-hop knowledge editing.

Illustration of the cross-lingual multi-hop knowledge editing task.

As shown in Figure 1, the task requires a model to ingest a new fact in one language (e.g., Hindi) and use it to answer a multi-hop question in another (e.g., English). This requires the model to bridge both a linguistic gap and a reasoning gap, chaining updated facts together to reach a correct conclusion.

The CROLIN-MQUAKE Benchmark

To study this phenomenon, the authors developed CROLIN-MQUAKE, the first parallel benchmark for cross-lingual multi-hop knowledge editing. Spanning eight languages—English, German, Spanish, Chinese, Russian, Hindi, Bengali, and Swahili—the dataset is derived from the English MQuAKE dataset. It includes two primary subsets:

  • CROLIN-MQUAKE-CF: Focuses on counterfactual edits to test reasoning robustness.
  • CROLIN-MQUAKE-T: Focuses on real-world temporal updates.

Because the dataset is parallel, it allows for direct comparisons of how different linguistic scripts and structures affect an LLM's ability to retrieve and apply updated information.

Methodology: CLEVER-CKE

The authors propose CLEVER-CKE (Contrastive Language-aware Verification for Cross-lingual Knowledge Editing). Unlike parameter-modifying methods like ROME or MEMIT, which attempt to bake new facts into model weights and often fail in cross-lingual settings, CLEVER-CKE is a parameter-preserving approach. It maintains the LLM in a frozen state and utilizes an external memory for edited facts.

The CLEVER-CKE architecture, featuring a Retrieve-Verify-Generate pipeline and contrastive training objectives.

As illustrated in Figure 3, the system employs a "Retrieve-Verify-Generate" pipeline:

  1. Decomposition: The LLM breaks the complex multi-hop question into simpler sub-questions.
  2. Retrieval & Verification: A specialized retriever searches the multilingual memory. A verification step uses cosine similarity against a threshold ($t$) to ensure the retrieved fact is relevant.
  3. Generation: The LLM uses the retrieved fact (if found) or its internal knowledge to answer the sub-question before proceeding to the next hop.

The retriever is optimized using three distinct losses: Semantic Distinction Loss ($L_{SD}$) to handle fine-grained entity details, Cross-Lingual Edit Consistency Loss ($L_{CLEC}$) to align queries across languages, and a standard binary cross-entropy loss for stability.

Key Insights and Results

Experimental results across LLaMa-2, Vicuna, and GPT-3.5 backbones demonstrate that CLEVER-CKE provides a massive performance boost, achieving up to a 30% improvement in accuracy over previous state-of-the-art methods like MeLLo and PokeMQA.

Several critical insights emerged from the study:

  • Retrieval is the Bottleneck: The failure of cross-lingual KE is primarily due to the retriever's inability to find the correct fact across languages, rather than the LLM's inability to reason. When provided with the correct context, LLM reasoning is remarkably robust.
  • The Script Effect: Models perform significantly better on languages using Latin scripts (Spanish, German) compared to non-Latin scripts (Chinese, Hindi, Russian), likely due to better tokenization in the base models.
  • Parameter-Modifying Failure: Methods that modify model weights achieved less than 5% accuracy, suggesting that knowledge does not easily transfer across internal linguistic representations via weight updates alone.

Conclusion

CLEVER-CKE demonstrates that effective knowledge editing in a global context requires language-agnostic fact retrieval. While challenges remain—particularly regarding low-resource languages and inherent LLM hallucinations—this work provides a robust framework for maintaining up-to-date, multi-lingual knowledge in large-scale models.

Summary updated

BibTeX
@inproceedings{khandelwal2024cross,
  author = {Aditi Khandelwal and Harman Singh and Hengrui Gu and Tianlong Chen and Kaixiong Zhou},
  title = {{Cross-Lingual Multi-Hop Knowledge Editing}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.701},
}
Figure