Beyond Binary Classification: A Semi-supervised Approach to Generalized AI-generated Image Detection

Authors

  • Hong-Hanh Nguyen-Le School of Computer Science, University College Dublin, Ireland
  • Van-Tuan Tran School of Computer Science and Statistics, Trinity College Dublin, Ireland
  • Thuc D. Nguyen Department of Knowledge Engineering, University of Science, VNU-HCMC, Vietnam
  • Nhien-An Le-Khac School of Computer Science, University College Dublin, Ireland

DOI:

https://doi.org/10.1609/aaai.v40i42.40886

Abstract

The rapid advancement of generators (e.g., StyleGAN, Midjourney, DALL-E) has produced highly realistic synthetic images, posing significant challenges to digital media authenticity. These generators are typically based on a few core architectural families, primarily Generative Adversarial Networks (GANs) and Diffusion Models (DMs). A critical vulnerability in current forensics is the failure of detectors to achieve cross-generator generalization, especially when crossing architectural boundaries (e.g., from GANs to DMs). We hypothesize that this gap stems from fundamental differences in the artifacts produced by these distinct architectures. In this work, we provide a theoretical analysis explaining how the distinct optimization objectives of the GAN and DM architectures lead to different manifold coverage behaviors. We demonstrate that GANs permit partial coverage, often leading to boundary artifacts, while DMs enforce complete coverage, resulting in over-smoothing patterns. Motivated by this analysis, we propose the Triarchy Detect or (TriDetect), a semi-supervised approach that enhances binary classification by discovering latent architectural patterns within the "fake" class. TriDetect employs balanced cluster assignment via the Sinkhorn-Knopp algorithm and a cross-view consistency mechanism, encouraging the model to learn fundamental architectural distincts. We evaluate our approach on two standard benchmarks and three in-the-wild datasets against 13 baselines to demonstrate its generalization capability to unseen generators.

Published

2026-03-14

How to Cite

Nguyen-Le, H.-H., Tran, V.-T., Nguyen, T. D., & Le-Khac, N.-A. (2026). Beyond Binary Classification: A Semi-supervised Approach to Generalized AI-generated Image Detection. Proceedings of the AAAI Conference on Artificial Intelligence, 40(42), 35733–35741. https://doi.org/10.1609/aaai.v40i42.40886

Issue

Section

AAAI Technical Track on Philosophy and Ethics of AI