[Paper Review] Parsimonious Inference on Convolutional Neural Networks: Learning and applying on-line kernel activation rules
This paper proposes a novel, data-driven method to enable dynamic, on-the-fly pruning of convolutional neural network (CNN) kernels during inference, significantly reducing computational load without sacrificing accuracy. By introducing a learnable activation rule that selectively disables redundant filters in real time, the approach achieves up to 3× speedup on mobile platforms while maintaining or improving recognition performance.
A new, radical CNN design approach is presented in this paper, considering the reduction of the total computational load during inference. This is achieved by a new holistic intervention on both the CNN architecture and the training procedure, which targets to the parsimonious inference by learning to exploit or remove the redundant capacity of a CNN architecture. This is accomplished, by the introduction of a new structural element that can be inserted as an add-on to any contemporary CNN architecture, whilst preserving or even improving its recognition accuracy. Our approach formulates a systematic and data-driven method for developing CNNs that are trained to eventually change size and form in real-time during inference, targeting to the smaller possible computational footprint. Results are provided for the optimal implementation on a few modern, high-end mobile computing platforms indicating a significant speed-up of up to x3 times.
Motivation & Objective
- To reduce the computational burden of CNN inference in resource-constrained environments like mobile devices.
- To address the inefficiency of fixed, fully active CNNs that process redundant features across all layers.
- To develop a method that enables real-time, adaptive network pruning during inference based on input data.
- To maintain or improve recognition accuracy while drastically reducing computational footprint.
- To enable practical deployment of high-accuracy CNNs on low-power mobile platforms through dynamic architecture adjustment.
Proposed method
- Introduces a learnable, input-dependent activation rule that dynamically disables filters in convolutional layers during inference.
- Embeds a lightweight gating mechanism as an add-on to existing CNN architectures, preserving the original network structure.
- Trains the gating mechanism end-to-end with the CNN using a differentiable approximation to enable gradient-based optimization.
- Applies the learned activation rules at inference time, allowing the network to 'shrink' per input, reducing FLOPs and memory access.
- Uses a structured regularization strategy to encourage sparsity and prevent overfitting in the gating mechanism.
- Employs a differentiable relaxation of the hard thresholding operation to allow backpropagation through the sparse inference process.
Experimental results
Research questions
- RQ1Can a CNN dynamically adjust its computational load during inference based on input characteristics?
- RQ2How can redundant filters be identified and pruned in real time without compromising accuracy?
- RQ3What is the maximum computational reduction achievable with minimal accuracy degradation on mobile platforms?
- RQ4Can a learnable gating mechanism be trained end-to-end to control kernel activation without architectural redesign?
- RQ5What is the impact of dynamic inference on inference speed and energy efficiency in mobile deployments?
Key findings
- The proposed method achieves up to 3× speedup on high-end mobile platforms while maintaining or improving top-1 accuracy.
- The model maintains or improves accuracy on benchmark datasets despite significant filter pruning during inference.
- The method is compatible with any existing CNN architecture, requiring only a lightweight add-on module.
- The learned activation rules are data-dependent, enabling adaptive computation tailored to input complexity.
- The approach reduces FLOPs and memory bandwidth usage, leading to lower energy consumption on mobile devices.
- The method demonstrates robustness across multiple network architectures and datasets, with consistent performance gains.
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.