Overview
Group Fisher Pruning (GFP) is a unified framework designed to prune complex neural network architectures—such as ResNets and MobileNets—by automatically identifying and grouping "coupled" channels that must be pruned together. By utilizing a Fisher information-based importance metric and normalizing it by memory reduction rather than FLOPs, GFP achieves state-of-the-art accuracy-to-speedup trade-offs across both image classification and object detection tasks.
The Challenge: Coupled Channels in Modern Architectures
While network pruning is a well-established field, traditional methods often struggle with modern, non-sequential architectures. In models featuring residual connections (ResNet), depth-wise convolutions (MobileNet), or Feature Pyramid Networks (FPNs), channels across different layers are frequently coupled.
If a channel in one layer is pruned without considering its "partners" in a shortcut connection or a group convolution, the network's structural integrity is broken, often resulting in a failure to realize any actual hardware speedup. Previous solutions typically relied on manual rules or simplified "internal-only" pruning, limiting their effectiveness. GFP introduces a general, automated approach that handles these complex dependencies while optimizing for actual inference speed on GPUs.
Methodology
The GFP framework relies on three key components to solve the structural pruning problem:
1. Automatic Layer Grouping The authors propose an algorithm that uses Depth-First Search (DFS) on the network's computation graph to automatically find coupled channels. This ensures that if one channel is pruned, all its dependent channels across the network are also removed, maintaining structural consistency.
2. Unified Fisher Importance Metric Instead of using simple heuristics like weight magnitude, which can be misleading, GFP uses Fisher Information. By applying a Taylor expansion to the loss function, the authors derive an importance score based on the squared gradients of channel-wise binary masks. This allows for the evaluation of the global importance of a group of coupled channels in a single pass.
3. Memory-Normalized Pruning A major contribution of this work is the shift from FLOPs to memory reduction as a normalization factor. The authors observed that on modern GPUs, inference speed is more closely correlated with the size of output feature maps (memory) than the number of floating-point operations. By dividing the Fisher importance by the memory reduction gained from pruning a channel, GFP prioritizes removing "expensive" but "unimportant" channels.
Key Insights
- FLOPs Can Be Misleading: Reducing FLOPs does not linearly translate to GPU speedup because memory access is often the real bottleneck. Normalizing by memory reduction leads to models that are significantly faster in practice, even if their FLOP count remains higher than models pruned by other methods.
- Coupling is Universal: By treating pruning as a graph problem, the same logic used for ResNet shortcuts can be applied to complex detection heads and FPNs, areas previously under-explored in pruning literature.
- Task-Specific Pruning Patterns: GFP automatically learns that classification models tend to keep more channels in later stages (to capture global features), whereas detection models retain more channels in early stages (to maintain multi-scale spatial information).
State-of-the-Art Results
The researchers evaluated GFP on two primary benchmarks: ImageNet (ILSVRC 2012) for classification and COCO (2014) for object detection. GFP consistently outperformed existing state-of-the-art methods like ThiNet, CP, and SSS.
- ResNet-50: Achieved a 1.79x speedup on ImageNet with only a 0.37% drop in top-1 accuracy, significantly outperforming methods like FPGM or HRank.
- MobileNetV2: GFP outperformed the standard "uniform scaling" (width multiplier) approach, proving that non-uniform pruning is superior even for already-compact models.
- Object Detection: On the COCO dataset, GFP achieved a 3x speedup for Faster R-CNN with a negligible 0.8% mAP drop. In some cases, the pruned models even showed a slight increase in mAP compared to the unpruned baseline.
- RegNetX: GFP-pruned models achieved higher accuracy and speed than the original RegNet models found via Neural Architecture Search (NAS) at the same FLOP budget.
Limitations and Future Work
While memory reduction is an excellent proxy for GPU speed, the authors acknowledge that the relationship between FLOPs, memory, and latency might differ on other hardware like CPUs or specialized TPUs. Future work could involve more rigorous theoretical modeling of the relationship between core architectural factors and inference speed across diverse platforms. Additionally, like most pruning methods, GFP requires a fine-tuning phase to regain accuracy, which can be computationally expensive for very large models.
Summary updated