CDI: Copyrighted Data Identification in Diffusion Models

Jan Dubiński, Antoni Kowalczuk, Franziska Boenisch, Adam Dziedzic
11/19/2024
cs.LGcs.CR

Official code: sprintml/copyrighted_data_identification (10 stars, Apache-2.0, last commit 2024-11-21). 1 more implementation below.

Abstract

Diffusion Models (DMs) benefit from large and diverse datasets for their training. Since this data is often scraped from the Internet without permission from the data owners, this raises concerns about copyright and intellectual property protections. While (illicit) use of data is easily detected for training samples perfectly re-created by a DM at inference time, it is much harder for data owners to verify if their data was used for training when the outputs from the suspect DM are not close replicas. Conceptually, membership inference attacks (MIAs), which detect if a given data point was used during training, present themselves as a suitable tool to address this challenge. However, we demonstrate that existing MIAs are not strong enough to reliably determine the membership of individual images in large, state-of-the-art DMs. To overcome this limitation, we propose CDI, a framework for data owners to identify whether their dataset was used to train a given DM. CDI relies on dataset inference techniques, i.e., instead of using the membership signal from a single data point, CDI leverages the fact that most data owners, such as providers of stock photography, visual media companies, or even individual artists, own datasets with multiple publicly exposed data points which might all be included in the training of a given DM. By selectively aggregating signals from existing MIAs and using new handcrafted methods to extract features for these datasets, feeding them to a scoring model, and applying rigorous statistical testing, CDI allows data owners with as little as 70 data points to identify with a confidence of more than 99% whether their data was used to train a given DM. Thereby, CDI represents a valuable tool for data owners to claim illegitimate use of their copyrighted data. We make the code available at https://github.com/sprintml/copyrighted_data_identification

View on arXivView PDF

Code Implementations(2)

Apache-2.0

[CVPR 2025] CDI: Copyrighted Data Identification in Diffusion Models

102PythonNov 19, 20241 years agoApache-2.0
unknowndi/CDICommunity75%
Apache-2.0

CDI: Copyrighted Data Identification in Diffusion Models

00PythonNov 4, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{dubiski2024cdi,
  title  = {CDI: Copyrighted Data Identification in Diffusion Models},
  author = {Jan Dubiński and Antoni Kowalczuk and Franziska Boenisch and Adam Dziedzic},
  year   = {2024},
  eprint = {2411.12858},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.12858v3},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.12858.svg)](https://codeofpaper.com/paper/2411.12858)

Discussion