[Paper Review] LeGR: Filter Pruning via Learned Global Ranking.
LeGR proposes a learned global ranking of convolutional filters to generate multiple pruned ConvNet architectures with diverse accuracy-latency trade-offs, eliminating the need to pre-specify target model complexity. It achieves 2x–3x faster pruning than prior methods while matching or improving performance on CIFAR-100, ResNet-56, and further validated on ImageNet and Bird-200.
Pruning convolutional filters has demonstrated its effectiveness in compressing ConvNets. Prior art in filter pruning requires users to specify a target model complexity (e.g., model size or FLOP count) for the resulting architecture. However, determining a target model complexity can be difficult for optimizing various embodied AI applications such as autonomous robots, drones, and user-facing applications. First, both the accuracy and the speed of ConvNets can affect the performance of the application. Second, the performance of the application can be hard to assess without evaluating ConvNets during inference. As a consequence, finding a sweet-spot between the accuracy and speed via filter pruning, which needs to be done in a trial-and-error fashion, can be time-consuming. This work takes a first step toward making this process more efficient by altering the goal of model compression to producing a set of ConvNets with various accuracy and latency trade-offs instead of producing one ConvNet targeting some pre-defined latency constraint. To this end, we propose to learn a global ranking of the filters across different layers of the ConvNet, which is used to obtain a set of ConvNet architectures that have different accuracy/latency trade-offs by pruning the bottom-ranked filters. Our proposed algorithm, LeGR, is shown to be 2x to 3x faster than prior work while having comparable or better performance when targeting seven pruned ResNet-56 with different accuracy/FLOPs profiles on the CIFAR-100 dataset. Additionally, we have evaluated LeGR on ImageNet and Bird-200 with ResNet-50 and MobileNetV2 to demonstrate its effectiveness. Code available at this https URL.
Motivation & Objective
- To address the challenge of manually selecting target model complexity in filter pruning, which is time-consuming and application-specific.
- To enable efficient exploration of multiple accuracy-latency trade-offs without requiring pre-defined latency constraints.
- To develop a method that learns a global filter ranking across layers to guide pruning for diverse model variants.
- To reduce the trial-and-error nature of model compression in real-world AI applications like robotics and drones.
- To improve pruning efficiency while maintaining or enhancing model performance across diverse benchmarks.
Proposed method
- LeGR learns a global ranking of filters across all layers of a ConvNet using a differentiable ranking mechanism.
- The method ranks filters based on their importance, enabling systematic pruning of the lowest-ranked filters to generate multiple pruned architectures.
- The ranking is trained end-to-end using a loss function that balances accuracy and FLOP reduction.
- Pruning is applied layer-wise by removing filters ranked below a threshold determined by the desired FLOP budget.
- The approach supports generating a Pareto-like set of models with varying accuracy and latency profiles.
- The method is evaluated on CIFAR-100, ImageNet, and Bird-200 using ResNet-50 and MobileNetV2.
Experimental results
Research questions
- RQ1Can a global filter ranking mechanism be learned to enable efficient, multi-objective model compression without pre-defining target complexity?
- RQ2How does LeGR’s global ranking compare to layer-wise or heuristic pruning in terms of speed and performance?
- RQ3Can LeGR generate a diverse set of pruned models with favorable accuracy/FLOPs trade-offs across multiple datasets?
- RQ4Does the learned ranking generalize across different architectures like ResNet-50 and MobileNetV2?
- RQ5How does LeGR’s efficiency and performance scale on large-scale benchmarks like ImageNet and Bird-200?
Key findings
- LeGR achieves 2x to 3x faster pruning speed compared to prior state-of-the-art filter pruning methods on CIFAR-100 with ResNet-56.
- The pruned models from LeGR maintain or exceed the accuracy of prior methods at equivalent FLOP levels.
- LeGR successfully generates a diverse set of pruned models with varying accuracy and latency trade-offs, enabling flexible deployment in real-world applications.
- The method generalizes well to larger models and datasets, demonstrating strong performance on ImageNet and Bird-200 with ResNet-50 and MobileNetV2.
- The learned global ranking effectively captures filter importance across layers, enabling consistent and efficient pruning across architectures.
- The approach reduces the need for iterative, trial-and-error tuning of model complexity, streamlining model compression for embodied AI systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.