When Low Precision Weakens Adversarial Attacks: Analysis and Targeted CorrectionsWhen Low Precision Weakens Adversarial Attacks:Analysis and Targeted Corrections
Researchers analyzed why low-precision arithmetic weakens adversarial attacks and gave targeted corrections that keep attacks at close to native low-precision speed while largely preserving the success rate of FP32 attacks. The paper notes that low-precision numerical error on GPUs weakens the attack search and leads to inflated robustness estimates, and that benchmarks such as RobustBench typically run attacks in FP32. The authors decompose the loss gap into evaluation error at fixed candidate points and error from changes in the search path, finding that rounded decision values discard adversarial examples during the search, and that in BF16 rounding amplified before sensitive normalization layers misleads the search. The correction computes in FP32 the values on which attack decisions are based while gradients remain low precision, and runs operators feeding sensitive normalization layers at higher precision; because successful samples found in the search usually carry over to the final update where loss comparisons are least reliable, restricting the numerical correction to that stage recovers most of the benefit while retaining most of the speedup.
Related events and news
1 events · 0 news mentions
- This event's paper
研究者发现低精度削弱对抗攻击并抬高鲁棒性估计,提出修正