Skip to main content
QUICK REVIEW

[Paper Review] Learning Distributions Generated by One-Layer ReLU Networks

Shanshan Wu, Alexandros G. Dimakis|arXiv (Cornell University)|Sep 4, 2019
Neural Networks and ApplicationsComputer Science8 citations
TL;DR

This paper proposes a provably efficient algorithm to estimate the parameters of a one-layer ReLU neural network generating a rectified Gaussian distribution from i.i.d. samples, under the assumption that the bias vector is non-negative. The method separately estimates bias and row norms via truncated sample estimation, and pairwise angles between weight vectors using geometric properties, achieving sample complexity of $\widetilde{O}(1/\epsilon^2)$ for parameter estimation and $\widetilde{O}(\kappa^2 d^2 / \epsilon^2)$ for total variation distance, with optimality proven via sample complexity lower bounds.

ABSTRACT

We consider the problem of estimating the parameters of a $d$-dimensional rectified Gaussian distribution from i.i.d. samples. A rectified Gaussian distribution is defined by passing a standard Gaussian distribution through a one-layer ReLU neural network. We give a simple algorithm to estimate the parameters (i.e., the weight matrix and bias vector of the ReLU neural network) up to an error $ε||W||_F$ using $ ilde{O}(1/ε^2)$ samples and $ ilde{O}(d^2/ε^2)$ time (log factors are ignored for simplicity). This implies that we can estimate the distribution up to $ε$ in total variation distance using $ ilde{O}(κ^2d^2/ε^2)$ samples, where $κ$ is the condition number of the covariance matrix. Our only assumption is that the bias vector is non-negative. Without this non-negativity assumption, we show that estimating the bias vector within any error requires the number of samples at least exponential in the infinity norm of the bias vector. Our algorithm is based on the key observation that vector norms and pairwise angles can be estimated separately. We use a recent result on learning from truncated samples. We also prove two sample complexity lower bounds: $Ω(1/ε^2)$ samples are required to estimate the parameters up to error $ε$, while $Ω(d/ε^2)$ samples are necessary to estimate the distribution up to $ε$ in total variation distance. The first lower bound implies that our algorithm is optimal for parameter estimation. Finally, we show an interesting connection between learning a two-layer generative model and non-negative matrix factorization. Experimental results are provided to support our analysis.

Motivation & Objective

  • To address the lack of provable sample complexity and generalization guarantees in deep generative models like GANs and VAEs.
  • To study the problem of learning parameters (weight matrix $W$ and bias vector $b$) of a one-layer ReLU network from i.i.d. samples of the generated rectified Gaussian distribution.
  • To establish optimal sample complexity bounds for both parameter estimation and distribution estimation in total variation distance.
  • To explore connections between two-layer generative models and non-negative matrix factorization (NMF).
  • To analyze the necessity of the non-negativity assumption on the bias vector and its impact on sample complexity.

Proposed method

  • The algorithm estimates the bias vector $b$ and row norms of the weight matrix $W$ using a recent result on learning from truncated samples (Algorithm 2).
  • It estimates pairwise angles between rows of $W$ using a geometric fact (Fact 10) that relates the angle to the ratio of expected values of ReLU outputs.
  • The method decouples the estimation of vector norms and angles, enabling efficient and stable parameter recovery.
  • For the two-layer model, the algorithm leverages the separability condition in non-negative matrix factorization (NMF) to recover the top-layer weight matrix $A^*$.
  • The algorithm uses a two-step process: first estimate $b$ and $\|W(i,:) Vert_2$ from truncated samples, then estimate angles between rows of $W$ using empirical expectations of ReLU products.
  • Theoretical analysis relies on concentration inequalities and properties of the multivariate normal distribution truncated by ReLU activation.

Experimental results

Research questions

  • RQ1Can we provably estimate the parameters of a one-layer ReLU generative model from i.i.d. samples under a non-negativity assumption on the bias vector?
  • RQ2What is the optimal sample complexity for estimating the parameters $W$ and $b$ up to a given error $\epsilon$?
  • RQ3What is the sample complexity required to estimate the full distribution up to $\epsilon$ in total variation distance?
  • RQ4Why is the non-negativity assumption on $b$ necessary, and what happens when it is violated?
  • RQ5Can the structure of two-layer ReLU generative models be exploited via non-negative matrix factorization for parameter recovery?

Key findings

  • The proposed algorithm achieves $\widetilde{O}(1/\epsilon^2)$ sample complexity for estimating $W$ and $b$ up to error $\epsilon\|W\|_F$ in Frobenius norm, with $\widetilde{O}(d^2/\epsilon^2)$ time complexity.
  • The algorithm is optimal for parameter estimation, as $\Omega(1/\epsilon^2)$ samples are necessary, matching the upper bound up to log factors.
  • For distribution estimation in total variation distance, $\widetilde{O}(\kappa^2 d^2 / \epsilon^2)$ samples are required, where $\kappa$ is the condition number of $WW^T$.
  • Without the non-negativity assumption on $b$, parameter estimation requires $\Omega(\exp(\|b\|_\infty^2))$ samples, indicating exponential sample cost.
  • The algorithm successfully recovers the top-layer weight matrix $A^*$ in a two-layer ReLU model when the mixing matrix $M$ satisfies the separability condition, with empirical success increasing with sample size.
  • Empirical results validate the theoretical sample complexity dependence on dimension $d$, condition number $\kappa$, and error $\epsilon$, showing consistent performance with theory.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.