BalancEdit: Dynamically Balancing the Generality-Locality Trade-off in Multi-modal Model Editing

Dongliang Guo, Mengxuan Hu, Zihan Guan, Thomas Hartvigsen, Sheng Li

Large Multi-modal Models (LMMs), such as MiniGPT-4 and BLIP-2, are typically static snapshots of knowledge. As real-world facts evolve, these models quickly become outdated. While traditional fine-tuning is computationally prohibitive for frequent updates, "model editing" has emerged as a lightweight alternative. However, existing editing techniques struggle with the Generality-Locality Trade-off.

The Generality-Locality Challenge

Effective model editing requires balancing two competing goals:

  • Generality: An edit (e.g., "HP is now Lenovo") should apply across various visual contexts and linguistic phrasings of the same fact.
  • Locality: An edit should be precise, ensuring the model does not erroneously apply the new knowledge to unrelated data (e.g., calling a Dell laptop "Lenovo") or produce hallucinations when presented with out-of-scope inputs.

Previous methods often utilized a fixed "influence scope," which led to either over-generalization (causing hallucinations) or under-generalization (failing to update the fact across contexts).

Methodology: BalancEdit

BalancEdit is a "plug-and-play" memory-augmented module that wraps around a specific layer of a pre-trained LMM. It utilizes a localized codebook to store weight transformations for each edit. The core innovation is the Dynamic Influence Radius ($\epsilon$).

Figure 4: BalancEdit adjusts the influence scope based on the specificity of the fact, distinguishing between narrow edits (breeds) and broad edits (species).

To determine the optimal influence scope for a new fact, BalancEdit automatically generates:

  1. Positive Samples: Rephrased versions of the original query to ensure the edit generalizes across different ways of asking.
  2. Negative Samples: A pure black image serves as a universal proxy for "out-of-scope" data.

By measuring the distance between these samples in the model's latent space, BalancEdit calculates a custom radius for every edit. If a new query falls within this radius, the edited transformation is applied; otherwise, the model retains its original behavior.

Experimental Results

The researchers introduced OKEDIT, a rigorous new benchmark based on OKVQA, featuring 5,000 samples across 20 categories. BalancEdit demonstrated significant improvements over state-of-the-art methods like MEND and GRACE.

Figure 6: Comparison of editing methods across original, related, unrelated, and black images. BalancEdit correctly maintains locality for unrelated and black images while generalizing for the target fact.

Key Performance Metrics:

  • Reliability: BalancEdit achieved 100% success in updating target facts.
  • Superior Balance: On the OKEDIT dataset, BalancEdit reached a Harmonic Mean (HM) of 71.85, far exceeding MEND's 51.70. The HM metric specifically measures the balance between generality and locality.
  • Efficiency: The module requires zero pre-training and completes an edit in approximately 8 seconds—3x faster than other memory-based approaches.
  • Sequential Robustness: The model maintains high accuracy even after 50 consecutive updates, proving its viability for continuous real-world application.

Conclusion and Future Work

BalancEdit successfully addresses the rigid influence scope problem by making the editing boundary dynamic and data-dependent. While highly effective, future research is needed to optimize inference latency for massive codebooks and to improve the model's ability to handle "multi-hop" reasoning, where an edit to one fact should logically imply changes to related downstream knowledge.

Summary updated

BibTeX
@inproceedings{guo2025balancedit,
  author = {Dongliang Guo and Mengxuan Hu and Zihan Guan and Thomas Hartvigsen and Sheng Li},
  title = {{BalancEdit: Dynamically Balancing the Generality-Locality Trade-off in Multi-modal Model Editing}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=JWtcAlXkMN},
}
Figure