Skip to main content
QUICK REVIEW

[Paper Review] Layer Pruning via Fusible Residual Convolutional Block for Deep Neural Networks

Pengtao Xu, Jian Cao|arXiv (Cornell University)|Nov 29, 2020
Advanced Neural Network ApplicationsComputer Science31 references14 citations
TL;DR

This paper proposes a novel layer pruning method using a fusible residual convolutional block (ResConv) that enables automatic, structured removal of entire network layers during training. By introducing a trainable scaling factor with L1 regularization, the method identifies and prunes unimportant layers, achieving high compression and speedup with minimal accuracy drop—e.g., 65.5% FLOPs reduction and 55.5% parameter reduction on ResNet-110 with only 0.13% top-1 accuracy loss on CIFAR-10.

ABSTRACT

In order to deploy deep convolutional neural networks (CNNs) on resource-limited devices, many model pruning methods for filters and weights have been developed, while only a few to layer pruning. However, compared with filter pruning and weight pruning, the compact model obtained by layer pruning has less inference time and run-time memory usage when the same FLOPs and number of parameters are pruned because of less data moving in memory. In this paper, we propose a simple layer pruning method using fusible residual convolutional block (ResConv), which is implemented by inserting shortcut connection with a trainable information control parameter into a single convolutional layer. Using ResConv structures in training can improve network accuracy and train deep plain networks, and adds no additional computation during inference process because ResConv is fused to be an ordinary convolutional layer after training. For layer pruning, we convert convolutional layers of network into ResConv with a layer scaling factor. In the training process, the L1 regularization is adopted to make the scaling factors sparse, so that unimportant layers are automatically identified and then removed, resulting in a model of layer reduction. Our pruning method achieves excellent performance of compression and acceleration over the state-of-the-arts on different datasets, and needs no retraining in the case of low pruning rate. For example, with ResNet-110, we achieve a 65.5%-FLOPs reduction by removing 55.5% of the parameters, with only a small loss of 0.13% in top-1 accuracy on CIFAR-10.

Motivation & Objective

  • Address the lack of effective layer pruning methods despite their advantages in inference efficiency and memory usage.
  • Develop a method that enables structured, automatic removal of entire convolutional layers during training.
  • Minimize accuracy degradation while achieving high model compression and speedup on resource-limited devices.
  • Enable inference-time efficiency by fusing ResConv structures into standard convolutions post-training, adding no computational overhead.
  • Achieve state-of-the-art performance in model compression without requiring retraining after pruning at low pruning rates.

Proposed method

  • Introduce a fusible residual convolutional block (ResConv) that inserts a learnable scaling factor and shortcut connection into a single convolutional layer.
  • Use a layer scaling factor to control the contribution of each convolutional layer, enabling structured pruning via sparsity.
  • Apply L1 regularization on the scaling factors during training to encourage sparsity and identify unimportant layers.
  • Train the network with ResConv blocks to maintain accuracy and enable training of deep plain networks.
  • After training, fuse the ResConv structure into a standard convolutional layer by absorbing the scaling factor, eliminating inference overhead.
  • Prune entire layers by removing those with zero or near-zero scaling factors, resulting in a compact, efficient model.

Experimental results

Research questions

  • RQ1Can a trainable scaling factor in a residual block structure enable automatic and structured layer pruning without compromising accuracy?
  • RQ2How effective is the proposed method in reducing FLOPs and parameters while maintaining high accuracy on image classification benchmarks?
  • RQ3Does the method achieve high compression and acceleration with minimal accuracy drop, especially at low pruning rates?
  • RQ4Can the fused ResConv structure be seamlessly integrated into inference without adding computational cost?
  • RQ5How does the method compare to existing filter and weight pruning techniques in terms of inference efficiency and model compactness?

Key findings

  • The proposed method achieves a 65.5% reduction in FLOPs and 55.5% reduction in parameters on ResNet-110 with only a 0.13% drop in top-1 accuracy on CIFAR-10.
  • The method enables high compression and acceleration with no need for retraining after pruning, even at low pruning rates.
  • The fused ResConv structure adds no computational overhead during inference, as it is merged into a standard convolutional layer post-training.
  • The L1 regularization on scaling factors successfully induces sparsity, allowing automatic identification and removal of unimportant layers.
  • The method outperforms state-of-the-art pruning techniques in terms of inference efficiency and memory usage due to reduced data movement.
  • The approach maintains high accuracy while enabling structured, channel- and layer-level pruning, making it suitable for deployment on resource-limited devices.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.