Paper Reading AI Learner

DIRE for Diffusion-Generated Image Detection

2023-03-16 13:15:03
Zhendong Wang, Jianmin Bao, Wengang Zhou, Weilun Wang, Hezhen Hu, Hong Chen, Houqiang Li

Abstract

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 this https URL.

Abstract (translated)

扩散模型在视觉合成方面取得了显著成功,但也引发了对于可能用于恶意目的滥用的担忧。在本文中,我们寻求建立一个探测器来分辨出真实的图像和扩散生成图像。我们发现,现有的探测器很难检测扩散模型生成的图像,即使我们将从特定扩散模型生成的图像在训练数据中 included 进去。为了解决这一问题,我们提出了一种新图像表示,称为扩散重建错误(DIRE),它通过预先训练的扩散模型测量输入图像和其重建副本之间的误差。我们观察到,扩散生成图像可以近似地由扩散模型重建,而真实的图像却无法。这提供了一个暗示,DIRE可以作为区分生成和真实图像的桥。DIRE提供了检测大多数扩散模型生成的图像的有效方法,并且对于从未曾见过的扩散模型生成的图像和对各种干扰的鲁棒性都适用。此外,我们建立了一个包括八个扩散模型生成的图像的全面扩散生成基准,以评估扩散生成图像探测器的性能。我们对收集的基准进行广泛的实验,证明了DIRE比先前生成的图像探测器表现更好。代码和数据集在本 https URL 上可用。

URL

https://arxiv.org/abs/2303.09295

PDF

https://arxiv.org/pdf/2303.09295.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot