跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2612.03977 · v1

When Low Precision Weakens Adversarial Attacks:Analysis and Targeted Corrections

首次提交 2026-12-02 23:07
版本更新 2026-12-02 23:07
雷达观测 2026-12-03 12:51
arXiv ↗PDF ↗

摘要

Adversarial attacks induce misclassification through small changes to model inputs. Their success rate is a practical measure of model robustness. Modern GPUs can accelerate these attacks with reduced-precision arithmetic, but numerical errors can weaken the search and lead to inflated robustness estimates, much as obfuscated gradients do. Robustness benchmarks such as RobustBench conventionally run attacks in FP32. We examine why reduced precision weakens attacks and how to retain its speed advantage while preserving attack success relative to FP32. Decomposing the loss gap into evaluation error at a fixed candidate and error from a changed search path shows that rounded decision values discard adversarial examples during the search, and that in BF16 rounding amplified before sensitive normalization layers misdirects it. Guided by this analysis, we compute the values behind the attack's decisions in FP32 while keeping the gradient computation in low precision, and run the operators that feed sensitive normalization layers in higher precision. Successes found during the search usually persist into the final updates, when loss comparisons are also least reliable. Limiting value correction to those updates recovers most of its benefit and retains most of the low-precision speedup. We evaluate attack strength and cost using the gradient-based attacks of AutoAttack on RobustBench models across CIFAR-10, CIFAR-100 and ImageNet, in TF32, FP16 and BF16. The refined schedule runs at close to the native low-precision speed while essentially preserving the attack success rate of the FP32 attack, and correcting every update matches the FP32 attack on almost all evaluated models, which confirms the analysis.

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-12-02 23:07 · 最新观测版本

When Low Precision Weakens Adversarial Attacks:Analysis and Targeted Corrections

Adversarial attacks induce misclassification through small changes to model inputs. Their success rate is a practical measure of model robustness. Modern GPUs can accelerate these attacks with reduced-precision arithmetic, but numerical errors can weaken the search and lead to inflated robustness estimates, much as obfuscated gradients do. Robustness benchmarks such as RobustBench conventionally run attacks in FP32. We examine why reduced precision weakens attacks and how to retain its speed advantage while preserving attack success relative to FP32. Decomposing the loss gap into evaluation error at a fixed candidate and error from a changed search path shows that rounded decision values discard adversarial examples during the search, and that in BF16 rounding amplified before sensitive normalization layers misdirects it. Guided by this analysis, we compute the values behind the attack's decisions in FP32 while keeping the gradient computation in low precision, and run the operators that feed sensitive normalization layers in higher precision. Successes found during the search usually persist into the final updates, when loss comparisons are also least reliable. Limiting value correction to those updates recovers most of its benefit and retains most of the low-precision speedup. We evaluate attack strength and cost using the gradient-based attacks of AutoAttack on RobustBench models across CIFAR-10, CIFAR-100 and ImageNet, in TF32, FP16 and BF16. The refined schedule runs at close to the native low-precision speed while essentially preserving the attack success rate of the FP32 attack, and correcting every update matches the FP32 attack on almost all evaluated models, which confirms the analysis.

查看此版本解读 →查看此版本原文 ↗