Self-Supervised Learning for Detecting AI-Generated Faces as Anomalies

Mian Zou, Baosheng Yu, Yibing Zhan, Kede Ma
1/4/2025
cs.CV

Official code: MZMMSEC/AIGFD_EXIF (4 stars, last commit 2026-01-11).

Abstract

The detection of AI-generated faces is commonly approached as a binary classification task. Nevertheless, the resulting detectors frequently struggle to adapt to novel AI face generators, which evolve rapidly. In this paper, we describe an anomaly detection method for AI-generated faces by leveraging self-supervised learning of camera-intrinsic and face-specific features purely from photographic face images. The success of our method lies in designing a pretext task that trains a feature extractor to rank four ordinal exchangeable image file format (EXIF) tags and classify artificially manipulated face images. Subsequently, we model the learned feature distribution of photographic face images using a Gaussian mixture model. Faces with low likelihoods are flagged as AI-generated. Both quantitative and qualitative experiments validate the effectiveness of our method. Our code is available at \url{https://github.com/MZMMSEC/AIGFD_EXIF.git}.

View on arXivView PDF

Code Implementations(1)

MZMMSEC/AIGFD_EXIFOfficial100%

[ICASSP 2025] Official Pytorch Implementation of Self-Supervised Learning for Detecting AI-Generated Faces as Anomalies

40PythonJan 3, 20259 months agoNOASSERTION

Similar Papers

Cite this paper

@article{zou2025selfsupervised,
  title  = {Self-Supervised Learning for Detecting AI-Generated Faces as Anomalies},
  author = {Mian Zou and Baosheng Yu and Yibing Zhan and Kede Ma},
  year   = {2025},
  eprint = {2501.02207},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.02207v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.02207.svg)](https://codeofpaper.com/paper/2501.02207)

Discussion