Introduction
As deep learning models grow more complex, deploying them on edge devices like smartphones or AR glasses becomes increasingly difficult due to memory and compute constraints. Filter pruning—the removal of entire convolutional filters—is a standard approach to create efficient models. However, traditional AutoML pruning methods often treat layers as isolated entities, failing to account for the inter-layer dependencies inherent in modern architectures like ResNet or MobileNet.
Methodology
The authors introduce GraphPruning, an AutoML framework that treats a neural network's architecture as a graph to optimize filter pruning. The process consists of four primary stages.
Graph Transformation
The first step involves converting the CNN into an undirected topology graph. Each operation, such as convolution or addition, is represented as a node. Each node is assigned specific features, including operation type, input/output channels, stride, kernel size, and current compression ratio.
Graph Aggregator and PruningNet
To move beyond layer-by-layer analysis, a Graph Convolutional Network (GCN) is employed as a Graph Aggregator. This module aggregates features from neighboring nodes, ensuring that pruning decisions for a specific layer are informed by the surrounding structure. Following this, PruningNet takes these aggregated features to generate weights for the pruned sub-network, allowing for performance estimation without full retraining.
Reinforcement Learning Search
Finally, a Deep Deterministic Policy Gradient (DDPG) agent searches for optimal pruning ratios. The agent uses the high-dimensional feature vectors from the GCN as its state representation, providing a global context that hand-crafted statistics cannot capture.
Key Results and Insights
GraphPruning was evaluated on the ImageNet-2012 dataset, demonstrating superior performance over existing AutoML methods like AMC and MetaPruning.
- MobileNet V2: At 220M FLOPs, GraphPruning achieved 71.6% top-1 accuracy, outperforming MetaPruning (71.2%) and AMC (70.8%).
- ResNet-50: On this classic architecture, the method reached 76.1% accuracy at 2.3G FLOPs, a 0.7% improvement over MetaPruning under identical constraints.
- Layer Sensitivity: A key insight from the automated search was the "Deep Layer" phenomenon: the agent consistently pruned shallow layers more aggressively while preserving more channels in deeper layers, where complex feature transformations occur.
Conclusion
By leveraging GCNs to understand the global topology of a neural network, GraphPruning effectively exploits redundancies across correlated layers. This "topology-aware" approach sets a new standard for automated model compression, particularly for architectures with complex shortcut connections.
Summary updated