Abstract
The model of camera that was used to capture a particular photographic image (model attribution) is typically inferred from high-frequency model-specific artifacts present within the image. Model anonymization is the process of transforming these artifacts such that the apparent capture model is changed. We propose a conditional adversarial approach for learning such transformations. In contrast to previous works, we cast model anonymization as the process of transforming both high and low spatial frequency information. We augment the objective with the loss from a pre-trained dual-stream model attribution classifier, which constrains the generative network to transform the full range of artifacts. Quantitative comparisons demonstrate the efficacy of our framework in a restrictive non-interactive black-box setting.
Introduction: The Camera Fingerprint
Every digital camera leaves a unique "fingerprint" on the images it captures. This signature arises from a combination of hardware imperfections, such as sensor noise, and software-specific processing choices like demosaicing and compression. Forensic experts leverage these artifacts for camera model attribution—the process of identifying the specific device type used to capture an image.
While beneficial for forensic investigations, this capability presents a privacy risk for individuals who require anonymity, such as whistleblowers or journalists. Effective anonymization must go beyond simply removing high-frequency noise; it must also address low-frequency optical artifacts, such as lens vignetting, which modern forensic tools can exploit to detect "cleaned" images.
The Cama Framework
To address these challenges, we introduce the Conditional Adversarial Camera Model Anonymizer (Cama). Unlike previous methods that required training separate models for each target camera, Cama is a conditional generative adversarial network (cGAN) that accepts both an image and a target camera label as input.
Dual-Stream Evaluator
The core innovation of Cama is the Dual-Stream Evaluator. This component acts as a surrogate for a potential attacker's classifier. It splits the generated image into high-frequency ($x'_H$) and low-frequency ($x'_L$) components. By requiring the generator to satisfy classification losses for both streams independently, the model is prevented from taking "shortcuts"—such as only modifying high-frequency noise while ignoring optical characteristics.
Technical Components
- Constrained Convolutional Layer: The discriminator utilizes a specialized initial layer to suppress image content, focusing the model's attention on the microscopic "prediction error" features that define camera signatures.
- Re-demosaicing: Images are projected back into a Bayer mosaic pattern and re-interpolated before processing. This step helps strip away the original camera's processing traces before the generator applies the target model's characteristics.
- Loss Functions: The training objective balances an adversarial loss for realism, a pixel-wise $L_1$ loss for visual fidelity, and a classification loss to ensure the evaluator correctly identifies the target class.
Experimental Results
The framework was evaluated using the Dresden Image Database, a standard benchmark in digital forensics, across 12 distinct camera models.
Performance Metrics
Cama consistently outperforms existing state-of-the-art baselines across various scenarios:
- Targeted Success Rate (TSR): In scenarios with known camera models, Cama achieved a mean TSR of 91.2%, significantly higher than previous methods like SpoC (82.2%) and MISL (52.0%).
- Black-Box Transferability: The anonymization remains effective even when the attacker uses different neural architectures (e.g., VGG-16 vs. ResNet) or pre-processing techniques. In some black-box tests, success rates reached as high as 97.5%.
- Visual Fidelity: Transformations are virtually imperceptible to the human eye, maintaining a mean Peak Signal-to-Noise Ratio (PSNR) of approximately 35dB.
Conclusion
Cama demonstrates that robust camera model anonymization is a multi-scale problem. By addressing both high-frequency sensor noise and low-frequency optical artifacts through a dual-stream adversarial approach, it is possible to effectively fool forensic classifiers while preserving image quality. As forensic methods evolve to detect GAN-generated artifacts, future work will focus on the ongoing "arms race" between anonymization and detection.
Summary updated