GRIM: A General, Real-Time Deep Learning Inference Framework for Mobile Devices based on Fine-Grained Structured Weight Sparsity
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
- 2016Pruning Filters for Efficient ConvNetscited by 1,129
- 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 829
- 2017Channel Pruning for Accelerating Very Deep Neural Networkscited by 697
- 2017Learning Efficient Convolutional Networks through Network Slimmingcited by 673
- 2018Rethinking the Value of Network Pruningcited by 595
- 2015BinaryConnect: Training Deep Neural Networks with binary weights during propagationscited by 571
29 more
- 2016Learning Structured Sparsity in Deep Neural Networkscited by 538
- 2018AMC: AutoML for Model Compression and Acceleration on Mobile Devicescited by 375
- 2014cuDNN: Efficient Primitives for Deep Learningcited by 240
- 2016Network Trimming: A Data-Driven Neuron Pruning Approach towards Efficient Deep Architecturescited by 220
- 2017Learning to Prune Deep Neural Networks via Layer-wise Optimal Brain Surgeoncited by 219
- 2018Discrimination-aware Channel Pruning for Deep Neural Networkscited by 171
- 2015Fixed Point Quantization of Deep Convolutional Networkscited by 141
- 2017SCNN: An Accelerator for Compressed-sparse Convolutional Neural Networkscited by 132
- 2018A Systematic DNN Weight Pruning Framework using Alternating Direction Method of Multiplierscited by 118
- 2018Deep Learning in Mobile and Wireless Networking: A Surveycited by 117
- 2015Fast Algorithms for Convolutional Neural Networkscited by 102
- 2016DeepSense: A Unified Deep Learning Framework for Time-Series Mobile Sensing Data Processingcited by 84
- 2020PatDNN: Achieving Real-Time DNN Execution on Mobile Devices with Pattern-based Weight Pruningcited by 75
- 2014Convergence Analysis of Alternating Direction Method of Multipliers for a Family of Nonconvex Problemscited by 64
- 2020MNN: A Universal and Efficient Inference Enginecited by 64
- 2018TVM: An Automated End-to-End Optimizing Compiler for Deep Learningcited by 62
- 2017Extremely Low Bit Neural Network: Squeeze the Last Bit Out with ADMMcited by 60
- 2017DeepCache: Principled Cache for Mobile Deep Visioncited by 57
- 2016ESE: Efficient Speech Recognition Engine with Sparse LSTM on FPGAcited by 50
- 2019PCONV: The Missing but Desirable Sparsity in DNN Weight Pruning for Real-time Execution on Mobile Devicescited by 48
- 2018ADMM-NN: An Algorithm-Hardware Co-Design Framework of DNNs Using Alternating Direction Method of Multiplierscited by 42
- 2017Zeroth-Order Online Alternating Direction Method of Multipliers: Convergence Analysis and Applicationscited by 22
- 2018C-LSTM: Enabling Efficient LSTM using Structured Compression Techniques on FPGAscited by 21
- 2020RTMobile: Beyond Real-Time Mobile Acceleration of RNNs for Speech Recognitioncited by 19
- 2019Deep Learning on Mobile Devices - A Reviewcited by 16
- 20182PFPCE: Two-Phase Filter Pruning Based on Conditional Entropycited by 14
- 2018E-RNN: Design Optimization for Efficient Recurrent Neural Networks in FPGAscited by 8
- 201926ms Inference Time for ResNet-50: Towards Real-Time Execution of all DNNs on Smartphonecited by 6
- 2018Efficient Hardware Realization of Convolutional Neural Networks using Intra-Kernel Regular Pruningcited by 4
Built on by
Citing papers per year: 2021: 2; 2022: 3; 2023: 1; 2024: 2; 2025: 2.
10 papers.
- 2021SPViT: Enabling Faster Vision Transformers via Soft Token Pruningcited by 165
- 2021MEST: Accurate and Fast Memory-Economic Sparse Training Framework on the Edgecited by 77
- 2022Layer Freezing & Data Sieving: Missing Pieces of a Generic Framework for Sparse Trainingcited by 11
- 2024HGQ: High Granularity Quantization for Real-time Neural Networks on FPGAscited by 9
- 2025da4ml: Distributed Arithmetic for Real-time Neural Networks on FPGAscited by 8
- 2024ONNXPruner: ONNX-Based General Model Pruning Adaptercited by 3
- 2025Kernelized Sparse Fine-Tuning with Bi-level Parameter Competition for Vision Modelscited by 1
- 2022CoCoPIE XGen: A Full-Stack AI-Oriented Optimizing Frameworkcited by 0
- 2022A new way of video compression via forward-referencing using deep learningcited by 0
- 2023Neural Language Model Pruning for Automatic Speech Recognitioncited by 0
- 2025Kernelized Sparse Fine-Tuning with Bi-level Parameter Competition for Vision Models28 Oct 2025
- 2025da4ml: Distributed Arithmetic for Real-time Neural Networks on FPGAs6 Jul 2025
- 2024HGQ: High Granularity Quantization for Real-time Neural Networks on FPGAs1 May 2024
- 2024ONNXPruner: ONNX-Based General Model Pruning Adapter10 Apr 2024
- 2023Neural Language Model Pruning for Automatic Speech Recognition5 Oct 2023
- 2022Layer Freezing & Data Sieving: Missing Pieces of a Generic Framework for Sparse Training22 Sep 2022
- 2022A new way of video compression via forward-referencing using deep learning13 Aug 2022
- 2022CoCoPIE XGen: A Full-Stack AI-Oriented Optimizing Framework21 Jun 2022
- 2021SPViT: Enabling Faster Vision Transformers via Soft Token Pruning27 Dec 2021
- 2021MEST: Accurate and Fast Memory-Economic Sparse Training Framework on the Edge26 Oct 2021
Similar, not cited
Close in wording, no citation either way
- 2021Automatic Mapping of the Best-Suited DNN Pruning Schemes for Real-Time Mobile Acceleration
- 2023SparseByteNN: A Novel Mobile Inference Acceleration Framework Based on Fine-Grained Group Sparsity
- 2026Efficient On-Device Diffusion LLM Inference with Mobile NPU
- 2025Scaling LLM Test-Time Compute with Mobile NPU on Smartphones
- 2024Distributed Inference on Mobile Edge and Cloud: An Early Exit based Clustering Approach
- 2021Communication-Computation Efficient Device-Edge Co-Inference via AutoML
- 2021Split Computing and Early Exiting for Deep Learning Applications: Survey and Research Challenges
- 2024SmartMem: Layout Transformation Elimination and Adaptation for Efficient DNN Execution on Mobile