MLLM Machine Unlearning via Visual Knowledge Distillation

Yuhang Wang, Zhenxing Niu, Haoxuan Ji, Guangyu He, Haichang Gao, Gang HuaarXiv 2025 · DOI

Abstract

Multimodal Large Language Models (MLLMs) are prone to memorizing sensitive training data, including personal visual identities. To comply with privacy regulations like GDPR, we propose Visual Knowledge Distillation (VKD), a novel unlearning framework designed to erase specific visual information without compromising textual knowledge or general model performance. By focusing updates on the visual module and leveraging intermediate feature signals from a teacher model, VKD achieves superior forgetting efficiency and robustness against re-learning attacks compared to existing methods.

Introduction

The rapid advancement of MLLMs has introduced significant privacy challenges. These models often inadvertently memorize sensitive data, such as faces and private details, which may be extracted through malicious prompting. While the "right to be forgotten" necessitates data deletion, retraining massive models from scratch is computationally prohibitive.

Existing machine unlearning techniques often suffer from "knowledge entanglement," where attempting to erase a visual identity (e.g., a person's face) inadvertently erases associated textual facts (e.g., their biography) or degrades the model's general reasoning capabilities. We address this by proposing a surgical unlearning approach that decouples visual identification from factual extraction.

Methodology

Our framework targets the visual module—comprising the vision encoder and the projector—while keeping the LLM backbone frozen. This strategy is based on the observation that MLLMs typically operate in two stages: visual identification of an entity followed by textual fact extraction.

Overview of the VKD framework, illustrating the objectives for forgetting target visual data (a) while maintaining textual knowledge (b, c) and general visual utility through distillation (d).

Visual Knowledge Distillation (VKD)

Standard unlearning relies on output-level supervision, which often fails to provide a strong enough signal to the visual components when the LLM is frozen. VKD introduces a "teacher-student" paradigm. The original "vanilla" model acts as a teacher, providing intermediate visual features. The student model is trained to:

  1. Deviate from the teacher's features for target images (forgetting).
  2. Match the teacher's features for non-target images (utility preservation).

Surgical Model Updates

To further refine the unlearning process, we employ two additional techniques:

  • Neuron Pruning: We identify and prune neurons in the vision encoder that are most critical for recognizing the target entity.
  • Fisher Information Weight Masking: We calculate the Fisher Information Matrix to pinpoint weights responsible for sensitive knowledge. Updates are restricted to these "guilty" weights, leaving the rest of the model's parameters untouched.

Experimental Results

We evaluated our method on two benchmarks: MLLMU-Bench, featuring fictitious profiles with paired visual and textual data, and CLEAR, a privacy-focused dataset built on TOFU.

Performance and Utility

On MLLMU-Bench, VKD reduced "Forget VQA" accuracy to 29.8%, outperforming the previous state-of-the-art MMUnlearner (31.2%). Crucially, the model maintained a general visual utility of 54.9%, matching the performance of the original vanilla model.

Efficiency and Robustness

By restricting updates to the visual module, VKD is significantly faster than full-model fine-tuning, reducing unlearning time from ~60 minutes to 16.7 minutes per epoch. Furthermore, VKD demonstrates high resistance to re-learning attacks. In tests where a malicious user attempts to recover forgotten data, VKD maintained an "Accuracy Gap" of only 1.3% after five epochs of retraining, indicating that the visual memory was effectively erased rather than merely suppressed.

Conclusion

Visual Knowledge Distillation provides a robust and efficient solution for MLLM unlearning. By disentangling visual recognition from textual knowledge, we enable precise data deletion that respects privacy regulations without sacrificing model utility. Future work will explore extending this method to sequential visual and textual unlearning and investigating the role of self-attention layers in visual memorization.

Summary updated

BibTeX
@misc{wang2025mllm,
  author = {Yuhang Wang and Zhenxing Niu and Haoxuan Ji and Guangyu He and Haichang Gao and Gang Hua},
  title = {{MLLM Machine Unlearning via Visual Knowledge Distillation}},
  year = {2025},
  eprint = {2512.11325},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.11325},
}
Figure