IML-ViT: Benchmarking Image Manipulation Localization by Vision Transformer

Xiaochen Ma, Bo Du, Zhuohang Jiang, Xia Du, Ahmed Y. Al Hammadi +1 more
7/27/2023
86 citations
cs.CV
benchmark-datasettransformer-attention

Official code: SunnyHaze/IML-ViT (310 stars, Jupyter Notebook, MIT, last commit 2025-06-29).

Abstract

Advanced image tampering techniques are increasingly challenging the trustworthiness of multimedia, leading to the development of Image Manipulation Localization (IML). But what makes a good IML model?

Show full abstract

The answer lies in the way to capture artifacts. Exploiting artifacts requires the model to extract non-semantic discrepancies between manipulated and authentic regions, necessitating explicit comparisons between the two areas. With the self-attention mechanism, naturally, the Transformer should be a better candidate to capture artifacts. However, due to limited datasets, there is currently no pure ViT-based approach for IML to serve as a benchmark, and CNNs dominate the entire task. Nevertheless, CNNs suffer from weak long-range and non-semantic modeling. To bridge this gap, based on the fact that artifacts are sensitive to image resolution, amplified under multi-scale features, and massive at the manipulation border, we formulate the answer to the former question as building a ViT with high-resolution capacity, multi-scale feature extraction capability, and manipulation edge supervision that could converge with a small amount of data. We term this simple but effective ViT paradigm IML-ViT, which has significant potential to become a new benchmark for IML. Extensive experiments on three different mainstream protocols verified our model outperforms the state-of-the-art manipulation localization methods. Code and models are available at https://github.com/SunnyHaze/IML-ViT.

View on arXivView PDF

Code Implementations(1)

SunnyHaze/IML-ViTOfficial100%
MIT

Official repository of paper “IML-ViT: Benchmarking Image manipulation localization by Vision Transformer”

31037Jupyter Notebook, PythonJul 27, 20231 years agoMIT

Similar Papers

Cite this paper

@article{ma2023imlvit,
  title  = {IML-ViT: Benchmarking Image Manipulation Localization by Vision Transformer},
  author = {Xiaochen Ma and Bo Du and Zhuohang Jiang and Xia Du and Ahmed Y. Al Hammadi and Jizhe Zhou},
  year   = {2023},
  eprint = {2307.14863},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.14863v4}
}

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

Discussion