TL;DR
The Cross-Dimensional Forgery Localization (CDFL) framework tackles the challenge of identifying unseen image manipulations by extracting intrinsic pixel correlation patterns across both spatial and frequency domains. By combining local texture periodicity and spatial randomness into a parameter-free balanced residual map, CDFL achieves remarkable localization accuracy and boasts an average ~5% improvement in F1-score over state-of-the-art methods on out-of-distribution datasets.
What Problem Does This Paper Address?
With the rapid rise of Artificial Intelligence Generated Content (AIGC) tools like Diffusion Models and GANs, creating highly realistic image forgeries has become trivial. Detecting and precisely locating these tampered regions (Image Forgery Localization, or IFL) is critical for combating misinformation and AI fraud.
However, current state-of-the-art localization models suffer from a major flaw: they rely heavily on supervised training on specific datasets, causing them to overfit to known artifacts. When faced with novel generation techniques or unseen tampering methods, their performance plummets. Furthermore, most existing approaches analyze images in either the spatial domain (losing global structure) or the frequency domain (losing fine-grained pixel details), failing to capture the holistic cross-dimensional traces left behind by generative models.
Methods
The authors introduce CDFL, an architecture designed to capture cross-dimensional forgery traces without relying solely on high-level semantic features. It consists of two core components:
- Cross-Dimensional Forgery Pattern Extraction (CDFPE): This module operates on local analysis windows to extract a parameter-free prior map without adding network weights.
- Local Periodicity ($P$): Applies a 2D Fast Fourier Transform (FFT) to capture high-frequency structural regularities often introduced by upsampling or interpolation in generative networks.
- Local Randomness ($R$): Computes Shannon entropy on the local grayscale distribution to capture noise anomalies and disorder.
- Balanced Residual Map ($\Delta_{PRB}$): Defines a balance coefficient $\alpha = P/R$. By regularizing this coefficient against the image-wide mean and standard deviation, it isolates regions that abnormally deviate from natural texture statistics, creating a highly generalizable forgery saliency map.
- Attention Feedback-Assisted Forgery Localization (AFFL): A multi-scale encoder-decoder network that integrates the original image and the $\Delta_{PRB}$ map.
- Self-attention modules are embedded at each encoding stage to capture global semantic dependencies and suppress background noise.
- An Attention Alignment mechanism creates skip connections that feed pixel correlation attention maps from the encoder directly into the decoder, amplifying the subtle correlation trajectories of forged regions for fine-grained boundary localization.
Datasets
The framework was evaluated across 7 public benchmark datasets:
- In-Domain Training & Validation:
- CASIA v2: Traditional splicing and copy-move tampering.
- IMD2020: Large-scale dataset with diverse real-world manipulations and degradations.
- FantasticReality: High-fidelity splicing with semantically coherent regions.
- TampCOCO: Object addition/removal in complex backgrounds.
- Cross-Domain Generalization Evaluation (Unseen during training):
- COVERAGE: Geometrically transformed copy-move tampered images.
- CocoGlide: Images featuring diffusion-generated local edits (filling a critical AI forgery testing gap).
- RealisticTampering: Concealed tampering combining traditional and lightweight generative edits.
Key Insights and Ideas
- The "Laziness" of Generative Models: The foundational insight of this paper is that generative models exhibit a structural "laziness." Instead of producing truly random natural noise, they tend to generate highly clustered, densified, and regularized pixel distributions. As shown in Figure 1, real images show scattered pixel distributions in the 3D RGB space, while forged images show significant clustering.
- Domain Synergy over Single-Domain Analysis: Instead of treating spatial and frequency domains as separate features to be concatenated later, CDFL divides periodicity by randomness ($\alpha = P/R$) at the local pixel level. This directly quantifies the disruption of natural texture harmony.
- Attention as a Feedback Loop: Instead of just using standard feature skip connections (like a vanilla U-Net), passing the attention maps from the encoder to the decoder helps preserve the precise geometric boundaries of the forged region, preventing the edge-blurring common in other localization networks.
Key Results
CDFL achieves state-of-the-art (SOTA) performance across all tested datasets, outperforming 10 representative baseline models (including TruFor, SAFIRE, and the Segment Anything Model).
- Intra-Domain Excellence: On the IMD2020 dataset, CDFL achieved an F1-score of 93.19%, significantly outperforming all baselines. It also reached 95.24% F1 on FantasticReality and 82.89% F1 on CASIA v2.
- Robust Cross-Domain Generalization: When tested on completely unseen datasets, CDFL maintained its lead. On the diffusion-edited CocoGlide dataset, it achieved an F1-score of 58.53% (beating SAFIRE's 55.62%). On RealisticTampering, it achieved 38.29% F1, outperforming the next best by nearly 6%.
- Ablation Validation: Removing the Cross-Dimensional Forgery Pattern Extraction module caused the largest performance drop, proving that joint spatial-frequency modeling is the primary driver behind the model's generalization capabilities.
Limitations and Future Work
Not discussed in the paper.
Summary updated