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

Sensors (Basel). 2022 May 27;22(11):4081. doi: 10.3390/s22114081.

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.

Keywords: convolutional neural network; deep learning; mobile computing; model compression; pruning network.

MeSH terms

  • Algorithms
  • Data Compression*
  • Neural Networks, Computer*
  • Physical Phenomena

Grants and funding

This research received no external funding.