Pre-training-free Image Manipulation Localization through Non-Mutually Exclusive Contrastive Learning

Jizhe Zhou, Xiaochen Ma, Xia Du, Ahmed Y. Al Hammadi, Wentao Feng
2/14/2026

No official code found. Best implementation: Knightzjz/NCL-IML (49 stars, last commit 2025-02-16).

Abstract

Deep Image Manipulation Localization (IML) models suffer from training data insufficiency and thus heavily rely on pre-training. We argue that contrastive learning is more suitable to tackle the data insufficiency problem for IML. Crafting mutually exclusive positives and negatives is the prerequisite for contrastive learning. However, when adopting contrastive learning in IML, we encounter three categories of image patches: tampered, authentic, and contour patches. Tampered and authentic patches are naturally mutually exclusive, but contour patches containing both tampered and authentic pixels are non-mutually exclusive to them. Simply abnegating these contour patches results in a drastic performance loss since contour patches are decisive to the learning outcomes. Hence, we propose the Nonmutually exclusive Contrastive Learning (NCL) framework to rescue conventional contrastive learning from the above dilemma. In NCL, to cope with the non-mutually exclusivity, we first establish a pivot structure with dual branches to constantly switch the role of contour patches between positives and negatives while training. Then, we devise a pivot-consistent loss to avoid spatial corruption caused by the role-switching process. In this manner, NCL both inherits the self-supervised merits to address the data insufficiency and retains a high manipulation localization accuracy. Extensive experiments verify that our NCL achieves state-of-the-art performance on all five benchmarks without any pre-training and is more robust on unseen real-life samples. https://github.com/Knightzjz/NCL-IML.

View on arXivView PDF

Code Implementations(1)

Knightzjz/NCL-IMLCommunity100%

Offical implement of NCL-IML (Pre-training-free Image Manipulation Localization through Non-Mutually Contrastive Learning), ICCV2023

497Jupyter NotebookAug 14, 20231 years ago
contrastive-learningimage-manipulation

Similar Papers

Cite this paper

@article{zhou2026pretrainingfree,
  title  = {Pre-training-free Image Manipulation Localization through Non-Mutually Exclusive Contrastive Learning},
  author = {Jizhe Zhou and Xiaochen Ma and Xia Du and Ahmed Y. Al Hammadi and Wentao Feng},
  year   = {2026},
  eprint = {2309.14900},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2309.14900},
  journal = {ICCV 2023 2023}
}

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

Discussion