{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2601-22651","title":"GUDA: Counterfactual Group-wise Training Data Attribution for Diffusion Models via Unlearning","arxiv_id":"2601.22651","date":"2026-01-30","proceeding":"ICML","authors":["Naoki Murata","Yuhta Takida","Chieh-Hsin Lai","Toshimitsu Uesaka","Bac Nguyen","Stefano Ermon","Yuki Mitsufuji"],"abstract":"Training-data attribution for vision generative models aims to identify which training data influenced a given output. While most methods score individual examples, practitioners often need group-level answers (e.g., artistic styles or object classes). Group-wise attribution is counterfactual: how would a model's behavior on a generated sample change if a group were absent from training? A natural realization of this counterfactual is Leave-One-Group-Out (LOGO) retraining, which retrains the model with each group removed; however, it becomes computationally prohibitive as the number of groups grows. We propose GUDA (Group Unlearning-based Data Attribution) for diffusion models, which approximates each counterfactual model by applying machine unlearning to a shared full-data model instead of training from scratch. GUDA quantifies group influence using differences in a likelihood-based scoring rule (ELBO) between the full model and each unlearned counterfactual. Experiments on CIFAR-10 and artistic style attribution with Stable Diffusion show that GUDA identifies primary contributing groups more reliably than semantic similarity, gradient-based attribution, and instance-level unlearning approaches, while achieving ~100x speedup on CIFAR-10 over LOGO retraining.","url_abs":"https://arxiv.org/abs/2601.22651","url_pdf":"https://arxiv.org/pdf/2601.22651","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2601.22651","atlas_url":"https://app.syntology.ai/?focus=2601.22651","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2601.22651"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/sony/guda","reach":null}],"summary":{"unverified":6},"by_repo_kind":{"found_in_text":{"samples":6,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"ff7e89932c657e58","entry":"aggregate_to_groups","repo":"sony/guda","repo_kind":"found_in_text","path":"CIFAR10/evaluation/attribution_utils.py","file_url":"https://github.com/sony/guda/blob/HEAD/CIFAR10/evaluation/attribution_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ff7e89932c657e58"}},{"code_sha256_prefix":"e176ea0d97496a5b","entry":"compute_diffusion_loss_batch","repo":"sony/guda","repo_kind":"found_in_text","path":"CIFAR10/evaluation/attribution_utils.py","file_url":"https://github.com/sony/guda/blob/HEAD/CIFAR10/evaluation/attribution_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e176ea0d97496a5b"}},{"code_sha256_prefix":"25e9919c607c7a1d","entry":"compute_diffusion_loss_single","repo":"sony/guda","repo_kind":"found_in_text","path":"CIFAR10/evaluation/attribution_utils.py","file_url":"https://github.com/sony/guda/blob/HEAD/CIFAR10/evaluation/attribution_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"25e9919c607c7a1d"}},{"code_sha256_prefix":"74039d35077611f0","entry":"evaluate_spearman_correlation","repo":"sony/guda","repo_kind":"found_in_text","path":"CIFAR10/cifar10_diffusion/diffusion_utils.py","file_url":"https://github.com/sony/guda/blob/HEAD/CIFAR10/cifar10_diffusion/diffusion_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"74039d35077611f0"}},{"code_sha256_prefix":"41ed6ba7fc3129e3","entry":"load_ema_model","repo":"sony/guda","repo_kind":"found_in_text","path":"CIFAR10/cifar10_diffusion/sampler.py","file_url":"https://github.com/sony/guda/blob/HEAD/CIFAR10/cifar10_diffusion/sampler.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"41ed6ba7fc3129e3"}},{"code_sha256_prefix":"24bab7c6462a5799","entry":"normal_kl","repo":"sony/guda","repo_kind":"found_in_text","path":"CIFAR10/cifar10_diffusion/diffusion_utils.py","file_url":"https://github.com/sony/guda/blob/HEAD/CIFAR10/cifar10_diffusion/diffusion_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"24bab7c6462a5799"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}