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!!! 🎉🎉🎉

🔍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

  • 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. 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 detecion. 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 imdlbenco13 0.2.9

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

Source distribution (sdist)

Source distribution for imdlbenco13 0.2.9
File Size Uploaded Provenance Actions
imdlbenco13-0.2.9.tar.gz 160.7 kB With provenance Details for imdlbenco13-0.2.9.tar.gz

Built distribution (wheel)

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

Total release size: 389.2 kB

Release files / imdlbenco13-0.2.9.tar.gz

Download URL imdlbenco13-0.2.9.tar.gz
Size 160.7 kB
Tags Source
SHA-256 checksum
How to use checksums
476bf5428cf16c7ee826ab1daec2b7e3212a3ca46c4b2ad7d284151caca8273c
BLAKE2b-256 checksum
How to use checksums
db172155700b5839fdaa73ff710081d38bdb73a750b3f6d7e9122d64e58e19fc
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 May 13, 2026.

Transparency log

Release files / imdlbenco13-0.2.9-py3-none-any.whl

Download URL imdlbenco13-0.2.9-py3-none-any.whl
Size 228.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01469636591f1afaf0a9e25d87fe393adf40ed5133d13499a69bc8914f9469a2
BLAKE2b-256 checksum
How to use checksums
b46a6f58d37c9595d11568782ef81fccb81ce9e200f44d5111358ff464a5aeda
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 May 13, 2026.

Transparency log

Security for imdlbenco13 0.2.9

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for imdlbenco13-0.2.9.tar.gz

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 May 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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