Abstract
While much of the work in the design of convolutional networks over the last five years has revolved around the empirical investigation of the importance of depth, filter sizes, and number of feature channels, recent studies have shown that branching, i.e., splitting the computation along parallel but distinct threads and then aggregating their outputs, represents a new promising dimension for significant improvements in performance. To combat the complexity of design choices in multi-branch architectures, prior work has adopted simple strategies, such as a fixed branching factor, the same input being fed to all parallel branches, and an additive combination of the outputs produced by all branches at aggregation points. In this work we remove these predefined choices and propose an algorithm to learn the connections between branches in the network. Instead of being chosen a priori by the human designer, the multi-branch connectivity is learned simultaneously with the weights of the network by optimizing a single loss function defined with respect to the end task. We demonstrate our approach on the problem of multi-class image classification using three different datasets where it yields consistently higher accuracy compared to the state-of-the-art "ResNeXt" multi-branch network given the same learning capacity.
Introduction
The design of deep neural network architectures has traditionally been a manual process characterized by empirical trial and error. Recent advancements, such as the ResNeXt architecture, have demonstrated that "multi-branch" designs—where computation is split across parallel paths (cardinality) and subsequently merged—can significantly outperform simple linear stacks. However, these architectures typically rely on rigid, human-defined connectivity rules: every branch receives the same input, and outputs are combined via simple addition. This "one-size-fits-all" approach likely leaves substantial performance on the table. This paper introduces a method to move beyond fixed topologies, allowing the network to discover optimal information routing between branches.
Methodology: The GateConnect Algorithm
The proposed approach centers on a Gated Multi-Branch Architecture controlled by the GateConnect learning algorithm.
The Gated Architecture
In a standard multi-branch module, all $C$ branches are active. The proposed architecture introduces a binary gate vector ($g$) to control the input to each branch. A gate value of "1" activates a connection, while "0" ignores it. To manage complexity and prevent the network from simply activating all paths, a "fan-in" constraint ($K$) is introduced, forcing each residual block to select exactly $K$ inputs from the preceding module's branches.
Learning Connectivity
Since binary gates are non-differentiable, the authors employ a technique inspired by "BinaryConnect." Real-valued "shadow" gates are maintained and updated via backpropagation. During the forward pass, binary gates are stochastically sampled from these real values. This allows the connectivity to be learned simultaneously with the network weights by optimizing a single task-specific loss function.
Experimental Results
The GateConnect algorithm was evaluated across several benchmarks, including CIFAR-10/100, Mini-ImageNet, and the large-scale ImageNet (ILSVRC 2012) dataset.
- Accuracy Improvements: On CIFAR-100, gated models achieved up to a 2.2% absolute improvement over ResNeXt baselines. On ImageNet, learned connectivity consistently yielded higher Top-1 and Top-5 accuracy, such as a 1.3% improvement for a 50-layer model.
- Efficiency and Pruning: A significant advantage of this approach is automatic pruning. If the optimization process determines a branch is never utilized (all outgoing gates are zero), it can be removed entirely. Using a fan-in of $K=1$, the model achieved ResNeXt-level accuracy with a 40% reduction in parameters (20.5M vs. 34.4M).
Discussion and Insights
A key finding is that learned sparsity significantly outperforms random sparsity. This confirms that the specific "wiring" of the network is as critical as the number of active branches.
Furthermore, visualizations of learned connectivity revealed that the network prefers fewer active branches in early layers and higher cardinality in deeper layers. This suggests that parallel processing is more beneficial for high-level feature extraction than for low-level edge detection.
Conclusion and Future Work
GateConnect effectively transforms architecture design into an optimization problem, allowing for automated discovery of efficient, high-performance topologies. While the current framework requires a pre-defined fan-in $K$ and focuses on additive aggregation, future work may explore learnable parametric gates and broader search spaces beyond the multi-branch template.
Summary updated