TL;DR
Multimodal Large Language Models (MLLMs) often inadvertently memorize sensitive data across text and images, but standard unlearning techniques leave behind "ghosts" of this data in text-only queries. This paper introduces Modality-Aware Neuron Unlearning (MANU), a training-free framework that identifies and prunes concept-specific neurons across different modalities. MANU achieves balanced data erasure across text and vision inputs while preserving the model's core reasoning capabilities.
What Problem Does This Paper Address?
Machine unlearning aims to erase sensitive, private, or copyrighted data from trained models without the prohibitive cost of retraining them from scratch. While this is heavily studied in text-only LLMs, doing this in Multimodal LLMs (MLLMs) introduces a unique challenge: knowledge entanglement.
The authors demonstrate that standard unlearning methods suffer from "imbalanced unlearning." For example, a model might successfully forget a person's identity when shown their picture alongside text, yet still perfectly recall their details when prompted with a text-only query. This discrepancy occurs because different input modalities activate distinct, entangled neural pathways for the same underlying concept.
Methods
Instead of using computationally heavy gradient updates that risk destabilizing the model, MANU tackles the problem via a two-stage, training-free neuron pruning approach targeted at the network's MLP layers:
- Important Neuron Selection Stage: The framework analyzes neuron activations across text-only and multimodal inputs. It uses four distinct information-theoretic and statistical importance functions to isolate target neurons:
- Absolute Importance ($I_{abs}$): Measures magnitude differences in activation between modalities.
- Frequency Importance ($I_{freq}$): Quantifies how often a neuron fires above a baseline threshold.
- Variance Importance ($I_{var}$): Measures the spread of activation values to capture information diversity.
- Root Mean Square Importance ($I_{rms}$): Identifies consistently strong, non-redundant activations.
- Selective Pruning Stage: Neurons are scored based on the ratio of their importance to the forget set relative to a retain set. The top $\alpha\%$ of highest-scoring neurons are simply zeroed out.
Datasets
The authors evaluated their approach using a mix of unlearning benchmarks and general capability datasets:
- MLLMU-Bench: The primary benchmark used to evaluate unlearning performance. It contains 500 fictitious profiles and 153 real celebrity profiles. It is split into a Forget Set, a Test Set (paraphrased text and transformed images to test generalizability), a Retain Set, and a Real Celebrity Set (acting as a control).
- General Utility Benchmarks: To ensure the model doesn't lose its general intelligence, the authors evaluated post-pruning performance on MMMU, LLaVA-Bench, MIA-Bench, MM-Vet, and MMStar.
Key Insights and Ideas
- The Modality Gap: Inputs of different modalities activate distinct neurons for the same concept. Erasing knowledge in a multimodal setting (Image + Text) does not guarantee its removal in a unimodal text setting.
- Pruning vs. Gradient Ascent: Traditional gradient ascent methods often cause "catastrophic collapse" of model utility. MANU proves that surgical, training-free neuron pruning can match or exceed unlearning performance while keeping the rest of the network intact.
- Complementary Metrics: The four importance functions act as a necessary shield-and-sword combo. $I_{freq}$ and $I_{var}$ excel at isolating forget-specific neurons, while $I_{abs}$ and $I_{rms}$ prevent the accidental pruning of high-activation neurons crucial for general reasoning.
Key Results
- Balanced Erasure: MANU consistently achieves balanced unlearning across both text-only and image+text modalities, whereas baselines like Gradient Ascent (GA) and Negative Preference Optimization (NPO) show severe performance gaps between modalities.
- Utility Preservation: On LLaVA-1.5-7B and Idefics2-8B, MANU reduced forget-set classification accuracy significantly while maintaining high accuracy on the retain and real celebrity sets.
- Downstream Stability: Unlike gradient-based baselines which degrade general performance, MANU preserves cross-modal alignment and functional utility, matching or outperforming baselines on downstream tasks like MMMU and MM-Vet. It also scales effectively to larger models like LLaVA-13B.
Limitations and Future Work
- Scope of Unlearning: The method was primarily validated on removing sensitive personal profiles. Its efficacy against harmful text generation or copyright infringement remains to be tested.
- Pruning Ratio Sensitivity: Finding the optimal pruning ratio ($\alpha\%$) is a delicate balancing act; setting it too high improves unlearning but starts eating into general model utility.
- Benchmark Expansion: Future work needs to explore how MANU scales to pure text unlearning benchmarks (like TOFU or WMDP) and more diverse multimodal architectures.
Summary updated