arXiv:2609.37937cs.CVSep 2026

Manuscript Offprint

arXiv:2609.37937

Look Closer: Patch-wise Supervision for AI-Generated Image Detection

Zhida Zhang, Tao Wu, Siyu Liu, Jie Cao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

How much of an image does a detector need to see? Small RGB regions can retain useful evidence of image synthesis even when they reveal little of the full scene. Motivated by single-patch detection, we study patch-wise supervision: a shared backbone classifies explicit crops, each crop receives its own loss, and patch probabilities are averaged only at inference. The procedure requires neither handcrafted residual filtering nor a learned image-level fusion module. Experiments span single-patch selection, multiple generator collections, and four CNN and Transformer backbones. On GenImage, the reported means are higher for the patch-wise variants than for their whole-image counterparts across all four backbones. Comparisons of supervision granularity, source resolution, crop size, and inference coverage further characterize the approach, while post-processing tests and difficult-image evaluation reveal its limitations. Some checkpoints were selected using target evaluation data, limiting conclusions about unbiased cross-generator generalization. Overall, the study identifies explicit local input and patch-level supervision as a simple, useful combination for investigating generalizable AI-generated image detection.

Code: https://github.com/LF-Jade/look-closer

1 Introduction

A visually convincing image need not be locally indistinguishable from a photograph. Image synthesis can reproduce recognizable objects and coherent scenes while leaving differences in texture, reconstruction statistics, or relationships between neighboring pixels. For AI-generated image detection, this raises a practical question: how much of an image should a detector see at once? A whole-image classifier is a natural default, but its input combines local appearance with object identity and scene composition. Resizing that input may also alter the fine-scale evidence that detection relies on.

We study a deliberately simple alternative: learn from small RGB patches, and combine their predictions only when making the final image-level decision. This choice restricts the spatial context of each prediction without specifying a handcrafted forensic representation. It also changes the unit of supervision. Rather than asking a collection of patches to produce one correct training prediction, we ask each sampled patch to predict its parent image's label.

The study grew out of our earlier EIB-Net [17], which selects a low-complexity patch and regularizes its representation with an information bottleneck. A detector based on one selected region raises two further questions. Is useful evidence confined to that selection, or can other regions also be informative? If several regions contain useful but uneven evidence, can a simple multi-patch procedure exploit them without an additional fusion network?

Our single-patch experiments motivate this extension. In a facial-image setting, randomly selected patches perform similarly to minimum-complexity patches, while maximum-complexity patches also retain considerable detection ability. This does not mean that all regions are equally useful. Rather, committing to one selection heuristic is not the only way to obtain informative inputs. Multiple crops offer broader spatial coverage; separate patch losses encourage the classifier to use each local observation.

We study patch-wise supervision (PWS): a shared classifier processes explicit RGB crops, each crop receives its own classification loss, and crop probabilities are averaged at inference. There is no learned within-image feature fusion, no requirement for a residual filter, and no need to truncate the backbone. The defining choice is to apply the loss to each patch before any image-level aggregation.

The experiments examine this recipe across ResNet-18, ResNet-50, Xception, and Swin-T on GenImage and AIGCDetectBenchmark. Supervision and resolution-alignment studies distinguish extracting crops from how those crops are trained. Patch-size and patch-count experiments probe the trade-off between local detail and coverage. Image-processing tests and Chameleon expose important failure modes. We report these existing results with their model-selection limitations, rather than present a newly standardized leaderboard evaluation.

Our contributions are:

• From one region to multiple local decisions. We connect single-patch observations to a multi-patch detector using RGB inputs, a shared full backbone, and inference-time probability averaging.

• Supervision as a design choice. We formulate and compare patch-level supervision with an image-level objective applied after pooling, separating this choice from patch extraction.

• Evidence across architectures and conditions. We study

Patch-wise Supervision

Figure

Figure 1: GenImage results across four backbones. Blue dashed curves denote whole-image baselines; red curves denote PWS. The reported PWS mean is higher for each backbone, although this ordering does not hold for every generator subset. Exact values and the model-selection qualifications are given in Table 2 and Section 5.1.

backbone choice, resolution, crop size, coverage, and post-processing, with detailed results and failure cases that make the scope of the approach visible.