DIRE for Diffusion-Generated Image Detection
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 various 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, models, and dataset are available at https://github.com/ZhendongWang6/DIRE.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
146 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
- Improved Distribution Matching Distillation for Fast Image Synthesis cites High-Resolution Image Synthesis with Latent Diffusion Models
- Improved Distribution Matching Distillation for Fast Image Synthesis cites Diffusion Models Beat GANs on Image Synthesis
- Improved Distribution Matching Distillation for Fast Image Synthesis cites Denoising Diffusion Probabilistic Models
- Improved Distribution Matching Distillation for Fast Image Synthesis cites Denoising Diffusion Implicit Models
- Improved Distribution Matching Distillation for Fast Image Synthesis cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Rethinking the Up-Sampling Operations in CNN-Based Generative Network for Generalizable Deepfake Detection cites High-Resolution Image Synthesis with Latent Diffusion Models
- Rethinking the Up-Sampling Operations in CNN-Based Generative Network for Generalizable Deepfake Detection cites Diffusion Models Beat GANs on Image Synthesis
- Rethinking the Up-Sampling Operations in CNN-Based Generative Network for Generalizable Deepfake Detection cites Denoising Diffusion Probabilistic Models
- Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
- On Learning Multi-Modal Forgery Representation for Diffusion Generated Video Detection cites High-Resolution Image Synthesis with Latent Diffusion Models
- On Learning Multi-Modal Forgery Representation for Diffusion Generated Video Detection cites Rethinking the Up-Sampling Operations in CNN-Based Generative Network for Generalizable Deepfake Detection
- On Learning Multi-Modal Forgery Representation for Diffusion Generated Video Detection cites Denoising Diffusion Implicit Models
- Breaking Semantic Artifacts for Generalized AI-generated Image Detection cites High-Resolution Image Synthesis with Latent Diffusion Models
- Breaking Semantic Artifacts for Generalized AI-generated Image Detection cites Diffusion Models Beat GANs on Image Synthesis
- Breaking Semantic Artifacts for Generalized AI-generated Image Detection cites Rethinking the Up-Sampling Operations in CNN-Based Generative Network for Generalizable Deepfake Detection
- Breaking Semantic Artifacts for Generalized AI-generated Image Detection cites Denoising Diffusion Probabilistic Models
- Breaking Semantic Artifacts for Generalized AI-generated Image Detection cites Denoising Diffusion Implicit Models
- Breaking Semantic Artifacts for Generalized AI-generated Image Detection cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- DRCT: Diffusion Reconstruction Contrastive Training towards Universal Detection of Diffusion Generated Images cites High-Resolution Image Synthesis with Latent Diffusion Models
- DRCT: Diffusion Reconstruction Contrastive Training towards Universal Detection of Diffusion Generated Images cites Diffusion Models Beat GANs on Image Synthesis
- DRCT: Diffusion Reconstruction Contrastive Training towards Universal Detection of Diffusion Generated Images cites Denoising Diffusion Probabilistic Models
- DRCT: Diffusion Reconstruction Contrastive Training towards Universal Detection of Diffusion Generated Images cites Denoising Diffusion Implicit Models
- DRCT: Diffusion Reconstruction Contrastive Training towards Universal Detection of Diffusion Generated Images cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Diffusion Models Beat GANs on Image Synthesis
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Probabilistic Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Implicit Models
Cited by top-tier papers146
- Improved Distribution Matching Distillation for Fast Image SynthesisTianwei Yin, Michaël Gharbi, Taesung Park, Richard Zhang et al.NeurIPS 2024 · 728 citations
- Rethinking the Up-Sampling Operations in CNN-Based Generative Network for Generalizable Deepfake DetectionChuangchuang Tan, Huan Liu, Yao Zhao, Shikui Wei et al.CVPR 2024 · 126 citations
- DRCT: Diffusion Reconstruction Contrastive Training towards Universal Detection of Diffusion Generated ImagesBaoying Chen, Jishen Zeng, Jianquan Yang, Rui YangICML 2024 · 124 citations
- On Learning Multi-Modal Forgery Representation for Diffusion Generated Video DetectionXiufeng Song, Xiao Guo, Jiache Zhang, Qirui Li et al.NeurIPS 2024 · 63 citations
- Breaking Semantic Artifacts for Generalized AI-generated Image DetectionChende Zheng, Chenhao Lin, Zhengyu Zhao, Hang Wang et al.NeurIPS 2024 · 57 citations
Builds on23
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
Related papers
- A Difference-in-Difference Approach to Detecting AI-Generated ImagesXinyi Qi, Kai Ye, Chengchun Shi, Ying Yang et al.CVPR 2026 · 2 citations
- FIRE: Robust Detection of Diffusion-Generated Images via Frequency-Guided Reconstruction ErrorBeilin Chu, Xuan Xu, Xin Wang, Yufei Zhang et al.CVPR 2025
- Diffusion-based Layer-wise Semantic Reconstruction for Unsupervised Out-of-Distribution DetectionYing Yang, De Cheng, Chaowei Fang, Yubiao Wang et al.NeurIPS 2024 · 9 citations
- EIRES:Training-free AI-Generated Image Detection via Edit-Induced Reconstruction Error ShiftWan Jiang, Jing Yan, Xiaojing Chen, Ling Shen, Chenhao Lin, Yunfeng Diao, Richang HongCVPR Findings 2026
- Beyond Generation: A Diffusion-based Low-level Feature Extractor for Detecting AI-generated ImagesNan Zhong, Haoyu Chen, Yiran Xu, Zhenxing Qian et al.CVPR 2025
