06 Reworked residual connections

The single residual stream (x + f(x)) is replaced by learned, wider or multi-stream mixing between layers.

VideoThe idea in a few minutes

The problem

Plain residual: one stream, fixed weight 1, every layer writes into the same place.

VisualizationStandard x + f(x) diagram

The idea

Several streams with learned mixing weights between layers.

VisualizationMulti-stream residual diagram

The trade-off

Training stability and quality vs. the extra memory traffic.

VisualizationBefore / after training curves

Sources

Papers and model reports.