图像分类是计算机视觉的基石,传统上由基于深度神经网络的判别式模型实现。近期研究涌现出从生成式模型衍生的分类方法,这类方法具备零样本分类的优势,但存在两大主要缺陷:计算开销高,且性能不及判别式模型。受人类大脑视觉信号识别过程中快慢通路交互的协同认知机制启发,我们提出了基于扩散的判别式模型增强框架(Diffusion-Based Discriminative Model Enhancement Framework,DBMEF)。该框架以无需训练的方式无缝融合判别式模型与生成式模型,利用判别式模型生成初始预测,并通过扩散模型赋予深度神经网络“反思”能力,从而以即插即用的方式有效提升判别式模型的分类精度与泛化能力。我们在17种采用不同训练方式的主流深度模型架构上开展了大量实验,涵盖ResNet等基于CNN的模型与ViT等基于Transformer的模型,以验证DBMEF的有效性。具体而言,该框架使ResNet-50在ImageNet数据集上的性能提升1.51%,在ImageNet-A数据集上提升3.02%。综上,本研究提出了一种图像分类的新范式,在不同数据集与神经网络架构上均展现出稳定的性能提升。代码已开源至https://github.com/ChunXiaostudy/DBMEF。
英文摘要:
Image classification serves as the cornerstone of computer vision, traditionally achieved through discriminative models based on deep neural networks. Recent advancements have introduced classification methods derived from generative models, which offer the advantage of zero-shot classification. However, these methods suffer from two main drawbacks: high computational overhead and inferior performance compared to discriminative models. Inspired by the coordinated cognitive processes of rapid-slow pathway interactions in the human brain during visual signal recognition, we propose the Diffusion-Based Discriminative Model Enhancement Framework (DBMEF). This framework seamlessly integrates discriminative and generative models in a training-free manner, leveraging discriminative models for initial predictions and endowing deep neural networks with rethinking capabilities via diffusion models. Consequently, DBMEF can effectively enhance the classification accuracy and generalization capability of discriminative models in a plug-and-play manner. We have conducted extensive experiments across 17 prevalent deep model architectures with different training methods, including both CNN-based models such as ResNet and Transformer-based models like ViT, to demonstrate the effectiveness of the proposed DBMEF. Specifically, the framework yields a 1.51\% performance improvement for ResNet-50 on the ImageNet dataset and 3.02\% on the ImageNet-A dataset. In conclusion, our research introduces a novel paradigm for image classification, demonstrating stable improvements across different datasets and neural networks. The code is available at https://github.com/ChunXiaostudy/DBMEF.
DIVE: Inverting Conditional Diffusion Models for Discriminative Tasks
Key Laboratory of Intelligent Information Processing, Institute of Computing Technology, Chinese Academy of Sciences, Beijing, 100190, China, and University of Chinese Academy of Sciences, Beijing 100049, China(中国科学院信息处理重点实验室,计算技术研究所,北京,100190,中国,以及中国科学院大学,北京100049,中国)
Discriminative Image Generation with Diffusion Models for Zero-Shot Learning
Huazhong University of Science and Technology(华中科技大学);Zhejiang University(浙江大学);Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Australian National University(澳大利亚国立大学);Linköping University(林雪平大学)
Not All Diffusion Model Activations Have Been Evaluated as Discriminative Features
Institute of Information Engineering, CAS(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Institute of Computing Technology, CAS(中国科学院计算技术研究所);Peng Cheng Laboratory(鹏城实验室);School of Cyber Science and Tech., Shenzhen Campus of Sun Yat-sen University(中山大学深圳校区网络空间科学与技术学院);School of Computer Science and Tech., University of Chinese Academy of Sciences(中国科学院大学计算机科学与技术学院)
Masked Conditional Diffusion Model for Enhancing Deepfake Detection
Chengdu University of Information Technology(成都信息工程大学);Purdue University in Indianapolis(印第安纳波利斯普渡大学);Johns Hopkins University(约翰斯·霍普金斯大学);University at Albany, State University of New York (SUNY)(纽约州立大学奥尔巴尼分校)
Noise Diffusion for Enhancing Semantic Faithfulness in Text-to-Image Synthesis
Beijing Normal University(北京师范大学);University of Chinese Academy of Sciences(中国科学院大学);University of Manchester(曼彻斯特大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Tsinghua University(清华大学)
Enhancing Privacy-Utility Trade-offs to Mitigate Memorization in Diffusion Models
School of Computer Science, Faculty of Engineering, The University of Sydney, Australia(悉尼大学计算机科学学院,工程学院);School of Physics, Mathematics and Computing, The University of Western Australia, Australia(西澳大学物理、数学与计算学院);Center for Research in Computer Vision, University of Central Florida, USA(佛罗里达中央大学计算机视觉研究中心)
Enhancing Frequency Forgery Clues for Diffusion-Generated Image Detection
School of Computer and Communication Sciences, EPFL(瑞士联邦理工学院计算机与通信科学学院);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);University of Chinese Academy of Sciences(中国科学院大学)
A-SelecT: Automatic Timestep Selection for Diffusion Transformer Representation Learning
University of Missouri–Kansas City(密苏里大学堪萨斯城分校);U. S. Naval Research Laboratory(美国海军研究实验室);Lamar University(拉马尔大学);University of Florida(佛罗里达大学);University of Texas Rio Grande Valley(德克萨斯大学里奥格兰德河谷分校);University of Alabama at Birmingham(阿拉巴马大学伯明翰分校);Meta AI;Rochester Institute of Technology(罗切斯特理工学院)