Computing Linear Restrictions of Neural NetworksDownload PDF

Matthew A Sotoudeh, Aditya Thakur

06 Sept 2019 (modified: 05 May 2023)NeurIPS 2019Readers: Everyone
Abstract: 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 infinite points on a line. In particular, ExactLine computes a partition of the given input line segment such that the network is affine on each partition. We present an efficient algorithm for computing ExactLine as well as several applications. First, we show how to exactly determine decision boundaries of an ACAS Xu neural network. Next, we demonstrate how to exactly compute integrated gradients, which are commonly used for neural network attributions, allowing us to empirically quantify the error of the approximation techniques currently used and propose an improved method. Finally, we use ExactLine to empirically investigate a well-known hypothesis about adversarial examples, and identify interesting properties of adversarially-trained networks.
Code Link: https://doi.org/10.5281/zenodo.3520097
CMT Num: 7897
0 Replies

Loading