Source-linked AI summary

A Priori Estimates of the Population Risk for Two-layer Neural Networks

Weinan E, Chao Ma, Lei Wu

arXiv:1810.06397v3stat.MLcs.LGmath.ST

TL;DR

The paper addresses how to obtain useful population-risk bounds for two-layer neural networks without relying on norms of trained parameters. It develops a priori estimates for explicitly regularized networks and uses them to relate neural networks to adaptively selected kernel methods, with nearly optimal rates that remain valid in over-parametrized settings.

  • Problem

    Existing neural-network generalization analyses are often a posteriori, depending on trained-model norms that can yield vacuous bounds; understanding generalization and the role of over-parametrization remains a central problem.

  • Method

    The paper develops a priori population-risk estimates for explicitly regularized two-layer networks in terms of target-function norms, including the Barron norm.

  • Results

    The estimates are nearly optimal, scale comparably to Monte Carlo rates, and remain meaningful in high-dimensional and over-parametrized regimes; for λ≍λ_n and m≥√n, the bound is O(1/√n) up to logarithmic terms.

  • Takeaways & Limitations

    The estimates provide a perspective in which two-layer neural networks act as kernel methods with kernels adaptively selected from data, partially explaining their observed advantage over kernel methods.

  • Takeaways & Limitations

    The analysis is proved for explicitly regularized models, while the source and operation of implicit regularization in un-regularized networks remain unclear.

Abstract

from arXiv · show

New estimates for the population risk are established for two-layer neural networks. These estimates are nearly optimal in the sense that the error rates scale in the same way as the Monte Carlo error rates. They are equally effective in the over-parametrized regime when the network size is much larger than the size of the dataset. These new estimates are a priori in nature in the sense that the bounds depend only on some norms of the underlying functions to be fitted, not the parameters in the model, in contrast with most existing results which are a posteriori in nature. Using these a priori estimates, we provide a perspective for understanding why two-layer neural networks perform better than the related kernel methods.

1. Introduction

The paper frames neural-network generalization through a priori analysis, replacing parameter-dependent bounds with estimates based on target-function properties. It studies explicitly regularized two-layer networks and connects their behavior to kernel methods.

  • 1. Introduction: A priori estimates depend on norms of the target function, whereas many existing neural-network bounds depend on norms of the trained model and can be vacuous.Reported a posteriori bounds for real two-layer networks can remain on the order of O(10^5).
  • 1. Introduction: The paper establishes population-risk estimates for explicitly regularized two-layer networks whose constants depend only on target-function properties.The estimates are described as asymptotically sharp, and numerical results suggest regularization is needed for well-posedness.
  • 1. Introduction: The resulting rates scale comparably to Monte Carlo rates and remain applicable in high-dimensional and over-parametrized regimes.The estimates depend on the Barron norm of the target function.
  • 1. Introduction: The paper compares neural networks with kernel methods and interprets two-layer networks as kernel methods whose kernels are adaptively selected from data.This perspective is offered as a partial explanation for observed performance differences.
  • 1. Introduction: Over-parametrization is identified as a key factor associated with favorable empirical optimization landscapes, while generalization remains a central theoretical problem.The introduction distinguishes optimization and generalization as the two key problems in learning two-layer networks.

2. Related work

Related work studies explicit regularization, implicit regularization, and optimization-based generalization for two-layer networks. The paper positions its bounds as sharper, applicable to over-parametrization, and valid under broader target-function or data conditions than several prior results.

  • 2. Related work: Prior explicit-regularization bounds include O(1/m+mdln(n)/n) and O((lnd/n)1/3), while this paper reports a sharper nearly optimal rate applicable to over-parametrization.Table 2.1 compares theoretical bounds and whether they remain relevant when m≥n.
  • 2. Related work: Some optimization-based results require linearly separable data, specially chosen initialization, learning rates, or early stopping, whereas this paper does not impose the same restriction.The cited work on cross-entropy classification also assumes well-separated data, a restriction the paper says its result does not have.
  • 2. Related work: Compared with analyses assuming f*∈Hπ0, the paper works with the larger space B2(X) and reports O(1/√n) rather than O(1/n1/4) sample-complexity scaling.The comparison concerns target-function assumptions and the polynomial order of sample complexity.
  • 2. Related work: Previous initialization-based analyses show no advantage over corresponding fixed-kernel methods in their considered regimes, leaving possible neural-network advantages nontrivial to identify.Those results do not exclude improvement in other regimes.

3. Preliminaries

