HyperAIHyperAI

Command Palette

Search for a command to run...

임베디드 하드웨어를 위한 효율적인 합성곱 신경망을 위한 다차원 가지치기

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

초록

본 논문에서는 임베디드 하드웨어에서의 실행 효율성을 높이기 위해 합성곱 신경망(CNN)의 세 가지 차원(깊이, 너비, 해상도)을 협력적으로 가지치기하는 다차원 가지치기 프레임워크 TECO를 제안한다. TECO에서는 먼저 2단계 중요도 평가 프레임워크를 도입하여, 각 차원 내의 지역적 중요도와 서로 다른 차원 간의 전역적 중요도를 모두 고려해 각 가지치기 단위를 효율적이고 포괄적으로 평가한다. 이 평가 프레임워크를 바탕으로, 정확도와 효율성 간의 최적 절충점을 향해 CNN의 세 차원을 점진적으로 가지치기하는 휴리스틱 가지치기 알고리즘을 제시한다. 여러 벤치마크에 대한 실험을 통해 TECO가 기존 최신(SOTA) 접근법보다 우수함을 검증한다.

One-sentence Summary

Nanyang Technological University, Norwegian University of Science and Technology, and HP Inc. propose TECO, a multi-dimensional pruning framework that collaboratively prunes the depth, width, and resolution of CNNs using a two-stage importance evaluation (assessing local importance within each dimension and global importance across dimensions) and a heuristic algorithm to progressively optimize the accuracy-efficiency trade-off for embedded hardware.

Key Contributions

  • TECO employs a two-stage importance evaluation framework: an inter-dimensional evaluation strategy (ITES) assesses global redundancy across depth, width, and resolution, while an inner-dimensional evaluation strategy (INES) ranks local importance within each dimension.
  • A heuristic pruning algorithm iteratively applies INES and ITES to progressively prune the three dimensions of convolutional neural networks, targeting the optimal trade-off between accuracy and efficiency.
  • On ImageNet, TECO achieves 3.97% higher top-1 accuracy than HRank at similar MACs, and on embedded hardware, it delivers a 1.91× speedup over GAL with 1.12% higher accuracy.

Introduction

Modern deep convolutional neural networks are foundational to many applications, but their billions of multiply-accumulate operations make them prohibitively expensive for edge devices where low latency and data privacy are critical. Prior pruning techniques compress models by removing redundancy from a single dimension—depth (layers), width (channels), or input resolution—leaving cross-dimensional redundancy untouched and resulting in a suboptimal trade-off between accuracy and efficiency. The authors propose TECO, a multi-dimensional pruning framework that jointly prunes the depth, width, and resolution of CNNs. It introduces an inter-dimensional evaluation strategy that computes a global importance metric combining model complexity, accuracy, and inference latency to accurately identify redundant units across all dimensions, paired with an inner-dimensional evaluation strategy that quickly narrows pruning candidates, enabling a heuristic search for the optimal compact architecture for resource-constrained embedded devices.

Method

The authors propose TECO, a multi-dimensional pruning framework designed to optimize CNN models by balancing accuracy and execution efficiency. The overall architecture of TECO is illustrated in the framework diagram.

Given a baseline CNN model N\mathcal{N}N, the method operates through an iterative process known as Heuristic Architecture Descent. In each iteration, the authors first employ INES to rapidly assess the local importance of each unit within each dimension, specifically depth, width, and resolution. Based on these local importance scores, the least important unit from each dimension is selected for further analysis. Note that the inner-dimensional evaluation is skipped for the resolution dimension.

Subsequently, these selected units undergo ITES. In this stage, units of different granularities are compared fairly based on their global importance scores. The unit with the lowest global importance score is then pruned safely. Following the pruning step, the model is fine-tuned on the training dataset DtD_tDt for one epoch using an SGD optimizer with a learning rate of 1e-4 to restore accuracy for the next iteration.

This cycle of INES and ITES is executed iteratively for nnn iterations to progressively prune the three dimensions of the CNN model. The number of iterations nnn is determined by the target resource budget, where a smaller budget requires a larger nnn. In practice, 10 iterations are typically sufficient to obtain a compact model Np\mathcal{N}_pNp. Finally, the completely pruned model is trained from scratch to achieve the final accuracy. This heuristic approach significantly reduces exploration overhead compared to global search algorithms that directly search the vast design space.

