Novel channel attention-based filter pruning methods for low-complexity semantic segmentation models
• The computational complexity of semantic segmentation represents a burden for the realtime application of the algorithms or the deployment of the models on resource-constrained platforms. • Until recently, few methods have been introduced for optimizing or pruning of the parameters of the semantic segmentation models. • In this paper, we introduced a novel subsampling-aware channel attention (SACA) module to effectively identify the most important filters in the semantic segmentation models and hence, eliminate the least significant filters in the models. • Inspired by the self-attention mechanism of the transformer, we proposed a modification of the self-attention based channel attention (SBCA) module in order to assess the significance of the filters in each layer of the semantic segmentation models. • The proposed SACA and SBCA methods outperformed the magnitude and the channel attention based filter pruning methods. Semantic segmentation is the area of classifying each pixel in an image using a deep learning model. Examples of widely used semantic segmentation models are the U-Net and DeeplabV3+ models. While the aforementioned models have been deemed very successful in segmenting medical targets including organs and diseases in high resolution images, the computational complexity represents a burden for the real-time application of the algorithms or the deployment of the models on resource-constrained platforms. Until recently, few methods have been introduced for optimizing or pruning of the parameters of the semantic segmentation models. In this paper, we propose two novel channel attention-based filter pruning techniques (i.e., Sub-Sampling Channel Attention (SACA) and Self-Attention Based Attention (SBCA)) in order to reduce the complexity of the semantic segmentation models while maintaining high performance with respect to the benchmark models. This is realized by recognizing the contextual importance of the feature maps in each layer of the models and the significance of each filter to the final model performance. The proposed optimization methods have been validated on the U-Net and DeeplabV3+ models using both lung and skin lesion datasets. The proposed approaches achieved a pruned model performance (i.e., dice coefficient) of up to 96%, as well as an extensively reduced complexity (i.e., percentage of remaining parameters down to 1.1%, model size down to 1.22 MB and number of GFLOPS down to 1.06), outperforming the benchmark magnitude based (i.e., l1-norm , and l2-norm ) and the attention-based (i.e., SE, ECA, and CBAM CA) filter pruning methods.
Authors
- Md. Bipul Hossain (ORCID: https://orcid.org/0000-0003-0176-470X)
- Na Gong (ORCID: https://orcid.org/0000-0002-3297-7436)
- Mohamed Shaban (ORCID: https://orcid.org/0000-0003-4900-1859)
Institutions
- University of South Alabama (US)
Publication Details
- Journal
- Machine Learning with Applications
- Published
- 2025-08-18
- DOI
- https://doi.org/10.1016/j.mlwa.2025.100725
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation