TL;DR
The paper introduces MUCS (Mirrored Unlearning and Noise-Consistent Skew), a highly reliable and robust method for Training Data Attribution (TDA) in diffusion models. By combining a controlled, bounded unlearning process with a novel noise-consistent scoring metric, MUCS accurately identifies the specific training images that causally influenced a given generation. It systematically outperforms existing state-of-the-art methods across multiple datasets while running up to 3 times faster.
What Problem Does This Paper Address?
When a diffusion model generates a stunning image, how do we know which training examples most heavily influenced that specific output? This is the goal of Training Data Attribution (TDA). Reliable TDA is crucial for model interpretability, copyright/royalty distribution, and detecting data leakage or memorization.
However, current TDA methods for diffusion models face significant hurdles:
- Lack of Robustness: Many methods are tightly coupled to specific diffusion formulations (like DDPM) and fail or become mathematically intractable when applied to modern variants (like EDM or flow matching).
- The Noise Dilemma: Diffusion models are inherently stochastic. The random noise sampled during the loss computation introduces massive variance, which frequently drowns out the subtle attribution signal.
- Evaluation Complexity: True causal validation requires "leave-k-out" retraining—deleting the top-$k$ predicted influential images and retraining the model from scratch to see if the generation changes. Because diffusion models exhibit strong "seed consistency" (generating highly similar images from the same noise seed even if large portions of data are randomized), identifying the true causal images is incredibly difficult.
Methods
MUCS tackles these challenges using a two-step framework: Mirrored Unlearning followed by Noise-Consistent Scoring.
1. Bounded Mirrored Unlearning
To find out which training points are responsible for a generated image $\hat{z}$, MUCS forces the model to "unlearn" it. It fine-tunes a copy of the trained model using a joint loss function: $$\mathcal{L}_{MUCS} = \mathcal{L}_{FT}(\text{Dataset}) - \lambda \mathcal{L}_{GA}(\hat{z})$$ This balances retaining general training knowledge ($\mathcal{L}_{FT}$) while performing gradient ascent ($\mathcal{L}_{GA}$) to erase $\hat{z}$.
Crucially, the authors introduce a Null Loss Reference ($\mathcal{L}_{null}$), calculated from a randomly initialized model. The unlearning loss is clamped so it cannot push the model into unrealistic, extreme loss territories. Unlearning automatically stops once the performance on $\hat{z}$ degrades to $95\%$ of the random null baseline, preventing catastrophic forgetting of the rest of the network.
2. Noise-Consistent Attribution Scoring
Once the model has unlearned the image, the authors measure how much the loss changed for every single image in the training set. MUCS introduces two vital innovations here:
- Noise-Consistency: Instead of sampling random noise for each training image evaluation, it uses the exact same pre-sampled pairs of noise scales ($\sigma$) and noise vectors ($n$) across all training instances. This completely eliminates the random fluctuations that plague other methods.
- Normalized Loss Skew: Instead of a simple subtraction of losses, MUCS computes a symmetric ratio (skew). This scales the loss change relative to the original loss magnitude, ensuring that abnormally high or low baseline losses don't distort the final attribution score.
Datasets
The authors evaluated MUCS across three distinct image datasets to demonstrate architectural and conditioning generalization:
- CIFAR10: Unconditional generation at $32\times32$ resolution.
- ArtBench10: Class-conditioned artwork generation at $64\times64$ resolution.
- MS-COCO: Text-conditioned generation at $64\times64$ resolution, utilizing CLIP-Text embeddings.
Key Insights and Ideas
- Noise Consistency is the Ultimate Secret Sauce: In their ablation study, using non-consistent noise pairs caused the performance (AUC) to plummet by 19%. Holding the noise constant across evaluations is the single most impactful design choice for stabilizing TDA.
- The "Hub" Phenomenon: The authors discovered a significant overlap in influential training instances across entirely different generated items. This suggests that certain training images act as "hubs" or highly central nodes that broadly dictate the model's generation capabilities.
- Ensembling is a Double-Edged Sword: While combining multiple TDA methods (e.g., mixing MUCS with cheap model-agnostic embeddings like DINO or CLIP) can provide a boost on highly complex datasets like MS-COCO, it actually hurts performance on simpler datasets where MUCS already achieves near-optimal results.
Key Results
The authors evaluated TDA quality by measuring the Area Under the ROC Curve (AUC) of image similarity metrics (SSIM, LPIPS, etc.) after retraining the models without the top 2% most influential images. A higher AUC means the method successfully identified the images whose removal most drastically altered/ruined the target generation.
- State-of-the-Art Performance: MUCS outperformed all baselines—including popular influence-function methods like D-TRAK and DAS, and prior unlearning methods like Forward-INF—by a massive margin. For instance, on CIFAR10, MUCS achieved an average AUC of 0.897, compared to 0.776 for the best performing baseline (DAS).
- Significant Speedups: Despite performing full model fine-tuning, MUCS is 1.5 to 2.9 times faster than competing influence-function and unlearning baselines because its dynamic stopping criterion prevents wasted compute steps.
Limitations and Future Work
- Computational Overhead: While faster than previous methods, MUCS still requires an unlearning fine-tuning phase and a full forward pass across the entire training dataset for every image you want to attribute. This remains expensive for production-scale datasets with millions of images.
- Theoretical Guarantees: Like most unlearning-based TDA approaches, MUCS relies on strong empirical heuristics; formal theoretical guarantees for exact counterfactual attribution in non-linear diffusion spaces remain an open challenge.
- Scope: The evaluation was restricted to image diffusion models; validating MUCS on other modalities (like audio or video) or other generative paradigms (like Flow Matching) is left for future research.
Summary updated