CompactNet: Platform-Aware Automatic Optimization for Convolutional Neural Networks

Weicheng Li, Rui Wang, Zhongzhi Luan, Di Huang, Zidong Du +2 more
5/28/2019
cs.LGstat.ML

Official code: CompactNet/CompactNet (6 stars, Python, GPL-3.0, last commit 2019-04-15).

Abstract

Convolutional Neural Network (CNN) based Deep Learning (DL) has achieved great progress in many real-life applications. Meanwhile, due to the complex model structures against strict latency and memory restriction, the implementation of CNN models on the resource-limited platforms is becoming more challenging.

Show full abstract

This work proposes a solution, called CompactNet\footnote{Project URL: \url{https://github.com/CompactNet/CompactNet}}, which automatically optimizes a pre-trained CNN model on a specific resource-limited platform given a specific target of inference speedup. Guided by a simulator of the target platform, CompactNet progressively trims a pre-trained network by removing certain redundant filters until the target speedup is reached and generates an optimal platform-specific model while maintaining the accuracy. We evaluate our work on two platforms of a mobile ARM CPU and a machine learning accelerator NPU (Cambricon-1A ISA) on a Huawei Mate10 smartphone. For the state-of-the-art slim CNN model made for the embedded platform, MobileNetV2, CompactNet achieves up to a 1.8x kernel computation speedup with equal or even higher accuracy for image classification tasks on the Cifar-10 dataset.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Purposive and Platform-Aware Optimization for Convolutional Neural Network

61PythonJan 22, 20197 years agoGPL-3.0

Similar Papers

Cite this paper

@article{li2019compactnet,
  title  = {CompactNet: Platform-Aware Automatic Optimization for Convolutional Neural Networks},
  author = {Weicheng Li and Rui Wang and Zhongzhi Luan and Di Huang and Zidong Du and Yunji Chen and Depei Qian},
  year   = {2019},
  eprint = {1905.11669},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.11669}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1905.11669.svg)](https://codeofpaper.com/paper/1905.11669)

Discussion