arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.10322cs.LGstat.ML
收藏

特征平均:导致神经网络非鲁棒性的梯度下降的一种隐式偏差

Feature Averaging: An Implicit Bias of Gradient Descent Leading to Non-Robustness in Neural Networks

Peking University(北京大学);Tsinghua University(清华大学);UC Berkeley(加州大学伯克利分校)

Binghui Li, Zhixuan Pan, Kaifeng Lyu, Jian Li

AI总结:

本研究揭示了梯度下降的“特征平均”隐式偏差导致神经网络非鲁棒性,并证明通过分类单个特征的精细监督可缓解此问题并实现最优鲁棒性。

摘要:

在本研究中,我们研究了梯度下降训练中的一种特定隐式偏差,我们将其称为“特征平均”,并认为它是导致深度神经网络非鲁棒性的主要因素之一。我们表明,即使输入数据中存在多个判别性特征,通过梯度下降训练的神经网络也倾向于依赖这些特征的平均值(或某种组合)进行分类,而不是单独区分和利用每个特征。具体来说,我们对二元分类任务上两层 ReLU 网络的训练动态进行了详细的理论分析,其中数据分布由具有相互正交中心的多个簇组成。我们严格证明,梯度下降使网络偏向于特征平均,其中每个隐藏神经元的权重代表簇中心的平均值(每个中心对应一个不同的特征),从而使网络容易受到与平均特征负方向对齐的输入扰动的影响。在积极方面,我们证明了这种脆弱性可以通过更精细的监督来缓解。特别地,我们证明了两层 ReLU 网络在被训练以分类单个特征而不仅仅是原始二元类别时,可以实现最佳鲁棒性。最后,我们在合成数据集、MNIST 和 CIFAR-10 上通过实验验证了我们的理论发现,并证实了特征平均的普遍性及其对对抗鲁棒性的影响。我们希望这些理论和实证见解能够加深对梯度下降如何塑造特征学习和对抗鲁棒性,以及更详细的监督如何增强鲁棒性的理解。

英文摘要:

In this work, we investigate a particular implicit bias in gradient descent training, which we term "Feature Averaging," and argue that it is one of the principal factors contributing to the non-robustness of deep neural networks. We show that, even when multiple discriminative features are present in the input data, neural networks trained by gradient descent tend to rely on an average (or a certain combination) of these features for classification, rather than distinguishing and leveraging each feature individually. Specifically, we provide a detailed theoretical analysis of the training dynamics of two-layer ReLU networks on a binary classification task, where the data distribution consists of multiple clusters with mutually orthogonal centers. We rigorously prove that gradient descent biases the network towards feature averaging, where the weights of each hidden neuron represent an average of the cluster centers (each corresponding to a distinct feature), thereby making the network vulnerable to input perturbations aligned with the negative direction of the averaged features. On the positive side, we demonstrate that this vulnerability can be mitigated through more granular supervision. In particular, we prove that a two-layer ReLU network can achieve optimal robustness when trained to classify individual features rather than merely the original binary classes. Finally, we validate our theoretical findings with experiments on synthetic datasets, MNIST, and CIFAR-10, and confirm the prevalence of feature averaging and its impact on adversarial robustness. We hope these theoretical and empirical insights deepen the understanding of how gradient descent shapes feature learning and adversarial robustness, and how more detailed supervision can enhance robustness.

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

↑