Overfitting: An Unexpected Asset in AI‐Generated Image Detection
Abstract
AI-generated images have become highly realistic, raising concerns about potential misuse for malicious purposes. In this work, we propose a novel approach, DetGO, to detect generated images by overfitting the distribution of natural images. Our critical insight is that a model overfitting to one distribution (natural images) will fail to generalize to another (AI‐generated images). Inspired by the sharpness‐aware minimization, where the objective function is designed in a $\min$-$\max$ scheme to find flattening minima for better generalization, DetGO instead seeks to overfit the natural image distribution in a $\max$-$\min$ manner. This requires finding a solution with a minimal loss near the current solution and then maximizing the loss at this solution, leading to sharp minima. To address the divergence issue caused by the outer maximization, we introduce an anchor model that fits the natural image distribution. In particular, we learn an overfitting model that produces the same outputs as the anchor model while exhibiting abrupt loss behavior for small perturbations. Consequently, we can effectively determine whether an input image is AI-generated by calculating the output differences between these two models. Extensive experiments across multiple benchmarks demonstrate the effectiveness of our proposed method.
BibTeX
@misc{qin2025overfitting,
author = {Guanzheng Qin and Yonggang Zhang and Chao Wu and Yiu-ming Cheung and Bo Han and Xinmei Tian},
title = {{Overfitting: An Unexpected Asset in AI‐Generated Image Detection}},
year = {2025},
url = {https://openreview.net/forum?id=F1OdjlfCLS},
howpublished = {OpenReview},
note = {Submitted to ICLR 2025},
}Ask Althea to put this paper to the test.
Loading related content...