TL;DR
This paper introduces a novel object unlearning framework for generative AI models using scene graphs to selectively erase specific objects (e.g., a particular person's face) from an image dataset. By leveraging the semantic structure of scene graphs, the method successfully removes targeted data points while preserving the surrounding context and other instances of the same class. This approach offers a highly granular, efficient alternative to traditional unlearning methods that typically delete entire images or entire feature categories.
What Problem Does This Paper Address?
Data privacy regulations like GDPR and COPPA grant users the "right to be forgotten," requiring Machine Learning as a Service (MLaaS) providers to remove users' data from trained models upon request. In the context of image generation, existing machine unlearning techniques are blunt instruments:
- Sample Unlearning: Deletes the entire image containing the user's data. This causes "collateral damage" by erasing valuable background features (like cars or mountains) that are useful to the model but pose no privacy risk.
- Feature Unlearning: Erases an entire feature or class (e.g., all male faces) across the entire dataset, severely degrading the model's utility for other users.
The authors address this gap by proposing object unlearning, which aims to remove a specific object instance within an image without sacrificing the rest of the image sample or affecting similar objects in other training samples.
Methods
The core innovation lies in using Scene Graphs—structured representations that capture objects (nodes), their attributes, and their interwoven relationships (edges)—to precisely isolate the region of interest (ROI) for unlearning.
The authors adapt and evaluate three approximate unlearning strategies within a scene-graph-to-image (SG2I) generator:
- Negative Guidance-Based Fine-Tuning: The model locates the target object's bounding box via the scene graph, calculates the reconstruction loss for that specific ROI, and negates it during fine-tuning to force the model to "forget" the object.
- Mask-Based Fine-Tuning: The target object's ROI is obscured using either Patch Masking (setting pixel values to zero) or Noise Masking (injecting Gaussian noise). The model is then fine-tuned to maintain output consistency only on the unmasked regions.
- Influence Function-Based Partial Model Redaction (Obj-IF): To avoid the high computational cost of fine-tuning, the authors formulate object unlearning as a node-feature graph unlearning problem. They use influence functions to calculate a closed-form parameter update ($\Delta \theta$). Crucially, they apply this redaction only to the Graph Representation Learner (GRL) module rather than the entire network, preventing catastrophic forgetting in other parts of the model.
Datasets
The framework was evaluated using the Visual Genome dataset, a large-scale benchmark containing 108,077 images annotated with millions of object instances, attributes, and relationships.
To simulate realistic privacy scenarios, the authors filtered the dataset to select samples containing salient personally identifiable information (PII), focusing on nine human-related labels (e.g., "man", "woman", "boy", "girl", "face").
Key Insights and Ideas
- Why Scene Graphs? Traditional object segmentation can isolate a "boy" and a "cap" as separate entities, but a scene graph captures the relationship ("boy has cap"). This ensures that when the boy is unlearned, his unique cap is removed with him, rather than leaving a floating, anomalous hat in the generated image.
- Masking Wins Over Negative Guidance: In complex generative tasks, simply negating the loss (negative guidance) often fails or severely distorts the entire image. Localized masking (Patch or Noise) proved far more stable and effective at preserving the rest of the scene.
- Strategic Sub-Module Targeting: Applying influence functions to the entire model causes a massive drop in image quality. By targeting only the GRL—the component responsible for mapping visual and textual features into the layout—the authors achieved clean unlearning with minimal computational overhead.
Key Results
The authors evaluated their framework across three dimensions: A1 (effectiveness of removing the target object), A2 (preservation of remaining objects in the same image), and A3 (preservation of similar objects in other images).
- Performance: Mask-based methods (
Obj-MK-PAandObj-MK-NS) achieved the best balance, successfully erasing the target object while maintaining high structural similarity (SSIM) and low perceptual distance (LPIPS) for the rest of the dataset. - Efficiency: While full model retraining took 13,898 seconds, fine-tuning methods took around 529 seconds, and the influence function-based redaction (
Obj-IF) executed in just 3.25 seconds—a massive speedup. - Robustness: The unlearned models successfully resisted three types of adversarial query attacks (Fuzzy, Neighbor, and Singleton Query Attacks), proving that the model does not inadvertently leak the forgotten object when prompted with ambiguous or adjacent scene graph labels.
Limitations and Future Work
- Dataset Scale & Generalization: Models trained on massive datasets possess deeper data pattern understandings, which might make specific objects harder to completely erase compared to the smaller experimental subsets used here.
- Architecture Dependencies: The current framework was validated on GAN-based layout models. Adapting object unlearning to modern diffusion-based architectures will require identifying different internal modules to target.
- Privacy Metric Gaps: Standard computer vision distance metrics (like SSIM or LPIPS) do not perfectly correlate with human perception of privacy; an object might be mathematically distant but still visually recognizable to a human eye.
Summary updated