ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Minor

Few-Shot Learner Generalizes Across AI-Generated Image Detection

Shiyu Wu, Jing Liu, Jing Li, Yequan Wang

ELVIA analysis

Independent review pending

The prototype computation, squared-distance classifier and episode indexing agree with the stated method in independent finite checks. The headline gain is 11.6 percentage points under the paper’s evaluation protocol. Two release-level inconsistencies remain: testing omits the described resize, and visualization removes the trained projection used for classification. Neither establishes failure of historical accuracy results. The episodic support budget and unequal baseline training information require careful interpretation. Scientific adjudication remains pending.

Problem 1. Released evaluation omits documented resize

Minor
Evidence and reasoning

Problem statement

Test images resized then center-cropped224.

Proof

Severity: Minor; a supported reproduction discrepancy with unmeasured historical effect. Section 4.2, page 5, says that test images are resized and then center-cropped to 224×224.224\times224. In `datasets/__init__.py`, the validation/test loader instead applies only `CenterCrop(224)` and `ToTensor()`; `test.py` directly uses this loader on each class’s validation directory. The training loader has a resize, so this is not merely a shared omitted description of preprocessing.

For a 1024×10241024\times1024 input, the release’s native 224×224224\times224 crop retains 4.7852%4.7852\% of the original area. Resizing to 256×256256\times256 before the same crop covers approximately 896×896896\times896 original coordinates, or 76.5625%,76.5625\%, a sixteenfold geometric area difference. This is a coordinate-footprint calculation, not a claim that all benchmark images have that resolution or that either transformed image was run through the detector. Spatial scale and retained image content are different inputs to the detector, so these pipelines are not interchangeable in general.

If every supplied file was already resized to the required size by an unrecorded preprocessing step, the discrepancy could disappear. The included rebuild script creates symlinks and does not perform that resize, and the README does not specify such a step. The historical dataset/preprocessing chain is therefore needed. A reproduction should explicitly choose the documented resize-and-crop path or revise the method description to match the intended native crop, then rerun the affected comparison. No performance repair has been tested.

□\square

Possible revision

Explicitly reconcileintendedtransform and rerun; geometricdifferenceverified only.

Problem 2. Visualization removes the classification projection

Minor
Evidence and reasoning

Problem statement

Plot final model features of learned metric representation.

Proof

Severity: Minor; release-level mismatch in the evidence for the learned metric space. Figure 2 specifies 1024-dimensional features, and the train/test drivers instantiate a ResNet-50 with a 1024-output head. Figure 4 and Section 4.5 describe visualizing the final-layer features of the model. However, `visualization/tsne_script.py` loads that model and then replaces `model.fc` with `torch.nn.Identity()` before feature extraction. This removes the trained projection used by the actual prototype classifier, producing backbone features instead.

A learned projection need not preserve neighbors: take backbone points a=(0,100),a=(0,100), b=(1,0),b=(1,0), c=(2,100)c=(2,100) and projection W=(1,0).W=(1,0). Then ∥a−c∥=2<∥a−b∥≃100.005,\|a-c\|=2<\|a-b\|\simeq100.005, but ∣Wa−Wb∣=1<∣Wa−Wc∣=2.|Wa-Wb|=1<|Wa-Wc|=2. The independent calculation verifies this reversal. Thus a visualization of pre-head features cannot directly certify the geometry of the post-head metric representation. This does not prove that the displayed historical figures used the current script, or that their qualitative clusters would disappear. The repair is to retain the classifier’s projection when studying its metric space, or accurately label the plotted features as backbone features and provide a separate post-head analysis. Neither actual visualization was regenerated here. Even correctly sourced t-SNE plots are qualitative two-dimensional evidence, not quantitative guarantees of generalization.

□\square

Possible revision

Retain projection or label backbone features; noactualtSNErerun.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

Following Wang et al. (20232023), the input images are first resized to 256×256256 \times 256 and then randomly cropped to 224×224224\times224 with random horizontal flipping during training.

Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 5

Actual review scope

The recorded inspection concerns these source locations: Section 4.2 p. 5 datasets/__init__.py setup_val_dataloader test.py; Figure 2 p. 3 Section 4.5 Figure 4 p. 7 visualization/tsne_script.py.

Submit an author revisionContribute a review