Diffusion models meet image counter-forensics
Matías Tailanian, Marina Gardella, Álvaro Pardo, Pablo Musé
TL;DR
This work examines diffusion models as counter_forensics tools that erase forgery traces embedded in camera processing, thereby deceiving forensics detectors. It introduces Diffusion Counter-Forensics (Diff-CF) and its guided variant Diff-CFG, which diffuse forged images up to a time_step and then reverse_diffuse to purify, with optional guidance to stay close to the input. The study shows diffusion_based purification often outperforms existing counter_forensic methods in removing forensic traces while preserving perceptual quality, across multiple detectors and datasets, albeit with tradeoffs controlled by time_step and guidance. The findings highlight both the potential for authenticating image integrity and the need for developing detection methods robust to diffusion_purification, motivating future work on trace_analysis and counter_forensic defenses.
Abstract
From its acquisition in the camera sensors to its storage, different operations are performed to generate the final image. This pipeline imprints specific traces into the image to form a natural watermark. Tampering with an image disturbs these traces; these disruptions are clues that are used by most methods to detect and locate forgeries. In this article, we assess the capabilities of diffusion models to erase the traces left by forgers and, therefore, deceive forensics methods. Such an approach has been recently introduced for adversarial purification, achieving significant performance. We show that diffusion purification methods are well suited for counter-forensics tasks. Such approaches outperform already existing counter-forensics techniques both in deceiving forensics methods and in preserving the natural look of the purified images. The source code is publicly available at https://github.com/mtailanian/diff-cf.
