Multimodal Machine Unlearning

Jiali Cheng, Hadi Amiri · OpenReview

Abstract

Machine Unlearning removes specific knowledge about training data samples from an already trained model. It has significant practical benefits, such as purging private, inaccurate, or outdated information from trained models without the need for complete re-training. Unlearning within a multimodal setting presents unique challenges due to the complex dependencies between different data modalities and the expensive cost of training on large multimodal datasets and architectures. This paper presents the first machine unlearning approach for multimodal data and models, titled MultiDelete, which is designed to decouple associations between unimodal data points during unlearning without losing the overall representation strength of the trained model. MultiDelete advocates for three key properties for effective multimodal unlearning: (a): modality decoupling, which effectively decouples the association between individual unimodal data points marked for deletion, rendering them as unrelated data points, (b): multimodal knowledge retention, which retains the multimodal representation post-unlearning, and (c): unimodal knowledge retention, which retains the unimodal representation post-unlearning. MultiDelete is efficient to train and is not constrained by using a strongly convex loss—a common restriction among existing baselines. Experiments on two architectures and four datasets, including image-text and graph-text datasets, show that MultiDelete gains an average improvement of 17.6 points over the best performing baseline in unlearning multimodal samples, can maintain the multimodal and unimodal knowledge of the original model post-unlearning, and can provide better protection to unlearned data against adversarial attacks.

Introduction

As multimodal models like CLIP and BLIP become central to everything from image search to medical diagnostics, a new challenge has emerged: how do we make them "forget"? Whether due to privacy regulations (like GDPR’s "right to be forgotten"), copyright disputes, or simply outdated information, we need ways to remove specific training data without the massive expense of retraining the model from scratch.

Machine unlearning is relatively well-studied for unimodal models (text-only or image-only). However, multimodal models pose a unique challenge: complex inter-modality dependencies. If you want a model to forget that a specific image is associated with a specific caption, simply fine-tuning the model or adding noise to the weights often fails. These "blunt" methods either don't fully break the cross-modality link or they accidentally destroy the model's ability to understand images or text in general. MultiDelete addresses this gap by effectively handling the "entanglement" of data in multimodal architectures.

Methodology

MultiDelete centers on three key properties enforced through a combined loss function:

  1. Modality Decoupling (MD): This is the core "forgetting" mechanism. For a pair marked for deletion (e.g., Image $I_i$ and Text $T_i$), the model is trained to make their relationship indistinguishable from a random, unrelated pair. It essentially tells the model: "Treat these two as if they've never met."
  2. Multimodal Knowledge Retention (MKR): To ensure the model doesn't lose general utility, this loss minimizes the gap between the original model and the unlearned model on the remaining training data.
  3. Unimodal Knowledge Retention (UKR): This ensures the individual encoders (the part of the model that "sees" images or "reads" text) stay sharp. Even if the model forgets the link between a specific image and text, it should still know what a cat looks like or what the word "apple" means.
Overview of the MultiDelete framework and its three core components: Modality Decoupling (MD), Multimodal Knowledge Retention (MKR), and Unimodal Knowledge Retention (UKR).

The final objective is a weighted sum of these three losses, optimized via stochastic gradient descent: $f' = \arg \min_{f_{\theta}} \alpha \mathcal{L}_{MD} + \beta \mathcal{L}_{MKR} + \gamma \mathcal{L}_{UKR}$. The authors also explore a parameter-efficient variant (MultiDelete-F) that only updates the fusion module ($f_F$), leaving the heavy-duty encoders ($f_I, f_T$) frozen.

Experimental Setup

The researchers evaluated MultiDelete across four diverse datasets covering image-text and graph-text tasks:

Summary of datasets used for evaluation, including image-text and graph-text pairs.
  • Flickr30K: Used for Image-Text Retrieval (IR/TR).
  • SNLI-VE: Used for Visual Entailment (determining if text contradicts or supports an image).
  • NLVR2: Natural Language for Visual Reasoning.
  • PGR: A specialized Graph-Text dataset involving relationships between phenotypes and genes.

Key Results and Insights

MultiDelete significantly outperformed existing baselines (like FineTune, NegGrad, and DtD) across the board:

  • Superior Forgetting: It achieved an average improvement of 17.6 points over the best baseline in forgetting the targeted data ($D_f$).
  • Utility Preservation: It maintained performance on the test set ($D_{test}$), outperforming the best baseline by 0.3 points.
  • Privacy Protection: In Membership Inference (MI) attacks, MultiDelete reduced vulnerability by 0.13 absolute points compared to non-scrubbing baselines.
  • Efficiency: The method is substantially faster than retraining from scratch and scales linearly with the number of samples to be deleted.

A key insight is that unlearning often only needs to target the relationship between entities. MultiDelete excels at this surgical removal of associations. Furthermore, the authors found that MultiDelete can sometimes outperform a model retrained from scratch on the remaining data, likely because it starts from a high-performing "warm" state rather than a random initialization.

Conclusion

MultiDelete provides a robust and efficient framework for multimodal machine unlearning. By decoupling associations while retaining unimodal and multimodal knowledge, it offers a surgical approach to data removal that preserves model utility. While the current study focuses on discriminative tasks, it sets the stage for future work in generative models and more complex, many-modal systems.

Summary updated

BibTeX
@inproceedings{cheng2024multimodal,
  author = {Jiali Cheng and Hadi Amiri},
  title = {{Multimodal Machine Unlearning}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  url = {https://openreview.net/forum?id=xocaGon35y},
}
Figure