How does increasing network depth impact the learning process?
Answer
Increasing network depth enhances feature learning and model capacity, but brings training instability, higher computational cost, and design complexity. Deeper stacks learn hierarchical representations (edges become textures, shapes, then objects) and can express certain complex functions far more efficiently than shallow networks, yet without modern techniques like residual connections and normalization, very deep networks are difficult or impossible to train.
Benefits of Depth:
(1) Improved Feature Hierarchy: Each layer composes the previous layer’s features, building increasingly abstract, high-level representations.
(2) Increased Model Capacity: More layers let the network model more complex functions and patterns.
(3) Exponential Efficiency for Complex Functions: Deep networks can represent some functions with vastly fewer units. For example, the -input parity function needs roughly
neurons in a single hidden layer but only about
small layers in a deep network.
Challenges of Depth:
(1) Vanishing/Exploding Gradients: Gradients shrink or grow multiplicatively through layers; without skip connections a 100-layer network may fail to train because gradients vanish before reaching early layers.
(2) Increased Computational Cost: Deeper networks need significantly more compute and training time.
(3) Higher Data Requirements: More parameters mean more overfitting risk unless the dataset grows correspondingly.

Figure 1: A 6-layer network tracks the target’s high-frequency detail that a single-hidden-layer network smooths over. Depth buys compositional expressiveness.
Where Depth Hurts Training: Each layer multiplies gradients by its Jacobian, so gradient magnitude behaves like a product of many factors; it collapses exponentially when those factors are consistently small.

Figure 2: In a plain deep network gradient norms decay exponentially toward the vanishing floor; skip connections keep gradients healthy across all 50 layers.
Mathematical Formulation:
Where:
is the Jacobian of layer
; gradients reaching the first layer are a product of
Jacobians.
is the dominant singular value of
; if most
are below 1, the product, and hence
, decays exponentially in
.
- Residual blocks replace each factor with
, keeping the identity path alive so gradient norms stay near 1 even at 50+ layers.


















