atlas

Research map / Detection and segmentation / CNN features

Rethinking the Up-Sampling Operations in CNN-based Generative Network for Generalizable Deepfake Detection

CVPR 2024 · Detection and segmentation › CNN features · approach: Forgery detection · 200 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 Neighboring Pixel Relationships (NPR), a local pixel-difference artifact representation from up-sampling layers in GAN/diffusion generators, and trains a lightweight CNN on ProGAN images to detect GAN and diffusion images across 28 generators.

Problem

Generalizable deepfake detection: detectors trained on one generator source often fail on unseen GAN and diffusion sources, and prior work mostly analyzes up-sampling artifacts in the frequency domain.

Approach

Captures local up-sampling artifacts in image space by computing differences between pixels within each l×l grid (e.g., 2×2), which reflect correlations introduced by up-sampling and translation-invariant convolutions, and uses these relative relationships as the artifact representation for a small CNN classifier.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train the detector on NPR rather than the strongest listed baselineDeepfake detection trained on ProGAN · 28 generation models, 38 sub-testsetsMean accuracy: 80.5 -> 93.3Helped
Use w2 rather than w1 as the 2×2 NPR reference pixel (ablation)NPR detector · ForenSynths test setAcc.: 92.5 -> 87.5Hurt
Use w3 rather than w1 as the 2×2 NPR reference pixel (ablation)NPR detector · ForenSynths test setAcc.: 92.5 -> 91.0Hurt
Use w4 rather than w1 as the 2×2 NPR reference pixel (ablation)NPR detector · ForenSynths test setAcc.: 92.5 -> 91.4Hurt
Use the 2×2 patch mean rather than w1 as the NPR reference (ablation)NPR detector · ForenSynths test setAcc.: 92.5 -> 88.3Hurt
Use the 2×2 patch maximum rather than w1 as the NPR reference (ablation)NPR detector · ForenSynths test setAcc.: 92.5 -> 90.9Hurt
Increase NPR patch size from 2×2 to 3×3, using w1 (ablation)NPR detector · ForenSynths test setAcc.: 92.5 -> 89.4Hurt
Increase NPR patch size to 3×3 and use w2 as reference (ablation)NPR detector · ForenSynths test setAcc.: 92.5 -> 90.1Hurt
Increase NPR patch size to 3×3 and use w3 as reference (ablation)NPR detector · ForenSynths test setAcc.: 92.5 -> 89.0Hurt
Increase NPR patch size to 3×3 and use w4 as reference (ablation)NPR detector · ForenSynths test setAcc.: 92.5 -> 89.6Hurt
Increase NPR patch size to 3×3 and use the patch mean as reference (ablation)NPR detector · ForenSynths test setAcc.: 92.5 -> 87.1Hurt
Increase NPR patch size to 3×3 and use the patch maximum as reference (ablation)NPR detector · ForenSynths test setAcc.: 92.5 -> 90.5Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ForenSynths (ProGAN training set, LSUN real) ForenSynths test set GANGen 9 GANs DIRE DiffusionForensics Ojha diffusion dataset Diffusion1kStep (self-collected Midjourney, DALLE, 1000-step diffusions)

Benchmarks: ForenSynths test set Self-Synthesis 9 GANs DiffusionForensics Ojha diffusion test set Self-Synthesis Diffusion dataset

Metrics: accuracy average precision

Baselines: CNNDetection Frank Durall Patchfor F3Net SelfBland GANDetection BiHPF FrePGAN LGrad Ojha

Builds on: CNNDetection FreGAN LGrad Ojha et al. universal fake detection BiHPF

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