Where Detectors Fail: Probing Generative Space for Generalizable AI-Generated Image Detection

Zijie Cao, Weijie Tu, Yao Xiao, Weijian Deng, Weiyan Chen, Liang Lin, Pengxu Wei

The Generalization Problem in AI Image Detection

As generative AI models rapidly evolve, detecting AI-generated images (AIGI) has become increasingly difficult. Current detectors often suffer from a severe generalization problem: while they perform exceptionally well on images from the specific generators they were trained on (such as Stable Diffusion 1.4), their accuracy drops precipitously when evaluating outputs from newer or unseen models like Midjourney or SDXL.

The authors of this paper argue that the bottleneck in detector performance is not the amount of training data, but its distribution. Standard data sampling—using fixed prompts and default settings—explores only a tiny fraction of a generator's possible output space. Consequently, detectors tend to overfit to the specific, low-level artifacts of a particular model rather than learning the fundamental, generalized signatures of synthetic generation. To build a truly robust detector, it must be trained on the "boundaries"—the edge-case regions where a generator produces highly realistic images that currently fool the detector.

The PROBE Framework

To address this, the researchers introduce PROBE (Probing Robustness via Boundary Exploration), a two-stage framework designed to actively hunt for and learn from these failure points.

1. Generative Space Probing

Instead of treating the image generator as a static source of training data, PROBE actively uses the detector as a critic. By employing LoRA (Low-Rank Adaptation), the system efficiently tweaks the generator's internal representations, optimizing it to produce images that the detector is likely to misclassify as "real."

  • Enforcing Realism: If left unchecked, this optimization would simply produce "adversarial noise"—images that fool the detector but look like static or garbage to humans. To prevent this, PROBE applies perceptual regularization using a VGG-19 backbone, forcing the generated "hard" samples to remain on the natural, realistic image manifold.
  • Efficient Optimization: Because backpropagating through an entire diffusion denoising process is computationally prohibitive, the authors utilize Deep Reward Tuning. This technique allows gradients from the final generated image to guide the process without the need to store every intermediate diffusion step.

2. Boundary-Aware Detector Adaptation

Once these challenging, boundary-induced fake samples are generated, they are combined with standard real and synthetic images. The detector is then fine-tuned on this mixed dataset, forcing it to refine its decision boundary and learn more robust, discriminative features that generalize beyond simple artifacts.

Key Insights

  • Active Exploration Outperforms Passive Collection: A single diffusion model implicitly encodes a massive variety of images. PROBE demonstrates that actively exploring this latent space for hard samples is far more valuable for training than passively collecting larger datasets of standard outputs.
  • Shared Failure Modes Across Architectures: Surprisingly, probing a single generator (like SD 1.4) uncovers failure points that are shared across entirely different generative architectures, including GANs and Autoregressive models. This suggests that different AI models share common "perceptual ambiguities," such as specific texture inconsistencies or over-smoothing.
  • Realism is a Necessary Constraint: Constraining the search to realistic images is the exact mechanism that helps the detector generalize to other high-quality generators. Without perceptual regularization, the system learns to detect meaningless noise rather than true generative artifacts.

Experimental Results and Robustness

The study evaluated PROBE across seven diverse benchmarks, including in-house datasets (GenImage, Synthbuster, AIGI-Quality-Paradox) and "in-the-wild" datasets featuring real-world degradations (Chameleon, WildRF, SynthWildX, AIGI-Bench).

  • Significant Accuracy Gains: PROBE consistently outperformed baseline detectors. When applied to a standard ResNet-50 backbone, PROBE increased the average Balanced Accuracy (bAcc) by 14.6%.
  • State-of-the-Art Performance: Utilizing a stronger backbone (DINOv2-ViT-L), PROBE achieved an impressive average bAcc of 93.9% across all seven benchmarks, outperforming the previous state-of-the-art by 4.6%.
  • Cross-Family Generalization: Despite the probing phase being conducted on a diffusion model, the resulting detector showed markedly improved performance on GAN-based models (e.g., BigGAN, StyleGAN2) and autoregressive models (e.g., NOVA).
  • Real-World Robustness: PROBE-trained detectors proved significantly more resilient to post-processing. Even under high levels of JPEG compression or blurring—conditions where traditional artifact-based detectors typically collapse—the PROBE detector maintained accuracy above 90%.

Limitations and Future Directions

While highly effective, PROBE currently operates under a white-box requirement, meaning it needs access to the generator's internal weights to perform LoRA fine-tuning during the probing stage. Extending this methodology to "black-box" settings (where only API access is available) remains a key direction for future research. Additionally, while probing a single model yields excellent results, incorporating a wider variety of generator families during the probing phase could further expand the coverage of diverse generation patterns.

Summary updated

BibTeX
@inproceedings{cao2026where,
  author = {Zijie Cao and Weijie Tu and Yao Xiao and Weijian Deng and Weiyan Chen and Liang Lin and Pengxu Wei},
  title = {{Where Detectors Fail: Probing Generative Space for Generalizable AI-Generated Image Detection}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=gAXiBfnvbD},
}
Figure