SafePaint: Anti-forensic Image Inpainting with Domain Adaptation

Dunyun Chen, Xin Liao, Xiaoshuai Wu, Shiwei Chen
4/28/2024
cs.CVcs.MM

No confident code implementation found for this paper.

Abstract

Existing image inpainting methods have achieved remarkable accomplishments in generating visually appealing results, often accompanied by a trend toward creating more intricate structural textures. However, while these models excel at creating more realistic image content, they often leave noticeable traces of tampering, posing a significant threat to security. In this work, we take the anti-forensic capabilities into consideration, firstly proposing an end-to-end training framework for anti-forensic image inpainting named SafePaint. Specifically, we innovatively formulated image inpainting as two major tasks: semantically plausible content completion and region-wise optimization. The former is similar to current inpainting methods that aim to restore the missing regions of corrupted images. The latter, through domain adaptation, endeavors to reconcile the discrepancies between the inpainted region and the unaltered area to achieve anti-forensic goals. Through comprehensive theoretical analysis, we validate the effectiveness of domain adaptation for anti-forensic performance. Furthermore, we meticulously crafted a region-wise separated attention (RWSA) module, which not only aligns with our objective of anti-forensics but also enhances the performance of the model. Extensive qualitative and quantitative evaluations show our approach achieves comparable results to existing image inpainting methods while offering anti-forensic capabilities not available in other methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2024safepaint,
  title  = {SafePaint: Anti-forensic Image Inpainting with Domain Adaptation},
  author = {Dunyun Chen and Xin Liao and Xiaoshuai Wu and Shiwei Chen},
  year   = {2024},
  eprint = {2404.18136},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.18136v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.18136.svg)](https://codeofpaper.com/paper/2404.18136)

Discussion