[Paper Review] Learning Two Layer Rectified Neural Networks in Polynomial Time
This paper presents the first polynomial-time algorithms for exact recovery of weight matrices in two-layer ReLU neural networks under Gaussian input assumptions. It achieves exact recovery in the noiseless case and approximate recovery in the noisy case with mean-zero sub-Gaussian noise, leveraging low-rank matrix recovery and combinatorial properties of ReLU activations.
Consider the following fundamental learning problem: given input examples $x \in \mathbb{R}^d$ 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 $\mathbb{R}^d$ to $\mathbb{R}^m$, with $k$ non-linear activation units $f(\cdot)$, where $f(x) = \max \{x , 0\}$ is the ReLU. Such a network is specified by two weight matrices, $\mathbf{U}^* \in \mathbb{R}^{m imes k}, \mathbf{V}^* \in \mathbb{R}^{k imes d}$, such that the label of an example $x \in \mathbb{R}^{d}$ is given by $\mathbf{U}^* f(\mathbf{V}^* x)$, where $f(\cdot)$ is applied coordinate-wise. Given $n$ samples as a matrix $\mathbf{X} \in \mathbb{R}^{d imes n}$ and the (possibly noisy) labels $\mathbf{U}^* f(\mathbf{V}^* \mathbf{X}) + \mathbf{E}$ of the network on these samples, where $\mathbf{E}$ is a noise matrix, our goal is to recover the weight matrices $\mathbf{U}^*$ and $\mathbf{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=2$, by assuming Gaussian marginals over the input $\mathbf{X}$ we are able to develop polynomial time algorithms for the approximate recovery of $\mathbf{U}^*$ and $\mathbf{V}^*$. Perhaps surprisingly, in the noiseless case our algorithms recover $\mathbf{U}^*,\mathbf{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 $\mathbf{E}$. Our algorithms generalize to a larger class of rectified activation functions, $f(x) = 0$ when $x\leq 0$, and $f(x) > 0$ otherwise.
Motivation & Objective
- To address the fundamental problem of learning weight matrices in two-layer ReLU neural networks from input-label pairs.
- To develop polynomial-time algorithms for approximate and exact recovery of weight matrices when labels are corrupted by noise.
- To extend recovery guarantees to a broader class of rectified activation functions beyond ReLU.
- To provide fixed-parameter tractable algorithms when the weight matrix U* lacks full column rank.
- To establish theoretical conditions under which exact recovery is possible in polynomial time.
Proposed method
- Leverages low-rank matrix recovery via nuclear norm minimization to recover the hidden layer representation U*f(V*X) from noisy observations A.
- Uses the golfing scheme and dual certificate construction to prove uniqueness and correctness of the convex relaxation for low-rank recovery.
- Applies combinatorial and geometric properties of ReLU activations to enable exact recovery in the noiseless case.
- Imposes incoherence and condition number constraints on V* and U* to ensure stable recovery under polynomial sample complexity.
- Employs a sparsity-based noise model where E is s-sparse with s ≤ γnm for constant γ > 0, enabling recovery under general noise.
- Reduces the problem to solving a convex optimization problem with nuclear norm and l1-norm regularization, solvable in polynomial time.
Experimental results
Research questions
- RQ1Can we recover the weight matrices of a two-layer ReLU network in polynomial time under Gaussian input assumptions?
- RQ2Is exact recovery of U* and V* possible when the labels are noiseless and inputs are i.i.d. Gaussian?
- RQ3Can we achieve polynomial-time approximate recovery when the labels are corrupted by mean-zero sub-Gaussian noise?
- RQ4What structural assumptions on U* and V* are necessary to ensure polynomial-time recovery?
- RQ5Can the recovery framework be extended to more general rectified activation functions beyond ReLU?
Key findings
- The paper presents the first polynomial-time algorithm that achieves exact recovery of U* and V* in the noiseless case under Gaussian input assumptions.
- For noisy inputs with mean-zero sub-Gaussian noise, the algorithm achieves approximate recovery in polynomial time, with recovery error bounded by the noise level.
- Exact recovery is possible when U* has orthonormal columns, is μ-incoherent, and k ≤ m / (O((κ(V*))²√(k log n)μ + μ + (κ(V*))⁴ log n) log² n).
- The sample complexity n is polynomial in d, m, k, and the condition number of V*, ensuring feasibility for practical settings.
- The algorithm recovers the factorized form U*f(V*X) exactly via convex relaxation, using nuclear norm and l1-norm minimization.
- A fixed-parameter tractable algorithm is provided for cases where U* does not have full column rank, parameterized by k.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.