All Patches Matter, More Patches Better: Enhance AI-Generated Image Detection via Panoptic Patch Learning

Abstract

The rapid proliferation of AI-generated images (AIGIs) highlights the pressing demand for generalizable detection methods. In this paper, we establish two key principles for AIGI detection task through systematic analysis: **(1) All Patches Matter**, since the uniform generation process ensures that each patch inherently contains synthetic artifacts, making every patch a valuable detection source; and **(2) More Patches Better**, as leveraging distributed artifacts across more patches improves robustness by reducing over-reliance on specific regions. However, counterfactual analysis uncovers a critical weakness: naively trained detectors display **Few-Patch Bias**, relying disproportionately on *minority patches*. We identify this bias to **Lazy Learner** effect, where detectors to limited patch artifacts while neglecting distributed cues. To address this, we propose **Panoptic Patch Learning** framework, which integrates: (1) *Randomized Patch Reconstruction*, injecting synthetic cues into randomly selected patches to diversify artifact recognition; (2) *Patch-wise Contrastive Learning*, enforcing consistent discriminative capability across patches to ensure their uniform utilization. Extensive experiments demonstrate that PPL enhances generalization and robustness across datasets.

Cite

Text

Yang et al. "All Patches Matter, More Patches Better: Enhance AI-Generated Image Detection via Panoptic Patch Learning." International Conference on Learning Representations, 2026.

Markdown

[Yang et al. "All Patches Matter, More Patches Better: Enhance AI-Generated Image Detection via Panoptic Patch Learning." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/yang2026iclr-all/)

BibTeX

@inproceedings{yang2026iclr-all,
  title     = {{All Patches Matter, More Patches Better: Enhance AI-Generated Image Detection via Panoptic Patch Learning}},
  author    = {Yang, Zheng and Chen, Ruoxin and Yan, Zhiyuan and Zhang, Ke-Yue and Fu, Xinghe and Wu, Shuang and Shu, Xiujun and Yao, Taiping and Ding, Shouhong and Qin, Zequn and Li, Xi},
  booktitle = {International Conference on Learning Representations},
  year      = {2026},
  url       = {https://mlanthology.org/iclr/2026/yang2026iclr-all/}
}