arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.19459cs.LGcs.AI
收藏

你的分类器可以做更多:朝着平衡分类、鲁棒性和生成之间的差距

Your Classifier Can Do More: Towards Balancing the Gaps in Classification, Robustness, and Generation

Hefei University of Technology, China(合肥工业大学,中国);Jianghuai Advance Technology Center, China(江淮先进科技中心,中国);Anhui Provincial Key Laboratory of Humanoid Robots, China(安徽省人形机器人重点实验室,中国);AI Centre, University College London, UK(伦敦大学学院人工智能中心,英国);Xiaomi EV, China(小米电动车,中国);Central China Normal University, China(中部师范大学,中国);Institute of Automation, Chinese Academy of Sciences, China(中国科学院自动化研究所,中国);University of Science and Technology of China, China(中国科学技术大学,中国)

Kaichao Jiang, He Wang, Xiaoshuai Hao, Xiulong Yang, Ajian Liu, Qi Chu, Yunfeng Diao, Richang Hong

AI总结:

EB-JDAT通过统一生成、判别和鲁棒性,实现分类、鲁棒性和生成能力的平衡,达到新的权衡前沿。

摘要:

联合能量模型(JEMs)以其在单一框架内统一分类和生成的能力而闻名。尽管它们在生成和判别性能方面表现出色,但其鲁棒性远逊于对抗训练(AT),而AT则在鲁棒性方面表现优异,但牺牲了干净准确性和缺乏生成能力。这种固有的三元困境——平衡分类精度、鲁棒性和生成能力——提出了一个根本性的问题:能否一个模型同时实现这三者?为此,我们对各种JEM和AT变体的清洁、对抗性和生成样本进行了系统性的能量景观分析。我们发现,AT减少了清洁样本与对抗样本之间的能量差距,而JEMs则缩小了清洁样本与合成样本之间的差距。这一观察表明一个关键见解:如果所有三种数据类型的能量分布都能对齐,我们可能弥合它们的性能差异。基于这一想法,我们提出了基于能量的联合分布对抗训练(EB-JDAT),这是一种统一的生成-判别-鲁棒框架,它最大化清洁和对抗分布的联合概率。EB-JDAT引入了一种新的min-max能量优化,以显式对齐清洁、对抗和生成样本之间的能量。在CIFAR-10、CIFAR-100和ImageNet子集上的广泛实验表明,EB-JDAT在保持接近原始准确率的同时实现了最先进的鲁棒性,并且在生成质量上与JEMs具有竞争力,有效地在精度、鲁棒性和生成之间实现了新的权衡前沿。代码已发布在https://github.com/yujkc/EB-JDAT。

英文摘要:

Joint Energy-based Models (JEMs) are well known for their ability to unify classification and generation within a single framework. Despite their promising generative and discriminative performance, their robustness remains far inferior to adversarial training (AT), which, conversely, achieves strong robustness but sacrifices clean accuracy and lacks generative ability. This inherent trilemma-balancing classification accuracy, robustness, and generative capability-raises a fundamental question: Can a single model achieve all three simultaneously? To answer this, we conduct a systematic energy landscape analysis of clean, adversarial, and generated samples across various JEM and AT variants. We observe that AT reduces the energy gap between clean and adversarial samples, while JEMs narrow the gap between clean and synthetic ones. This observation suggests a key insight: if the energy distributions of all three data types can be aligned, we might bridge their performance disparities. Building on this idea, we propose Energy-based Joint Distribution Adversarial Training (EB-JDAT), a unified generative-discriminative-robust framework that maximizes the joint probability of clean and adversarial distribution. EB-JDAT introduces a novel min-max energy optimization to explicitly aligning energies across clean, adversarial, and generated samples. Extensive experiments on CIFAR-10, CIFAR-100, and ImageNet subsets demonstrate that EB-JDAT achieves state-of-the-art robustness while maintaining near-original accuracy and competitive generation quality of JEMs, effectively achieving a new trade-off frontier between accuracy, robustness, and generation. The code is released at https://github.com/yujkc/EB-JDAT.

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

↑