arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.02718cs.LGcs.CR
收藏

校准攻击:针对模型置信度的对抗攻击综合研究

Calibration Attacks: A Comprehensive Study of Adversarial Attacks on Model Confidence

Ingenuity Labs Research Institute(创意实验室研究院);National Research Council Canada(加拿大国家研究委员会);Digital Technologies Research Centre(数字技术研究中心)

Stephen Obadinma, Xiaodan Zhu, Hongyu Guo

AI总结:

本文系统研究不改变预测标签却扭曲模型置信度的校准攻击,提出四类黑盒/白盒攻击并评估防御与重新校准方法,揭示现有防护仍存在明显局限。

摘要:

在本工作中,我们强调并对校准攻击进行了综合研究。校准攻击是一类对抗攻击,旨在诱使受害模型出现严重错误校准,同时不改变其预测标签,从而危及模型的可信度以及基于其置信度进行的后续决策。我们提出了四种典型的校准攻击形式:欠置信攻击、过度置信攻击、最大错误校准攻击和随机置信攻击,并在黑盒与白盒设置下分别实施。我们证明,这些攻击对卷积模型和基于注意力的模型都非常有效:只需少量查询,它们就会严重扭曲置信度,而不会改变预测性能。鉴于其潜在危险,我们进一步研究了多种对抗防御与重新校准方法的有效性,其中包括我们专门为缓解校准攻击危害而提出的防御方法。从 ECE 和 KS 分数来看,我们观察到现有方法在应对校准攻击方面仍存在显著局限。据我们所知,这是首个专门针对以校准为中心的攻击展开全面调查的研究。我们希望本研究有助于吸引更多人关注此类攻击,从而遏制其可能造成的严重损害。为此,本工作还提供了详细分析,以理解这些攻击的特征。我们的代码可在 https://github.com/PhenetOs/CalibrationAttack 获取。

英文摘要:

In this work, we highlight and perform a comprehensive study on calibration attacks, a form of adversarial attacks that aim to trap victim models to be heavily miscalibrated without altering their predicted labels, hence endangering the trustworthiness of the models and follow-up decision making based on their confidence. We propose four typical forms of calibration attacks: underconfidence, overconfidence, maximum miscalibration, and random confidence attacks, conducted in both black-box and white-box setups. We demonstrate that the attacks are highly effective on both convolutional and attention-based models: with a small number of queries, they seriously skew confidence without changing the predictive performance. Given the potential danger, we further investigate the effectiveness of a wide range of adversarial defence and recalibration methods, including our proposed defences specifically designed for calibration attacks to mitigate the harm. From the ECE and KS scores, we observe that there are still significant limitations in handling calibration attacks. To the best of our knowledge, this is the first dedicated study that provides a comprehensive investigation on calibration-focused attacks. We hope this study helps attract more attention to these types of attacks and hence hamper their potential serious damages. To this end, this work also provides detailed analyses to understand the characteristics of the attacks. Our code is available at https://github.com/PhenetOs/CalibrationAttack

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

↑