DiffGuard: Semantic Mismatch-Guided Out-of-Distribution Detection using Pre-trained Diffusion Models
摘要
Given a classifier, the inherent property of semantic Out-of-Distribution (OOD) samples is that their contents differ from all legal classes in terms of semantics, namely semantic mismatch. There is a recent work that directly applies it to OOD detection, which employs a conditional Generative Adversarial Network (cGAN) to enlarge semantic mismatch in the image space. While achieving remarkable OOD detection performance on small datasets, it is not applicable to ImageNet-scale datasets due to the difficulty in training cGANs with both input images and labels as conditions.As diffusion models are much easier to train and amenable to various conditions compared to cGANs, in this work, we propose to directly use pre-trained diffusion models for semantic mismatch-guided OOD detection, named DiffGuard. Specifically, given an OOD input image and the predicted label from the classifier, we try to enlarge the semantic difference between the reconstructed OOD image under these conditions and the original input image. We also present several test-time techniques to further strengthen such differences. Experimental results show that DiffGuard is effective on both Cifar-10 and hard cases of the large-scale ImageNet, and it can be easily combined with existing OOD detection techniques to achieve state-of-the-art OOD detection results.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- MagicDrive: Street View Generation with Diverse 3D Geometry Control 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- MagicDrive: Street View Generation with Diverse 3D Geometry Control 引用了 Adding Conditional Control to Text-to-Image Diffusion Models
- MagicDrive: Street View Generation with Diverse 3D Geometry Control 引用了 Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Diffusion Models Beat GANs on Image Synthesis
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Implicit Models
- DetDiffusion: Synergizing Generative and Perceptive Models for Enhanced Data Generation and Perception 引用了 MagicDrive: Street View Generation with Diverse 3D Geometry Control
- DetDiffusion: Synergizing Generative and Perceptive Models for Enhanced Data Generation and Perception 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- DetDiffusion: Synergizing Generative and Perceptive Models for Enhanced Data Generation and Perception 引用了 Adding Conditional Control to Text-to-Image Diffusion Models
- DetDiffusion: Synergizing Generative and Perceptive Models for Enhanced Data Generation and Perception 引用了 Denoising Diffusion Probabilistic Models
- DetDiffusion: Synergizing Generative and Perceptive Models for Enhanced Data Generation and Perception 引用了 Denoising Diffusion Implicit Models
- Adding Conditional Control to Text-to-Image Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Adding Conditional Control to Text-to-Image Diffusion Models 引用了 Diffusion Models Beat GANs on Image Synthesis
- Diffusion Models Beat GANs on Image Synthesis 引用了 Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis 引用了 Denoising Diffusion Implicit Models
- Denoising Diffusion Implicit Models 引用了 Denoising Diffusion Probabilistic Models
- Diffusion-based Layer-wise Semantic Reconstruction for Unsupervised Out-of-Distribution Detection 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Diffusion-based Layer-wise Semantic Reconstruction for Unsupervised Out-of-Distribution Detection 引用了 Denoising Diffusion Probabilistic Models
- Diffusion-based Layer-wise Semantic Reconstruction for Unsupervised Out-of-Distribution Detection 引用了 Denoising Diffusion Implicit Models
引用它的顶会 Paper11
- MagicDrive: Street View Generation with Diverse 3D Geometry ControlRuiyuan Gao, Kai Chen, Enze Xie, Lanqing Hong 等ICLR 2024 · 248 次引用
- DetDiffusion: Synergizing Generative and Perceptive Models for Enhanced Data Generation and PerceptionYibo Wang, Ruiyuan Gao, Kai Chen, Kaiqiang Zhou 等CVPR 2024 · 14 次引用
- Optimizing OOD Detection in Molecular Graphs: A Novel Approach with Diffusion ModelsXu Shen, Yili Wang, Kaixiong Zhou, Shirui Pan 等KDD 2024 · 12 次引用
- An Information-theoretical Framework for Understanding Out-of-distribution Detection with Pretrained Vision-Language ModelsBo Peng, Jie Lu, Guangquan Zhang, Zhen FangNeurIPS 2025 · 9 次引用
- Diffusion-based Layer-wise Semantic Reconstruction for Unsupervised Out-of-Distribution DetectionYing Yang, De Cheng, Chaowei Fang, Yubiao Wang 等NeurIPS 2024 · 9 次引用
它引用的 Paper23
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 次引用
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 次引用
- Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Anyi Rao, Maneesh AgrawalaICCV 2023 · 6,759 次引用
相关 Paper
- GOOD: Training-Free Guided Diffusion Sampling for Out-of-Distribution DetectionXin Gao, Jiyao Liu, Guanghao Li, Yueming Lyu 等NeurIPS 2025 · 9 次引用
- Diffusion-based Semantic Outlier Generation via Nuisance Awareness for Out-of-Distribution DetectionSuhee Yoon, Sanghyu Yoon, Ye Seul Sim, Sungik Choi 等AAAI 2025 · 3 次引用
- BOOD: Boundary-based Out-Of-Distribution Data GenerationQilin Liao, Shuo Yang, Bo Zhao, Ping Luo 等ICML 2025
- GDA: Generalized Diffusion for Robust Test-Time AdaptationYun-Yun Tsai, Fu-Chen Chen, Albert Y. C. Chen, Junfeng Yang 等CVPR 2024 · 11 次引用
- Out-of-Distribution Detection with a Single Unconditional Diffusion ModelAlvin Heng, Alexandre H. Thiery, Harold SohNeurIPS 2024 · 35 次引用
