arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1908.06214cs.LGstat.ML
收藏

计算神经网络的线性约束

Computing Linear Restrictions of Neural Networks

University of California, Davis(加州大学戴维斯分校)

Matthew Sotoudeh, Aditya V. Thakur

摘要:

一个函数的线性限制是同一个函数,其域限制在给定直线上的点。本文讨论了计算分段线性神经网络的线性约束的简洁表示的问题。这个原语,我们称之为ExactLine,允许我们精确地描述将网络应用于一条线上的所有无限多个点的结果。特别是,ExactLine计算给定输入线段的分区,使得网络在每个分区上都是仿射的。我们提出了一种有效的算法,用于计算使用ReLU,MaxPool,批量归一化,全连接,卷积和其他层的网络的ExactLine,以及几个应用程序。首先,我们展示了如何准确地确定ACAS Xu神经网络的决策边界,与在输入空间中采样100多个点的先前工作相比,在结果中提供显着提高的置信度。接下来,我们演示了如何精确计算积分梯度,这通常用于神经网络属性,使我们能够表明,以前的基于几何的方法具有25-45%的相对误差,并表明更好的采样方法可以实现更高的精度,更少的计算。最后,我们使用ExactLine从经验上验证了一个关于对抗性示例的著名假设背后的核心假设,并在此过程中识别出对抗性训练网络的有趣特性。

英文摘要:

A linear restriction of a function is the same function with its domain restricted to points on a given line. This paper addresses the problem of computing a succinct representation for a linear restriction of a piecewise-linear neural network. This primitive, which we call ExactLine, allows us to exactly characterize the result of applying the network to all of the infinitely many points on a line. In particular, ExactLine computes a partitioning of the given input line segment such that the network is affine on each partition. We present an efficient algorithm for computing ExactLine for networks that use ReLU, MaxPool, batch normalization, fully-connected, convolutional, and other layers, along with several applications. First, we show how to exactly determine decision boundaries of an ACAS Xu neural network, providing significantly improved confidence in the results compared to prior work that sampled finitely many points in the input space. Next, we demonstrate how to exactly compute integrated gradients, which are commonly used for neural network attributions, allowing us to show that the prior heuristic-based methods had relative errors of 25-45% and show that a better sampling method can achieve higher accuracy with less computation. Finally, we use ExactLine to empirically falsify the core assumption behind a well-known hypothesis about adversarial examples, and in the process identify interesting properties of adversarially-trained networks.

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

↑