Skip to main content
QUICK REVIEW

[Paper Review] Mildly Overparametrized Neural Nets can Memorize Training Data Efficiently

Rong Ge, Runzhe Wang|arXiv (Cornell University)|Sep 26, 2019
Stochastic Gradient Optimization TechniquesComputer Science38 references14 citations
TL;DR

This paper demonstrates that two- and three-layer neural networks with polynomial activations can memorize training data using only a constant factor more parameters than the number of training samples—achieving perfect memorization with mild overparametrization. It proves that perturbed gradient descent converges to zero training error by showing all local minima are globally optimal, even when hidden layer sizes are sublinear in training sample count.

ABSTRACT

It has been observed \citep{zhang2016understanding} that deep neural networks can memorize: they achieve 100\% accuracy on training data. Recent theoretical results explained such behavior in highly overparametrized regimes, where the number of neurons in each layer is larger than the number of training samples. In this paper, we show that neural networks can be trained to memorize training data perfectly in a mildly overparametrized regime, where the number of parameters is just a constant factor more than the number of training samples, and the number of neurons is much smaller.

Motivation & Objective

  • Address the gap in theoretical understanding of memorization in mildly overparametrized neural networks, where parameter count is only a constant factor above training sample size.
  • Show that simple optimization algorithms like perturbed gradient descent can achieve perfect memorization in such regimes, contrary to prior work requiring highly overparametrized settings.
  • Establish that for two-layer networks with quadratic activations and three-layer networks with polynomial activations, optimization landscapes have no spurious local minima when inputs are in general position.
  • Provide theoretical guarantees under both smoothed analysis (random perturbations of inputs) and deterministic general position conditions.
  • Demonstrate that the number of parameters scales linearly with training sample size, significantly improving upon prior works requiring quadratic or higher parameter counts.

Proposed method

  • Propose two-layer neural networks with quadratic activations and hidden layer size $2d+2$ for $n \leq \binom{d+1}{2}$ training samples.
  • Use perturbed gradient descent (PGD) on the middle-layer weights to ensure convergence to global minima with zero training error.
  • Analyze the optimization landscape by proving that every local minimum is globally optimal, relying on singular value lower bounds of transformed data matrices.
  • Introduce a random feature mapping via $r_i \sim \mathcal{N}(0, I)$ to transform input data into higher-order polynomial features, enabling linearization of the network's behavior.
  • Apply matrix concentration inequalities and singular value analysis to bound the smallest singular value of the composed feature matrix $(Q \otimes Q)X$, ensuring invertibility under mild conditions.
  • Establish probabilistic bounds on the smallest singular value and norm of feature maps, showing that with high probability, the optimization landscape remains well-conditioned.

Experimental results

Research questions

  • RQ1Can neural networks with only a constant factor more parameters than training samples memorize arbitrary training data?
  • RQ2Does perturbed gradient descent converge to zero training error in mildly overparametrized settings where hidden layer sizes are sublinear in $n$?
  • RQ3Can the optimization landscape of such networks be guaranteed to have no spurious local minima?
  • RQ4What is the minimal number of parameters required for memorization using polynomial activations and simple optimization algorithms?
  • RQ5How does input distribution (e.g., perturbed or in general position) affect the generalization and optimization guarantees?

Key findings

  • For $n \leq \binom{d+1}{2}$ training samples in general position, a two-layer ReLU-like network with quadratic activations and $2d+2$ hidden neurons can memorize data using $O(d^2)$ parameters.
  • Perturbed gradient descent on the middle-layer weights converges to zero training error with high probability, due to the absence of spurious local minima.
  • For $n \leq d^p$, a three-layer network with polynomial activations and $O_p(\sqrt{n})$ neurons per layer can memorize any data, with parameter count linear in $n$.
  • The smallest singular value of the transformed data matrix $(Q \otimes Q)X$ is lower bounded by $\Omega_p(\delta^{2/((\alpha-1)D_d^p)} / k^{(p+1)/(α-1)}) \sigma_{\min}(X)$ with high probability, ensuring invertibility.
  • Norms of feature maps are upper bounded by $\sqrt{k}(2B\sqrt{d\ln(kd\delta^{-1/2})})^p$, ensuring stability during optimization.
  • The results hold under smoothed analysis with perturbation radius $\sqrt{v}$, where guarantees depend inverse-polynomially on $v$, independent of network size.

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.