Abstract
REPrune is a novel channel pruning framework designed to bridge the gap between high-accuracy fine-grained kernel pruning and hardware-efficient coarse-grained channel pruning. By identifying redundant kernel patterns through agglomerative clustering and formulating filter selection as a Maximum Cluster Coverage problem, REPrune preserves functional diversity with minimal information loss. Experimental results on ImageNet demonstrate that REPrune can reduce FLOPs by 75% with only a 0.5% drop in Top-1 accuracy, while maintaining a standard dense structure for rapid hardware acceleration.
Introduction
In Deep Learning compression, there is a constant tug-of-war between granularity and efficiency. Channel Pruning is a coarse approach that removes entire filters, resulting in a standard "dense" matrix that runs fast on commodity hardware but often suffers from significant accuracy drops. Conversely, Kernel Pruning is a fine-grained approach that removes individual kernels within a filter. While this preserves accuracy, it creates sparse models that standard hardware is not optimized to accelerate.
REPrune aims to bridge this gap by achieving the performance of fine-grained kernel pruning while producing a standard, pruned dense model that is immediately deployable. The core idea is to treat channel selection as a representative search for critical kernel patterns.
Methods
The REPrune framework treats channel selection as a search for representatives of diverse kernel patterns through three main steps:
- Agglomerative Clustering: For every input channel, the algorithm groups similar kernels into clusters using Ward’s linkage method. Kernels within a cluster are considered redundant; the goal is to keep at least one representative from each cluster to maintain expressive power.
- Maximum Cluster Coverage (MCP): Since a filter contains kernels across many channels, picking one filter can cover representatives for multiple clusters simultaneously. This is formulated as a Maximum Coverage Problem and solved using a greedy algorithm to select filters that cover the most unique kernel clusters.
- Concurrent Training-Pruning: Pruning occurs during training rather than as a post-processing step. It utilizes trainable scaling factors from Batch Normalization layers to determine target sparsity and includes a "regrowth" strategy to recover channels that may become important later in the training process.
Key Results and Insights
The authors evaluated REPrune across standard benchmarks including CIFAR-10, ImageNet, and COCO.
- ImageNet Performance: On ResNet-50, REPrune reduced FLOPs by 75% with only a 0.5% drop in Top-1 accuracy. At a 56% reduction, it actually improved accuracy by 0.84% over the baseline, demonstrating that effective filter selection can act as a form of regularization.
- Hardware Acceleration: Unlike sparse models, REPrune's dense output translates directly to real-world speedups. On an NVIDIA Jetson TX2 edge device, pruned ResNet-50 models showed significant throughput increases.
- Training Efficiency: Because the model is pruned progressively, later training epochs are computed on a smaller architecture, making the total training process faster than training a full-sized model.
Conclusion
REPrune demonstrates that the benefits of fine-grained sparsity can be emulated within a hardware-friendly dense framework by carefully selecting filter representatives. While currently limited by residual block constraints in certain architectures, the approach shows promise for extension to other models, such as Vision Transformers (ViTs), where identifying redundant patterns in attention heads could yield similar efficiency gains.
Summary updated