Few-Shot Learner Generalizes Across AI-Generated Image Detection
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
MinorEvidence 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 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 input, the release’s native crop retains of the original area. Resizing to before the same crop covers approximately original coordinates, or 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.
Possible revision
Explicitly reconcileintendedtransform and rerun; geometricdifferenceverified only.
Problem 2. Visualization removes the classification projection
MinorEvidence 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 and projection Then but 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.
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. (), the input images are first resized to and then randomly cropped to 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.