Skip to main content
QUICK REVIEW

[Paper Review] On the number of inference regions of deep feed forward networks with piece-wise linear activations

Razvan Pascanu, Guido Montúfar|arXiv (Cornell University)|Jan 1, 2014
Advanced Memory and Neural ComputingEngineering59 citations
TL;DR

This paper analyzes the representational complexity of deep feedforward networks with ReLU activations by modeling them as piecewise linear functions. Using computational geometry, it shows that deep networks with k layers and n units per layer can generate exponentially more linear regions—Ω((n/n₀)^{k−1}n^{n₀})—than shallow networks with kn hidden units, which scale as O(k^{n₀}n^{n₀}), demonstrating a clear advantage in representational capacity when depth increases or width exceeds twice the input size.

ABSTRACT

Abstract: This paper explores the complexity of deep feed forward networks with linear pre-synaptic couplings and rectified linear activations. This is a contribution to the growing body of work contrasting the representational power of deep and shallow network architectures. In particular, we offer a framework for comparing deep and shallow models that belong to the family of piecewise linear functions based on computational geometry. We look at a deep rectifier multi-layer perceptron (MLP) with linear outputs units and compare it with a single layer version of the model. In the asymptotic regime, when the number of inputs stays constant, if the shallow model has $kn$ hidden units and $n_0$ inputs, then the number of linear regions is $O(k^{n_0}n^{n_0})$. For a $k$ layer model with $n$ hidden units on each layer it is $\Omega(\left( {n}/{n_0} ight)^{k-1}n^{n_0})$. $\left({n}/{n_0} ight)^{k-1}$ grows faster then $k^{n_0}$ when either $n$ goes to infinity or $k$ goes to infinity and $n > 2n_0$. We consider this as a first step towards understanding the complexity of these models and specifically towards providing suitable mathematical tools for future analysis.

Motivation & Objective

  • To understand the representational complexity of deep feedforward networks with piecewise linear activations.
  • To compare the number of linear regions in deep versus shallow architectures using geometric analysis.
  • To establish mathematical tools for analyzing the expressive capacity of deep networks.
  • To investigate how depth and width jointly affect the number of linear regions in ReLU networks.

Proposed method

  • Modeling deep ReLU networks as piecewise linear functions using computational geometry.
  • Analyzing the number of linear regions in a deep multi-layer perceptron (MLP) with linear output units.
  • Comparing the number of linear regions between a k-layer deep network and a single-layer shallow network with equivalent parameters.
  • Using asymptotic analysis with fixed input dimension n₀ and varying depth k or width n.
  • Deriving upper and lower bounds on the number of linear regions using combinatorial geometry techniques.
  • Applying the framework to compare growth rates of region counts under different scaling regimes.

Experimental results

Research questions

  • RQ1How does the number of linear regions in a deep ReLU network scale with depth and width compared to a shallow network?
  • RQ2What is the asymptotic growth rate of the number of linear regions in a deep network with k layers and n units per layer?
  • RQ3Does increasing depth or width lead to a super-polynomial increase in the number of linear regions compared to shallow models?
  • RQ4Under what conditions does the deep network's region count outpace that of a shallow network with the same number of parameters?

Key findings

  • The number of linear regions in a shallow network with kn hidden units and n₀ inputs is bounded by O(k^{n₀}n^{n₀}).
  • For a k-layer deep network with n units per layer, the number of linear regions is at least Ω((n/n₀)^{k−1}n^{n₀}).
  • When n > 2n₀ and either n or k increases, (n/n₀)^{k−1} grows faster than k^{n₀}, indicating a depth advantage.
  • The deep network's region count grows super-polynomially relative to the shallow model under the same parameter budget.
  • The results suggest that depth provides a significant representational advantage in terms of linear region complexity.

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.