AI-generated Image Detection: Passive or Watermark?

Moyang Guo, Yuepeng Hu, Zhengyuan Jiang, Zeyu Li, Amir Sadovnik +2 more
11/20/2024
cs.CRcs.CVcs.LG

No official code found. Best implementation: mileskuo42/ImageDetectBench (2 stars, last commit 2025-05-07).

Abstract

While text-to-image models offer numerous benefits, they also pose significant societal risks. Detecting AI-generated images is crucial for mitigating these risks. Detection methods can be broadly categorized into passive and watermark-based approaches: passive detectors rely on artifacts present in AI-generated images, whereas watermark-based detectors proactively embed watermarks into such images. A key question is which type of detector performs better in terms of effectiveness, robustness, and efficiency. However, the current literature lacks a comprehensive understanding of this issue. In this work, we aim to bridge that gap by developing ImageDetectBench, the first comprehensive benchmark to compare the effectiveness, robustness, and efficiency of passive and watermark-based detectors. Our benchmark includes four datasets, each containing a mix of AI-generated and non-AI-generated images. We evaluate five passive detectors and four watermark-based detectors against eight types of common perturbations and three types of adversarial perturbations. Our benchmark results reveal several interesting findings. For instance, watermark-based detectors consistently outperform passive detectors, both in the presence and absence of perturbations. Based on these insights, we provide recommendations for detecting AI-generated images, e.g., when both types of detectors are applicable, watermark-based detectors should be the preferred choice. Our code and data are publicly available at https://github.com/moyangkuo/ImageDetectBench.git.

View on arXivView PDF

Code Implementations(1)

This is the official implementation of paper ImageDetectBench

20Shell, PythonDec 3, 20241 years ago

Similar Papers

Cite this paper

@article{guo2024aigenerated,
  title  = {AI-generated Image Detection: Passive or Watermark?},
  author = {Moyang Guo and Yuepeng Hu and Zhengyuan Jiang and Zeyu Li and Amir Sadovnik and Arka Daw and Neil Gong},
  year   = {2024},
  eprint = {2411.13553},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.13553v2}
}

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

Discussion