arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.14231cs.LG
收藏

平坦性(不)保证对抗鲁棒性时

When Flatness Does (Not) Guarantee Adversarial Robustness

CISPA Helmholtz Center for Information Security(CISPA亥姆霍兹信息安全中心);Ruhr University Bochum(波鸿鲁尔大学);Lamarr Institute(拉马尔研究所);Technical University Dortmund(多特蒙德工业大学);Institute for AI in Medicine, University Hospital Essen(埃森大学医院人工智能医学研究所)

Nils Philipp Walter, Linara Adilova, Jilles Vreeken, Michael Kamp

AI总结:

本研究形式化证明平坦性仅保证局部而非全局对抗鲁棒性,推导闭式表达式并实证揭示对抗样本常位于模型自信犯错的大平坦区域,挑战简化观点。

摘要:

尽管神经网络在经验上取得了成功,但它们仍然容易受到微小的对抗性扰动的影响。一个长期存在的假设认为,平坦最小值,即损失景观中曲率较低的区域,能提供增强的鲁棒性。尽管这一直觉看似合理,但这种联系在很大程度上仍是非正式且不完整的。通过严格地形式化这一关系,我们证明这种直觉仅部分正确:平坦性意味着局部而非全局的对抗鲁棒性。为了得出这一结果,我们首先推导出倒数第二层中相对平坦性的闭式表达式,然后证明我们可以利用它来约束输入空间中损失的变化。这使我们能够正式分析整个网络的对抗鲁棒性。接着,我们证明,要在局部邻域之外维持鲁棒性,损失需要急剧地偏离数据流形。我们在多种架构和数据集上实证验证了我们的理论预测,揭示了控制对抗脆弱性的几何结构,并将平坦性与模型置信度联系起来:对抗样本通常位于模型自信地犯错的大而平坦的区域。我们的结果挑战了对平坦性的简化观点,并提供了对其在鲁棒性中作用的细致理解。

英文摘要:

Despite their empirical success, neural networks remain vulnerable to small, adversarial perturbations. A longstanding hypothesis suggests that flat minima, regions of low curvature in the loss landscape, offer increased robustness. While intuitive, this connection has remained largely informal and incomplete. By rigorously formalizing the relationship, we show this intuition is only partially correct: flatness implies local but not global adversarial robustness. To arrive at this result, we first derive a closed-form expression for relative flatness in the penultimate layer, and then show we can use this to constrain the variation of the loss in input space. This allows us to formally analyze the adversarial robustness of the entire network. We then show that to maintain robustness beyond a local neighborhood, the loss needs to curve sharply away from the data manifold. We validate our theoretical predictions empirically across architectures and datasets, uncovering the geometric structure that governs adversarial vulnerability, and linking flatness to model confidence: adversarial examples often lie in large, flat regions where the model is confidently wrong. Our results challenge simplified views of flatness and provide a nuanced understanding of its role in robustness.

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

↑