arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.08502cs.CV
收藏

用于对抗鲁棒性的高效图像到图像扩散分类器

Efficient Image-to-Image Diffusion Classifier for Adversarial Robustness

City University of Hong Kong(香港城市大学);University of Sydney(悉尼大学)

Hefei Mei, Minjing Dong, Chang Xu

AI总结:

针对现有基于扩散模型(DMs)的对抗鲁棒性方法计算成本高的问题,提出高效图像到图像扩散分类器,通过重新设计扩散框架为图像分类任务、采用剪枝U-Net结构和减少时间步长,实现更低计算成本下更优的对抗鲁棒性。

摘要:

扩散模型(DMs)在对抗鲁棒性领域展现出巨大潜力,其中基于DM的防御方法无需对抗训练即可实现卓越的防御能力。然而,由于使用大规模预训练DMs,它们都需要巨大的计算成本,导致难以在强攻击下进行全面评估并与传统基于CNN的方法比较。简单减小DMs的网络规模和时间步长会显著损害图像生成质量,使现有框架失效。为缓解此问题,我们将扩散框架从生成高质量图像重新设计为预测可区分的图像标签。具体而言,我们采用图像翻译框架学习从输入样本到设计的正交图像标签的多对一映射。基于此框架,我们引入具有剪枝U-Net结构和减少扩散时间步长的高效图像到图像扩散分类器。除框架外,我们重新设计DMs的优化目标以适应图像分类任务,在基于DM的图像翻译框架中纳入新的分类损失,以区分生成标签与其他类别的标签。我们在流行基准上对所提分类器进行了各种攻击下的充分评估。大量实验表明,我们的方法比基于DM和基于CNN的方法实现了更好的对抗鲁棒性,且计算成本更低。代码可在https://github.com/hfmei/IDC获取。

英文摘要:

Diffusion models (DMs) have demonstrated great potential in the field of adversarial robustness, where DM-based defense methods can achieve superior defense capability without adversarial training. However, they all require huge computational costs due to the usage of large-scale pre-trained DMs, making it difficult to conduct full evaluation under strong attacks and compare with traditional CNN-based methods. Simply reducing the network size and timesteps in DMs could significantly harm the image generation quality, which invalidates previous frameworks. To alleviate this issue, we redesign the diffusion framework from generating high-quality images to predicting distinguishable image labels. Specifically, we employ an image translation framework to learn many-to-one mapping from input samples to designed orthogonal image labels. Based on this framework, we introduce an efficient Image-to-Image diffusion classifier with a pruned U-Net structure and reduced diffusion timesteps. Besides the framework, we redesign the optimization objective of DMs to fit the target of image classification, where a new classification loss is incorporated in the DM-based image translation framework to distinguish the generated label from those of other classes. We conduct sufficient evaluations of the proposed classifier under various attacks on popular benchmarks. Extensive experiments show that our method achieves better adversarial robustness with fewer computational costs than DM-based and CNN-based methods. The code is available at https://github.com/hfmei/IDC

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

↑