English

Comb, Prune, Distill: Towards Unified Pruning for Vision Model Compression

Computer Vision and Pattern Recognition 2024-08-07 v1

Abstract

Lightweight and effective models are essential for devices with limited resources, such as intelligent vehicles. Structured pruning offers a promising approach to model compression and efficiency enhancement. However, existing methods often tie pruning techniques to specific model architectures or vision tasks. To address this limitation, we propose a novel unified pruning framework Comb, Prune, Distill (CPD), which addresses both model-agnostic and task-agnostic concerns simultaneously. Our framework employs a combing step to resolve hierarchical layer-wise dependency issues, enabling architecture independence. Additionally, the pruning pipeline adaptively remove parameters based on the importance scoring metrics regardless of vision tasks. To support the model in retaining its learned information, we introduce knowledge distillation during the pruning step. Extensive experiments demonstrate the generalizability of our framework, encompassing both convolutional neural network (CNN) and transformer models, as well as image classification and segmentation tasks. In image classification we achieve a speedup of up to x4.3 with a accuracy loss of 1.8% and in semantic segmentation up to x1.89 with a 5.1% loss in mIoU.

Keywords

Cite

@article{arxiv.2408.03046,
  title  = {Comb, Prune, Distill: Towards Unified Pruning for Vision Model Compression},
  author = {Jonas Schmitt and Ruiping Liu and Junwei Zheng and Jiaming Zhang and Rainer Stiefelhagen},
  journal= {arXiv preprint arXiv:2408.03046},
  year   = {2024}
}

Comments

Accepted by ITSC 2024. Code is publicly available at: https://github.com/Cranken/CPD

R2 v1 2026-06-28T18:05:11.856Z