arXiv:2607.14921cs.LGcs.AI2026-07中稿 · Transactions on Ma…

随机对数缩放可有效防御黑盒攻击,且不影响模型准确率。

Random Logit Scaling: Defending Deep Neural Networks Against Black-Box Score-Based Adversarial Example Attacks

论文配图:Random Logit Scaling: Defending Deep Neural Networks Against Black-Box Score-Based Adversarial Example Attacks
图 1 · 摘自论文原文
  • 通过随机缩放输出对数来干扰攻击者,实现即插即用的防御。
  • 在多个攻击下成功率显著降低,同时保持模型精度与置信度稳定。
  • 适用于需快速部署且资源受限的模型安全场景。

机器学习模型在诸多领域广泛应用,但对抗样本对其可靠部署构成重大威胁。近年来,一些高效、低查询成本的黑盒评分攻击被提出,凸显了对可扩展、低成本、强防御机制的需求。本文提出两种贡献:首先,提出随机对数缩放(Random Logit Scaling, RLS),一种基于随机化的黑盒评分攻击防御方法。RLS 是一种即插即用的后处理防御,可轻松集成至任意现有模型,通过随机缩放对数输出虚假分数,干扰攻击者,同时保持模型准确率。实验表明,相比现有随机化防御,RLS 显著降低主流黑盒评分攻击的成功率,且置信度畸变更小。其次,针对当前最先进的非随机化黑盒防御 AAA(其也修改输出对数以混淆攻击者),提出新型自适应攻击,揭示其易受此类攻击影响的弱点。

原文摘要 · Abstract (English)

Machine learning models are increasingly adapted in various domains. However, adversarial examples pose a significant threat to the reliable deployment of these models. In recent years, some powerful adversarial example attacks have been proposed for the fast and query-efficient generation of adversarial examples, even in black-box scenarios, highlighting the need for scalable, low-cost, and powerful defenses. In this work, we present two contributions to the domain of black-box adversarial example attacks and defenses. First, we propose Random Logit Scaling (RLS), a randomization-based defense against black-box score-based adversarial example attacks. RLS is a plug-and-play, post-processing defense that can be implemented on top of any existing ML model with minimal effort. The idea behind RLS is to confuse an attacker by outputting falsified scores resulting from randomly scaled logits while maintaining the model accuracy. We show that RLS significantly reduces the success rate of state-of-the-art black-box score-based attacks while preserving the accuracy and minimizing confidence score distortion compared to state-of-the-art randomization-based defenses. Second, we introduce a novel adaptive attack against AAA, a SOTA non-randomized black-box defense against black-box score-based attacks that also modifies output logits to confuse attackers, demonstrating its vulnerability against adaptive attacks.

对抗样本黑盒攻击防御

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