Discrepancy-Guided Reconstruction Learning for Image Forgery Detection

Zenan Shi, Haipeng Chen, Long Chen, Dong Zhang

Presented at IJCAI 2023, this research introduces DisGRL, a novel framework designed to enhance the robustness and generalizability of deepfake and image forgery detection. By shifting the focus from identifying specific forgery artifacts to learning the fundamental properties of genuine images, the authors provide a more resilient solution to the ever-evolving landscape of digital tampering.

The Challenge: Moving Beyond Specialists

Most contemporary forgery detectors are "specialists." They are trained to identify specific fingerprints left behind by known manipulation tools, such as noise patterns, frequency anomalies, or texture inconsistencies. While these models perform exceptionally well on known datasets, they often fail when encountering new, unseen tampering techniques. This lack of generalization stems from a failure to understand what a "genuine" image fundamentally looks like.

Furthermore, many existing methods rely on intermediate feature maps for supervision, which can be inaccurate and limit the model's overall effectiveness. The goal of DisGRL is to create a "generalist" detector that understands the underlying structure of real images well enough to notice when any aspect of the image is "off."

Methodology: The DisGRL Paradigm

The Discrepancy-Guided Reconstruction Learning (DisGRL) framework consists of three integrated components that work together to identify forgeries through the lens of reconstruction.

1. Discrepancy-Guided Encoder (DisGE)

The process begins with a two-branch encoder. One branch utilizes a standard Xception backbone to extract general semantic features. The second branch, the Discrepancy External Attention (DEA), specifically hunts for explicit forgery cues like local noise and subtle texture differences that might be missed by standard convolutional layers.

2. Double-Head Reconstruction (DouHR)

The core innovation of this paper is the use of reconstruction as a detection signal. Instead of simple classification, the model attempts to "reconstruct" a genuine version of the input image. It employs two specialized heads:

  • Attention-guidance Feature Selection (AFS): Focuses on local, vision-based patterns characteristic of authentic images.
  • Similarity Aggregation Module (SAM): Uses graph convolutions to capture global, reasoning-based relationships, ensuring the reconstruction is consistent across the entire image.

3. Discrepancy-Aggregation Detector (DisAD)

This module calculates the difference (the "discrepancy") between the original input and the two reconstructed "genuine" versions. These differences highlight regions that the model struggled to reconstruct as "real," which effectively points to forged areas. These signals are then aggregated for the final classification.

Experimental Evaluation

The researchers evaluated DisGRL on four major benchmarks: FaceForensics++ (FF++), Celeb-DF, WildDeepfake (WLD), and the Deepfake Detection Challenge (DFDC).

Key Results

  • State-of-the-Art Performance: DisGRL consistently outperformed competitors like RECCE and MAT. On the challenging WildDeepfake dataset, it achieved an AUC of 93.27%, a 1.25% improvement over previous benchmarks.
  • Superior Generalization: In cross-dataset evaluations (training on FF++ and testing on Celeb-DF), DisGRL reached 70.03% AUC, demonstrating its ability to handle unknown tampering methods better than "specialist" models.
  • Efficiency: Despite its complexity, DisGRL is optimized for speed, achieving an inference time of 20.7ms per image, compared to 29.7ms for the RECCE baseline.

Insights and Future Work

The success of DisGRL highlights that reconstruction acts as a powerful regularizer. By forcing the model to learn a "template" of reality, forged regions become inherently harder to reconstruct accurately, making the reconstruction error a highly reliable signal for detection.

While highly effective, the authors noted that the model is sensitive to heavy Gaussian blur and pixelation, as these distortions can destroy the fine-grained details the discrepancy branch relies on. Future research will focus on optimizing the computational complexity of the SAM and AFS modules and expanding the framework to detect forgeries in natural scenes and video sequences.

Summary updated

BibTeX
@inproceedings{shi2023discrepancy,
  author = {Zenan Shi and Haipeng Chen and Long Chen and Dong Zhang},
  title = {{Discrepancy-Guided Reconstruction Learning for Image Forgery Detection}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/154},
}
Figure