MultiDelete for Multimodal Machine Unlearning

Jiali Cheng, Hadi Amiri

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 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

In the era of "the right to be forgotten" and strict data privacy laws like GDPR, machine learning models face a difficult challenge: how to remove specific information from a trained model without starting from scratch. While machine unlearning has gained traction for unimodal models (e.g., text-only or image-only), multimodal models like CLIP or ALBEF present unique difficulties. These models do not just learn individual data points; they learn deep, complex dependencies between different modalities.

Existing unlearning methods often fail in this context because they either introduce noise that destroys general utility, rely on mathematical assumptions (like strong convexity) that do not hold for deep learning, or focus only on the final layers, ignoring cross-modality interactions. MultiDelete addresses these gaps by focusing on decoupling the specific relationships between data points (e.g., a specific user's association with an image) while preserving the model's foundational intelligence.

The MultiDelete Framework

MultiDelete is an architecture-agnostic framework designed to break specific associations between modalities while maintaining overall performance. The core of the approach is a specialized loss function composed of three pivotal properties:

  1. Modality Decoupling (MD): This serves as the primary "forgetting" mechanism. It forces the model to treat a deleted image-text pair as if they were two completely unrelated, random samples.
  2. Multimodal Knowledge Retention (MKR): This acts as a regularizer to ensure the model retains its "common sense." It forces the unlearned model to maintain the same multimodal representations for the remaining (non-deleted) data as the original model.
  3. Unimodal Knowledge Retention (UKR): This preserves the model's understanding of individual modalities. Even if the link between a specific image and text is severed, the model should still recognize the contents of that image and the meaning of that text independently.
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 standard stochastic gradient descent (SGD), making it compatible with various architectures including Vision Transformers, GCNs, and BERT-based models.

Experimental Setup

The authors evaluated MultiDelete across four diverse datasets covering image-text and graph-text tasks. These datasets represent a wide range of multimodal reasoning challenges, from simple retrieval to complex visual entailment.

Statistics of the four datasets used for evaluation, including image/graph counts and text pairs.
  • Flickr30K: Image-Text Retrieval.
  • SNLI-VE: Visual Entailment (determining if a text hypothesis is true based on an image).
  • NLVR²: Natural Language for Visual Reasoning.
  • PGR (Phenotype-Gene Relation): A graph-text dataset for classifying relationships between entities in a subgraph.

Key Results

MultiDelete demonstrates significant improvements over existing baselines across several metrics:

  • Superior Forgetting: The framework achieved an average improvement of 17.6 points over the best-performing baseline in forgetting deleted data (measured by Deletion Set Performance).
  • Utility Preservation: While successfully forgetting the target data, the model maintained performance on the remaining test data, typically staying within 0.3 points of the original model's accuracy.
  • Adversarial Robustness: MultiDelete provided enhanced protection against Membership Inference (MI) attacks, improving protection by 0.13 absolute points. This indicates that it is significantly harder for an attacker to determine if a deleted sample was ever part of the training set.
  • Efficiency: The method is orders of magnitude faster than retraining from scratch, showing linear time growth relative to the number of deleted samples.

Conclusion and Future Work

MultiDelete represents a significant step forward in making multimodal models compliant with privacy standards. By focusing on relationship decoupling rather than blunt weight scrubbing, it achieves high forgetting efficacy without sacrificing model utility. Future research will look toward extending this framework to tri-modal settings (e.g., video-audio-text) and refining the Unimodal Knowledge Retention for models with more complex, non-parametric fusion modules.

Summary updated

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