Exploring Multi-view Pixel Contrast for General and Robust Image Forgery Localization

Zijie Lou, Gang Cao, Kun Guo, Haochen Zhu, Lifang Yu
6/19/2024
cs.CVcs.CR

Official code: multimediaFor/MPC (28 stars, last commit 2025-08-08).

Abstract

Image forgery localization, which aims to segment tampered regions in an image, is a fundamental yet challenging digital forensic task. While some deep learning-based forensic methods have achieved impressive results, they directly learn pixel-to-label mappings without fully exploiting the relationship between pixels in the feature space. To address such deficiency, we propose a Multi-view Pixel-wise Contrastive algorithm (MPC) for image forgery localization. Specifically, we first pre-train the backbone network with the supervised contrastive loss to model pixel relationships from the perspectives of within-image, cross-scale and cross-modality. That is aimed at increasing intra-class compactness and inter-class separability. Then the localization head is fine-tuned using the cross-entropy loss, resulting in a better pixel localizer. The MPC is trained on three different scale training datasets to make a comprehensive and fair comparison with existing image forgery localization algorithms. Extensive experiments on the small, medium and large scale training datasets show that the proposed MPC achieves higher generalization performance and robustness against post-processing than the state-of-the-arts. Code will be available at https://github.com/multimediaFor/MPC.

View on arXivView PDF

Code Implementations(1)

multimediaFor/MPCOfficial100%

Source code of the paper: Exploring Multi-View Pixel Contrast for General and Robust Image Forgery Localization, IEEE TIFS 2025.

281PythonJun 23, 20241 years ago

Similar Papers

Cite this paper

@article{lou2024exploring,
  title  = {Exploring Multi-view Pixel Contrast for General and Robust Image Forgery Localization},
  author = {Zijie Lou and Gang Cao and Kun Guo and Haochen Zhu and Lifang Yu},
  year   = {2024},
  eprint = {2406.13565},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.13565v1}
}

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/2406.13565.svg)](https://codeofpaper.com/paper/2406.13565)

Discussion