MindBridge: Scalable and Cross-Model Knowledge Editing via Memory-Augmented Modality
Shuaike Li, Kai Zhang, Qi Liu, Enhong Chen
TL;DR
MindBridge tackles the problem of cross-model knowledge editing, where edited knowledge should persist across updates to different LLM backbones. It introduces memory modality as an independent knowledge carrier and a two-stage process: memory modality pre-training (inject, associate, exist) and memory modality bridging (a lightweight projector) to enable cross-model grounding of edited facts. Empirical results on ZsRE and Counterfact across GPT2-XL, GPT-J, and LLaMA3 demonstrate superior editing performance, scalability to tens of thousands of edits, and the ability to bridge memory across multiple LLMs, outperforming various baselines. The work offers a practical pathway to maintain up-to-date, personalized, or domain-specific knowledge without repeatedly re-editing every model update, with code released for community use.
Abstract
Knowledge editing is a technique for efficiently and accurately updating the knowledge of large language models (LLMs) to alleviate obsolescence and correct errors. However, most existing methods overfit to specific models, causing edited knowledge to be discarded during each LLM update and requiring frequent re-editing, which is particularly burdensome in today's rapidly evolving open-source community. To address this issue, we propose the problem of cross-model knowledge editing and introduce MindBridge, a scalable solution inspired by the low coupling between modality processing and LLMs in multi-modal models. MindBridge introduces the novel concept of memory modality, which encodes edited knowledge as an independent modality. It first performs LLM-agnostic pre-training of the memory modality and then integrates it with various LLMs. Extensive experiments on multiple LLMs and popular knowledge editing datasets demonstrate that MindBridge achieves superior performance even in editing tens of thousands of knowledge entries and can flexibly adapt to different LLMs. Our code is available at https://github.com/CrashBugger/MindBridge.
