Source-linked AI summary

Generate, Segment and Refine: Towards Generic Manipulation Segmentation

Peng Zhou, Bor-Chun Chen, Xintong Han, Mahyar Najibi, Abhinav Shrivastava, Ser Nam Lim, Larry S. Davis

arXiv:1811.09729v3cs.CV

TL;DR

Manipulated-image segmentation is limited by insufficient, non-comprehensive training data and diverse boundary artifacts. The paper introduces GSR-Net, which generates realistic manipulated examples with blending, then uses boundary-guided segmentation and refinement; experiments report strong generalization and state-of-the-art performance across four datasets. The manipulation-segmentation problem remains far from solved because manipulations and post-processing methods vary widely.

  • Problem

    Manipulated-region segmentation lacks comprehensive training data, while diverse manipulation and post-processing methods make boundary artifacts difficult to recognize and generalize across datasets.

  • Method

    GSR-Net combines a blending-based generation GAN with boundary-guided segmentation and refinement stages that create harder examples and focus learning on manipulation artifacts.

  • Results

    GSR-Net performs better or equivalently to state-of-the-art methods on four public benchmarks, with experiments also demonstrating robustness to two post-processing attacks.

  • Takeaways & Limitations

    Generation, segmentation, and refinement augment existing datasets and improve the model’s reported generalization ability for manipulated-region detection.

  • Takeaways & Limitations

    Manipulation segmentation remains far from solved because manipulations and post-processing methods exhibit large variation; adding more techniques is identified as future work.

Abstract

from arXiv · show

Detecting manipulated images has become a significant emerging challenge. The advent of image sharing platforms and the easy availability of advanced photo editing software have resulted in a large quantities of manipulated images being shared on the internet. While the intent behind such manipulations varies widely, concerns on the spread of fake news and misinformation is growing. Current state of the art methods for detecting these manipulated images suffers from the lack of training data due to the laborious labeling process. We address this problem in this paper, for which we introduce a manipulated image generation process that creates true positives using currently available datasets. Drawing from traditional work on image blending, we propose a novel generator for creating such examples. In addition, we also propose to further create examples that force the algorithm to focus on boundary artifacts during training. Strong experimental results validate our proposal.

1. Introduction

The paper addresses limited and non-comprehensive training data for manipulated-region segmentation by generating realistic examples and training models to recognize boundary artifacts. GSR-Net combines generation, segmentation, and refinement stages, with experiments showing strong generalization and robustness.

  • Motivation: Manipulated-image segmentation is needed to localize tampered regions, but existing datasets are often insufficient for training models that generalize well.Collecting realistic labeled examples is laborious, while self-supervised copy-pasting can produce unrealistic training images.
  • Motivation: Manipulation diversity and boundary artifacts make segmentation difficult because visual boundary cues matter more than semantic content.Manipulations include copy-move and splicing, with varied post-processing and artifact types that can hinder generalization.
  • Approach: The generation stage uses a blending-based GAN objective to enhance the realism of manipulated regions from annotated images in existing datasets.This augments available data without requiring new annotation efforts.
  • Approach: The segmentation and refinement procedure trains the model to detect manipulation boundaries and replaces predicted boundaries with authentic background to create new training examples.The refinement stage feeds these newly manipulated images back to the segmentation network to discourage reliance on semantic content.
  • Evaluation: GSR-Net combines generation, segmentation, and refinement, achieving better or equivalent performance to state-of-the-art methods across four benchmarks and robustness to two post-processing attacks.The additional manipulation artifacts produced during generation and refinement are reported to improve generalization ability.

2. Related Work

Prior manipulation-segmentation methods exploit compression, noise, metadata, or boundary artifacts to localize tampered regions. These approaches motivate using boundary artifacts as a strong cue in GSR-Net.

  • Image Manipulation Segmentation: Existing methods detect manipulated regions using JPEG compression discrepancies, noise inconsistencies, metadata anomalies, or other image-level cues.The cited approaches frame manipulation localization through different artifact or anomaly signals.
  • Image Manipulation Segmentation: Other methods use multi-task segmentation and edge annotations or LSTM-based RGB boundary features to identify manipulation boundaries.These methods directly motivate exploiting boundary artifacts for manipulation detection.

3. Approach

GSR-Net combines realistic manipulation generation with segmentation and refinement stages that train the model to detect boundary artifacts. Its generator blends copied regions into authentic backgrounds, while refinement creates new boundary artifacts and reuses the segmentation network without added inference cost.

  • Generation: The generator receives copy-pasted images and ground-truth masks, using source images as foreground and clean images as authentic backgrounds.This produces initial manipulated examples from existing manipulation and clean datasets.
  • Generation: Its losses preserve background pixels, match pasted-region gradients, constrain boundary shapes, and encourage increasingly realistic manipulated images through adversarial training.The edge mask is derived from the difference between mask dilation and erosion.
  • Generation: The discriminator focuses on local N × N patches because manipulated regions typically occupy only a small image area.This design is analogous to PatchGAN’s patch-scale structural penalty.
  • Segmentation: The segmentation stage predicts manipulated boundaries and interiors with a VGG-16-based DeepLab model and uses boundary supervision to emphasize artifacts.During training it uses copy-pasted examples, generated examples, and original training samples; only the segmentation output is evaluated at inference.
  • Refinement: Refinement replaces predicted manipulated regions with authentic background regions to create new boundary artifacts, then trains the same segmentation network on the resulting images.Shared weights allow one segmentation network at inference, so boundary-focused training adds no inference-time cost.

4. Experiments

Experiments evaluate GSR-Net on four public manipulation-segmentation datasets, compare it with existing methods, and analyze its components, robustness, and qualitative behavior. Results show strong generalization, faster inference, and benefits from generated examples, boundary guidance, and refinement.

  • Experimental setup: GSR-Net is evaluated on four public benchmarks against noise, CFA, EXIF-consistency, DeepLab, and other manipulation-segmentation methods.The model is fine-tuned on CASIA 2.0 and tested across the four datasets, while unsupervised baselines are tested directly.
  • Main results: GSR-Net outperforms competing approaches by a large margin on COVER and improves over them on CASIA 1.0 and Carvalho.The results also report substantially lower computation time than EXIF-consistency: 0.5 seconds per image versus 80 seconds for an 800×1200 image.
  • Ablation analysis: Adding copy-pasted images, generated images, and both types of examples progressively improves performance across most datasets.Generated images outperform copy-pasted examples on most datasets, while combining both broadens the manipulation distribution further.
  • Ablation analysis: Boundary-guided segmentation and refinement improve generalization by directing learning toward manipulation artifacts and introducing new boundary artifacts.Direct segmentation without explicit artifact learning has limited generalization compared with GS-Net, while refinement further boosts performance.

5. Conclusion

The paper presents a segmentation framework combining generation, boundary-artifact-guided segmentation and refinement to improve generalization across manipulation types. Experiments on four standard datasets show GSR-Net's effectiveness, while substantial variation in manipulations and post-processing remains unresolved.

  • 5. Conclusion: The framework uses a generation network to create harder examples and a segmentation-refinement network to focus on manipulation artifacts rather than semantic content.The segmentation and refinement stages share weights, enabling faster inference.
  • 5. Conclusion: Extensive experiments on four standard datasets demonstrate GSR-Net's generalization ability and state-of-the-art performance.
  • 5. Conclusion: Large variation in manipulations and post-processing means manipulation segmentation remains far from solved.The authors identify adding more manipulation techniques to the generation network as future work.
Loading 1811.09729v3…