Highway Networks
The paper introduced gated skip paths for very deep feed-forward networks, making depth easier to optimize before residual networks became the dominant simplified form.
Metadata
| Field | Value |
|---|---|
| Paper | Highway Networks |
| Authors | Rupesh Kumar Srivastava, Klaus Greff, Jurgen Schmidhuber |
| Year | 2015 |
| Venue | arXiv extended abstract; related NeurIPS 2015 paper as Training Very Deep Networks |
| arXiv | 1505.00387 |
| Related paper | Training Very Deep Networks, arXiv 1507.06228 |
| Status | full note started |
Question
Before ResNet, very deep feed-forward networks were hard to train. Adding more layers often increased optimization difficulty rather than improving representation quality.
The paper asks:
The idea is borrowed from gated recurrence: use gates to regulate information flow, but apply them across depth rather than time.
Main Claim
Highway networks add learned transform and carry gates to each layer:
The common coupled-gate form sets:
so the layer becomes:
where:
| Symbol | Meaning |
|---|---|
| input activation to the layer | |
| nonlinear transform branch | |
| transform gate | |
| carry gate | |
| elementwise product |
The durable architecture claim is:
Architecture Contract
| Item | Contract |
|---|---|
| Input | activation vector or feature map |
| Output | activation of the same shape as |
| Main branch | nonlinear transformation |
| Skip branch | carried input |
| Gate | input-dependent transform/carry gate |
| Depth role | allow information and gradients to cross many layers |
| Shape constraint | , , and must be broadcast-compatible |
| Later simplified form | ungated additive residual block |
A highway layer is not only:
It is a mixture of transforming and carrying:
Each dimension can choose a different update strength.
Gate Parameterization
The transform gate is usually sigmoid:
Then:
If :
so the layer transforms that feature.
If :
so the layer carries that feature through.
This makes the layer an input-dependent interpolation:
That form is useful because it makes the relationship to residual updates explicit.
Relation To Residual Networks
The ResNet block is:
A highway layer in update form is:
So the highway layer can be read as a gated residual-like update:
The important difference:
| Aspect | Highway Network | ResNet |
|---|---|---|
| Skip path | gated carry path | mostly identity addition |
| Update strength | learned input-dependent gate | implicit through residual branch |
| Extra parameters | transform/carry gate projections | no gate in the basic block |
| Optimization bias | can learn to carry or transform | identity path always open |
| Later adoption | less common as a default block | became the dominant deep backbone pattern |
ResNet can be viewed as the simpler, more widely adopted route: keep the identity path open and learn an additive residual correction.
Relation To LSTM
The paper explicitly follows the same broad idea as LSTM: use gates to protect information flow.
LSTM across time:
Highway network across depth:
The analogy is:
| LSTM | Highway Network |
|---|---|
| time step | layer depth |
| cell state | carried activation |
| input/forget gates | transform/carry gates |
| recurrent memory flow | feed-forward information flow |
The core pattern is the same:
Why It Helps Optimization
For a plain deep network:
Backpropagation passes through repeated Jacobians:
If those Jacobians repeatedly shrink or amplify signals, optimization becomes unstable.
With a highway layer:
When the gate leans toward carry behavior, the derivative includes an identity-like route. This creates shorter effective paths through depth:
The mechanism does not guarantee better generalization. It makes very deep networks easier to optimize.
Bias Initialization
The gate bias matters. If transform gates start too open, a deep highway network behaves closer to a plain deep network:
If transform gates start more closed, the network initially carries information:
This resembles forget-gate bias choices in recurrent networks. The model starts with an easier information highway and learns where transformation is useful.
Evidence To Read Carefully
The paper reports that very deep highway networks can be trained directly with stochastic gradient descent, while comparable plain networks become difficult as depth increases.
For architecture reading, split the evidence:
| Claim | Evidence Type | Caution |
|---|---|---|
| Gates ease optimization | trainability of much deeper networks | optimization gain is not the same as universal accuracy gain |
| Carry paths help gradient flow | deep models do not degrade like plain counterparts | initialization and gate bias matter |
| Depth becomes experimentally accessible | hundreds of layers can be explored | later ResNet made a simpler variant dominant |
The paper should be read as a depth-optimization architecture paper, not as a final backbone recipe for modern vision or language models.
Failure Modes
| Failure Mode | Mechanism | Practical Check |
|---|---|---|
| Gate saturation | sigmoid gates become near 0 or 1 too early | inspect transform-gate statistics |
| Over-carrying | many layers pass input through with little transformation | check residual/update branch norms |
| Extra parameter cost | each layer needs gate projections | compare to ungated residual block |
| Shape mismatch | carry path requires compatible dimensions | use projection only when dimensions change |
| Over-crediting depth | deeper model may win due to parameter count or training time | compare matched compute and parameter budgets |
Where It Fits
| Axis | Placement |
|---|---|
| Architecture family | gated feed-forward deep network |
| Core operation | transform/carry interpolation |
| Main concept | residual connection |
| Predecessor idea | LSTM gated information flow |
| Later simplified form | ResNet |
| Modern echo | gated residual branches, GLU/SwiGLU blocks, residual stream scaling |
Practical Checks
When reading later deep architecture papers, ask:
| Question | Why It Matters |
|---|---|
| Is the skip path identity, projected, gated, or scaled? | determines how easily information crosses depth |
| Is the gate input-dependent or a learned scalar? | changes whether routing is per-example or static |
| Are residual branches initialized small? | affects early optimization stability |
| Does the paper separate trainability from generalization? | deep trainability alone is not the final metric |
| Does the block preserve shape? | skip addition/carrying requires compatible tensors |