Search papers, labs, and topics across Lattice.
This paper introduces DiffusionPrint, a contrastive learning framework that learns generative fingerprints to localize inpainting forgeries produced by diffusion models. By training a convolutional backbone with a MoCo-style objective and generator-aware classification, DiffusionPrint captures consistent generative fingerprints shared by inpainted regions from the same model, even after latent decoding. Experiments demonstrate consistent improvements in inpainting localization when integrated into existing IFL frameworks, achieving gains of up to +28% on unseen mask types and generalizing to unseen generative architectures.
DiffusionPrint exposes a consistent generative fingerprint in diffusion-based inpainting, enabling robust forgery localization even when camera-level noise patterns are disrupted by latent decoding.
Modern diffusion-based inpainting models pose significant challenges for image forgery localization (IFL), as their full regeneration pipelines reconstruct the entire image via a latent decoder, disrupting the camera-level noise patterns that existing forensic methods rely on. We propose DiffusionPrint, a patch-level contrastive learning framework that learns a forensic signal robust to the spectral distortions introduced by latent decoding. It exploits the fact that inpainted regions generated by the same model share a consistent generative fingerprint, using this as a self-supervisory signal. DiffusionPrint trains a convolutional backbone via a MoCo-style objective with cross-category hard negative mining and a generator-aware classification head, producing a forensic feature map that serves as a highly discriminative secondary modality in fusion-based IFL frameworks. Integrated into TruFor, MMFusion, and a lightweight fusion baseline, DiffusionPrint consistently improves localization across multiple generative models, with gains of up to +28% on mask types unseen during fine-tuning and confirmed generalization to unseen generative architectures. Code is available at https://github.com/mever-team/diffusionprint