Abstract
UGD-IML is a novel framework that unifies standard (unconstrained) and reference-based (constrained) image forgery localization using a generative diffusion model. By framing localization as a denoising task rather than a direct classification problem, the model achieves state-of-the-art performance across multiple benchmarks. The framework provides built-in uncertainty estimation and allows for a flexible trade-off between inference speed and precision through dynamic diffusion steps.
Introduction
In the era of sophisticated AI-driven image editing, detecting manipulated content is a critical challenge. Researchers typically approach this through two distinct tasks: Image Manipulation Localization (IML), which detects forgeries in a single image, and Constrained IML (CIML), which compares a suspect image against an original source.
Existing discriminative models often struggle with generalization and typically require separate architectures for these two tasks. UGD-IML addresses these gaps by proposing a unified generative framework that treats the localization mask as a signal to be refined from noise, guided by the input image features.
Methodology
The UGD-IML architecture leverages a diffusion-based approach consisting of three core modules:
- Conditional Control Module (CCM): Uses a Swin-Transformer and a Feature Pyramid Network (FPN) to extract multi-scale features from input images, providing the necessary "guidance" for the diffusion process.
- Noise Addition Module (NAM): During training, ground truth masks are converted into high-dimensional embeddings and corrupted with Gaussian noise.
- Denoising Module (DM): Based on a deformable DETR decoder, this module iteratively predicts the clean forgery mask from the noisy input, conditioned on the CCM's guidance features.
The "unified" nature of the framework is achieved through shared weights in the CCM. For IML, the model processes only the forgery image. For CIML, it processes both the forgery and original images, concatenating their features to provide richer guidance. This allows a single model to handle both tasks without additional training overhead.
Key Results and Insights
UGD-IML significantly outperforms existing state-of-the-art (SOTA) methods. In IML tasks, it achieved an average F1 score improvement of 9.66% over previous benchmarks, with gains as high as 19.59% on the DSO-1 dataset. In CIML tasks, it outperformed specialized models like CAAA by 7.02% on the IMDSDG dataset.
Beyond raw accuracy, the generative nature of UGD-IML provides two unique advantages:
- Uncertainty Awareness: By observing prediction variance across diffusion steps, the model can generate uncertainty maps, highlighting regions where the detection is less certain.
- Dynamic Inference: Users can adjust the number of diffusion steps at inference time, allowing for a flexible trade-off between rapid detection and high-precision localization.
Conclusion
UGD-IML represents a significant advancement in unifying image forgery localization. By shifting from discriminative classification to generative denoising, the framework achieves superior robustness and interpretability. While highly effective for edit-based forgeries, future work will focus on refining the model to better detect the subtle architectural traces left by specific deep generative models.
Summary updated