Task-Level Customized Pruning for Image Classification on Edge Devices
Convolutional neural networks (CNNs) are widely utilized in image classification. Nevertheless, CNNs typically require substantial computational resources, posing challenges for deployment on resource-constrained edge devices and limiting the spread of AI-driven applications. While various pruning approaches have been proposed to mitigate this issue, they often overlook a critical fact that edge devices are typically tasked with handling only a subset of classes rather than the entire set. Moreover, the specific combinations of subcategories that each device must discern vary, highlighting the need for fine-grained task-specific adjustments. Unfortunately, these oversights result in pruned models that still contain unnecessary category redundancies, thereby impeding the potential for further model optimization and lightweight design. To bridge this gap, we propose a task-level customized pruning (TLCP) method via utilizing task-level information, i.e., class combination information relevant to edge devices. Specifically, TLCP first introduces channel control gates to assess the importance of each convolutional channel for individual classes. These class-level control gates are then aggregated through linear combinations, resulting in a pruned model customized to the specific tasks of edge devices. Experiments on various customized tasks demonstrate that TLCP can significantly reduce the number of parameters, by up to 33.9% on CIFAR-10 and 14.0% on CIFAR-100, compared to other baseline methods, while maintaining almost the same inference accuracy.
Authors
- B. A. Shi (ORCID: https://orcid.org/0009-0005-1848-2030)
- Han Zhang (ORCID: https://orcid.org/0000-0002-0166-1973)
- Yanting Wang (ORCID: https://orcid.org/0000-0001-5543-244X)
- Feng Li (ORCID: https://orcid.org/0000-0001-7423-8730)
Institutions
- Northwestern Polytechnical University (CN)
- China United Network Communications Group (China) (CN)
Publication Details
- Journal
- Electronics
- Published
- 2024-10-13
- DOI
- https://doi.org/10.3390/electronics13204029
- Citations
- 2
- Primary Topic
- CCD and CMOS Imaging Sensors
- Type
- article
- Field-Weighted Citation Impact
- 0.42
Funders
- National Natural Science Foundation of China
- China Postdoctoral Science Foundation
- National Key Research and Development Program of China
- Basic and Applied Basic Research Foundation of Guangdong Province