A Corrective View of Neural Networks: Representation, Memorization and Learning

Guy Bresler, Dheeraj Nagaraj

Abstract

Recent theoretical deep learning research has frequently emphasized the exponential efficiency of deep networks over shallow ones. This paper challenges that narrative by introducing a "corrective mechanism" framework. By partitioning neurons into groups that iteratively approximate the residual errors of preceding groups, the authors demonstrate that two-layer (shallow) networks can achieve optimal memorization bounds, represent smooth functions as efficiently as deep architectures, and learn low-degree polynomials with sub-polynomial complexity using Gradient Descent.

Introduction

A central debate in neural network theory concerns the necessity of depth. While empirical success often favors deep architectures, the theoretical justification frequently rests on the idea that deep networks are exponentially more efficient at representing complex, smooth functions. Furthermore, while it is well-known that neural networks can perfectly memorize training data, existing theoretical bounds for the number of neurons required have often been impractical—ranging from $O(n^6)$ to $O(n^{30})$ for $n$ data points.

This research provides a corrective perspective, showing that shallow networks are significantly more capable than previously thought. By focusing on three pillars—memorization, representation, and learning—the authors establish new benchmarks for two-layer networks.

The Corrective Mechanism

The core innovation of this work is the Corrective Mechanism. Rather than attempting to approximate a target function $f$ in a single pass, the framework divides the available neurons into $a$ distinct groups.

  1. Group 1 performs an initial approximation of the target function $f$.
  2. Group 2 is tasked with approximating the residual error (the difference between $f$ and the output of Group 1).
  3. Group 3 approximates the remaining error left by the combination of Groups 1 and 2.

Mathematically, the authors show that the Fourier norm of the error contracts by a factor of $1/\sqrt{N}$ at each iteration. Consequently, the total approximation error decreases at a rate of $1/N^a$ after $a$ iterations. This iterative refinement mimics the logic of Boosting in classical machine learning but applies it to the internal representation of a single-hidden-layer network.

Mathematical Framework: Smoothed ReLUs

To facilitate this analysis, the authors introduce Smoothed ReLUs (SReLU). Standard ReLU activations are non-differentiable at zero, which complicates Fourier analysis. By convolving the ReLU with a specific probability density function, the authors create a "smoothed" version. This SReLU remains practically relevant and similar to standard activations while allowing for the rigorous Fourier transform manipulations required to prove the contraction of the residual error.

Key Theoretical Contributions

1. Optimal Memorization

The paper addresses the question of how many neurons are required to memorize $n$ arbitrary labels for points in $\mathbb{R}^d$ separated by a minimum distance $\theta$. They prove a memorization bound of $\tilde{O}(n/\theta^4)$. This result is nearly optimal in terms of $n$ and represents a massive improvement over previous literature, which often relied on high-degree polynomial dependencies that made shallow networks seem theoretically inefficient for large datasets.

2. Efficiency in Representation

Contrary to the prevailing view that depth is required to represent smooth functions efficiently, the authors show that if the activation functions are sufficiently smooth (like SReLU), a single hidden layer can match the efficiency of deep architectures. Specifically, for a function with $\Theta(ad)$ bounded derivatives, a two-layer network can achieve an approximation error $\epsilon$ using only $O(\epsilon^{-1/(a+1)})$ units.

3. Sub-polynomial Learning of Polynomials

In the context of learning, the paper provides the first guarantees for learning low-degree polynomials using Gradient Descent (GD) on the output weights of a two-layer network (the "Random Features" regime). They demonstrate that degree-$q$ polynomials can be learned with a sub-polynomial number of units relative to the error tolerance ($1/\epsilon$). This is a significant leap from previous bounds, which required a polynomial number of units.

Discussion and Limitations

While these results significantly narrow the theoretical gap between shallow and deep networks, some limitations remain. The learning analysis primarily focuses on the Random Features (RF) regime, where only the output layer is trained. This model, while standard in theory, does not fully account for the "rich regime" where hidden layer weights also evolve. Additionally, while the dependence on $n$ and $\epsilon$ is optimized, the dependence on the input dimension $d$ remains a factor, though it is mitigated in cases with low-dimensional structures (where the degree $q \ll d$).

Conclusion

By viewing neural network approximation as an iterative corrective process, this paper demonstrates that two-layer networks possess surprising power. The corrective mechanism provides a unified framework to explain how shallow networks can achieve high-precision representation and optimal memorization, suggesting that the "necessity of depth" may be more nuanced than previously assumed in deep learning theory.

Summary updated

BibTeX
@inproceedings{bresler2020corrective,
  author = {Guy Bresler and Dheeraj Nagaraj},
  title = {{A Corrective View of Neural Networks: Representation, Memorization and Learning}},
  booktitle = {Conference on Learning Theory},
  year = {2020},
  url = {https://openreview.net/forum?id=VtXrqDIPSw},
}
Figure