ML-EXray: Visibility into ML Deployment on the Edge
Not on the map. Why?
Abstract (arXiv)
Benefiting from expanding cloud infrastructure, deep neural networks (DNNs) today have increasingly high performance when trained in the cloud. Researchers spend months of effort competing for an extra few percentage points of model accuracy. However, when these models are actually deployed on edge devices in practice, very often, the performance can abruptly drop over 10% without obvious reasons. The key challenge is that there is not much visibility into ML inference execution on edge devices, and very little awareness of potential issues during the edge deployment process. We present ML-EXray, an end-to-end framework, which provides visibility into layer-level details of the ML execution, and helps developers analyze and debug cloud-to-edge deployment issues. More often than not, the reason for sub-optimal edge performance does not only lie in the model itself, but every operation throughout the data flow and the deployment process. Evaluations show that ML-EXray can effectively catch deployment issues, such as pre-processing bugs, quantization issues, suboptimal kernels, etc. Using ML-EXray, users need to write less than 15 lines of code to fully examine the edge deployment pipeline. Eradicating these issues, ML-EXray can correct model performance by up to 30%, pinpoint error-prone layers, and guide users to optimize kernel execution latency by two orders of magnitude. Code and APIs will be released as an open-source multi-lingual instrumentation library and a Python deployment validation library.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 25 of its 50 references that are in the map. First posted on arXiv 8 Nov 2021.
Builds on
25 of 50 references.
References · 25
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2015SSD: Single Shot MultiBox Detectorcited by 3,125
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2017VoxelNet: End-to-End Learning for Point Cloud Based 3D Object Detectioncited by 1,323
13 more
- 2019EfficientDet: Scalable and Efficient Object Detectioncited by 1,018
- 2018Speech Commands: A Dataset for Limited-Vocabulary Speech Recognitioncited by 741
- 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 507
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2019MLPerf Inference Benchmarkcited by 195
- 2020TensorFlow Lite Micro: Embedded Machine Learning on TinyML Systemscited by 161
- 2020Challenges in Deploying Machine Learning: a Survey of Case Studiescited by 151
- 2019MLPerf Training Benchmarkcited by 114
- 2019On-Device Neural Net Inference with Mobile GPUscited by 32
- 2019Optimizing Speech Recognition For The Edgecited by 32
- 2020Comparison and Benchmarking of AI Models and Frameworks on Mobile Devicescited by 17
- 2020Characterizing and Taming Model Instability Across Edge Devicescited by 7
- 2021On the quantization of recurrent neural networkscited by 7
Built on by
Citing papers per year: 2022: 1; 2023: 4; 2024: 1.
6 papers.
- 2023Monitoring and Adapting ML Models on Mobile Devicescited by 6
- 2022How to Manage Tiny Machine Learning at Scale: An Industrial Perspectivecited by 5
- 2023U-TOE: Universal TinyML On-board Evaluation Toolkit for Low-Power IoTcited by 5
- 2023Datasheets for Machine Learning Sensorscited by 1
- 2024DEBUG-HD: Debugging TinyML models on-device using Hyper-Dimensional computingcited by 1
- 2023MGit: A Model Versioning and Management Systemcited by 0
- 2024DEBUG-HD: Debugging TinyML models on-device using Hyper-Dimensional computing16 Nov 2024
- 2023MGit: A Model Versioning and Management System14 Jul 2023
- 2023U-TOE: Universal TinyML On-board Evaluation Toolkit for Low-Power IoT26 Jun 2023
- 2023Datasheets for Machine Learning Sensors15 Jun 2023
- 2023Monitoring and Adapting ML Models on Mobile Devices12 May 2023
- 2022How to Manage Tiny Machine Learning at Scale: An Industrial Perspective18 Feb 2022