The preliminaries formulate learning two-layer networks through population and regularized empirical risk, then introduce Barron space and its connection to RKHSs. They also establish finite-width approximation with explicit, network-size-independent norm control.

  • The setup learns f*(x)=E[y|x] from n i.i.d. samples on [-1,1]^d using a two-layer network, with population risk approximated by empirical risk.
  • The regularized model adds λ(∥θ∥P +1) to empirical risk, where λ balances fitting error and model complexity and any minimizer may be selected.
  • Barron space: Barron space is defined through integral representations over directions and associated norms, containing finite two-layer networks and forming nested spaces B∞(X)⊂···⊂B2(X)⊂B1(X).
  • Connection with reproducing kernel Hilbert space: Barron space can be viewed as a union of RKHSs indexed by probability measures, with the kernel family determined only by the activation function.
  • Approximation property: For every f∈B2(X), a finite-width two-layer network approximates f with explicit norm control independent of network size, reflecting a Monte Carlo approximation of its integral representation.

4. Main results

The paper derives a priori population-risk bounds for regularized two-layer networks, with estimation terms independent of network width and rates comparable to Monte Carlo scaling. It also compares neural networks with kernel methods and extends the analysis to noisy regression and classification.

  • A priori population-risk estimates: The bound depends on the target function’s γ_2 norm rather than norms of the trained network, separating approximation and estimation error.The first term controls approximation error, while the second controls estimation error.
  • A priori population-risk estimates: With λ≍λ_n and m≥√n, the population-risk bound becomes O(1/√n) up to logarithmic terms and is nearly minimax optimal.The estimation component is independent of network width, so the bound remains meaningful in the over-parametrized regime.
  • Comparison with kernel methods: When the target’s best kernel representation is nearly singular relative to a fixed reference distribution, kernel-method risk can greatly exceed neural-network risk.The paper gives a one-neuron example where γ_2(f*)=1 but the corresponding fixed-kernel RKHS norm is infinite.
  • Comparison with kernel methods: Neural networks can act as adaptive kernel methods by selecting among a family of kernels, whereas a fixed kernel method uses one RKHS.The Barron-space characterization takes the union of RKHSs and selects a kernel adapted to the data.
  • Tackling the noise: For noisy data, regularized estimators satisfy the main population-risk theorem with only several additional logarithmic terms compared with the noiseless case.The theorem assumes f*∈B_2(X) and λ≥λ_n.
  • Extension to classification problems: The classification extension yields an error rate of only O(n^-1/4), with sharper rates left to more delicate analysis or stronger data assumptions.The paper specifically identifies improved L1 estimates and a zero-Bayes-error assumption as possible routes.

5. Proofs

The proofs control generalization through Rademacher complexity and path-norm regularization, then connect the learned regularized estimator to a specially constructed low-complexity solution. This yields population-risk guarantees while preserving approximation quality.

  • Generalization bounds: The a posteriori generalization gap scales roughly as ∥θ∥_P/√n, motivating explicit path-norm regularization.The bound holds up to logarithmic terms and depends on the trained network’s path norm.
  • Regularized solutions: A special approximating network has path norm independent of width, so penalizing this norm can control generalization without harming approximation accuracy.The proof compares the regularized estimator with this special solution.
  • Regularized solutions: The regularized estimator satisfies structural properties that connect it to the special approximating solution and support the population-risk proof.The resulting generalization gap is shown to approach the special solution’s scale under λ=tλ_n with t≥1.
  • Noisy-risk analysis: The noisy-case proof uses truncated losses to obtain boundedness and Lipschitz continuity before transferring the resulting bound to the original population risk.The truncation handles potentially unbounded noisy losses.

6. Numerical Experiments

Numerical experiments on binary MNIST and CIFAR-10 compare regularized and unregularized two-layer networks, including over-parametrized widths and varying initialization. Regularization sharply reduces norm-based generalization bounds while maintaining comparable test accuracy.

  • 6.1. Shaper bounds for the generalization gap: In the over-parametrized setting m/n=100≫1, the regularized model remains stable while the unregularized model’s norm-based bound increases with network width.For regularized models, this quantity is nearly constant across widths.
  • 6.1. Shaper bounds for the generalization gap: Regularized and unregularized models generally achieve comparable test accuracies, but regularization makes the norm-based generalization bounds several orders of magnitude smaller.The unregularized bounds are reported as vacuous, whereas the regularized bounds agree with the theoretical prediction.
  • 6.2. Dependence on the Initialization: Regularized models are generally more stable than unregularized models when the initialization variance changes, especially for large initialization.The comparison fixes m=10,000 and n=100.

7. Conclusion

The paper’s conclusion emphasizes that explicit regularization yields robust, well-posed two-layer models, while implicit regularization remains poorly understood and dependent on tuning.

  • Conclusion: The paper’s main result has also been extended to deep residual network models in subsequent work.
  • Conclusion: The main limitation is that the analysis applies to regularized models, while practitioners commonly rely on implicit regularization whose origin and operation remain unclear.Existing analyses of implicit regularization often require special initialization schemes and strong assumptions on the target function.
  • Conclusion: Explicit regularization makes the proposed model more robust and “well-posed,” whereas un-regularized models can require extensive tuning to achieve strong test performance.The authors characterize parameter tuning for un-regularized models as an art and contrast it with the regularized model’s more fool-proof behavior.
Loading 1810.06397v3…