Beyond Memorization: A Rigorous Evaluation Framework for Medical Knowledge Editing

Shigeng Chen, Linhao Luo, Zhangchi Qiu, Yanan Cao, Carl Yang, Shirui Pan

TL;DR

Knowledge editing (KE) techniques that successfully update general facts in Large Language Models (LLMs) fail significantly when applied to the complex, safety-critical medical domain, often yielding less than 50% efficacy. To address this, the authors introduce MedEditBench, a rigorous evaluation framework, and Self-Generated Rationale Editing (SGR-Edit), a paradigm that uses model-generated reasoning chains as editing targets to achieve deeper knowledge internalization and superior generalization.

What Problem Does This Paper Address?

Large Language Models quickly become outdated or hallucinate when faced with evolving domain-specific knowledge. While Knowledge Editing (KE) has emerged as an efficient way to update specific facts without full retraining, existing evaluation benchmarks focus almost entirely on general-domain knowledge (like WikiData).

The medical domain introduces unique challenges: models cannot simply memorize a flat fact (e.g., "Cervical vertebrae is used to determine growth"). They must internalize the underlying concepts to generalize them to novel clinical scenarios and provide transparent, interpretable reasoning for clinical decision-making. The authors reveal that current KE methods result in superficial, surface-level patches that fail to generalize and frequently corrupt the model's pre-existing knowledge.

Methods

The authors propose a comprehensive evaluation framework and a novel editing paradigm to bridge this gap:

  • MedEditBench Framework: A multi-faceted evaluation suite designed to test three core metrics post-edit: efficacy (recalling the edited fact), generalization (applying it to new clinical contexts), and retention (preserving unaffected knowledge).
  • Self-Generated Rationale Editing (SGR-Edit): Traditional KE relies on Ground-Truth Answer Editing (GTA-Edit), which injects only the final answer. SGR-Edit instead prompts the base LLM to generate an evidence-based, chain-of-thought rationale grounded in a reference textbook excerpt. This rich, self-generated reasoning chain is then used as the target for parameter updates.

The framework also explores the structural localization of medical knowledge, discovering that unlike general facts, medical knowledge is primarily stored in the shallower layers (layers 4–8) of models like LLaMA and Qwen.

Figure 2: Overview of proposed medical knowledge editing evaluation framework (MedEditBench). Datasets are first constructed for medical knowledge editing (yellow rectangle). Three editing paradigms (GTA-Edit, RE-Edit, and SGR-Edit) are applied to evaluate the effectiveness of different target knowledge for medical knowledge editing (purple rectangle). In particular, the proposed SGR-Edit generates a rationale by prompting the LLM itself, given a QA and a reference (green rectangle). Then, the knowledge is used to edit the base LLM using editing methods like ROME (blue rectangle). In the final evaluation stage (orange rectangle), the edited LLM is evaluated using efficacy, generalization, and retention, as well as interpretability of the generated rationales. To examine how sequential medical edits affect the edited LLM’s broader knowledge and general abilities, we complement MedEditBench with external evaluations, including multi-domain knowledge (MMLU), and commonsense reasoning (HellaSwag), factual recall (TriviaQA), truthfulness (TruthfulQA), and mathematical reasoning (GSM8K).

Datasets

The authors introduced two new specialized benchmarks by extending real-world professional medical entrance examination datasets:

  • MedExQAedit (773 QA pairs across four specialties)
  • MedMCQAedit (derived from AIIMS and NEET PG exams, spanning 2,400 topics)

To ensure a clean evaluation, they applied a Zero-Shot Filter to isolate only the questions that the target LLMs answered incorrectly before editing. They then utilized an advanced agent (DeepSeek-V3) to generate auxiliary question sets: $Q_{gen}$ (novel clinical scenarios testing the same fact) and $Q_{ret}$ (off-topic questions to evaluate knowledge retention).

Key Insights and Ideas

  • The Medical Domain Gap: KE methods boasting >90% success rates on general knowledge benchmarks drop below 50% efficacy in medical settings, highlighting that simple fact-patching does not work for complex, interconnected concepts.
  • Reasoning as an Anchor: Injecting a full reasoning chain (SGR-Edit) prevents the model from reverting to its old, incorrect pre-trained beliefs when the question is slightly rephrased.
  • Catastrophic Sequential Collapse: Continuously applying edits (sequential editing up to 100 facts) causes traditional parameter-modifying methods like ROME and MEMIT to suffer complete model collapse, resulting in gibberish outputs. Sequential-optimized methods like AlphaEdit are strictly necessary for continuous medical updates.

Key Results

  • Performance Boost: SGR-Edit consistently outperformed traditional answer-only editing across various LLMs, boosting average accuracy by 7.7% on LLaMA-8B, 11.3% on LLaMA-3B, and 6.3% on Qwen-7B.
  • Better Interpretability: SGR-Edit yielded significantly higher Quality of Reasoning (QoR) scores (evaluated via an AI-judge) and better lexical overlap metrics (ROUGE-L/BLEU) than injecting raw reference text.
  • Sequential Robustness: When subjected to 100 sequential edits, the combination of AlphaEdit and SGR-Edit successfully preserved the model's general capabilities (e.g., downstream performance on HellaSwag and GSM8K), whereas traditional methods collapsed entirely.
Figure 5: Sequential editing performance on the internal benchmark.

Limitations and Future Work

  • Model Diversity: The study was limited to LLaMA-3 and Qwen2.5 architectures. Future validation is required on larger, reasoning-optimized models (e.g., Qwen3).
  • Compute Overhead: SGR-Edit targets longer text sequences (the full rationale), which increases GPU memory consumption and limits the scalability of large-batch editing.
  • Multi-Hop Reasoning: The framework does not yet evaluate how edited facts propagate through complex, multi-step clinical inferences where multiple pieces of new knowledge must interact.

Summary updated

BibTeX
@misc{chen2025beyond,
  author = {Shigeng Chen and Linhao Luo and Zhangchi Qiu and Yanan Cao and Carl Yang and Shirui Pan},
  title = {{Beyond Memorization: A Rigorous Evaluation Framework for Medical Knowledge Editing}},
  year = {2025},
  eprint = {2506.03490},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.03490},
}
Figure