Skip to main content

OSQ

[NeurIPS'24 Spotlight] IMDL-BenCo: Comprehensive Benchmark and Codebase for Image Manipulation Detection & Localization

Xiaochen Ma †, Xuekang Zhu†, Lei Su†, Bo Du†, Zhuohang Jiang†, Bingkui Tong†, Zeyu Lei†, Xinyu Yang†, Chi-Man Pun, Jiancheng Lv, Jizhe Zhou *


†: joint first author & equal contribution *: corresponding author
🏎️Special thanks to Dr. Wentao Feng for the workplace, computation power, and physical infrastructure support.

Arxiv Documents PyPI Downloads pypi version license

Action-Test Codecov

📰News

  • [2025/05/26] A new code base for all-domain fake image detection have been released, for more details, please visit ForensicHub Stars.

  • [2025/03/11] We have released pre-trained checkpoints on Baidu NetDisk that we utilized to report all metrics in the paper. Please see this section in our documents for details.

  • [2024/12/10] Mesorch Stars, our new IML backbone model, which adopts a parallel CNN+Transformer structure to simultaneously deal with image semantics and non-semantics, is accepted by AAAI 25!!!🎉🎉🎉

  • [2024/12/10] Sparse-ViT Stars, the very first solution of constructing the non-semantic feature extractor through a self-supervised manner in IML is proposed by us and accepted by AAAI 25!!!🎉🎉🎉

  • [2024/09/26] This paper, IMDL-BenCo, has been accepted as Spotlight to NeurIPS 2024 Track Datasets and Benchmarks!!! 🎉🎉🎉

[!IMPORTANT] Upgrade to LATEST VERSION to Avoid Bugs!

  • We Highly Recommend everyone update IMDLBenCo to the latest version v0.1.29 since we fixed a bug🐞 that may lead to inaccurate image-level metrics!!! For details, see IMDLBenCo v0.1.27 Release Notes.

Known Differences with original CAT-Net Protocol

  • The CAT-Protocol (implementation of default balanced_dataset.py) used in the IMDLBenCo paper differs from the original CAT-Net settings. Several real image datasets are omitted. Please pay special attention! For more details, please check issue #65.

🔍Overview

☑️Welcome to IMDL-BenCo, the first comprehensive IMDL benchmark and modular codebase.

  • This codebase is under long-term maintenance and updating. New features, extra baseline/SOTA models, and bug fixes will be continuously involved. You can find the corresponding plan here shortly.
  • This repo decomposes the IMDL framework into standardized, reusable components and revises the model construction pipeline, improving coding efficiency and customization flexibility.
  • This repo fully implements or incorporates training code for state-of-the-art models to establish a comprehensive IMDL benchmark.
  • Cite and star if you feel helpful. This will encourage us a lot 🥰.

⚡Quick Start

IMDL-BenCo is a Python library managed on PYPI now, It's easy to install by following the command:

pip install imdlbenco

To verify your installation, you can try the following commands:

benco -v

Of course, the following command is also okay:

benco --version

This repository is under rapid development, thus, you can also use the command above to check if the current version is our latest version.

If everything works well, it should look like this:

IMDLBenCo codebase version: 0.1.23
        Checking for updates...
        Local version:  0.1.23
        PyPI newest version:  0.1.23
You are using the latest version: 0.1.23.

For further guidance, please click the buttons below for official documentation:

Documents Documents

Documents Documents

We will keep updating the document with tricks and user cases. Please stay tuned!

We also welcome contributors to translate it into other languages.

🌟Awesome Works Using IMDLBenCo

  • DINOv3-IML: A SoTA IML model implemented with DINOv3, which considered as a strong baseline or backbone for IMDL task. Arxiv. Stars
  • Co-Transformers: A dual-Transformer framework with multi-level forensic attention for image manipulation localization, collaboratively modeling semantic inconsistencies and forensic traces for accurate pixel-level tampered region localization. AAAI'26. Stars
  • BR-Gen & NFA-ViT: A Novel Dataset for Localized AI-Generated Image Detection with Forgery Amplification Approach and a corresponding noise-guided forgery amplification transformer as a solution method. AAAI'26. GitHub Repo stars
  • ForensicHub: A code base for all-domain fake image detection, including 1) Anti-AIGC, 2) Deepfake, 3) IMDL, and 4) Document image manipulation detection. NeurIPS'25. GitHub Repo stars
  • OpenSDI: A large dataset for Spotting Diffusion-Generated Images in the Open World and a corresponding SoTA model. CVPR25. GitHub Repo stars
  • Sparse-ViT: A SoTA model constructing the non-semantic feature extractor through a sparse-designed attention transformer. AAAI'25. Stars
  • Mesorch: A SoTA model adopts a parallel CNN+Transformer structure to simultaneously deal with image semantics and non-semantics. AAAI'25. Stars
  • IML-ViT: A pure Vision Transformer based model for IML task, which easy to be extent for further research. ArXiv. Stars

If your work uses IMDLbenco and has an open-source GitHub repository, we welcome you to notify the author team by submitting a PR or opening an issue to have it added to the list above.

👨‍💻About

☑️About the Developers:

📖Citation

If you find our work valuable and it has contributed to your research or projects, we kindly request that you cite our paper. Your recognition is a driving force for our continuous improvement and innovation🤗.

@article{ma2025imdl,
  title={Imdl-benco: A comprehensive benchmark and codebase for image manipulation detection \& localization},
  author={Ma, Xiaochen and Zhu, Xuekang and Su, Lei and Du, Bo and Jiang, Zhuohang and Tong, Bingkui and Lei, Zeyu and Yang, Xinyu and Pun, Chi-Man and Lv, Jiancheng and others},
  journal={Advances in Neural Information Processing Systems},
  volume={37},
  pages={134591--134613},
  year={2025}
}

Statistics and Star History

Metadata

Release files for imdlbenco 0.1.45

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imdlbenco 0.1.45
File Size Uploaded
imdlbenco-0.1.45.tar.gz 170.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for imdlbenco 0.1.45
File Interpreter ABI Platform
imdlbenco-0.1.45-py3-none-any.whl Python 3 none any Details

Total release size: 410.6 kB

Release files / imdlbenco-0.1.45.tar.gz

Download URL imdlbenco-0.1.45.tar.gz
Size 170.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fa52b30d60e24bed69643bbc7d621826fa6c3b9d13554652f4d24418f5cb1b73
BLAKE2b-256 checksum
How to use checksums
7005c5252c47d09ffdde0951170a5cf3c4708024645bac1fc8c27de5c3b321e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 10, 2026.

Transparency log

Release files / imdlbenco-0.1.45-py3-none-any.whl

Download URL imdlbenco-0.1.45-py3-none-any.whl
Size 239.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be9810dc72eaa5bde1fdab0ca31385cb8a351ca384ae39675dce2df20244a253
BLAKE2b-256 checksum
How to use checksums
51d98866e769723738ce13671f41a26a8a3da4549f57153ed8728fc94fc397b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 10, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page