ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 1811.01885
13
69

Learning Two Layer Rectified Neural Networks in Polynomial Time

5 November 2018
Ainesh Bakshi
Rajesh Jayaram
David P. Woodruff
    NoLa
ArXivPDFHTML
Abstract

Consider the following fundamental learning problem: given input examples x∈Rdx \in \mathbb{R}^dx∈Rd 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 Rd\mathbb{R}^dRd to Rm\mathbb{R}^mRm, with kkk non-linear activation units f(⋅)f(\cdot)f(⋅), where f(x)=max⁡{x,0}f(x) = \max \{x , 0\}f(x)=max{x,0} is the ReLU. Such a network is specified by two weight matrices, U∗∈Rm×k,V∗∈Rk×d\mathbf{U}^* \in \mathbb{R}^{m \times k}, \mathbf{V}^* \in \mathbb{R}^{k \times d}U∗∈Rm×k,V∗∈Rk×d, such that the label of an example x∈Rdx \in \mathbb{R}^{d}x∈Rd is given by U∗f(V∗x)\mathbf{U}^* f(\mathbf{V}^* x)U∗f(V∗x), where f(⋅)f(\cdot)f(⋅) is applied coordinate-wise. Given nnn samples as a matrix X∈Rd×n\mathbf{X} \in \mathbb{R}^{d \times n}X∈Rd×n and the (possibly noisy) labels U∗f(V∗X)+E\mathbf{U}^* f(\mathbf{V}^* \mathbf{X}) + \mathbf{E}U∗f(V∗X)+E of the network on these samples, where E\mathbf{E}E is a noise matrix, our goal is to recover the weight matrices U∗\mathbf{U}^*U∗ and V∗\mathbf{V}^*V∗. 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 k=2k=2k=2, by assuming Gaussian marginals over the input X\mathbf{X}X we are able to develop polynomial time algorithms for the approximate recovery of U∗\mathbf{U}^*U∗ and V∗\mathbf{V}^*V∗. Perhaps surprisingly, in the noiseless case our algorithms recover U∗,V∗\mathbf{U}^*,\mathbf{V}^*U∗,V∗ 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 E\mathbf{E}E. Our algorithms generalize to a larger class of rectified activation functions, f(x)=0f(x) = 0f(x)=0 when x≤0x\leq 0x≤0, and f(x)>0f(x) > 0f(x)>0 otherwise.

View on arXiv
Comments on this paper