arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.09295cs.CV
收藏

用于扩散生成图像检测的DIRE

DIRE for Diffusion-Generated Image Detection

University of Science and Technology of China(中国科学技术大学);Microsoft Research Asia(微软亚洲研究院);Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院);Merchants Union Consumer Finance Company(招商局消费金融公司)

Zhendong Wang, Jianmin Bao, Wengang Zhou, Weilun Wang, Hezhen Hu, Hong Chen, Houqiang Li

摘要:

扩散模型在视觉合成方面取得了显著的成功,但也引起了人们对恶意滥用的担忧。在本文中,我们试图建立一个检测器区分真正的图像从扩散生成的图像。我们发现,现有的检测器努力检测由扩散模型生成的图像,即使我们包括从一个特定的扩散模型在其训练数据生成的图像。为了解决这个问题,我们提出了一种新的图像表示,称为DIfffficient重建误差(DIRE),它的措施之间的输入图像和它的重建对应的预训练的扩散模型的误差。我们观察到,扩散生成的图像可以近似重建的扩散模型,而真正的图像不能。它提供了一个提示,DIRE可以作为一个桥梁,以区分生成和真实的图像。DIRE为检测大多数扩散模型生成的图像提供了一种有效的方法,它对于检测未知扩散模型生成的图像具有通用性,并且对各种扰动具有鲁棒性。此外,我们建立了一个全面的扩散生成的基准,包括由八个扩散模型产生的图像,以评估扩散生成的图像检测器的性能。在我们收集的基准上进行的大量实验表明,DIRE比以前生成的图像检测器具有优越性。代码和数据集可在https://github.com/ZhendongWang6/DIRE上获得。

英文摘要:

Diffusion models have shown remarkable success in visual synthesis, but have also raised concerns about potential abuse for malicious purposes. In this paper, we seek to build a detector for telling apart real images from diffusion-generated images. We find that existing detectors struggle to detect images generated by diffusion models, even if we include generated images from a specific diffusion model in their training data. To address this issue, we propose a novel image representation called DIffusion Reconstruction Error (DIRE), which measures the error between an input image and its reconstruction counterpart by a pre-trained diffusion model. We observe that diffusion-generated images can be approximately reconstructed by a diffusion model while real images cannot. It provides a hint that DIRE can serve as a bridge to distinguish generated and real images. DIRE provides an effective way to detect images generated by most diffusion models, and it is general for detecting generated images from unseen diffusion models and robust to various perturbations. Furthermore, we establish a comprehensive diffusion-generated benchmark including images generated by eight diffusion models to evaluate the performance of diffusion-generated image detectors. Extensive experiments on our collected benchmark demonstrate that DIRE exhibits superiority over previous generated-image detectors. The code and dataset are available at https://github.com/ZhendongWang6/DIRE.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