Modern neural networks, particularly multi-branch architectures like ResNets, present unique challenges for model compression. This paper introduces DFPC (Data Flow driven Pruning of Coupled channels), a novel, data-free approach to accelerating these networks. By utilizing a graph-based algorithm to estimate channel importance without relying on training data, DFPC achieves up to a 1.66x inference speedup with minimal accuracy loss.
The Challenge: Pruning Multi-Branch Networks
As deep learning models expand, pruning—removing redundant neurons or channels—is critical for edge device deployment. However, two significant hurdles complicate this process:
- The Coupling Problem: Traditional pruning research often targets "single-branch" networks like VGG. In contrast, modern architectures utilize "multi-branch" designs with residual (skip) connections. These connections create "coupled channels" (CCs): pruning a channel in one layer necessitates pruning the corresponding channel in the connected branch to maintain dimensional alignment. Standard pruning tools frequently ignore these CCs, even though they account for over 66% of the inference time in models like ResNet-50.
- The Data Constraint: Most pruning methods require the original training data to evaluate channel importance. In many real-world applications, this data is inaccessible due to privacy, security, or storage constraints.
Methodology: DFPC and Grouped Saliency
To address these challenges, the authors propose the Data Flow driven Pruning of Coupled channels (DFPC) framework, built on three core components:
- Data Flow Couplings (DFCs): The authors establish a formal mathematical definition to automatically identify and group all layers and transformations linked by skip connections.
- Maximum Score Disagreement (MSD): Evaluating the importance of channels in a coupling by analyzing layers in isolation is fundamentally flawed. The authors demonstrate that isolated layers frequently "disagree" on which channels are important, proving that saliency must be calculated for the coupled group as a whole.
- BGSC Algorithm (Backwards Graph-based Saliency Computation): This core innovation is a data-free algorithm that traverses the network's computational graph backward. It leverages Lipschitz constants (mathematical bounds on function variance) to estimate an upper bound on the "reconstruction error" caused by removing a specific channel. By bounding this error, BGSC ranks channel importance without requiring any training images.
To ensure practicality for large Convolutional Neural Networks (CNNs), the authors also developed a parallelized implementation of BGSC to manage the computational demands of graph traversal.
Key Insights and Results
The researchers evaluated DFPC across standard benchmarks (CIFAR-10, CIFAR-100, ImageNet) and architectures (ResNet-50, ResNet-101, MobileNet-v2, VGG-16), comparing it against L1-norm pruning, random pruning, and state-of-the-art data-driven methods.
- Coupled Channels are the Bottleneck: Layers associated with CCs are the primary drivers of inference latency. Targeting them is the most effective strategy for achieving actual wall-clock speedups.
- Data-Free Performance: On a ResNet-101 trained on CIFAR-10, DFPC achieved a 1.66x speedup in inference time with only a 5% accuracy drop—entirely without access to the training data.
- Outperforming Baselines: When fine-tuning is permitted (the data-driven regime), DFPC surpasses existing methods. For a ResNet-50 on ImageNet, it achieved a 2.28x speedup (47.1% faster than the nearest baseline) for a 2.3% accuracy drop.
- Efficiency: The parallelized BGSC algorithm computes saliencies for a ResNet-50 on ImageNet in approximately 38 minutes on a standard CPU, proving its viability as a practical research tool.
Limitations and Future Work
While highly effective, the approach has limitations. The parallelized BGSC algorithm remains more computationally expensive than simple magnitude-based pruning due to the necessity of traversing all paths in the backward graph. Additionally, in a purely data-free regime on complex datasets like ImageNet, aggressive pruning budgets can lead to significant accuracy drops.
Future work will focus on developing pruning strategies robust enough to handle arbitrary neural architectures beyond standard ResNet and MobileNet families, as well as further optimizing the time required to compute saliencies.
Summary updated