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

深度神经网络Lipschitz常数的高效精确估计

Efficient and Accurate Estimation of Lipschitz Constants for Deep Neural Networks

University of Pennsylvania(宾夕法尼亚大学)

Mahyar Fazlyab, Alexander Robey, Hamed Hassani, Manfred Morari, George J. Pappas

摘要:

深度神经网络(DNN)的Lipschitz常数的严格估计在从分类器的鲁棒性认证到具有强化学习控制器的闭环系统的稳定性分析的许多应用中是有用的。现有的方法在文献中估计的Lipschitz常数遭受要么缺乏准确性或可扩展性差。在本文中,我们提出了一个凸优化框架,以准确有效地计算DNN的Lipschitz常数的保证上界。我们的主要思想是将激活函数解释为凸势函数的梯度。因此,它们满足可以由二次约束描述的某些性质。这种特殊的描述使我们能够提出Lipschitz常数估计问题作为一个半定规划(SDP)。所得到的SDP可以适于增加估计精度(通过捕获不同层的激活函数之间的交互)或可缩放性(通过分解和并行实现)。我们说明了我们的方法的实用性与随机生成的网络和MNIST和虹膜数据集上训练的分类器上的各种实验。特别是,我们的实验表明,我们的Lipschitz界是最准确的文献相比。我们还研究了对抗性训练方法对所得分类器的Lipschitz界的影响,并表明我们的界可用于有效地提供鲁棒性保证。

英文摘要:

Tight estimation of the Lipschitz constant for deep neural networks (DNNs) is useful in many applications ranging from robustness certification of classifiers to stability analysis of closed-loop systems with reinforcement learning controllers. Existing methods in the literature for estimating the Lipschitz constant suffer from either lack of accuracy or poor scalability. In this paper, we present a convex optimization framework to compute guaranteed upper bounds on the Lipschitz constant of DNNs both accurately and efficiently. Our main idea is to interpret activation functions as gradients of convex potential functions. Hence, they satisfy certain properties that can be described by quadratic constraints. This particular description allows us to pose the Lipschitz constant estimation problem as a semidefinite program (SDP). The resulting SDP can be adapted to increase either the estimation accuracy (by capturing the interaction between activation functions of different layers) or scalability (by decomposition and parallel implementation). We illustrate the utility of our approach with a variety of experiments on randomly generated networks and on classifiers trained on the MNIST and Iris datasets. In particular, we experimentally demonstrate that our Lipschitz bounds are the most accurate compared to those in the literature. We also study the impact of adversarial training methods on the Lipschitz bounds of the resulting classifiers and show that our bounds can be used to efficiently provide robustness guarantees.

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

↑