AMC: AutoML for Model Compression and Acceleration on Mobile Devices

Yihui He, Ji Lin, Zhijian Liu, Hanrui Wang, Li-Jia Li +1 more
2/10/2018
cs.CV

Official code: mit-han-lab/amc (449 stars, MIT, last commit 2023-11-22).

Abstract

Model compression is a critical technique to efficiently deploy neural network models on mobile devices which have limited computation resources and tight power budgets. Conventional model compression techniques rely on hand-crafted heuristics and rule-based policies that require domain experts to explore the large design space trading off among model size, speed, and accuracy, which is usually sub-optimal and time-consuming. In this paper, we propose AutoML for Model Compression (AMC) which leverage reinforcement learning to provide the model compression policy. This learning-based compression policy outperforms conventional rule-based compression policy by having higher compression ratio, better preserving the accuracy and freeing human labor. Under 4x FLOPs reduction, we achieved 2.7% better accuracy than the handcrafted model compression policy for VGG-16 on ImageNet. We applied this automated, push-the-button compression pipeline to MobileNet and achieved 1.81x speedup of measured inference latency on an Android phone and 1.43x speedup on the Titan XP GPU, with only 0.1% loss of ImageNet Top-1 accuracy.

View on arXivView PDF

Code Implementations(1)

mit-han-lab/amcOfficial100%
MIT

[ECCV 2018] AMC: AutoML for Model Compression and Acceleration on Mobile Devices

449116Shell, PythonJun 15, 20192 years agoMIT
automlautoml-for-compressionchannel-pruningefficient-modelmodel-compression+1 more

Similar Papers

Cite this paper

@article{he2018amc,
  title  = {AMC: AutoML for Model Compression and Acceleration on Mobile Devices},
  author = {Yihui He and Ji Lin and Zhijian Liu and Hanrui Wang and Li-Jia Li and Song Han},
  year   = {2018},
  eprint = {1802.03494},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1802.03494}
}

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/1802.03494.svg)](https://codeofpaper.com/paper/1802.03494)

Discussion