Skip to main content
QUICK REVIEW

[Paper Review] Neural networks are a priori biased towards Boolean functions with low entropy

Chris Mingard, Joar Skalse|arXiv (Cornell University)|Sep 25, 2019
Neural Networks and ApplicationsComputer Science31 references11 citations
TL;DR

This paper proves that single-layer perceptrons with random weight initialization exhibit a strong a priori bias toward Boolean functions with low entropy—specifically, the probability of generating a function that classifies t inputs as 1 is uniformly 2^(-n) for all t < 2^n. This intrinsic bias toward low-entropy functions becomes monotonically stronger when ReLU layers are added, revealing a fundamental inductive bias in neural networks that may underlie their generalization in overparameterized regimes.

ABSTRACT

Understanding the inductive bias of neural networks is critical to explaining their ability to generalise. Here, for one of the simplest neural networks -- a single-layer perceptron with n input neurons, one output neuron, and no threshold bias term -- we prove that upon random initialisation of weights, the a priori probability $P(t)$ that it represents a Boolean function that classifies t points in ${0,1}^n$ as 1 has a remarkably simple form: $P(t) = 2^{-n}$ for $0\leq t &lt; 2^n$. Since a perceptron can express far fewer Boolean functions with small or large values of t (low entropy) than with intermediate values of t (high entropy) there is, on average, a strong intrinsic a-priori bias towards individual functions with low entropy. Furthermore, within a class of functions with fixed t, we often observe a further intrinsic bias towards functions of lower complexity. Finally, we prove that, regardless of the distribution of inputs, the bias towards low entropy becomes monotonically stronger upon adding ReLU layers, and empirically show that increasing the variance of the bias term has a similar effect.

Motivation & Objective

  • To understand the inductive bias of neural networks by analyzing the a priori probability distribution over functions at initialization.
  • To investigate why deep neural networks generalize well despite overparameterization, focusing on the parameter-function map.
  • To quantify how architectural choices—such as adding ReLU layers or adjusting bias variance—affect the bias toward low-entropy functions.
  • To explore the implications of this bias for learning in class-imbalanced settings, where low-entropy functions may align better with rare-class detection.

Proposed method

  • Derives the exact a priori probability P(t) = 2^(-n) for a single-layer perceptron to represent a Boolean function classifying t inputs as 1, under random weight initialization.
  • Uses geometric and combinatorial arguments to show that low-t (low-entropy) functions are exponentially less numerous than intermediate-t functions, yet are a priori equally likely due to the uniform P(t).
  • Proves that adding ReLU layers monotonically increases the bias toward low-entropy functions, regardless of input distribution.
  • Empirically investigates the effect of bias term variance on the entropy bias, showing increased variance amplifies the bias toward low-entropy functions.
  • Performs experiments on MNIST and EMNIST with shifted bias terms to tune the initial function entropy, measuring test accuracy and sensitivity.
  • Applies Gaussian process approximations to study function space bias in deeper networks, observing scaling behavior consistent with the theoretical findings.

Experimental results

Research questions

  • RQ1What is the a priori probability distribution over Boolean functions for a randomly initialized single-layer perceptron?
  • RQ2Why do neural networks exhibit strong inductive bias toward low-entropy functions despite the combinatorial rarity of such functions?
  • RQ3How does the addition of ReLU layers affect the inductive bias toward low-entropy functions?
  • RQ4To what extent can tuning the bias term variance or shifting the bias term influence the network’s initial function space bias and subsequent learning performance?
  • RQ5How does this entropy bias impact learning in class-imbalanced classification tasks?

Key findings

  • The a priori probability P(t) that a single-layer perceptron classifies t inputs as 1 is exactly 2^(-n) for all t in [0, 2^n), indicating uniform likelihood across all possible t values.
  • Despite being exponentially rarer, low-entropy functions (small or large t) are a priori more probable than intermediate-entropy functions due to the uniform P(t) distribution.
  • Adding ReLU layers monotonically increases the bias toward low-entropy functions, regardless of input distribution, as proven analytically.
  • Empirically, increasing the variance of the bias term strengthens the bias toward low-entropy functions, suggesting a tunable inductive bias.
  • On class-imbalanced datasets like MNIST and EMNIST, shifting the bias term to increase initial function entropy (t) improves test accuracy and sensitivity, especially in fully connected networks with ReLU activation.
  • The optimal shift hyperparameter for accuracy and sensitivity aligns with the true class imbalance ratio (e.g., 1:10 for MNIST), indicating that tuning bias can align the inductive bias with the target function.

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.