Abstract
With the rapid progress of generation technology, it has become necessary to attribute the origin of fake images. Existing works on fake image attribution perform multi-class classification on several Generative Adversarial Network (GAN) models and obtain high accuracies. While encouraging, these works are restricted to model-level attribution, only capable of handling images generated by seen models with a specific seed, loss and dataset, which is limited in real-world scenarios when fake images may be generated by privately trained models. This motivates us to ask whether it is possible to attribute fake images to the source models' architectures even if they are finetuned or retrained under different configurations. In this work, we present the first study on Deepfake Network Architecture Attribution to attribute fake images on architecture-level. Based on an observation that GAN architecture is likely to leave globally consistent fingerprints while traces left by model weights vary in different regions, we provide a simple yet effective solution named by DNA-Det for this problem. Extensive experiments on multiple cross-test setups and a large-scale dataset demonstrate the effectiveness of DNA-Det.
Introduction: The Challenge of Model-Level Attribution
As generative models become increasingly sophisticated, the ability to attribute a fake image to its source has become a critical forensic requirement. Current state-of-the-art methods primarily focus on model-level attribution, which identifies images generated by specific, previously seen models. However, these methods are often brittle; they rely on specific combinations of architecture, training data, and random seeds. In real-world scenarios, attackers may fine-tune public architectures on private data, rendering model-level detectors ineffective.
DNA-Det: A Framework for Architecture Attribution
To address these limitations, we propose DNA-Det (Deepfake Network Architecture Detector). Instead of identifying a specific model instance, DNA-Det aims for architecture-level attribution—identifying the underlying generator structure (e.g., StyleGAN2 vs. ProGAN) regardless of the specific weights or training domain.
The framework introduces two primary innovations:
- Pre-training on Image Transformations (PT): By pre-training on 170 diverse image transformations (such as resampling and blurring), the network learns to prioritize low-level structural artifacts over high-level semantic content.
- Patchwise Contrastive Learning (PCL): This approach leverages the observation that architectural fingerprints are globally consistent across an image, whereas weight-based traces are often localized to specific semantic regions.
Key Insights: Weights vs. Architecture
A key insight of this work is the distinction between weight-based and architecture-based traces. Weight-based fingerprints tend to be tied to image semantics—for instance, how a specific model instance renders eyes or hair. In contrast, the architecture itself leaves a consistent "texture" or signature across the entire image.
Empirical tests confirmed this: a classifier trained on a single patch position (e.g., the top-left corner) can successfully attribute the architecture when tested on any other patch position with over 90% accuracy. This spatial invariance is the cornerstone of DNA-Det’s robustness.
Experimental Results
DNA-Det was evaluated against several benchmarks, including a large-scale "GANs in the Wild" dataset featuring 59 models from 10 distinct architectures.
- Cross-Dataset Generalization: When trained on CelebA and tested on LSUN, DNA-Det maintained ~94% accuracy, significantly outperforming existing methods like AttNet (~38%).
- Fine-tuning Robustness: The model achieved ~97% accuracy even when tested on architectures fine-tuned on entirely different datasets.
- Robustness to Attacks: DNA-Det remains effective against common perturbations, including JPEG compression and blurring, maintaining high accuracy where others fail.
Conclusion and Future Work
DNA-Det represents the first comprehensive study of architecture-level deepfake attribution. While highly effective, the method faces challenges when architectures share identical components. Future research will explore component-level attribution to distinguish between models with overlapping building blocks and extend the framework to emerging technologies like Diffusion Models.
Summary updated