atlas

Research map / Image generation / Autoregressive and latent generation

Transfer Learning of Real Image Features with Soft Contrastive Loss for Fake Image Detection

AAAI 2025 · Image generation › Autoregressive and latent generation · approach: Generalizable fake image detection · 1 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 Natural Trace Forensics (NTF), which learns self-supervised homogeneous "natural trace" features from real images and transfers them into a soft-contrastive fake-image classifier, and introduces a 12-generator GAN/DM/multi-step dataset for evaluating generalization.

Problem

Detecting fake images from unseen generative models fails because artifact-based detectors overfit to artifacts of training generators, which change as generators evolve.

Approach

Instead of learning real-vs-fake artifact differences, it treats shared statistical traits of real images (natural traces), decoupled by a self-supervised projection, as an extra target; a soft contrastive loss pulls real images toward these traces and pushes fakes away, so the detector decides by proximity to natural traces.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use NTF instead of Grag2021GAN-based fake image detection · GAN-based images, averageAP: 98.9 -> 99.9Helped
Use NTF instead of Grag2021GAN-based fake image detection · GAN-based images, averageACC: 88.5 -> 92.4Helped
Use NTF instead of Grag2021Diffusion-based fake image detection · Diffusion-based images, averageAP: 85.2 -> 91.2Helped
Use NTF instead of Ojha2023Diffusion-based fake image detection · Diffusion-based images, averageACC: 72.6 -> 82.7Helped
Use NTF instead of Ojha2023Multi-step fake image detection · Multi-step images, averageAP: 87.5 -> 97.3Helped
Use NTF instead of Ojha2023Multi-step fake image detection · Multi-step images, averageACC: 91.1 -> 88.3Hurt
Use NTF instead of Wang2020Midjourney detection · Midjourneyaccuracy: 63.02 -> 78.41Helped
Use NTF instead of Grag2021Kolors detection · Kolorsaccuracy: 60.24 -> 78.12Helped
Add soft orthogonality loss to natural-trace representation learning (ablation)NTF · Unseen generative modelsgeneralization performanceHelped
Add heterogeneous-feature loss to natural-trace representation learning (ablation)NTF · Unseen generative modelsgeneralization performanceHelped
Add soft contrastive learning (ablation)NTF · Unseen generative modelsgeneralization performanceHelped
Replace ProGAN training data with LDM data (ablation)NTF · Unseen generative modelsgeneralization performanceMixed

Surprising findings

Limitations

Experimental setup

Datasets: ProGAN/LSUN dataset (720K train, 4K val) FaceForensics++ LAION self-built GAN/DM/multi-step dataset

Benchmarks: self-built GAN/DM/multi-step dataset Midjourney and Kolors commercial generations

Metrics: AP ACC FPR FNR

Baselines: Xception Wang2020 Grag2021 Ojha2023 SBIs CADDM

Builds on: supervised contrastive learning CNNDetection (Wang2020) UnivFD (Ojha2023) SBIs CADDM

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