This 2015 paper by Srivastava, Greff, and Schmidhuber introduced Highway Networks, a landmark architecture that paved the way for the "extremely deep learning" era. Before this work, training neural networks with more than 20 layers was notoriously difficult; this paper demonstrated how to train networks with hundreds of layers using simple gradient descent.
The Depth Bottleneck
In 2015, the deep learning community knew that "deeper is better," but they had hit a wall. As researchers added more layers to a standard "plain" feed-forward network, the models became increasingly difficult to train. This wasn't just an overfitting issue; the networks often failed to minimize the training error at all.
The primary culprits were the vanishing gradient problem and the poor propagation of activations through successive non-linear transformations. To get deep networks to work, researchers had to rely on meticulous initialization, specialized activation functions, or complex multi-stage training (where a shallow "teacher" network guides a deeper "student"). The authors sought a way to make depth "just work" through architectural design.
The Highway Architecture
The core innovation of this paper is the Highway Layer. In a standard network, a layer performs a non-linear transformation: $y = H(x, W_H)$. In a Highway Network, the layer is modified with two gating units inspired by LSTMs:
- Transform Gate ($T$): A sigmoid-activated unit that decides how much of the transformed input to pass to the next layer.
- Carry Gate ($C$): Decides how much of the original input $x$ to "carry" forward unchanged.
For simplicity, the authors set $C = 1 - T$, leading to the following routing equation: $$y = H(x, W_H) \cdot T(x, W_T) + x \cdot (1 - T(x, W_T))$$
Why this works: * Identity Mapping: If the transform gate outputs 0, the layer simply passes the input $x$ to the next layer (an identity transform). * Negative Bias Initialization: The authors suggest initializing the transform gate's bias to a negative value (e.g., -1 or -3). This forces the network to initially behave like a series of identity mappings, allowing gradients to flow from the output all the way back to the input at the start of training. The network then "learns" which transformations to turn on as training progresses.
Key Insights and Ideas
- Dynamic Routing: Unlike static "skip connections" (which were later popularized by ResNets), Highway gates are data-dependent. The network learns to route information differently depending on the specific input it receives.
- Decoupling Depth and Trainability: The experiments showed that while 50-layer and 100-layer "plain" networks performed significantly worse than 10-layer ones, Highway networks maintained high performance regardless of depth.
- Layer "Idling": Through a "lesioning" study (manually closing gates to force identity mapping), the authors found that for simple tasks like MNIST, the network learned to "idle" many of its layers. It relied heavily on early layers but could bypass many intermediate ones without a drop in performance.
- Single-Stage Training: Highway networks matched the performance of "FitNets" (which required a complex two-stage "hint-based" training process) in a single, standard training stage.
Key Results
- Optimization Breakthrough: On MNIST, a 100-layer Highway network optimized two orders of magnitude better than a 100-layer plain network, which essentially failed to train.
- Convergence Speed: Highway networks converged significantly faster than plain networks of the same depth.
- State-of-the-Art Performance: At the time of publication, Highway networks achieved a new state-of-the-art on CIFAR-100 (67.76% accuracy) and competitive results on CIFAR-10 (92.40%).
Limitations and Legacy
- Dimensionality Constraints: Because the Highway equation involves adding the input $x$ to the output $y$, the dimensions must match. To change the number of features or spatial resolution (in CNNs), the authors had to use "plain" layers or padding/subsampling, which interrupts the "highway."
- Parameter Overhead: The gating mechanism introduces additional parameters ($W_T$) compared to a plain layer of the same width.
- The ResNet Successor: Shortly after this paper, Residual Networks (ResNets) were introduced. ResNets use a simpler, non-gated version of this idea ($y = H(x) + x$). While Highway networks are more flexible due to their data-dependent gates, ResNets became more widely adopted due to their lower parameter count and slightly easier implementation.
Ultimately, Highway Networks proved that the optimization barriers of extremely deep networks could be overcome with architectural routing, setting the stage for the massive models that dominate deep learning today.
Summary updated