NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards Efficient Convolutional Neural Network for Embedded Hardware via Multi-Dimensional Pruning

Hao Kong, Di Liu, Xiangzhong Luo, Shuo Huai, Ravi Subramaniam, Christian Makaya, Qian Lin, Weichen LiuDAC 2023

TL;DR

This paper introduces TECO, a novel multi-dimensional pruning framework that simultaneously prunes the depth, width, and resolution of Convolutional Neural Networks (CNNs). By employing a two-stage importance evaluation strategy (ITES and INES) and a heuristic descent algorithm, TECO efficiently finds optimal, compact CNN architectures for embedded hardware, achieving better accuracy-efficiency trade-offs than existing single-dimensional or partially multi-dimensional pruning methods.

What Problem Does This Paper Address?

Deploying powerful deep learning models, particularly Convolutional Neural Networks (CNNs), on resource-constrained embedded devices like those in autonomous driving or smart cameras is a significant challenge. Modern CNNs are computationally expensive, often requiring billions of operations (e.g., ResNet50 has 4.1 billion MACs), making them prohibitive for edge hardware due to limitations in processing power, memory, and energy consumption. While neural network pruning techniques aim to compress these models by removing redundant parameters and computations, existing methods typically focus on pruning only one dimension (depth, width, or resolution) at a time. This single-minded approach leads to suboptimal trade-offs between model accuracy and efficiency, as it fails to exploit the full potential for compression across all dimensions simultaneously.

Methods

TECO tackles this problem with a multi-pronged approach:

  • Multi-Dimensional Pruning: Unlike prior work that prunes dimensions in isolation, TECO prunes depth (layers), width (channels), and resolution (input image size) collaboratively.
  • Two-Stage Importance Evaluation:
    • Inner-Dimensional Importance Evaluation (INES): This stage quickly assesses the local importance of pruning units within each dimension (depth, width). It leverages a novel "fully gated residual bottleneck block" architecture that allows for efficient gradient calculation for channel and layer gates. This step narrows down the candidates for pruning within each dimension to just the least important unit.
  • Inter-Dimensional Importance Evaluation (ITES): This stage evaluates the global importance of the selected units across different dimensions. It integrates three key metrics: accuracy impact (change in cross-entropy loss), model complexity (reduction in MACs), and on-device inference latency. A unified "global importance" score is computed, allowing for a fair comparison of units from different dimensions.
  • Heuristic Architecture Descent: This algorithm iteratively applies INES and ITES. In each iteration, it identifies the least important unit across all dimensions based on their global importance and prunes it. The model is then fine-tuned to recover accuracy. This process is repeated for a set number of iterations, gradually descending towards an optimal architecture for a given resource budget. This approach is inspired by gradient descent but applied to architecture search.

Datasets

The paper uses the following datasets:

  • ImageNet: Used for training and evaluating models in the context of large-scale image classification.
  • CIFAR-10: Used for experiments on extremely resource-constrained environments (TinyML) and compressing smaller models.

Key Insights and Ideas

  • Synergy of Multi-Dimensional Pruning: The core insight is that pruning across depth, width, and resolution simultaneously unlocks significantly better accuracy-efficiency trade-offs than pruning dimensions independently. This is because these dimensions offer complementary ways to reduce model complexity.
  • The Power of a Unified Metric: ITES's ability to combine accuracy, MACs, and latency into a single "global importance" score is crucial for making informed pruning decisions across diverse dimensions. This moves beyond single-metric optimization (like just accuracy or just MACs).
  • Efficiency through Two-Stage Evaluation: The combination of INES (fast local evaluation) and ITES (focused global evaluation) is key to making multi-dimensional pruning computationally feasible. Without INES, ITES would be prohibitively slow.
  • Latency Model for Efficiency: Developing a dimension-wise latency model that relates MACs reduction to latency reduction is a clever way to incorporate on-device performance into the pruning process without requiring constant, slow measurements on hardware.
  • Visualizing Pruning Impact: Class Activation Maps (CAMs) reveal that TECO's pruning leads to models that utilize more of the foreground object for prediction, suggesting a more robust and less feature-overlooked representation compared to single-dimensional pruning.

Key Results

  • ImageNet Performance: TECO achieves higher top-1 accuracy than state-of-the-art (SOTA) pruning methods like HRank and GAL, often with comparable or reduced MACs. For example, TECO-S achieves 3.36% higher accuracy with fewer MACs than DECORE-4. TECO-L outperforms SSS-32 with higher accuracy.
  • On-Device Acceleration: TECO demonstrates superior performance on embedded platforms (AGX Xavier, Jetson TX2, Jetson Nano). It achieves higher accuracy with significantly reduced latency compared to competitors. For instance, on Jetson Nano, TECO-S is 1.91x faster than GAL with 1.12% higher accuracy.
  • CIFAR-10 Compression: For extremely resource-constrained scenarios, TECO achieves an excellent latency-accuracy trade-off, reducing MACs by 57% on ResNet110 while improving accuracy.
  • Ablation Study: The study confirms that both INES and ITES are essential. While ITES alone provides good results, it incurs an unbearable time cost. Collaborating INES and ITES significantly reduces pruning cost (by 83.21%) while maintaining competitive performance.

Limitations and Future Work

  • Resolution Pruning Evaluation: The paper notes that directly evaluating pruning units for the resolution dimension on large datasets like ImageNet is impractical due to overhead. Their solution is to uniformly shrink images, which bypasses the need for INES for this dimension. This might be a limitation if more fine-grained resolution pruning is desired.
  • Hyperparameter Tuning: The paper mentions empirical tuning of hyperparameters like a in the global importance formula and the number of pruning iterations n. Finding optimal values for these might require further exploration for different architectures and hardware.
  • Future Work: The authors suggest that their framework can be extended to other network architectures and hardware platforms. The interpretability analysis also opens avenues for understanding how pruning affects model representations.

Summary updated

BibTeX
@inproceedings{kong2023towards,
  author = {Hao Kong and Di Liu and Xiangzhong Luo and Shuo Huai and Ravi Subramaniam and Christian Makaya and Qian Lin and Weichen Liu},
  title = {{Towards Efficient Convolutional Neural Network for Embedded Hardware via Multi-Dimensional Pruning}},
  booktitle = {DAC},
  year = {2023},
  url = {https://openreview.net/forum?id=eozgygb1rF},
}
Figure