mlsanityData to 7 Oct 2026

GRIM: A General, Real-Time Deep Learning Inference Framework for Mobile Devices based on Fine-Grained Structured Weight Sparsity

arXiv 2108.11033 ↗First posted 25 Aug 2021cs.LG cs.AIcited by 10

On the map: Efficient LLM inference and serving → Early exit and edge inference

Abstract (arXiv)

It is appealing but challenging to achieve real-time deep neural network (DNN) inference on mobile devices because even the powerful modern mobile devices are considered as ``resource-constrained'' when executing large-scale DNNs. It necessitates the sparse model inference via weight pruning, i.e., DNN weight sparsity, and it is desirable to design a new DNN weight sparsity scheme that can facilitate real-time inference on mobile devices while preserving a high sparse model accuracy. This paper designs a novel mobile inference acceleration framework GRIM that is General to both convolutional neural networks (CNNs) and recurrent neural networks (RNNs) and that achieves Real-time execution and high accuracy, leveraging fine-grained structured sparse model Inference and compiler optimizations for Mobiles. We start by proposing a new fine-grained structured sparsity scheme through the Block-based Column-Row (BCR) pruning. Based on this new fine-grained structured sparsity, our GRIM framework consists of two parts: (a) the compiler optimization and code generation for real-time mobile inference; and (b) the BCR pruning optimizations for determining pruning hyperparameters and performing weight pruning. We compare GRIM with Alibaba MNN, TVM, TensorFlow-Lite, a sparse implementation based on CSR, PatDNN, and ESE (a representative FPGA inference acceleration framework for RNNs), and achieve up to 14.08x speedup.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Early exit and edge inference, one of 12 directions in Efficient LLM inference and serving. Builds on 41 of its 61 references that are in the map. First posted on arXiv 25 Aug 2021.

Builds on

41 of 61 references.

References · 41

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  4. 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
  5. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
  6. 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
  7. 2016Pruning Filters for Efficient ConvNetscited by 1,129
  8. 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
  9. 2017Channel Pruning for Accelerating Very Deep Neural Networkscited by 697
  10. 2017Learning Efficient Convolutional Networks through Network Slimmingcited by 673
  11. 2018Rethinking the Value of Network Pruningcited by 595
  12. 2015BinaryConnect: Training Deep Neural Networks with binary weights during propagationscited by 571
29 more
  1. 2016Learning Structured Sparsity in Deep Neural Networkscited by 538
  2. 2018AMC: AutoML for Model Compression and Acceleration on Mobile Devicescited by 375
  3. 2014cuDNN: Efficient Primitives for Deep Learningcited by 240
  4. 2016Network Trimming: A Data-Driven Neuron Pruning Approach towards Efficient Deep Architecturescited by 220
  5. 2017Learning to Prune Deep Neural Networks via Layer-wise Optimal Brain Surgeoncited by 219
  6. 2018Discrimination-aware Channel Pruning for Deep Neural Networkscited by 171
  7. 2015Fixed Point Quantization of Deep Convolutional Networkscited by 141
  8. 2017SCNN: An Accelerator for Compressed-sparse Convolutional Neural Networkscited by 132
  9. 2018A Systematic DNN Weight Pruning Framework using Alternating Direction Method of Multiplierscited by 118
  10. 2018Deep Learning in Mobile and Wireless Networking: A Surveycited by 117
  11. 2015Fast Algorithms for Convolutional Neural Networkscited by 102
  12. 2016DeepSense: A Unified Deep Learning Framework for Time-Series Mobile Sensing Data Processingcited by 84
  13. 2020PatDNN: Achieving Real-Time DNN Execution on Mobile Devices with Pattern-based Weight Pruningcited by 75
  14. 2014Convergence Analysis of Alternating Direction Method of Multipliers for a Family of Nonconvex Problemscited by 64
  15. 2020MNN: A Universal and Efficient Inference Enginecited by 64
  16. 2018TVM: An Automated End-to-End Optimizing Compiler for Deep Learningcited by 62
  17. 2017Extremely Low Bit Neural Network: Squeeze the Last Bit Out with ADMMcited by 60
  18. 2017DeepCache: Principled Cache for Mobile Deep Visioncited by 57
  19. 2016ESE: Efficient Speech Recognition Engine with Sparse LSTM on FPGAcited by 50
  20. 2019PCONV: The Missing but Desirable Sparsity in DNN Weight Pruning for Real-time Execution on Mobile Devicescited by 48
  21. 2018ADMM-NN: An Algorithm-Hardware Co-Design Framework of DNNs Using Alternating Direction Method of Multiplierscited by 42
  22. 2017Zeroth-Order Online Alternating Direction Method of Multipliers: Convergence Analysis and Applicationscited by 22
  23. 2018C-LSTM: Enabling Efficient LSTM using Structured Compression Techniques on FPGAscited by 21
  24. 2020RTMobile: Beyond Real-Time Mobile Acceleration of RNNs for Speech Recognitioncited by 19
  25. 2019Deep Learning on Mobile Devices - A Reviewcited by 16
  26. 20182PFPCE: Two-Phase Filter Pruning Based on Conditional Entropycited by 14
  27. 2018E-RNN: Design Optimization for Efficient Recurrent Neural Networks in FPGAscited by 8
  28. 201926ms Inference Time for ResNet-50: Towards Real-Time Execution of all DNNs on Smartphonecited by 6
  29. 2018Efficient Hardware Realization of Convolutional Neural Networks using Intra-Kernel Regular Pruningcited by 4

Built on by

Cited by year

Citing papers per year: 2021: 2; 2022: 3; 2023: 1; 2024: 2; 2025: 2.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2021Automatic Mapping of the Best-Suited DNN Pruning Schemes for Real-Time Mobile Acceleration
  2. 2023SparseByteNN: A Novel Mobile Inference Acceleration Framework Based on Fine-Grained Group Sparsity
  3. 2026Efficient On-Device Diffusion LLM Inference with Mobile NPU
  4. 2025Scaling LLM Test-Time Compute with Mobile NPU on Smartphones
  5. 2024Distributed Inference on Mobile Edge and Cloud: An Early Exit based Clustering Approach
  6. 2021Communication-Computation Efficient Device-Edge Co-Inference via AutoML
  7. 2021Split Computing and Early Exiting for Deep Learning Applications: Survey and Research Challenges
  8. 2024SmartMem: Layout Transformation Elimination and Adaptation for Efficient DNN Execution on Mobile