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

利用低熵先验矫正对抗样本以实现测试时防御

Rectifying Adversarial Sample with Low Entropy Prior for Test-Time Defense

Chongqing Key Laboratory of Bio-perception and Multimodal Intelligent Information Processing, Chongqing University and the School of Microelectronics and Communication Engineering, Chongqing University(重庆生物感知与多模态智能信息处理重点实验室、重庆大学及微电子与通信工程学院)

Lina Ma, Xiaowei Fu, Fuxiang Huang, Xinbo Gao, Lei Zhang

AI总结:

本文揭示对抗样本普遍具有低熵先验,并提出两阶段REAL方法,通过最大-最小熵优化和攻击感知加权矫正对抗样本,显著提升测试时防御对未知攻击的鲁棒性。

摘要:

现有防御方法无法抵御未知攻击,从而引发了对抗鲁棒性的泛化问题。为了解决这一问题,我们尝试深入探究各种攻击之间某些潜在的共性特征以提升通用性。在本工作中,我们揭示了各种对抗样本中普遍存在但常被忽视的低熵先验(LE),并阐明了在推理阶段对未见攻击的通用鲁棒性。LE先验被阐述为跨各种攻击的两个性质,如图1和图2所示:1)对抗样本的低熵错误分类;2)攻击强度越高,预测熵越低。这一现象与自然分布的样本形成鲜明对比。LE先验可以指导现有的测试时防御方法,因此我们提出了一种两阶段REAL方法:基于LE先验矫正对抗样本,用于测试时对抗矫正。具体而言,为了使对抗样本更接近干净样本,我们提出首先通过反向最大化预测熵来矫正被低熵错误分类的对抗样本,从而消除其对抗性质。为确保矫正后的样本能够以低熵被正确分类,我们通过正向最小化预测熵进行二次矫正,从而形成最大-最小熵优化方案。进一步地,基于第二个性质,我们提出了一种攻击感知加权机制,以自适应地调整最大-最小熵目标的强度。在多个数据集上的实验表明,REAL能够大幅提升现有样本矫正模型的性能。

英文摘要:

Existing defense methods fail to defend against unknown attacks and thus raise generalization issue of adversarial robustness. To remedy this problem, we attempt to delve into some underlying common characteristics among various attacks for generality. In this work, we reveal the commonly overlooked low entropy prior (LE) implied in various adversarial samples, and shed light on the universal robustness against unseen attacks in inference phase. LE prior is elaborated as two properties across various attacks as shown in Fig. 1 and Fig. 2: 1) low entropy misclassification for adversarial samples and 2) lower entropy prediction for higher attack intensity. This phenomenon stands in stark contrast to the naturally distributed samples. The LE prior can instruct existing test-time defense methods, thus we propose a two-stage REAL approach: Rectify Adversarial sample based on LE prior for test-time adversarial rectification. Specifically, to align adversarial samples more closely with clean samples, we propose to first rectify adversarial samples misclassified with low entropy by reverse maximizing prediction entropy, thereby eliminating their adversarial nature. To ensure the rectified samples can be correctly classified with low entropy, we carry out secondary rectification by forward minimizing prediction entropy, thus creating a Max-Min entropy optimization scheme. Further, based on the second property, we propose an attack-aware weighting mechanism to adaptively adjust the strengths of Max-Min entropy objectives. Experiments on several datasets show that REAL can greatly improve the performance of existing sample rectification models.

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

↑