arXiv:2501.13094cs.CVcs.AI2025-01ICLR被引 1

用对比去噪提升扩散模型的鲁棒性,推理速度提升85倍

Robust Representation Consistency Model via Contrastive Denoising

  • 在隐空间用实例判别对齐扩散轨迹点,实现一致表征
  • ImageNet上平均认证准确率高出5.3%,大扰动下最高高11.6%
  • 单次预测完成去噪与分类,推理成本降低85倍,适合部署

鲁棒性对深度神经网络至关重要,尤其在安全敏感场景中。随机平滑可为对抗扰动提供理论保障。近期,扩散模型被用于随机平滑,通过净化噪声扰动样本再交由标准分类器预测。然而,这类方法在小扰动下表现优异,面对大扰动时性能下降,且推理阶段计算开销显著高于传统方法。为此,我们重新将像素空间中的扩散轨迹生成建模问题转化为隐空间中的判别任务。具体地,利用实例判别对齐时间相邻点,实现轨迹上表示的一致性。基于学习到的表示进行微调后,模型通过一次预测即可完成隐式去噪与分类,大幅降低推理成本。我们在多个数据集上进行了广泛实验,仅用极小计算预算即达到当前最优性能。例如,在ImageNet上,本方法在所有扰动半径下均优于基于扩散的方法,平均认证准确率提升5.3%,最大提升达11.6%;同时推理成本平均降低85倍。代码已开源:https://github.com/jiachenlei/rRCM。

原文摘要 · Abstract (English)

Robustness is essential for deep neural networks, especially in security-sensitive applications. To this end, randomized smoothing provides theoretical guarantees for certifying robustness against adversarial perturbations. Recently, diffusion models have been successfully employed for randomized smoothing to purify noise-perturbed samples before making predictions with a standard classifier. While these methods excel at small perturbation radii, they struggle with larger perturbations and incur a significant computational overhead during inference compared to classical methods. To address this, we reformulate the generative modeling task along the diffusion trajectories in pixel space as a discriminative task in the latent space. Specifically, we use instance discrimination to achieve consistent representations along the trajectories by aligning temporally adjacent points. After fine-tuning based on the learned representations, our model enables implicit denoising-then-classification via a single prediction, substantially reducing inference costs. We conduct extensive experiments on various datasets and achieve state-of-the-art performance with minimal computation budget during inference. For example, our method outperforms the certified accuracy of diffusion-based methods on ImageNet across all perturbation radii by 5.3% on average, with up to 11.6% at larger radii, while reducing inference costs by 85$\times$ on average. Codes are available at: https://github.com/jiachenlei/rRCM.

鲁棒性扩散模型去噪推理加速

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。