English

To Compress, or Not to Compress: Characterizing Deep Learning Model Compression for Embedded Inference

Machine Learning 2018-10-23 v1 Distributed, Parallel, and Cluster Computing Performance Machine Learning

Abstract

The recent advances in deep neural networks (DNNs) make them attractive for embedded systems. However, it can take a long time for DNNs to make an inference on resource-constrained computing devices. Model compression techniques can address the computation issue of deep inference on embedded devices. This technique is highly attractive, as it does not rely on specialized hardware, or computation-offloading that is often infeasible due to privacy concerns or high latency. However, it remains unclear how model compression techniques perform across a wide range of DNNs. To design efficient embedded deep learning solutions, we need to understand their behaviors. This work develops a quantitative approach to characterize model compression techniques on a representative embedded deep learning architecture, the NVIDIA Jetson Tx2. We perform extensive experiments by considering 11 influential neural network architectures from the image classification and the natural language processing domains. We experimentally show that how two mainstream compression techniques, data quantization and pruning, perform on these network architectures and the implications of compression techniques to the model storage size, inference time, energy consumption and performance metrics. We demonstrate that there are opportunities to achieve fast deep inference on embedded systems, but one must carefully choose the compression settings. Our results provide insights on when and how to apply model compression techniques and guidelines for designing efficient embedded deep learning systems.

Keywords

Cite

@article{arxiv.1810.08899,
  title  = {To Compress, or Not to Compress: Characterizing Deep Learning Model Compression for Embedded Inference},
  author = {Qing Qin and Jie Ren and Jialong Yu and Ling Gao and Hai Wang and Jie Zheng and Yansong Feng and Jianbin Fang and Zheng Wang},
  journal= {arXiv preprint arXiv:1810.08899},
  year   = {2018}
}

Comments

8 pages, To appear in ISPA 2018

R2 v1 2026-06-23T04:47:10.205Z