Experiment

The experiments evaluate the proposed multi-dimensional pruning framework TECO, which combines inter-dimensional (ITES) and inner-dimensional (INES) importance evaluation to jointly prune network depth, width, and resolution. Evaluated on ImageNet and CIFAR-10 with on-device latency measured on Jetson Nano, TX2, and AGX Xavier, TECO consistently achieves better accuracy and latency trade-offs than state-of-the-art methods. Ablation studies confirm that the cooperative INES and ITES strategy reduces pruning cost by over 83% while maintaining performance, and interpretability analysis shows TECO captures full foreground objects for more accurate predictions. Overall, the method effectively reduces redundancy across dimensions, improving both accuracy and inference efficiency on edge devices.

Multi-dimensional pruning that jointly optimizes depth, width, and resolution outperforms state-of-the-art single-dimension methods on ImageNet with ResNet50, achieving better accuracy and efficiency by identifying redundancy across all three dimensions. The method prunes the network across depth, width, and resolution simultaneously, rather than focusing on a single dimension. Inner-dimensional evaluation (INES) and inter-dimensional evaluation (ITES) are used iteratively to select the most redundant components, improving final model accuracy. Compared to single-dimensional pruning approaches, the proposed multi-dimensional strategy leverages the whole foreground object for prediction, leading to more accurate and robust features.

On CIFAR-10, TECO-Tiny achieves the highest accuracy among all pruned ResNet110 variants, while also attaining the lowest inference latency on Jetson Nano. It reduces MACs by 57% compared to the baseline yet improves accuracy by 0.44 percentage points, demonstrating effective removal of redundancy and mitigation of overfitting. The method delivers a better latency-accuracy trade-off than prior pruning approaches, with lower latency than HRank-2 and higher accuracy. TECO-Tiny delivers 93.94% top-1 accuracy, the highest among all pruned models, while reducing inference latency to 2.94 ms, the lowest reported. Relative to the baseline ResNet110, it cuts MACs by 57% and still gains 0.44 percentage points in accuracy.

Removing the INES and ITES evaluation strategies from multi-dimensional pruning results in accuracy comparable to single-dimension methods, showing no advantage. Applying ITES alone yields the best accuracy and resource savings but at an extremely high pruning cost, while combining INES and ITES dramatically reduces that cost and maintains competitive performance. Without INES and ITES, multi-dimensional pruning achieves only 74.67% accuracy, similar to width-only pruning (74.65%), indicating no meaningful gain over single-dimension pruning. Using ITES alone produces the highest accuracy (75.71%) and the lowest MACs (2.12B) and latency (6.42 ms), but the pruning cost is 179.42 hours, making it impractical. Combining INES and ITES cuts the pruning cost by 83.21% compared to ITES alone while preserving strong accuracy and efficiency, demonstrating the framework's practical value.

The evaluation on ImageNet with ResNet50 and CIFAR-10 with ResNet110 demonstrates that multi-dimensional pruning jointly optimizing depth, width, and resolution outperforms single-dimension methods, yielding higher accuracy and lower inference latency. The TECO-Tiny variant on CIFAR-10 achieves the best accuracy and fastest latency among pruned ResNet110 models, confirming effective redundancy removal. Ablation studies reveal that the inner- and inter-dimensional evaluation strategies (INES and ITES) are essential; using ITES alone provides the highest accuracy and efficiency but incurs prohibitive pruning cost, while their combination dramatically reduces that cost and maintains strong performance, validating the framework's practical value.


AI로 AI 구축

아이디어에서 출시까지 — 무료 AI 코코딩, 즉시 사용 가능한 환경, 최적의 GPU 가격으로 AI 개발을 가속화하세요.

AI 협업 코딩
바로 사용 가능한 GPU
최적의 가격

HyperAI Newsletters

최신 정보 구독하기
한국 시간 매주 월요일 오전 9시 에 이번 주의 최신 업데이트를 메일로 발송합니다
이메일 서비스 제공: MailChimp