atlas

Research map / Image generation / Autoregressive and latent generation

Stay-Positive: A Case for Ignoring Real Image Features in Fake Image Detection

ICML 2025 · Image generation › Autoregressive and latent generation · approach: Generalizable fake image detection · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Stay-Positive, which retrains only the last layer of a fake-image detector with non-negative weights so that real-associated features cannot push predictions toward real, improving generalization to FLUX/aMUSEd and robustness to WEBP/downsizing.

Problem

Fake image detectors trained on known generator families learn spurious correlations with real-image features (e.g., WEBP compression in real training data, image quality), which hurts generalization to newer generators such as FLUX and robustness to post-processing, and makes partially inpainted re

Approach

Under a ReLU features-plus-linear-head assumption, negative last-layer weights correspond to real-image features; retraining the last layer with weights clamped to be non-negative (with the backbone frozen) forces the detector to decide using only fake-associated features.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Retrain the last layer with non-negative weights and a frozen backboneCorvi · All generators (AVG)AP: 92.80 -> 99.88Helped
Retrain the last layer with non-negative weights and a frozen backboneRajan · All generators (AVG)AP: 96.22 -> 98.65Helped
Retrain the last layer with non-negative weights and a frozen backboneCorvi · FLUXAP: 57.25 -> 99.33Helped
Retrain the last layer with non-negative weights and a frozen backboneRajan · FLUXAP: 80.64 -> 90.50Helped
Retrain the last layer with non-negative weights and a frozen backboneCorvi · 50% inpainted imagesAP: 6.13 -> 97.48Helped
Retrain the last layer with non-negative weights and a frozen backboneRajan · 50% inpainted imagesAP: 49.69 -> 99.66Helped
Clamp final-layer weights to non-negative values without retraining (ablation)Corvi · All generators (AVG)AP: 92.80 -> 80.47Hurt
Clamp final-layer weights to non-negative values without retraining (ablation)Rajan · All generators (AVG)AP: 96.73 -> 88.17Hurt
Retrain the whole network while clamping final-layer weights, instead of freezing the backbone (ablation)Corvi · FLUXAP: 94.23 -> 69.50Hurt
Retrain the whole network while clamping final-layer weights, instead of freezing the backbone (ablation)Rajan · FLUXAP: 91.85 -> 58.68Hurt
Retrain the last layer with non-negative weights and a frozen backboneCorvi · VQDM (GenImage)AP: 98.68 -> 99.94Helped
Retrain the last layer with non-negative weights and a frozen backboneRajan · VQDM (GenImage)AP: 95.11 -> 99.26Helped

Surprising findings

Limitations

Experimental setup

Datasets: COCO LSUN Redcaps WikiArt LAION-Aesthetics whichfaceisreal InstructPix2Pix Nights MidJourney v4/v5 Kandinsky 2.1 Playground v2.5 PixArt-alpha

Benchmarks: GenImage UFD benchmark Synthbuster CNN-generated images test set (Wang et al.) custom 9-generator post-processed test set

Metrics: average precision accuracy logit score

Baselines: Corvi Rajan AEROBLADE UFD-ProGAN UFD-LDM ClipDet DRCT GAN-Baseline Cozzolino-LDM

Builds on: Corvi detector Rajan detector (LDM reconstruction training) UFD ResNet-50

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy