Source-Guided Inference-Time Rectification for More Generalizable AI-Generated Image Detection
Sheng YuWeinan GuanBo PengLeilei CaoFengjie ZhuJing DongTieniu Tan
Sheng Yu
Weinan Guan
Bo Peng
Leilei Cao
Fengjie Zhu
Jing Dong
Tieniu Tan
+7
Existing AI-generated image detectors degrade substantially on unseen generators, manipulations, and post-processing. The authors observe that such failures are associated with test representations deviating from reliable source-domain regions and that these deviations are partially rectifiable at inference time. Their proposed Source-Guided Subspace Rectification (SGSR) is a plug-and-play inference-time framework that treats a test representation as a perturbed observation of an underlying reliable representation and rectifies it using a reliable representation distribution estimated from correctly predicted source-domain samples, whose covariance structure enables direction-dependent rectification. SGSR requires no target statistics, pseudo-labels, cross-sample memory, or parameter updates, adding only marginal computation and storage. Across cross-dataset and cross-generator Deepfake and synthetic image benchmarks, SGSR yields average AUC gains of 0.80 and 4.08 percentage points for 19 Deepfake and 13 synthetic image detectors, respectively.

OpenReview · September 16, 2026