Data-Independent Operator: A Training-Free Artifact Representation Extractor for Generalizable Deepfake Detection

Authors: Chuangchuang Tan, Ping Liu, RenShuai Tao, Huan Liu, Yao Zhao, Baoyuan Wu, Yunchao Wei

Published: 2024-03-11 15:22:28+00:00

Comment: 12 pages, 3 figures

AI Summary

This paper introduces the Data-Independent Operator (DIO) framework for generalizable deepfake detection, proposing that small, training-free filters are sufficient to capture general artifact representations in synthetic images. The DIO, which can be handcrafted filters or randomly-initialized convolutional layers, enhances the generalization ability of detectors to unseen sources by suppressing image content and focusing on artifact clues. The method achieves state-of-the-art performance on a wide range of generative models, demonstrating a significant improvement in accuracy.

Abstract

Recently, the proliferation of increasingly realistic synthetic images generated by various generative adversarial networks has increased the risk of misuse. Consequently, there is a pressing need to develop a generalizable detector for accurately recognizing fake images. The conventional methods rely on generating diverse training sources or large pretrained models. In this work, we show that, on the contrary, the small and training-free filter is sufficient to capture more general artifact representations. Due to its unbias towards both the training and test sources, we define it as Data-Independent Operator (DIO) to achieve appealing improvements on unseen sources. In our framework, handcrafted filters and the randomly-initialized convolutional layer can be used as the training-free artifact representations extractor with excellent results. With the data-independent operator of a popular classifier, such as Resnet50, one could already reach a new state-of-the-art without bells and whistles. We evaluate the effectiveness of the DIO on 33 generation models, even DALLE and Midjourney. Our detector achieves a remarkable improvement of $13.3\\%$, establishing a new state-of-the-art performance. The DIO and its extension can serve as strong baselines for future methods. The code is available at \\url{https://github.com/chuangchuangtan/Data-Independent-Operator}.


Key findings
The Data-Independent Operator (DIO) consistently improves generalization performance over classifiers without DIO, with the DIO-Random (randomly initialized convolutional layer) and MDIO achieving the best results. The MDIO framework established a new state-of-the-art performance, demonstrating a remarkable gain of 13.3% in mean accuracy across 33 different generation models compared to existing methods. The approach proved effective across both GAN and Diffusion models, even when trained on a limited 4-class ProGAN dataset, and showed architectural independence with different backbones.
Approach
The proposed Data-Independent Operator (DIO) framework uses fixed, unlearnable filters (e.g., handcrafted filters like Sobel, Laplacian, or randomly-initialized convolutional layers) to extract source-invariant artifact representations from images. These operators suppress image content and transform distinctive artifacts into a more generalized representation, which is then fed into a standard classifier (like ResNet50) for training and detection, improving generalization to unseen deepfake sources. An extension, Multi-DIOs (MDIO), combines different DIOs in a cascade manner for further enhanced performance.
Datasets
ForenSynths, GANGen-Detection, DiffusionForensics, UniversalFakeDetect, AIGCDetectBenchmark, LSUN, ImageNet, CelebA, CelebA-HQ, COCO, FaceForensics++, LAION
Model(s)
ResNet50 (as classifier backbone), VGG16 (first layer as DIO), ResNet101 (first layer as DIO), InceptionV3 (first layer as DIO), CLIP-ResNet50 (first layer as DIO), DeeplabV3 (first layer as DIO), Xception (as backbone in ablation), Handcrafted filters (Laplacian of Gaussian, Laplacian, Avgpool, Sobel filters), Randomly Initialized Convolutional Layers
Author countries
China, USA