arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.10000cs.LGmath.OCstat.ML
收藏

紧密的鲁棒性证书与Wasserstein分布攻击用于深度神经网络

Wasserstein Robust Classification Error: Surrogate Loss Misalignment and Distributional Attacks

College of Engineering & Computer Science(工程与计算机科学学院);VinUniversity Hanoi, Vietnam(越南河内Vin大学)

Bach C. Le, Tung V. Dao, Binh T. Nguyen, Hong T. M. Chu

AI总结:

本文提出了一种基于精确Lipschitz证书的WDRO方法,用于增强深度神经网络的鲁棒性,并提出了WDA攻击方法以提升对抗鲁棒性。

摘要:

Wasserstein分布鲁棒优化(WDRO)提供了一个对抗鲁棒性的框架,但现有基于全局Lipschitz连续性或强对偶性的方法往往产生松散的上界或需要过度计算。我们通过一个对偶方法来解决这些限制,并采用精确Lipschitz证书的概念来收紧此WDRO的上界。对于ReLU网络,我们利用激活单元上的分段仿射结构来获得相应WDRO问题的精确可计算表征。我们进一步将分析扩展到现代架构,如具有平滑激活函数(如GELU、SiLU)的架构(如Transformer)。此外,我们提出了新的Wasserstein分布攻击(WDA、WDA++),这些攻击构建了最坏分布的候选者。与现有仅限于点扰动的攻击方法相比,我们的方法在攻击点的数量和位置上提供了更大的灵活性。广泛的评估表明,我们提出的框架在对抗最先进基线时实现了具有竞争力的鲁棒准确率,同时提供了比现有方法更紧的证书。我们的代码可在https://github.com/OLab-Repo/WDA上获得。

英文摘要:

Wasserstein distributionally robust optimization (WDRO) provides a framework for evaluating model robustness through the worst-case expectation in the Wasserstein ball around a reference distribution. We prove that ordering hypotheses by increasing WDRO risk is equivalent to ordering them by decreasing robust accuracy if and only if the loss function is a positive multiple of the zero-one loss plus a label-dependent offset. For a class of loss functions including cross-entropy, we show that a hypothesis with perfect robust accuracy can conversely have a higher WDRO risk than another hypothesis with near zero robust accuracy. To evaluate robust accuracy directly, we develop Wasserstein distributional attacks (WDA), which add a weight generation stage after candidate support search to optimize the allocation of empirical mass under the Wasserstein constraint, rather than assigning each data point's full mass to one returned attack point as existing methods do. We further introduce a support-search algorithm for WDA that finds nearby misclassified inputs. On CIFAR-10, CIFAR-100, and ImageNet, WDA using our search algorithm achieves the lowest adversarial accuracy in most tested settings. Our code is available at https://github.com/OLab-Repo/WDA.

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

↑