Abstract
Large Vision-Language Models (LVLMs) are widely adopted for their strong multimodal capabilities, yet they raise serious concerns such as privacy leakage and harmful content generation. Machine unlearning has emerged as a promising solution for removing the influence of specific data from trained models. However, existing approaches largely rely on gradient-based optimization, incurring substantial computational costs for large-scale LVLMs. To address this limitation, we propose Knowledge Vector Weakening (KVW), a training-free unlearning method that directly intervenes in the full model without gradient computation. KVW identifies knowledge vectors that are activated during the model's output generation on the forget set and progressively weakens their contributions, thereby preventing the model from exploiting undesirable knowledge. Experiments on the MLLMU and CLEAR benchmarks demonstrate that KVW achieves a stable forget-retain trade-off while significantly improving computational efficiency over gradient-based and LoRA-based unlearning methods.
Introduction
As Large Vision-Language Models (LVLMs) become increasingly integrated into various applications, they inevitably memorize sensitive, copyrighted, or harmful data from their training sets. "Machine unlearning" aims to remove this specific knowledge without the prohibitive cost of retraining the model from scratch.
Currently, most approximate unlearning methods rely on gradient-based optimization, such as full fine-tuning or Parameter-Efficient Fine-Tuning (PeFT) like LoRA. However, full fine-tuning is computationally massive for LVLMs. While LoRA is often viewed as an efficient alternative, it is highly sensitive to hyperparameters, particularly the chosen rank ($r$). As shown in Figure 1, a slight change in rank can cause forget accuracy to fluctuate significantly (e.g., from 4% to 18% in Gradient Difference). This instability necessitates extensive, costly hyperparameter searches, undermining the efficiency goals of PeFT and highlighting the need for a more robust, lightweight unlearning mechanism.
Methodology: Knowledge Vector Weakening (KVW)
We propose Knowledge Vector Weakening (KVW), a training-free approach that requires zero backpropagation or gradient computation. KVW operates on the principle that Feed-Forward Networks (FFNs) in transformers function as key-value memories. The method involves two primary steps:
- Identify Forget-Related Vectors: The model performs a standard forward pass on both a "forget set" and a "retain set." We extract the activation strengths (knowledge coefficients) of the value vectors in the FFNs during token generation. By calculating a log-scale ratio of forget activations versus retain activations, KVW isolates specific "knowledge vectors" that are highly active for the targeted data but inactive for general knowledge. This contrastive identification prevents "brain damage" to the model by sparing neurons essential for general language and vision processing.
- Weaken the Vectors: Instead of updating weights via loss functions, KVW directly intervenes in the model's parameters. It applies a continuous gate function to scale down (attenuate) the identified knowledge vectors. The stronger a vector's association with the forget set, the more its contribution is reduced, effectively blocking the neural pathways responsible for generating unwanted information.
Experimental Evaluation
KVW was evaluated on two representative LVLM unlearning benchmarks:
- MLLMU-Bench: 500 synthetic and 153 public celebrity profiles with customized QA pairs, evaluated using ROUGE scores.
- CLEAR: A benchmark built on the TOFU dataset, containing 200 synthetic author profiles with ~3,700 associated images and QA pairs, evaluated using short-answer Visual Question Answering (VQA) accuracy.
Results and Discussion
Superior Forget-Retain Trade-off
On the CLEAR benchmark (Forget05 split), KVW successfully reduced forget accuracy to 0.00—matching the performance of a model retrained from scratch—while maintaining a high retain accuracy of 0.48. In contrast, gradient-based baselines like NPO and MMU struggled to fully erase the knowledge, leaving residual forget accuracies of 0.21 and 0.29, respectively. Qualitatively, while gradient methods often cause models to hallucinate similar but incorrect identities, KVW physically blocks the identity-recognition pathway, allowing the model to safely fall back on generic visual descriptions.
Massive Computational Efficiency
Because KVW relies solely on forward passes, it achieves drastic reductions in compute, time, and memory costs. As illustrated in Figure 2, KVW requires a fraction of the FLOPs and time compared to gradient-based methods like GA, GD, KL, NPO, and MMU. Furthermore, its peak memory usage is comparable to standard inference (~30GB VRAM), whereas gradient-dependent methods often spike to 50-60GB VRAM.
Conclusion
Knowledge Vector Weakening (KVW) provides a highly efficient, training-free alternative to traditional gradient-based unlearning for LVLMs. By selectively attenuating neural pathways associated with specific data, KVW achieves state-of-the-art unlearning performance with minimal computational overhead. Future work will explore structured weakening strategies to account for complex interactions between vectors and investigate lightweight post-weakening adaptation to further refine the model's representational capacity.
Summary updated