NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

UGAD: Universal Generative AI Detector utilizing Frequency Fingerprints

Inzamamul Alam, Muhammad Shahid Muneer, Simon S. Woo

Introduction

As Generative AI technologies like Generative Adversarial Networks (GANs) and Diffusion Models (e.g., Stable Diffusion) advance, the distinction between authentic and synthetic imagery has become nearly imperceptible to the human eye. This evolution presents significant challenges for digital security and the fight against misinformation. Existing detection frameworks often suffer from a "generalization gap," where models trained on specific architectures fail to identify artifacts from newer or different generative processes. UGAD (Universal Generative AI Detector) addresses this by shifting focus from spatial pixel analysis to the underlying frequency-domain "fingerprints" inherent in the image synthesis process.

Methodology: The Frequency Fingerprint Approach

The UGAD framework employs a dual-path architecture designed to capture both global and local spectral artifacts. Unlike traditional methods that rely on spatial features, UGAD leverages the observation that AI-generated images exhibit unique, consistent traces in their frequency spectra.

Overview of the UGAD framework, illustrating the parallel Radial Integral Operation (RIO) and Spatial Fourier Unit (SFU) processing paths.

Radial Integral Operation (RIO)

The RIO path begins by converting images from the RGB color space to YCbCr to better isolate luminance and chrominance components. After applying a Fast Fourier Transform (FFT), the system performs radial integration. Research indicates that AI-generated images tend to have a nearly constant power spectrum density across different radii—a "flatness" that serves as a universal synthetic signature. RIO captures this characteristic as a 1D feature vector.

Spatial Fourier Unit (SFU)

The SFU path processes FFT-transformed channels by splitting them into quadrants (Top-Left, Top-Right, Bottom-Left, Bottom-Right) and concatenating them into a higher-dimensional space. This "Split, Concat, and Shift" approach allows the model to extract complex non-linear features without the information loss typically associated with standard downsampling. Spatial Feature Extraction (SFE) then utilizes depthwise convolutions and covariance-based normalization to stabilize feature distributions.

The features from both paths are fused and processed by a ResNet152 backbone for final classification.

Datasets and Benchmarking

To evaluate UGAD's robustness, the authors compiled a massive dataset of approximately 430,000 authentic images (from ImageNet, COCO, and Danbooru) and 410,000 fake images (from ProGAN, StyleGAN, DALL-E 2, etc.). Furthermore, they introduced $T_{Gen}$, a practical test dataset featuring 1,000 images each from modern, high-fidelity sources.

Sample images from the $T_{Gen}$ benchmark dataset, representing various modern generative models including Midjourney, StableAI, and DreamBooth.

Key Results and Performance

UGAD demonstrates a significant performance leap over previous state-of-the-art (SOTA) methods, achieving an average accuracy increase of 12.64% and a 28.43% improvement in Area Under the Curve (AUC).

  • Generalization: On the unseen $T_{Gen}$ dataset, UGAD reached an average accuracy of 96.40%, notably outperforming OpenAI’s CLIP-based detection (83.74%).
  • Robustness: The model maintains high efficacy even when images are subjected to common post-processing augmentations like Gaussian blur or JPEG compression.
  • Efficiency: With an average inference time of 400 milliseconds, the system is suitable for near-real-time deployment.

Conclusion

UGAD establishes a new benchmark for universal AI image detection by exploiting the "constant" power spectrum signature left by generative models. While performance remains exceptionally high across most generators, slight dips in accuracy on specific regional models like YiJian (73.1%) suggest areas for future refinement. Moving forward, the authors aim to enhance the Spatial Fourier Extraction process to better handle diverse lighting conditions and "in-the-wild" deepfakes at scale.

Summary updated

BibTeX
@inproceedings{alam2024ugad,
  author = {Inzamamul Alam and Muhammad Shahid Muneer and Simon S. Woo},
  title = {{UGAD: Universal Generative AI Detector utilizing Frequency Fingerprints}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2024},
  doi = {10.1145/3627673.3680085},
}
Figure