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

Understanding and Improving Training-Free AI-Generated Image Detections with Vision Foundation Models

Chung-Ting Tsai, Ching-Yun Ko, I-Hsin Chung, Yu-Chiang Frank Wang, Pin-Yu ChenarXiv 2024 · DOI

Introduction

As generative models like Stable Diffusion and Midjourney produce increasingly realistic imagery, the need for robust deepfake detection has never been greater. Traditional detectors, typically binary classifiers trained on specific datasets, often suffer from overfitting and fail to generalize to new generative techniques.

"Training-free" detectors offer a solution by exploiting the statistical properties of pre-trained Vision Foundation Models (VFMs). These methods assume that real images inhabit a stable manifold in a VFM's latent space, while synthetic images are more sensitive to perturbations. However, existing training-free methods exhibit a significant domain bias: they perform well on general objects but struggle with facial images.

Heatmaps illustrating the sensitivity of real vs. fake images to various perturbations. Note the domain bias where different noise types are more effective for specific categories (e.g., JPEG compression for Midjourney faces).

Methodology: The MINDER Framework

To address this domain bias, the authors introduce MINDER (MINimum distance DetEctoR). This framework leverages the inherent robustness of self-supervised learning (SSL) models, specifically DINOv2, which provides more reliable representations for detection than supervised models like CLIP.

Contrastive Blur

The research identifies that fake facial images often contain more high-frequency components than real ones. While standard Gaussian noise is ineffective for faces, the authors propose Contrastive Blur. This technique calculates the distance between the embeddings of a blurred version and a sharpened version of the same image, effectively amplifying the synthetic artifacts.

Minimum Distance Strategy

MINDER solves the domain bias by evaluating an image against both Gaussian noise and Contrastive Blur. By selecting the minimum distance to a threshold, the system ensures that if an image is robust to either perturbation, it is classified as real. This allows for a single, universal detector that works across both facial and general image domains.

The MINDER framework overview, showing the parallel processing of images through Contrastive Blur and Gaussian Noise paths to achieve a balanced detection across domains.

Key Results and Insights

  • State-of-the-Art Performance: MINDER achieves an average AUROC of 88.8% on the DF40 benchmark, representing a 15.3 point improvement on specific subsets compared to previous training-free methods.
  • SSL Superiority: Self-supervised models like DINOv2 capture a more holistic understanding of image content, making their internal representations significantly more sensitive to subtle generative artifacts.
  • Robustness to Compression: Unlike simple frequency-based methods, MINDER remains effective even when images are subjected to JPEG compression, which typically erases high-frequency synthetic signatures.
  • Scaling Laws: While scaling DINOv2 from Base to Giant improves general image detection, gains are smaller for faces, suggesting facial detection relies more on specific architectural sensitivities.

Conclusion

MINDER represents a significant step toward universal, training-free deepfake detection. By combining noise and blur sensitivities within a robust VFM framework, it overcomes the domain biases that plagued earlier methods. Future work will aim to adapt these principles to detect local artifacts in surgical forgeries like face-swapping, where global embedding sensitivity is currently less effective.

Summary updated

BibTeX
@misc{tsai2024understanding,
  author = {Chung-Ting Tsai and Ching-Yun Ko and I-Hsin Chung and Yu-Chiang Frank Wang and Pin-Yu Chen},
  title = {{Understanding and Improving Training-Free AI-Generated Image Detections with Vision Foundation Models}},
  year = {2024},
  eprint = {2411.19117},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.19117},
}
Figure