arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.08394cs.LG
收藏

基于数据流形上感知一致性隐空间优化的对抗净化

Adversarial Purification by Consistency-aware Latent Space Optimization on Data Manifolds

South China University of Technology(华南理工大学);Pazhou Laboratory(琶洲实验室);The University of Melbourne(墨尔本大学);Institute of Optics and Electronics, CAS(中国科学院光电技术研究所);Peking University(北京大学);Peng Cheng Laboratory(鹏城实验室);University of Texas at Arlington(德克萨斯大学阿灵顿分校);Hong Kong Baptist University(香港浸会大学)

Shuhai Zhang, Jiahao Yang, Hui Luo, Jie Chen, Li Wang, Feng Liu, Bo Han, Mingkui Tan

AI总结:

针对对抗净化易过度校正的问题,提出CMAP方法,通过在一致性模型隐空间优化向量恢复干净数据,在CIFAR-10和ImageNet-100上提升了对抗鲁棒性与自然准确率。

摘要:

深度神经网络(DNNs)易受对抗样本攻击,对抗样本通过向干净数据添加不可感知的扰动生成,可能导致错误且危险的预测。对抗净化是提升DNNs鲁棒性的有效手段,可在将数据输入模型前去除这些扰动,但它面临保留数据关键结构与语义信息的重大挑战——由于对抗扰动的不可感知性,难以避免过度校正,这会破坏重要信息并降低模型性能。本文摒弃传统对抗净化方法,转而聚焦干净数据流形。为此,我们发现,由训练良好的生成模型生成的样本与干净样本接近,但与对抗样本相距甚远。利用这一洞见,我们提出基于一致性模型的对抗净化方法(CMAP),该方法在预训练一致性模型的隐空间内优化向量,以生成恢复干净数据的样本。具体而言,1)我们提出感知一致性恢复机制,通过最小化生成样本与输入样本在像素空间和感知空间的差异实现;2)为将优化后的隐向量限制在有效数据流形内,我们引入隐分布一致性约束策略,使生成样本与干净数据分布对齐;3)我们还通过集成方法应用隐向量一致性预测方案,以提升预测可靠性。CMAP从根源上解决对抗扰动问题,提供鲁棒的净化效果。在CIFAR-10和ImageNet-100上开展的大量实验表明,我们的CMAP在显著提升抵御强对抗攻击鲁棒性的同时,保持了较高的自然准确率。

英文摘要:

Deep neural networks (DNNs) are vulnerable to adversarial samples crafted by adding imperceptible perturbations to clean data, potentially leading to incorrect and dangerous predictions. Adversarial purification has been an effective means to improve DNNs robustness by removing these perturbations before feeding the data into the model. However, it faces significant challenges in preserving key structural and semantic information of data, as the imperceptible nature of adversarial perturbations makes it hard to avoid over-correcting, which can destroy important information and degrade model performance. In this paper, we break away from traditional adversarial purification methods by focusing on the clean data manifold. To this end, we reveal that samples generated by a well-trained generative model are close to clean ones but far from adversarial ones. Leveraging this insight, we propose Consistency Model-based Adversarial Purification (CMAP), which optimizes vectors within the latent space of a pre-trained consistency model to generate samples for restoring clean data. Specifically, 1) we propose a Perceptual consistency restoration mechanism by minimizing the discrepancy between generated samples and input samples in both pixel and perceptual spaces. 2) To maintain the optimized latent vectors within the valid data manifold, we introduce a Latent distribution consistency constraint strategy to align generated samples with the clean data distribution. 3) We also apply a Latent vector consistency prediction scheme via an ensemble approach to enhance prediction reliability. CMAP fundamentally addresses adversarial perturbations at their source, providing a robust purification. Extensive experiments on CIFAR-10 and ImageNet-100 show that our CMAP significantly enhances robustness against strong adversarial attacks while preserving high natural accuracy.

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

↑