MobilePrune: Neural Network Compression via Sparse Group Lasso on the Mobile System.

Journal: Sensors (Basel, Switzerland)
Published Date:

Abstract

It is hard to directly deploy deep learning models on today's smartphones due to the substantial computational costs introduced by millions of parameters. To compress the model, we develop an ℓ0-based sparse group lasso model called MobilePrune which can generate extremely compact neural network models for both desktop and mobile platforms. We adopt group lasso penalty to enforce sparsity at the group level to benefit General Matrix Multiply (GEMM) and develop the very first algorithm that can optimize the ℓ0 norm in an exact manner and achieve the global convergence guarantee in the deep learning context. MobilePrune also allows complicated group structures to be applied on the group penalty (i.e., trees and overlapping groups) to suit DNN models with more complex architectures. Empirically, we observe the substantial reduction of compression ratio and computational costs for various popular deep learning models on multiple benchmark datasets compared to the state-of-the-art methods. More importantly, the compression models are deployed on the android system to confirm that our approach is able to achieve less response delay and battery consumption on mobile phones.

Authors

  • Yubo Shao
    Department of Computer Science, Purdue University, West Lafayette, IN 47907, USA.
  • Kaikai Zhao
    Department of Computer Science, Indiana University at Bloomington, Bloomington, IN 47405, USA.
  • Zhiwen Cao
    Institute of Basic Research in Clinical Medicine, China Academy of Chinese Medical Sciences, Beijing, 100700, People's Republic of China.
  • Zhehao Peng
    Department of Computer Science, Purdue University, West Lafayette, IN 47907, USA.
  • Xingang Peng
    Institute for Interdisciplinary Information Sciences, Tsinghua University, Beijing 100190, China.
  • Pan Li
    Department of Infections,Beijing Hospital of Traditional Chinese Medicine, Affiliated to the Capital Medical University, No. 23, Back Road of the Art Gallery, Dongcheng District, Beijing 100010, China.
  • Yijie Wang
    College of Computer, National University of Defense Technology, Changsha 410073, China.
  • Jianzhu Ma
    Toyota Technological Institute at Chicago, 6045 S. Kenwood Ave. Chicago, Illinois 60637 USA.