At most how many linear regions can a 1-D ReLU network with one hidden layer of m units create, and how can composing L hidden layers of width 2 create 2L linear regions instead?

Deep learning, Theory of neural networks
Level L4 Advanced. Length Long. Nature Mat Mathematical.

What's being asked

Whether you can prove a depth-separation bound showing that deep ReLU networks generate exponentially more piecewise-linear pieces per parameter than shallow ones.

Key idea

Each 1-D ReLU unit introduces one breakpoint, so one hidden layer of width m gives at most m+1 linear pieces. By contrast, one width-2 ReLU layer implements the tent map g(x)=2ReLU⁡(x)−4ReLU⁡(x−12) on [0,1], and composing g across L width-2 layers folds [0,1] onto itself L times to yield 2L linear regions with O(L) parameters.

Steps

  1. Shallow bound: a single-hidden-layer 1-D network f(x)=c+∑i=1maiReLU⁡(wix+bi) changes slope only at the m points x=−bi/wi (for wi≠0). Those m breakpoints divide R into at most m+1 affine intervals.
  2. Tent-map building block: define g(x)=2ReLU⁡(x)−4ReLU⁡(x−12). On [0,12], g(x)=2x increases from 0 to 1; on [12,1], g(x)=2x−4(x−12)=2−2x decreases from 1 back to 0. So g maps [0,1] onto [0,1] with 2 linear pieces.
  3. Width-2 deep composition: let layer 1 compute z(1)=[ReLU⁡(x), ReLU⁡(x−12)]⊤. Let each subsequent width-2 layer l take sl−1=2z1(l−1)−4z2(l−1) inside its linear map and output z(l)=[ReLU⁡(sl−1), ReLU⁡(sl−1−12)]⊤, with final linear readout fL(x)=2z1(L)−4z2(L)=g∘L(x).
  4. Count the pieces by induction: if g∘(l−1) oscillates monotonically between 0 and 1 across 2l−1 sub-intervals of [0,1], then applying g splits every sub-interval at the pre-image of 12 into two halves, giving 2l linear pieces of slope ±2l.
  5. Compare parameter counts: the deep network uses L hidden layers of width 2 (O(L) weights and biases) to produce 2L linear regions on [0,1], whereas a shallow network needs at least m≥2L−1 hidden units.

Common mistakes

How long your answer should be

About one page; 6–8 minutes.

Last checked on 4 December 2026.

Read this

Previous in Deep learning: What is over-smoothing in deep graph convolutional networks (GCNs), why does repeated multiplication by A^=D~−1/2A~D~−1/2 push node representations towards a low-dimensional subspace, and how do residual connections, Jumping Knowledge (JK-Net) or DropEdge mitigate it?
Next in Deep learning: What is orthogonal weight initialisation, why does it preserve both forward activation norms and backward gradient norms exactly in a deep linear network with nin=nout, and what gain factor should scale it when used with ReLU?