Multi-Scale Edge-Guided Image Forgery Detection via Improved Self-Supervision and Self-Adversarial Training

Huacong Zhang, Jishen Zeng, Jianquan YangElectronics 2025

TL;DR

This paper tackles the challenge of image forgery detection, particularly the scarcity of labeled forged data and the difficulty of spotting subtle forgery traces. They introduce a novel method that combines iterative self-supervised generation of fake images, an edge-guided network module to focus on forgery boundaries, and a progressive self-adversarial training strategy to improve robustness, achieving state-of-the-art results in both image-level and pixel-level forgery detection.

What Problem Does This Paper Address?

In an era where digital images are ubiquitous and easily manipulated, discerning authentic images from fakes is crucial for everything from news verification to legal evidence. However, current image forgery detection methods struggle with two main issues:

  1. Data Scarcity: Obtaining large datasets of forged images with precise pixel-level annotations is expensive and time-consuming. This lack of data, especially for forged pixels, hinders the training of accurate detection models.
  2. Subtle Forgery Traces: Forgery artifacts often appear at the boundaries between real and manipulated regions, which frequently align with image edges. Existing methods may not effectively capture these subtle, edge-localized anomalies. Furthermore, detectors can sometimes overfit to specific, non-generalizable forgery traces, limiting their ability to detect diverse types of manipulation.

Methods

The authors propose a three-pronged approach to address these challenges:

  • Iterative Self-Supervised Forgery Image Generation: To overcome the data scarcity problem, they developed a method to automatically generate a large, diverse collection of forged images. This process iteratively applies common forgery techniques like copy-move, splicing, and inpainting to existing images. Crucially, it's "self-supervised" because the pixel-level masks for these generated forgeries are automatically inferred, eliminating the need for manual annotation. This method generates not only single but also complex multiple forgeries, enriching the training data.
  • Multi-Scale Edge Artifact Capturing (MEAC) Module: Recognizing that forgery anomalies are often most pronounced at image edges, they designed a specialized module. This module first uses edge detection operators (like Laplacian) to create multi-scale edge maps. These maps then guide shallow convolutional layers to effectively capture subtle inconsistencies and artifacts at these boundaries, which are critical for precise localization.
  • Progressive Self-Adversarial Training: To improve the detector's robustness and ability to generalize, they introduce a novel training strategy. Instead of applying adversarial training uniformly, this method progressively increases the frequency and intensity of adversarial sample generation throughout training. This allows the model to first learn basic forgery traces and then gradually tackle more challenging, harder-to-detect manipulations, all while keeping computational costs manageable.

Datasets

The authors utilized several standard datasets for their experiments:

  • Training: They used the same training dataset as CAT-Net v2.
  • Testing: For evaluation, they employed five prevalent datasets:
  • NIST (contains only forged images)
    • NIST+ (includes both real and forged images)
    • Coverage
    • Columbia
    • CASIA v1+

These datasets cover common forgery types like splicing, copy-move, and inpainting. The paper notes an imbalance in forged vs. real pixels across these datasets, particularly in Columbia, which motivated their self-supervised generation approach.

Key Insights and Ideas

  • Edges are Forgery Hotspots: The core idea that forgery artifacts are most prominent at the boundaries between real and fake regions, often coinciding with image edges, is a key insight. This led to the development of the MEAC module.
  • Synthetic Data is Powerful: The iterative self-supervised generation of forged images demonstrates the potential of synthetic data to significantly augment real-world datasets, especially in domains with limited annotated samples.
  • Gradual Adversarial Training is Key: The progressive self-adversarial training strategy highlights that a carefully timed and intensified adversarial approach can yield better results than a constant, high-frequency one, especially in terms of computational efficiency and model robustness.
  • Multi-faceted Loss Functions Matter: Combining image-level classification loss, pixel-level localization loss (Dice + BCE), and edge-level loss proved crucial for achieving balanced and high performance across both tasks.

Key Results

The proposed method achieved state-of-the-art performance on both image-level and pixel-level forgery detection tasks:

  • Image-Level Forgery Identification: An average F1 score improvement of 6.6% (from 73.8% to 80.4%).
  • Pixel-Level Forgery Localization: An average F1 score improvement of 15.2% (from 59.1% to 74.3%).
  • Robustness: The method demonstrated superior resistance to JPEG compression and Gaussian blurring compared to leading methods, with minimal performance degradation.
  • Ablation Studies: Experiments confirmed the effectiveness of each proposed component: the iterative self-supervised generation, the MEAC module, and the progressive self-adversarial training strategy all contributed significantly to the overall performance gains.

Limitations and Future Work

  • Limitations: The authors acknowledge that on the Columbia dataset, their method showed slightly lower performance (4.6% and 0.2% below TruFor in F1 and AUC, respectively), though they deem this difference statistically insignificant due to the dataset's sample size.
  • Future Work: The authors plan to focus on gathering and enhancing larger-scale forgery datasets from real-world scenarios. They also aim to investigate more robust forgery detection frameworks to better address real-world challenges.

Summary updated

BibTeX
@inproceedings{zhang2025multi,
  author = {Huacong Zhang and Jishen Zeng and Jianquan Yang},
  title = {{Multi-Scale Edge-Guided Image Forgery Detection via Improved Self-Supervision and Self-Adversarial Training}},
  booktitle = {Electronics},
  year = {2025},
  doi = {10.3390/electronics14091877},
}
Figure