LegoDNN: Block-grained Scaling of Deep Neural Networks for Mobile Vision
Not on the map. Why?
Abstract (arXiv)
Deep neural networks (DNNs) have become ubiquitous techniques in mobile and embedded systems for applications such as image/object recognition and classification. The trend of executing multiple DNNs simultaneously exacerbate the existing limitations of meeting stringent latency/accuracy requirements on resource constrained mobile devices. The prior art sheds light on exploring the accuracy-resource tradeoff by scaling the model sizes in accordance to resource dynamics. However, such model scaling approaches face to imminent challenges: (i) large space exploration of model sizes, and (ii) prohibitively long training time for different model combinations. In this paper, we present LegoDNN, a lightweight, block-grained scaling solution for running multi-DNN workloads in mobile vision systems. LegoDNN guarantees short model training times by only extracting and training a small number of common blocks (e.g. 5 in VGG and 8 in ResNet) in a DNN. At run-time, LegoDNN optimally combines the descendant models of these blocks to maximize accuracy under specific resources and latency constraints, while reducing switching overhead via smart block-level scaling of the DNN. We implement LegoDNN in TensorFlow Lite and extensively evaluate it against state-of-the-art techniques (FLOP scaling, knowledge distillation and model compression) using a set of 12 popular DNN models. Evaluation results show that LegoDNN provides 1,296x to 279,936x more options in model sizes without increasing training time, thus achieving as much as 31.74% improvement in inference accuracy and 71.07% reduction in scaling energy consumptions.
Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 39 of its 68 references that are in the map. First posted on arXiv 18 Dec 2021.
Builds on
39 of 68 references.
References · 39
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2017Squeeze-and-Excitation Networkscited by 4,763
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2016Wide Residual Networkscited by 3,057
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2018CBAM: Convolutional Block Attention Modulecited by 2,463
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2016Neural Architecture Search with Reinforcement Learningcited by 1,489
27 more
- 2016YOLO9000: Better, Faster, Strongercited by 1,429
- 2016Pruning Filters for Efficient ConvNetscited by 1,129
- 2018MnasNet: Platform-Aware Neural Architecture Search for Mobilecited by 937
- 2019Contrastive Representation Distillationcited by 734
- 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 591
- 2019Importance Estimation for Neural Network Pruningcited by 531
- 2017Residual Attention Network for Image Classificationcited by 385
- 2018Filter Pruning via Geometric Median for Deep Convolutional Neural Networks Accelerationcited by 365
- 2020HRank: Filter Pruning using High-Rank Feature Mapcited by 291
- 2019A Survey of the Recent Architectures of Deep Convolutional Neural Networkscited by 211
- 2017BlockDrop: Dynamic Inference Paths in Residual Networkscited by 185
- 2015Compression of Deep Convolutional Neural Networks for Fast and Low Power Mobile Applicationscited by 161
- 2017Convolutional Networks with Adaptive Inference Graphscited by 147
- 2016Designing Energy-Efficient Convolutional Neural Networks using Energy-Aware Pruningcited by 133
- 2017Distributed Deep Neural Networks over the Cloud, the Edge and End Devicescited by 119
- 2019Provable Filter Pruning for Efficient Neural Networkscited by 98
- 2018Channel Gating Neural Networkscited by 80
- 2019And the Bit Goes Down: Revisiting the Quantization of Neural Networkscited by 78
- 2018NestDNN: Resource-Aware Multi-Tenant On-Device Deep Learning for Continuous Mobile Visioncited by 68
- 2018Chameleon: A Hybrid Secure Computation Framework for Machine Learning Applicationscited by 67
- 2018Edge Intelligence: On-Demand Deep Learning Model Co-Inference with Device-Edge Synergycited by 50
- 2018A First Look at Deep Learning Apps on Smartphonescited by 47
- 2018JALAD: Joint Accuracy- and Latency-Aware Deep Structure Decoupling for Edge-Cloud Executioncited by 38
- 2018Edge-Host Partitioning of Deep Neural Networks with Feature Space Encoding for Resource-Constrained Internet-of-Things Platformscited by 35
- 2020HAPI: Hardware-Aware Progressive Inferencecited by 30
- 2017Multi-Scale Dense Networks for Resource Efficient Image Classificationcited by 15
- 2018ReXCam: Resource-Efficient, Cross-Camera Video Analytics at Scalecited by 4
Built on by
Citing papers per year: 2022: 1; 2023: 7; 2024: 6; 2025: 4; 2026: 2.
20 papers.
Sort:
By area:
- 2023LLMCad: Fast and Scalable On-device Large Language Model Inferencecited by 45
- 2023SwapMoE: Serving Off-the-shelf MoE-based Large Language Models with Tunable Memory Budgetcited by 27
- 2023AdaptiveNet: Post-deployment Neural Architecture Adaptation for Diverse Edge Environmentscited by 19
- 2023MergeSFL: Split Federated Learning with Feature Merging and Batch Size Regulationcited by 13
- 2022Edge Video Analytics: A Survey on Applications, Systems and Enabling Techniquescited by 7
- 2024Elastic On-Device LLM Servicecited by 3
- 2024Panopticus: Omnidirectional 3D Object Detection on Resource-constrained Edge Devicescited by 3
- 2023ECLM: Efficient Edge-Cloud Collaborative Learning with Continuous Environment Adaptationcited by 1
- 2024CARIn: Constraint-Aware and Responsive Inference on Heterogeneous Devices for Single- and Multi-DNN Workloadscited by 1
- 2024DARDA: Domain-Aware Real-Time Dynamic Neural Network Adaptationcited by 1
- 2024AdaScale: Dynamic Context-aware DNN Scaling via Automated Adaptation Loop on Mobile Devicescited by 1
- 2023Hierarchical Memory Pool Based Edge Semi-Supervised Continual Learning Methodcited by 0
8 more
- 2023Generative Model for Models: Rapid DNN Customization for Diverse Tasks and Resource Constraintscited by 0
- 2024BRIEDGE: EEG-Adaptive Edge AI for Multi-Brain to Multi-Robot Interactioncited by 0
- 2025Moss: Proxy Model-based Full-Weight Aggregation in Federated Learning with Heterogeneous Modelscited by 0
- 2025Towards Adaptive Deep Learning: Model Elasticity via Prune-and-Grow CNN Architecturescited by 0
- 2025XTransfer: Modality-Agnostic Few-Shot Model Transfer for Human Sensing at the Edgecited by 0
- 2025AutoTailor: Automatic and Efficient Adaptive Model Deployment for Diverse Edge Devicescited by 0
- 2026MO-SAE:Multi-Objective Stacked Autoencoders Optimization for Edge Anomaly Detectioncited by 0
- 2026Elastoformer: Enabling Dynamic Adaptivity via Elastic Model Transformationcited by 0
- 2026Elastoformer: Enabling Dynamic Adaptivity via Elastic Model Transformation9 Sep 2026
- 2026MO-SAE:Multi-Objective Stacked Autoencoders Optimization for Edge Anomaly Detection14 Mar 2026
- 2025AutoTailor: Automatic and Efficient Adaptive Model Deployment for Diverse Edge Devices27 Nov 2025
- 2025XTransfer: Modality-Agnostic Few-Shot Model Transfer for Human Sensing at the Edge28 Jun 2025
- 2025Towards Adaptive Deep Learning: Model Elasticity via Prune-and-Grow CNN Architectures16 May 2025
- 2025Moss: Proxy Model-based Full-Weight Aggregation in Federated Learning with Heterogeneous Models13 Mar 2025
- 2024AdaScale: Dynamic Context-aware DNN Scaling via Automated Adaptation Loop on Mobile Devices1 Dec 2024
- 2024Panopticus: Omnidirectional 3D Object Detection on Resource-constrained Edge Devices2 Oct 2024
- 2024DARDA: Domain-Aware Real-Time Dynamic Neural Network Adaptation15 Sep 2024
- 2024Elastic On-Device LLM Service8 Sep 2024
- 2024CARIn: Constraint-Aware and Responsive Inference on Heterogeneous Devices for Single- and Multi-DNN Workloads2 Sep 2024
- 2024BRIEDGE: EEG-Adaptive Edge AI for Multi-Brain to Multi-Robot Interaction14 Mar 2024
8 more
- 2023MergeSFL: Split Federated Learning with Feature Merging and Batch Size Regulation22 Nov 2023
- 2023ECLM: Efficient Edge-Cloud Collaborative Learning with Continuous Environment Adaptation18 Nov 2023
- 2023LLMCad: Fast and Scalable On-device Large Language Model Inference8 Sep 2023
- 2023SwapMoE: Serving Off-the-shelf MoE-based Large Language Models with Tunable Memory Budget29 Aug 2023
- 2023Generative Model for Models: Rapid DNN Customization for Diverse Tasks and Resource Constraints29 Aug 2023
- 2023AdaptiveNet: Post-deployment Neural Architecture Adaptation for Diverse Edge Environments13 Mar 2023
- 2023Hierarchical Memory Pool Based Edge Semi-Supervised Continual Learning Method17 Jan 2023
- 2022Edge Video Analytics: A Survey on Applications, Systems and Enabling Techniques28 Nov 2022
- 2023LLMCad: Fast and Scalable On-device Large Language Model Inferencecited by 45
- 2023AdaptiveNet: Post-deployment Neural Architecture Adaptation for Diverse Edge Environmentscited by 19
- 2023MergeSFL: Split Federated Learning with Feature Merging and Batch Size Regulationcited by 13
- 2022Edge Video Analytics: A Survey on Applications, Systems and Enabling Techniquescited by 7
- 2024Elastic On-Device LLM Servicecited by 3
- 2024Panopticus: Omnidirectional 3D Object Detection on Resource-constrained Edge Devicescited by 3
- 2023ECLM: Efficient Edge-Cloud Collaborative Learning with Continuous Environment Adaptationcited by 1
- 2024CARIn: Constraint-Aware and Responsive Inference on Heterogeneous Devices for Single- and Multi-DNN Workloadscited by 1
- 2024DARDA: Domain-Aware Real-Time Dynamic Neural Network Adaptationcited by 1
- 2024AdaScale: Dynamic Context-aware DNN Scaling via Automated Adaptation Loop on Mobile Devicescited by 1
- 2023Hierarchical Memory Pool Based Edge Semi-Supervised Continual Learning Methodcited by 0
- 2023Generative Model for Models: Rapid DNN Customization for Diverse Tasks and Resource Constraintscited by 0
12 most cited of 19 All 19 (JSON)
- 2026Elastoformer: Enabling Dynamic Adaptivity via Elastic Model Transformation9 Sep 2026
- 2026MO-SAE:Multi-Objective Stacked Autoencoders Optimization for Edge Anomaly Detection14 Mar 2026
- 2025AutoTailor: Automatic and Efficient Adaptive Model Deployment for Diverse Edge Devices27 Nov 2025
- 2025XTransfer: Modality-Agnostic Few-Shot Model Transfer for Human Sensing at the Edge28 Jun 2025
- 2025Towards Adaptive Deep Learning: Model Elasticity via Prune-and-Grow CNN Architectures16 May 2025
- 2025Moss: Proxy Model-based Full-Weight Aggregation in Federated Learning with Heterogeneous Models13 Mar 2025
- 2024AdaScale: Dynamic Context-aware DNN Scaling via Automated Adaptation Loop on Mobile Devices1 Dec 2024
- 2024Panopticus: Omnidirectional 3D Object Detection on Resource-constrained Edge Devices2 Oct 2024
- 2024DARDA: Domain-Aware Real-Time Dynamic Neural Network Adaptation15 Sep 2024
- 2024Elastic On-Device LLM Service8 Sep 2024
- 2024CARIn: Constraint-Aware and Responsive Inference on Heterogeneous Devices for Single- and Multi-DNN Workloads2 Sep 2024
- 2024BRIEDGE: EEG-Adaptive Edge AI for Multi-Brain to Multi-Robot Interaction14 Mar 2024
12 newest of 19 All 19 (JSON)