GUDA: Counterfactual Group-wise Training Data Attribution for Diffusion Models via Unlearning
Abstract
Lay Summary
Image-generating AI systems are trained on large collections of images, but it is often unclear which parts of the training data helped produce a particular generated image. This matters when people want to understand whether an output was influenced by a certain artistic style, object category, or other group of training examples. A direct way to answer this question is to retrain the AI system many times, each time leaving out one group, but this is usually too expensive. We propose GUDA, a more efficient way to estimate this effect. Instead of retraining from scratch, GUDA starts from the original trained model and uses a short additional training process to make the model behave as if one group had been left out. It then checks how much worse the modified model explains the generated image. If removing a group makes the image much harder to explain, that group is likely to have strongly influenced the output. In experiments on object categories and artistic styles, GUDA more reliably identified the most influential groups than methods based on visual similarity or methods that trace influence to individual training examples, while being much faster than full retraining.