arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.07144cs.LG
收藏

有效训练低曲率神经网络

Efficiently Training Low-Curvature Neural Networks

Harvard University(哈佛大学);Idiap Research Institute(Idiap研究所);EPFL(洛桑联邦理工学院);University of Geneva(日内瓦大学)

Suraj Srinivas, Kyle Matoba, Himabindu Lakkaraju, Francois Fleuret

摘要:

深度神经网络的高度非线性特性导致它们容易受到对抗性示例的影响,并且具有不稳定的梯度,这阻碍了可解释性。然而,解决这些问题的现有方法,如对抗训练,是昂贵的,往往牺牲预测准确性。在这项工作中,我们考虑曲率,这是一个数学数量的编码程度的非线性。利用这一点,我们展示了低曲率神经网络(LCNN),它获得了比标准模型低得多的曲率,同时表现出类似的预测性能,从而提高了鲁棒性和稳定的梯度,只增加了少量的训练时间。为了实现这一目标,我们最小化神经网络曲率的数据独立上限,它根据其组成层的曲率和斜率来分解整体曲率。为了有效地最小化这个界限,我们引入了两个新的架构组件:第一,一个非线性称为中心softplus,这是一个稳定的变体softplus非线性,第二,Lipschitz约束批量归一化层。我们的实验表明,与标准的高曲率对应物相比,LCNN具有更低的曲率,更稳定的梯度和更高的现成对抗鲁棒性,所有这些都不会影响预测性能。我们的方法易于使用,可以很容易地纳入现有的神经网络模型。

英文摘要:

The highly non-linear nature of deep neural networks causes them to be susceptible to adversarial examples and have unstable gradients which hinders interpretability. However, existing methods to solve these issues, such as adversarial training, are expensive and often sacrifice predictive accuracy. In this work, we consider curvature, which is a mathematical quantity which encodes the degree of non-linearity. Using this, we demonstrate low-curvature neural networks (LCNNs) that obtain drastically lower curvature than standard models while exhibiting similar predictive performance, which leads to improved robustness and stable gradients, with only a marginally increased training time. To achieve this, we minimize a data-independent upper bound on the curvature of a neural network, which decomposes overall curvature in terms of curvatures and slopes of its constituent layers. To efficiently minimize this bound, we introduce two novel architectural components: first, a non-linearity called centered-softplus that is a stable variant of the softplus non-linearity, and second, a Lipschitz-constrained batch normalization layer. Our experiments show that LCNNs have lower curvature, more stable gradients and increased off-the-shelf adversarial robustness when compared to their standard high-curvature counterparts, all without affecting predictive performance. Our approach is easy to use and can be readily incorporated into existing neural network models.

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

↑