Introduction
Identifying manipulated images in real-world scenarios, such as social media, remains a significant challenge in digital forensics. Existing supervised models often overfit to specific forgery types (e.g., splicing or copy-move) and struggle with the multiple recompressions typical of internet images. Comprint addresses these issues by treating compression artifacts as a unique "fingerprint" of an image's history. Unlike traditional methods that search for specific JPEG artifacts like double compression, Comprint assumes that any forged area will simply possess a different compression history than the rest of the image.
Methodology
The Comprint framework relies on a Convolutional Neural Network (CNN) architecture, specifically optimized for feature extraction from compression traces.
Siamese Network and One-Class Training
The core of the system is a Siamese network trained on pristine image data. During training, the network processes pairs of image patches, learning to output similar fingerprints for patches with identical compression histories and dissimilar fingerprints for those that differ. This one-class training approach ensures the model does not become biased toward specific editing techniques, allowing it to generalize to unseen forgery types.
Localization via Expectation-Maximization
To translate these high-dimensional fingerprints into actionable forensic maps, Comprint utilizes an Expectation-Maximization (EM) algorithm. This process clusters co-occurrence-based features extracted from the fingerprints, effectively segmenting the image into pristine and forged regions.
Feature Fusion
A key innovation of the paper is the fusion of Comprint with Noiseprint, a state-of-the-art tool that extracts camera-model noise. Since compression artifacts and sensor noise originate from different stages of the imaging pipeline, they provide complementary signals. Stacking these features allows the system to detect manipulations even if one signal is weak or intentionally masked.
Experimental Evaluation
The authors evaluated Comprint across five diverse datasets—VIPP, DSO-1, FaceSwap, IMD2020, and OpenForensics—to test its performance under varied conditions, including double JPEG compression and AI-generated face swaps.
Key Results
- Localization Performance: The fused Comprint + Noiseprint model achieved an average F1 score of 0.592, outperforming 13 reference methods, including deep learning models like ManTra-Net.
- Detection Accuracy: Comprint alone achieved an image-level AUC of 0.686, demonstrating its capability to distinguish between tampered and original images.
- Real-World Robustness: On the IMD2020 dataset, which consists of real-world internet forgeries, the fusion method maintained its performance lead, proving its utility for "in-the-wild" forensic tasks.
Conclusion and Future Directions
Comprint represents a significant step toward robust, blind image forgery detection. By focusing on consistency rather than specific forgery signatures, it offers a flexible tool for modern forensic challenges. Future work will focus on extending the model to handle extreme recompression and expanding its scope to include other compression standards like HEIF and WebP, as well as video-based deepfake detection.
Summary updated