Consider the following fundamental learning problem: given input examples and their vector-valued labels, as defined by an underlying generative neural network, recover the weight matrices of this network. We consider two-layer networks, mapping to , with non-linear activation units , where is the ReLU. Such a network is specified by two weight matrices, , such that the label of an example is given by , where is applied coordinate-wise. Given samples as a matrix and the (possibly noisy) labels of the network on these samples, where is a noise matrix, our goal is to recover the weight matrices and . In this work, we develop algorithms and hardness results under varying assumptions on the input and noise. Although the problem is NP-hard even for , by assuming Gaussian marginals over the input we are able to develop polynomial time algorithms for the approximate recovery of and . Perhaps surprisingly, in the noiseless case our algorithms recover exactly, i.e., with no error. To the best of the our knowledge, this is the first algorithm to accomplish exact recovery. For the noisy case, we give the first polynomial time algorithm that approximately recovers the weights in the presence of mean-zero noise . Our algorithms generalize to a larger class of rectified activation functions, when , and otherwise.
View on arXiv