[Paper Review] Channel Gating Neural Networks
Channel gating introduces a dynamic, fine-grained pruning mechanism for CNNs that uses a base and conditional path per layer to skip computations on less informative input channels, achieving substantial FLOP reductions with minimal accuracy loss and hardware-friendly implementation.
This paper introduces channel gating, a dynamic, fine-grained, and hardware-efficient pruning scheme to reduce the computation cost for convolutional neural networks (CNNs). Channel gating identifies regions in the features that contribute less to the classification result, and skips the computation on a subset of the input channels for these ineffective regions. Unlike static network pruning, channel gating optimizes CNN inference at run-time by exploiting input-specific characteristics, which allows substantially reducing the compute cost with almost no accuracy loss. We experimentally show that applying channel gating in state-of-the-art networks achieves 2.7-8.0$ imes$ reduction in floating-point operations (FLOPs) and 2.0-4.4$ imes$ reduction in off-chip memory accesses with a minimal accuracy loss on CIFAR-10. Combining our method with knowledge distillation reduces the compute cost of ResNet-18 by 2.6$ imes$ without accuracy drop on ImageNet. We further demonstrate that channel gating can be realized in hardware efficiently. Our approach exhibits sparsity patterns that are well-suited to dense systolic arrays with minimal additional hardware. We have designed an accelerator for channel gating networks, which can be implemented using either FPGAs or ASICs. Running a quantized ResNet-18 model for ImageNet, our accelerator achieves an encouraging speedup of 2.4$ imes$ on average, with a theoretical FLOP reduction of 2.8$ imes$.
Motivation & Objective
- Motivate and quantify dynamic, fine-grained pruning to reduce CNN inference cost.
- Propose CGNet that learns activation-wise gating policies end-to-end in one pass.
- Introduce channel grouping to prevent biased weight updates and maintain accuracy.
- Demonstrate hardware friendliness and potential speedups on accelerators with CGNet.
- Explore architecture design space and training techniques (including KD).
Proposed method
- Divide CNN layer inputs into base (x_p) and remainder (x_r) paths with corresponding weights (W_p, W_r).
- Compute partial sums using x_p and W_p; use a gate s to decide whether to activate the conditional path for each output activation.
- Gate function uses per-output-channel learnable thresholds Δ and activation-specific forms (e.g., ReLU) to route activations through the base or conditional path.
- Employ channel grouping to ensure unbiased channel selection and equal update frequency across weights; optionally apply channel shuffle to improve cross-group flow.
- Train CGNet end-to-end with differentiable gate approximations, sparsity inducement (target threshold T), and optional knowledge distillation (KD).
- Extend gating with a channel-wise gate to reduce weight memory accesses; merge batch normalization with gate for inference efficiency.
Experimental results
Research questions
- RQ1Can channel gating achieve higher FLOP reduction than static pruning while maintaining or improving accuracy for various CNN architectures?
- RQ2Does per-output-channel gating with learnable thresholds effectively identify and skip ineffective activations at runtime?
- RQ3How does channel grouping affect training stability and accuracy, and can it eliminate bias in weight updates?
- RQ4What are the memory and hardware implications of channel gating, and can it be realized efficiently on dense systolic-array-like accelerators?
- RQ5Does knowledge distillation further improve accuracy at the same or higher FLOP reductions in CGNets?
Key findings
- CGNets reduce computation by 2.7–8.0× with minimal accuracy loss on CIFAR-10 across ResNet-18, VGG, binarized VGG, and MobileNet variants.
- Channel gating also lowers off-chip memory accesses by 2.0–4.4× with CIFAR-10 experiments.
- With KD, ResNet-18 on ImageNet achieves 2.6× compute reduction without accuracy loss (and improved accuracy in some setups).
- Hardware evaluation shows a CGNet accelerator achieves 2.4× speed-up on average over a baseline while offering a theoretical 2.8× FLOP reduction; energy efficiency improves dramatically vs. CPU and GPU baselines.
- Channel grouping reduces bias in weight updates and, when combined with channel shuffle, improves cross-group information flow and accuracy.
- Channel-wise gating further reduces weight accesses, achieving up to 4.4× reduction in memory traffic with modest accuracy impact.
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.