Abstract
Multimodal Large Language Models (MLLMs) like LLaVA and Idefics often inadvertently memorize sensitive or copyrighted information during training. Traditional machine unlearning (MU) techniques, primarily designed for unimodal text models, struggle with "knowledge entanglement" in MLLMs. This leads to imbalanced unlearning, where a model might forget a person's face but still recall their biography when prompted with their name. We propose Modality-Aware Neuron Unlearning (MANU), a surgical pruning framework that identifies and removes specific neurons critical to a target "forget set" across modalities while preserving general model utility.
The Problem: Imbalanced Unlearning
As MLLMs scale, they store information in complex, entangled neural pathways. A significant challenge identified in this research is the "modality gap." Current unlearning attempts often fail to disentangle visual and textual representations. For instance, a model might be successfully trained to stop recognizing an image of a specific individual (multimodal level) but continue to provide detailed information about them when queried by name (unimodal text level). This residual "ghost knowledge" poses persistent privacy and copyright risks.
Methodology: MANU Framework
MANU treats unlearning as a surgical pruning task rather than a weight-update optimization (like Gradient Ascent). The framework operates in two distinct stages:
Stage 1: Important Neuron Selection
To identify neurons responsible for specific knowledge, MANU analyzes neuron activations using four importance functions:
- Absolute Importance ($I_{abs}$): Measures activation magnitude differences between modalities.
- Frequency Importance ($I_{freq}$): Tracks how often a neuron fires for one modality versus another.
- Variance Importance ($I_{var}$): Uses information theory to identify neurons carrying rich, modality-specific information.
- Root Mean Square Importance ($I_{rms}$): Highlights neurons with consistently strong activations while penalizing redundancy.
Stage 2: Selective Pruning
After ranking neurons, MANU calculates a Scoring Function ($S_n$), defined as the ratio of importance on the "Forget Set" to importance on the "Retain Set." This ensures that only neurons critical to the sensitive data are targeted, sparing those essential for general knowledge. The top $\alpha\%$ of these high-scoring neurons are then zeroed out.
Key Insights and Results
- Balanced Erasure: MANU achieves significantly more consistent unlearning across both text-only and image+text inputs compared to baselines like Negative Preference Optimization (NPO) and Gradient Difference. By targeting modality-specific neural pathways, it closes the modality gap.
- Utility Preservation: Evaluation on benchmarks like MMMU and LLaVA-Bench shows that MANU maintains high accuracy on the "Retain Set." On LLaVA-1.5-7B, a pruning ratio of 2-5% was found to be the "sweet spot," effectively erasing target knowledge without degrading general reasoning capabilities.
- Stability over Gradient Updates: Unlike Gradient Ascent, which can cause "catastrophic collapse" (making the model generally less capable), MANU’s pruning approach is inherently more stable. It leverages contextual sparsity—the fact that most neurons are inactive for any given input—to erase specific memories with minimal collateral damage.
Conclusion
MANU provides a robust, scalable solution for unlearning in MLLMs. By treating knowledge as specific "circuits" that can be pruned, it addresses the fundamental challenge of knowledge entanglement across modalities. Future work will focus on extending this framework to unlearn harmful biases and copyrighted artistic styles, further refining it into a model-agnostic tool for safer multimodal AI.
Summary updated