COMPKE: Complex Question Answering under Knowledge Editing

Keyuan Cheng, Zijian Kan, Zhuoran Zhang, Muhammad Asif Ali, Lijie Hu, Di Wang

Abstract: Knowledge Editing—Efficiently modifying the knowledge in large language models has gathered great attention. Current benchmarks primarily use multi-hop question answering to assess and analyze newly injected or updated knowledge. However, we argue that these benchmarks fail to effectively evaluate how well the updated models apply this knowledge in real-life scenarios, particularly when questions require complex reasoning involving one-to-many relationships or multi-step logical intersections. To fill in this gap, we introduce a new benchmark, COMPKE: Complex Question Answering under Knowledge Editing, which includes 11,924 complex questions that reflect real-life situations. We perform a comprehensive evaluation of four different knowledge editing methods in COMPKE, and our results show that the performance of these methods varies between different models. For example, MeLLo achieves an accuracy of 39.47 on GPT-4o-mini but drops significantly to 3.83 on Qwen2.5-3B. We further analyze the reasons behind these results from both methodological and model perspectives. Our dataset will be publicly available on GitHub.

Introduction

Large Language Models (LLMs) inevitably memorize outdated or incorrect facts. Knowledge Editing (KE) aims to patch these specific facts without the prohibitive cost of retraining the entire model. To measure if a KE method works, researchers typically use benchmarks that test if the model can recall the new fact or perform a simple "multi-hop" reasoning chain (e.g., A is the president of B -> Who is the spouse of A?).

However, real-world queries are much messier. They frequently involve one-to-many relationships (e.g., "Who are the major shareholders of this company?") and logical operations like intersections or unions (e.g., "Where were movies X and Y both filmed?"). Existing benchmarks fail to capture this complexity, leaving a critical gap in our understanding of how KE methods perform in intricate, contextual scenarios.

The COMPKE Benchmark

To bridge this gap, we introduce COMPKE (Complex Question Answering under Knowledge Editing). COMPKE moves beyond linear reasoning chains by utilizing a graph-structured reasoning framework. This framework generates questions that require knowledge mapping, conditional confirmation, and logical operations (intersection, union).

Figure 2: Comparison between simple multi-hop questions and the complex reasoning required in COMPKE, featuring one-to-many relations and logical intersections.

COMPKE contains 11,924 complex questions derived from Wikidata. It features 1 to 5 simultaneous edits per question and requires up to 5 reasoning steps. COMPKE is significantly more challenging than existing benchmarks like MQuAKE because it explicitly requires logical composition and handles one-to-many relations.

Methodology

The construction of COMPKE follows a systematic three-step pipeline: sampling facts from Wikidata, constructing questions based on structured templates, and introducing counterfactual edits (additions, deletions, or retentions).

Figure 5: The COMPKE dataset construction pipeline, involving fact sampling, question construction via templates, and the introduction of various edit types.

We evaluated two primary families of KE methods across five different LLMs (ranging from Qwen2.5-3B to GPT-4o-mini):

  1. Parameter-based methods (ROME, MEMIT): These directly alter the internal weights of the LLM to encode the new knowledge.
  2. Memory-based methods (MeLLo, PokeMQA): These maintain an external database of edits and use retrieval-augmented generation (RAG) and prompt-based decomposition to answer questions.

Key Insights and Results

Our comprehensive evaluation revealed several critical limitations in current KE approaches:

  • The Overfitting Mirage in Parameter-Based Methods: At first glance, parameter-based methods like MEMIT seem to perform well on smaller models. However, we discovered this is actually overfitting. The model often blurts out the newly injected knowledge whenever a related topic is mentioned, completely ignoring logical constraints (like an intersection operation that should have filtered that new knowledge out).
  • The "Omission" Phenomenon in Memory-Based Methods: Memory-based methods rely on the LLM to break down complex questions into sub-questions. We found that if the few-shot prompts used to guide the model don't explicitly demonstrate logical operations (like intersection), the LLM will skip that critical reasoning step entirely, leading to incorrect final answers.
  • Model Scale and Instruction Following: Memory-based methods struggle on smaller models (like Qwen2.5-3B) because these models lack the advanced instruction-following capabilities required to execute complex decomposition plans. For example, MeLLo's accuracy plummeted from 39.47% on GPT-4o-mini to a dismal 3.83% on Qwen2.5-3B.
  • Batch Editing Collapse: When scaling up the number of simultaneous edits (batch size $k \ge 100$), parameter-based methods suffer catastrophic failure, often outputting complete gibberish. Memory-based methods degrade much more gracefully as the edit volume increases.

Conclusion

COMPKE highlights that while current KE methods can successfully "patch" individual facts, they struggle to ensure those facts are applied correctly within complex logical frameworks. We hope this benchmark will spur the development of more robust knowledge editing techniques that can handle the rigorous demands of real-world reasoning and multi-step planning without compromising the model's core capabilities.

Summary updated

BibTeX
@inproceedings{cheng2025compke,
  author = {Keyuan Cheng and Zijian Kan and Zhuoran Zhang and Muhammad Asif Ali and Lijie Hu and Di Wang},
  title = {{COMPKE: Complex Question Answering under Knowledge Editing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=3ztIjgghSQ},
}
Figure