Your AI-Generated Image Detector Can Secretly Achieve SOTA Accuracy, If Calibrated
Muli Yang, Gabriel James Goenawan, Henan Wang, Huaiyuan Qin, Chenghao Xu, Yanhua Yang, Fen Fang, Ying Sun, Joo-Hwee Lim, Hongyuan Zhu

TL;DR
This paper introduces a simple, theoretically grounded post-hoc calibration method that improves AI-generated image detection accuracy under distributional shifts without retraining the model.
Contribution
We propose a learnable scalar calibration technique based on Bayesian decision theory that enhances detection robustness against distributional shifts without retraining.
Findings
Significant accuracy improvements on challenging benchmarks
Robustness to distributional shifts without retraining
Lightweight calibration method compatible with existing models
Abstract
Despite being trained on balanced datasets, existing AI-generated image detectors often exhibit systematic bias at test time, frequently misclassifying fake images as real. We hypothesize that this behavior stems from distributional shift in fake samples and implicit priors learned during training. Specifically, models tend to overfit to superficial artifacts that do not generalize well across different generation methods, leading to a misaligned decision threshold when faced with test-time distribution shift. To address this, we propose a theoretically grounded post-hoc calibration framework based on Bayesian decision theory. In particular, we introduce a learnable scalar correction to the model's logits, optimized on a small validation set from the target distribution while keeping the backbone frozen. This parametric adjustment compensates for distributional shift in model output,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Advanced Neural Network Applications · Digital Media Forensic Detection
