Abstract
A deep residual network, built by stacking a sequence of residual blocks, is easy to train, because identity mappings skip residual branches and thus improve information flow. To further reduce the training difficulty, we present a simple network architecture, deep merge-and-run neural networks. The novelty lies in a modularized building block, merge-and-run block, which assembles residual branches in parallel through a merge-and-run mapping: Average the inputs of these residual branches (Merge), and add the average to the output of each residual branch as the input of the subsequent residual branch (Run), respectively. We show that the merge-and-run mapping is a linear idempotent function in which the transformation matrix is idempotent, and thus improves information flow, making training easy. In comparison to residual networks, our networks enjoy compelling advantages: they contain much shorter paths, and the width, i.e., the number of channels, is increased. We evaluate the performance on the standard recognition tasks. Our approach demonstrates consistent improvements over ResNets with the comparable setup, and achieves competitive results (e.g., 3.57% testing error on CIFAR-10, 19.00% on CIFAR-100, 1.51% on SVHN).
Introduction
Deep residual networks (ResNets) revolutionized computer vision by using identity mappings (skip connections) to allow the training of extremely deep networks. However, as networks grow to hundreds or thousands of layers, training can still become difficult due to the sheer length of the information paths, which can lead to vanishing gradients or degraded feature reuse.
The authors aim to further reduce this training difficulty. They hypothesize that an architecture explicitly designed to shorten the average path length from input to output—while simultaneously increasing the effective width of the network—will improve both forward information flow and backward gradient propagation, making deep networks easier to train and more accurate.
Methods: The Merge-and-Run Block
The authors propose a new modular building block called the merge-and-run block. Instead of stacking residual blocks sequentially (like ResNets) or concatenating them at the end of a block (like Inception networks), this approach assembles two residual branches in parallel with a unique cross-branch connection.
The block operates in two steps:
- Merge: It averages the inputs of the two parallel residual branches.
- Run: It adds this average to the output of each residual branch to form the distinct inputs for the subsequent parallel branches.
Mathematically, the authors show that this merge-and-run mapping is a linear idempotent function (where the transformation matrix $M$ satisfies $M^n = M$). Just like multiplying by 1 in a standard ResNet skip connection, an idempotent transformation ensures that information doesn't explode or vanish as it passes through multiple blocks. This provides a theoretical guarantee that information from early blocks can quickly flow to later blocks.
Key Insights and Ideas
- Shorter Paths by Design: By assembling residual branches in parallel rather than sequentially, the average path length of the network is drastically reduced. The authors demonstrate that for very deep networks, shorter average path lengths correlate with lower testing errors.
- Wider is Sometimes Better than Deeper: The merge-and-run block effectively creates a wider intermediate representation. Because the outputs of the two residual branches are kept separate (rather than immediately summed or concatenated), the block maintains a wider data flow ($2d$ width instead of $d$), which enriches the learned representation.
- Idempotence is the Secret Sauce: The mathematical idempotence of the merge-and-run mapping is a crucial insight. It acts similarly to the identity mapping in ResNets—preserving the gradient during backpropagation—but with the added benefit of introducing healthy interaction and information sharing between parallel branches.
Key Results
DMRNets consistently outperformed baseline ResNets with comparable parameter counts across all tested datasets, including CIFAR-10, CIFAR-100, SVHN, and ImageNet 2012.
- CIFAR & SVHN: A widened version of their network (DMRNet-Wide, 50 layers, 24.8M parameters) achieved highly competitive results: 3.57% error on CIFAR-10, 19.00% on CIFAR-100, and 1.51% on SVHN.
- Parameter Efficiency: The DMRNet-Wide achieved these results with roughly half the parameters of competing state-of-the-art models like FractalNet (38.6M).
- ImageNet: A 44-layer DMRNet (43.3M parameters) outperformed a 101-layer ResNet-101 (44.5M parameters) in top-5 validation error (6.81% vs. 7.10%).
- Optimization: Training curves showed that DMRNets achieve lower training losses than ResNets, suggesting the performance gains come from a genuinely richer representation capacity rather than just a regularization effect.
Conclusion and Future Work
While DMRNets show significant promise, the current implementation does not utilize bottleneck designs (1x1 convolutions), which are standard in deeper ResNets for parameter efficiency. Future work includes extending the merge-and-run mapping to $K$ branches and integrating this mapping with other successful architectural patterns, such as dense connections and bottleneck layers, to push accuracy and efficiency even further.
Summary updated