Skip to main content
QUICK REVIEW

[Paper Review] Random deep neural networks are biased towards simple functions

Giacomo De Palma, Bobak T. Kiani|arXiv (Cornell University)|Dec 25, 2018
Machine Learning and AlgorithmsComputer Science30 citations
TL;DR

This paper proves that random deep neural networks with ReLU activation are biased toward simple binary classifiers of bit strings, as they exhibit high robustness to input perturbations: the average Hamming distance to the nearest differently classified input grows as √(n/(2π ln n)), and the average number of random bit flips needed to change classification scales linearly with n. This provides a theoretical foundation for the generalization success of deep learning by showing that random networks favor simple, stable functions.

ABSTRACT

We prove that the binary classifiers of bit strings generated by random wide deep neural networks with ReLU activation function are biased towards simple functions. The simplicity is captured by the following two properties. For any given input bit string, the average Hamming distance of the closest input bit string with a different classification is at least sqrt(n / (2π log n)), where n is the length of the string. Moreover, if the bits of the initial string are flipped randomly, the average number of flips required to change the classification grows linearly with n. These results are confirmed by numerical experiments on deep neural networks with two hidden layers, and settle the conjecture stating that random deep neural networks are biased towards simple functions. This conjecture was proposed and numerically explored in [Valle Pérez et al., ICLR 2019] to explain the unreasonably good generalization properties of deep learning algorithms. The probability distribution of the functions generated by random deep neural networks is a good choice for the prior probability distribution in the PAC-Bayesian generalization bounds. Our results constitute a fundamental step forward in the characterization of this distribution, therefore contributing to the understanding of the generalization properties of deep learning algorithms.

Motivation & Objective

  • To rigorously establish that random deep neural networks are biased toward simple functions, addressing a long-standing conjecture in deep learning theory.
  • To characterize the functional simplicity of random deep networks using information-theoretic and geometric measures such as Hamming distance and bit-flip resilience.
  • To provide a theoretical basis for using the distribution of functions from random deep networks as a prior in PAC-Bayesian generalization bounds.
  • To resolve the open question of why deep learning generalizes well despite high capacity, by showing that random networks inherently favor simple, stable functions.

Proposed method

  • Analytically derive the expected Hamming distance to the nearest differently classified input bit string using Gaussian process approximations and extreme value statistics.
  • Model the network output as a Gaussian process with a covariance function derived from the ReLU activation and random weight initialization.
  • Use the Kullback-Leibler divergence and PAC-Bayesian framework to formalize the prior distribution of functions generated by random networks.
  • Apply the Kolmogorov continuity theorem to prove continuity of the limiting Gaussian process, enabling analysis of zero-crossing times.
  • Perform numerical experiments on two-hidden-layer networks to validate theoretical predictions on Hamming distance and bit-flip resilience.
  • Use heuristic and exact search algorithms to compute nearest differently classified inputs in empirical evaluations.

Experimental results

Research questions

  • RQ1Do random deep neural networks with ReLU activation exhibit a bias toward simple functions, as conjectured in prior work?
  • RQ2What is the typical Hamming distance from a random input bit string to the nearest input with a different classification in random deep networks?
  • RQ3How does the average number of random bit flips required to change the classification scale with input length n in random deep networks?
  • RQ4Can the functional simplicity of random deep networks be quantified using geometric and probabilistic measures such as robustness to perturbations?
  • RQ5Is the distribution of functions generated by random deep networks a suitable prior for PAC-Bayesian generalization bounds?

Key findings

  • For large n, the average Hamming distance to the nearest differently classified input bit string is at least √(n/(2π ln n)), indicating high robustness to input changes.
  • The average number of random bit flips required to change classification grows linearly with n, with simulations indicating a scaling of approximately n/3, significantly higher than the n/4 lower bound.
  • In contrast, uniformly random binary classifiers have an average Hamming distance of 1 and require only 2 random bit flips to change classification, highlighting a fundamental difference in complexity.
  • The theoretical analysis confirms that random deep networks generate functions that are inherently simple and stable, supporting the conjecture of bias toward simplicity.
  • Numerical experiments on two-hidden-layer networks with ReLU activation validate the theoretical predictions across various input sizes and network instances.
  • The probability distribution of functions from random deep networks is shown to be a strong candidate for a prior in PAC-Bayesian generalization bounds, due to its inherent simplicity and robustness.

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.