Skip to main content
QUICK REVIEW

[Paper Review] On the Number of Linear Regions of Deep Neural Networks

Guido Montúfar, Razvan Pascanu|arXiv (Cornell University)|Feb 8, 2014
Neural Networks and ApplicationsComputer Science21 references571 citations
TL;DR

This paper analyzes the representational capacity of deep feedforward neural networks with piecewise linear activations (e.g., ReLU and maxout) by quantifying the number of linear regions their functions can partition the input space into. It demonstrates that deep networks can achieve exponentially more linear regions than shallow networks with the same number of parameters, revealing a fundamental advantage of depth in modeling complex, structured functions through hierarchical feature re-use and composition.

ABSTRACT

We study the complexity of functions computable by deep feedforward neural networks with piecewise linear activations in terms of the symmetries and the number of linear regions that they have. Deep networks are able to sequentially map portions of each layer's input-space to the same output. In this way, deep models compute functions that react equally to complicated patterns of different inputs. The compositional structure of these functions enables them to re-use pieces of computation exponentially often in terms of the network's depth. This paper investigates the complexity of such compositional maps and contributes new theoretical results regarding the advantage of depth for neural networks with piecewise linear activation functions. In particular, our analysis is not specific to a single family of models, and as an example, we employ it for rectifier and maxout networks. We improve complexity bounds from pre-existing work and investigate the behavior of units in higher layers.

Motivation & Objective

  • To understand the representational complexity of deep neural networks with piecewise linear activations.
  • To quantify how depth increases the number of linear regions in the input space partitioned by the network's function.
  • To establish theoretical bounds on the number of linear regions for rectifier and maxout networks.
  • To demonstrate that deep networks can re-use low-level computations exponentially often through compositional layering.
  • To provide a general framework applicable to various piecewise linear networks, including convolutional architectures.

Proposed method

  • Analyzes the input-space partition induced by piecewise linear activation functions, focusing on linear regions where the network's output is affine.
  • Uses geometric and combinatorial arguments to bound the number of linear regions based on layer width, depth, and activation type.
  • Applies results from hyperplane and Voronoi diagram arrangements to upper and lower bound the number of regions.
  • Constructs explicit network configurations (e.g., parallel hyperplanes, maxout units) to achieve tight lower bounds on region counts.
  • Extends the analysis to deep networks by modeling how each layer maps input neighborhoods to shared outputs, enabling exponential reuse of computation.
  • Derives theoretical bounds for maxout networks by relating rank-$k$ units to $k$ cones in the input space, each corresponding to a linear region.

Experimental results

Research questions

  • RQ1How does the number of linear regions in a deep neural network grow with depth and width for piecewise linear activations?
  • RQ2What is the maximum number of linear regions that a deep network with ReLU or maxout units can compute?
  • RQ3How does the number of linear regions in deep networks compare to that of shallow networks with the same number of parameters?
  • RQ4In what way does hierarchical composition in deep networks lead to exponential increases in representational complexity?
  • RQ5Can the same theoretical framework be applied to convolutional networks with max-pooling and ReLU units?

Key findings

  • Deep rectifier networks with $L$ layers of width $n_0$ can compute functions with at least $2^{n_0 L}$ linear regions, growing exponentially with depth.
  • Maxout networks with $L$ layers, width $n_0$, and rank $k$ can compute functions with at least $k^{L-1} k^{n_0} = k^{n_0 L}$ linear regions, showing exponential growth in depth and rank.
  • The number of linear regions in deep networks can grow exponentially faster than in shallow networks with the same number of parameters.
  • The lower bound for a single-layer maxout network with $n$ inputs, $m$ outputs, and rank $k$ is $k^{ ext{min}egin{Bmatrix}n,mackslashend{Bmatrix}}$, providing a tight baseline for complexity.
  • The framework applies to convolutional networks: max-pooling and ReLU units recursively identify patches, leading to exponentially many linear regions in the input space.
  • The parameter space of a network is partitioned into regions where the resulting function has a specific number of linear regions, suggesting a structured relationship between parameters and function 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.