HALO:通过联合优化实现鲁棒的分布外检测
HALO: Robust Out-of-Distribution Detection via Joint Optimisation
AI总结:
HALO通过扩展TRADES框架并引入额外损失项,实现鲁棒OOD检测,在干净和对抗设置下均显著提升AUROC,且兼容现有框架。
摘要:
有效的分布外(OOD)检测对于机器学习模型在现实场景中的安全部署至关重要。然而,近期研究表明,OOD检测方法易受对抗性攻击,可能导致高风险应用中的严重失败。这一发现推动了鲁棒OOD检测方法的研究,这些方法能够在各种攻击设置下保持性能。先前的方法在此问题上取得了进展,但面临诸多限制:通常仅对OOD数据的攻击表现出鲁棒性,或无法保持强大的干净性能。在本工作中,我们改编了现有的鲁棒分类框架TRADES,将其扩展到鲁棒OOD检测问题,并发现了一个新的目标函数。认识到强干净/鲁棒权衡对OOD检测的关键重要性,我们引入了一个额外的损失项,以提升分类和检测性能。我们的方法称为HALO(基于辅助的对抗性OOD检测),超越了现有方法,并在多个数据集和攻击设置下实现了最先进的性能。大量实验表明,与次优方法相比,在干净设置下平均AUROC提升了3.15,在对抗攻击下提升了7.07。此外,HALO对迁移攻击具有抵抗力,通过超参数选择提供可调性能,并且可直接与现有OOD检测框架兼容,为未来性能提升留有余地。代码可在 https://github.com/hugo0076/HALO 获取。
英文摘要:
Effective out-of-distribution (OOD) detection is crucial for the safe deployment of machine learning models in real-world scenarios. However, recent work has shown that OOD detection methods are vulnerable to adversarial attacks, potentially leading to critical failures in high-stakes applications. This discovery has motivated work on robust OOD detection methods that are capable of maintaining performance under various attack settings. Prior approaches have made progress on this problem but face a number of limitations: often only exhibiting robustness to attacks on OOD data or failing to maintain strong clean performance. In this work, we adapt an existing robust classification framework, TRADES, extending it to the problem of robust OOD detection and discovering a novel objective function. Recognising the critical importance of a strong clean/robust trade-off for OOD detection, we introduce an additional loss term which boosts classification and detection performance. Our approach, called HALO (Helper-based AdversariaL OOD detection), surpasses existing methods and achieves state-of-the-art performance across a number of datasets and attack settings. Extensive experiments demonstrate an average AUROC improvement of 3.15 in clean settings and 7.07 under adversarial attacks when compared to the next best method. Furthermore, HALO exhibits resistance to transferred attacks, offers tuneable performance through hyperparameter selection, and is compatible with existing OOD detection frameworks out-of-the-box, leaving open the possibility of future performance gains. Code is available at: https://github.com/hugo0076/HALO
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。