TL;DR
This paper introduces a novel iterative algorithm for discovering and attributing images generated by unseen Generative Adversarial Networks (GANs) in an "open-world" setting. It tackles the challenge of identifying GAN sources when new GANs are constantly emerging, a limitation of previous "closed-set" methods.
What Problem Does This Paper Address?
The rapid proliferation of GANs, while exciting for creative applications, raises significant concerns for media forensics and cybersecurity. Existing methods for identifying the source GAN of a generated image are typically trained on a fixed set of known GANs. This "closed-set" approach fails when faced with new GANs that weren't part of the training data, making it impractical for real-world scenarios where new GANs are continuously released. The paper addresses this by proposing a system that can not only attribute images to known GANs but also discover and group images from entirely new, previously unseen GANs. This is crucial for accountability, combating misinformation, and protecting intellectual property in an evolving digital landscape.
Methods
The core of the proposed approach is an iterative pipeline that combines several key components:
- Network Training: A feature extractor and classifier are trained in a supervised manner using a labeled set of known GANs and a "clustered" set of images from the discovery set, which are assigned pseudo-labels.
- Out-of-Distribution (OOD) Detection: This stage uses a Winner Take All (WTA) hashing algorithm to distinguish between images from known (in-distribution) GANs and those from potentially new (out-of-distribution) GANs. This is a novel application of WTA hashing for OOD detection.
- Clustering: For images identified as out-of-distribution, a K-Means algorithm is used to overcluster them, creating initial groupings for potential new GAN sources.
- Merge and Refine: To address overclustering and improve the purity of discovered groups, a two-step process is employed:
- Merge: Clusters are merged using a 1-Nearest Neighbour graph based on centroid distances to consolidate similar groups.
- Refine: Support Vector Machines (SVMs) are used to identify and remove impure samples from clusters, further enhancing their purity. Impure samples are returned to the non-clustered set for potential re-clustering.
This iterative process allows the system to continuously refine its understanding of GAN fingerprints and discover new sources over multiple cycles.
Datasets
The paper utilizes a combination of real datasets and GAN-generated images for training and evaluation.
- Labeled Datasets: 4 real datasets (CelebA, CelebA-HQ, ImageNet, LSUN-Bedroom) and GANs trained on these datasets.
- Discovery Datasets: Includes images from the labeled datasets as well as images from 8 unseen GANs.
- Additional Datasets for Testing: DTD, FashionGen, Night, and Shoes datasets were used to test the system's ability to discover new real datasets and GANs trained on them.
The paper also mentions using CIFAR-100 for evaluating the OOD detection component against existing benchmarks.
Key Insights and Ideas
- GANs Leave Distinct Fingerprints: The fundamental assumption is that GANs leave unique, detectable "fingerprints" on their generated images, which can be exploited for attribution and discovery.
- Open-World is Crucial: The paper argues that closed-set approaches are insufficient for real-world GAN attribution due to the continuous emergence of new GANs. An open-world approach is necessary.
- Iterative Refinement: The iterative nature of the proposed pipeline is key to its success, allowing it to gradually improve feature representations and cluster assignments as new GANs are discovered.
- WTA Hashing for OOD: The novel application of WTA hashing for out-of-distribution detection proves effective and robust, outperforming cosine-based distances in many scenarios.
- Discovering New Real Datasets: The approach can generalize not only to unseen GANs but also to GANs trained on entirely new real datasets not present in the initial labeled set.
Key Results
- High Accuracy in Discovery and Attribution: The proposed algorithm achieves high accuracy in discovering unseen GANs and attributing images to their sources, outperforming existing baselines in open-world scenarios.
- Effective OOD Detection: The WTA hashing-based OOD detection component demonstrates strong performance, often outperforming established methods like ODIN.
- Online Discovery Capability: The system can discover new GANs in an online fashion, adapting as new sources are introduced over time.
- Robustness to Hyperparameters: The algorithm shows robustness to variations in hyperparameters, particularly the percentile threshold for OOD detection.
- Real/Fake Detection Performance: The clustering approach also yields competitive results for the standard real/fake detection task, outperforming sample-wise predictions in many cases.
Limitations and Future Work
- Computational Cost: The iterative retraining of the network in each iteration can be computationally expensive, especially for large datasets.
- Future Work: The authors suggest exploring approaches from continual learning for faster training and enabling a truly never-ending discovery setup. They also plan to release their toolset to facilitate further research in this area.
Summary updated