Introduction
SplitNet is a novel framework that automatically learns to partition a deep neural network into a tree-structured hierarchy of disjoint subnetworks. By grouping semantically similar classes and their associated features into separate "branches," SplitNet significantly reduces parameter counts and enables "embarrassingly parallel" model execution across multiple GPUs with little to no loss in accuracy.
The Challenge of Scaling Deep Networks
As deep neural networks (DNNs) grow to handle tens of thousands of classes, they become computationally bloated and difficult to deploy in time-critical applications. Traditional solutions usually fall into two camps:
- Parameter Reduction: Techniques like pruning or distillation make the model smaller but do not necessarily make it easier to run in parallel.
- Distributed Learning: Systems-level optimizations spread a standard model across multiple processors, often facing high communication overhead because the model's structure isn't inherently scalable.
The authors identify a missed opportunity: semantic redundancy. Features used to identify "animals" are largely different from those used for "vehicles." Standard DNNs force all classes to share all features in the higher layers, which is highly inefficient. The challenge is to design a network that automatically discovers these semantic groupings and structures itself to exploit them.
Methods: Learning to Split
The core of the paper is the SplitNet architecture and its associated learning algorithm. Instead of manually defining which classes go into which branch, the authors treat the network structure as a learning problem.
- Learned Assignment Matrices: The model learns two sets of assignment matrices alongside the standard weights:
- Feature-to-group ($P$): Assigns specific neurons/features to a group.
- Class-to-group ($Q$): Assigns output classes to a group.
- The Regularization Trifecta: To force the network into a block-diagonal (disjoint) structure, they introduce a specialized loss function $\Omega$ with three components:
- Group Weight Regularization: Uses an $\ell_{2,1}$-norm to penalize "inter-group" connections, effectively pruning weights that try to cross between branches.
- Disjoint Group Assignment: An orthogonal constraint that ensures features and classes belong to only one group (no overlap).
- Balanced Group Assignment: A constraint to prevent "winner-take-all" scenarios where one branch handles everything while others are empty.
- Deep and Hierarchical Splitting: The authors don't split the whole network. Lower layers (which learn generic features like edges) remain shared. As you go deeper, the network branches out. This can be done once (Deep Split) or recursively (Hierarchical Grouping) to create a tree.
Datasets and Key Insights
The authors validated SplitNet on two standard image classification benchmarks: CIFAR-100 (using Wide Residual Networks) and ImageNet-1K (using AlexNet and ResNet-18).
- Semantic Emergence: One of the most striking findings is that the network naturally groups classes that humans consider related. For example, it might group "baby, boy, girl, man, woman" into a single branch without any prior knowledge of a "people" category. It does this simply because those classes share the most useful features.
- Regularization as Architecture Search: Rather than using a discrete search (like Neural Architecture Search), SplitNet uses continuous relaxation and regularization to "melt away" unnecessary connections, effectively evolving the architecture during training.
- Embarrassing Parallelism: Because the branches are disjoint, once an image passes the shared lower layers, the computations for different groups can happen on different GPUs with zero communication between them until the final softmax layer.
Key Results
- Parameter & FLOP Reduction: On AlexNet (ImageNet), they achieved a 56% reduction in parameters with only a minor drop in accuracy. On CIFAR-100, a "Shallow Split" actually improved accuracy (23.96% error vs 24.28% baseline) while reducing parameters by 32%.
- Hardware Speedup: Using a "Deep Split 3-way" on 3 GPUs, they achieved a 2.22x speedup in evaluation time compared to a single-GPU baseline. This outperformed standard "vertical" or "horizontal" model splitting techniques, which suffer from high communication overhead.
Limitations and Future Work
- Training Bottleneck: While the inference (test time) is highly parallel, the initial training phase—where the splits are being learned—is still largely sequential or requires standard distributed methods. The authors aim to explore multi-GPU training from the very first epoch in future work.
- Hyperparameter Sensitivity: The number of groups ($G$) and the starting layer for the split ($S$) are hyperparameters that need to be tuned.
- Softmax Communication: Even with disjoint branches, the final softmax layer requires a global normalization (summing up all logits). While the authors propose a way to minimize this during inference (picking the max of maxes), it remains a small synchronization point.
Summary updated