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

带归一化层的深度神经网络中的Lipschitz爆炸:对优化和对抗鲁棒性的影响

On Lipschitz Explosion in Deep Neural Networks with Normalization: Consequences for Optimization and Adversarial Robustness

Massachusetts Institute of Technology(麻省理工学院);The University of Texas at Dallas(德克萨斯大学达拉斯分校);University of Virginia(弗吉尼亚大学)

Ashkan Soleymani, Reyhaneh Hosseinpourkhoshkbari, Hadi Daneshmand, Patrick Jaillet

AI总结:

该研究揭示带归一化层的深度神经网络的两种Lipschitz常数会随深度指数级增长,导致训练稳定机制产生局部不可见的不稳定性,实验在三类数据集验证秩创建扰动会引发更严重的性能下降。

摘要:

网络在每一层看起来稳定,但整体仍可能呈指数级不稳定吗?神经网络的Lipschitz常数是优化保证、泛化界和鲁棒性证明中的基本稳定性量。深度网络自然包含两种此类概念:输入Lipschitz性,衡量对数据扰动的敏感性;参数Lipschitz性,衡量对权重扰动的敏感性。我们证明,对于带归一化层的深度网络(以批量归一化为典型例子),即使在每一层范数受强控制(如∥W_ℓ∥₂≤1)且仅使用线性激活的情况下,两种Lipschitz常数都会随深度及参数维度呈指数级增长。因此,一种广泛用于稳定训练的机制会产生局部不可见的严重最坏情况不稳定性,即仅从层范数边界无法察觉。参数Lipschitz爆炸使依赖Lipschitz的非光滑优化保证变为深度归一化网络的维度指数级界,而输入Lipschitz爆炸使基于最坏情况Lipschitz的泛化和鲁棒性证明失效。后者还产生了对抗脆弱性的具体秩分离机制。该理论预测,引入新奇异方向的扰动应比保持在输入原始奇异子空间内的同噪声水平扰动被放大得多。在MNIST、Fashion-MNIST和CIFAR-10上的实验支持这一预测,表明创建秩的扰动会导致准确率、置信度和间隔的下降比同子空间扰动显著更剧烈。

英文摘要:

Can a network look stable at every layer and still be exponentially unstable as a whole? The Lipschitz constant of a neural network is a basic stability quantity appearing in optimization guarantees, generalization bounds, and robustness certificates. Deep networks naturally admit two such notions, input Lipschitzness, measuring sensitivity to data perturbations, and parameter Lipschitzness, measuring sensitivity to weight perturbations. We prove that, for deep networks with normalization layers, with batch normalization as the canonical example, both Lipschitz constants can grow exponentially with depth and hence with parameter dimension, even under strong per-layer norm control such as $\|W_\ell\|_2\le 1$, and already for linear activations. Thus, a mechanism widely used to stabilize training can create severe worst-case instabilities that are invisible locally, i.e., from layerwise norm bounds alone. Parameter-Lipschitz explosion turns Lipschitz-dependent nonsmooth optimization guarantees into exponential-in-dimension bounds for deep normalized networks, while input-Lipschitz explosion makes worst-case Lipschitz-based generalization and robustness certificates vacuous. The latter also yields a concrete rank-separation mechanism for adversarial vulnerability. The theory predicts that perturbations introducing new singular directions should be amplified much more strongly than perturbations at the same noise level that remain within the input's original singular subspace. Experiments on MNIST, Fashion-MNIST, and CIFAR-10 support this prediction, showing that rank-creating perturbations cause substantially sharper drops in accuracy, confidence, and margins than same-subspace perturbations.

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

↑