Improving the Robustness and Accuracy of Deep Learning Deployment on Edge Devices

Improving the Robustness and Accuracy of Deep Learning Deployment on Edge Devices
Author :
Publisher :
Total Pages :
Release :
ISBN-10 : OCLC:1243317309
ISBN-13 :
Rating : 4/5 (09 Downloads)

Book Synopsis Improving the Robustness and Accuracy of Deep Learning Deployment on Edge Devices by : Eyal Cidon

Download or read book Improving the Robustness and Accuracy of Deep Learning Deployment on Edge Devices written by Eyal Cidon and published by . This book was released on 2021 with total page pages. Available in PDF, EPUB and Kindle. Book excerpt: Deep learning models are increasingly being deployed on a vast array of edge devices, including a wide variety of phones, indoor and outdoor cameras, wearable devices and drones. These deep learning models are used for a variety of applications, including real-time speech translation, object recognition and object tracking. The ever-increasing diversity of edge devices, and their limited computational and storage capabilities, have led to significant efforts to optimize ML models for real-time inference on the edge. Yet, inference on the edge still faces two major challenges. First, the same ML model running on different edge devices may produce highly divergent outputs on a nearly identical input. Second, using edge-based models comes at the expense of accuracy relative to larger, cloud-based models. However, attempting to offload data to the cloud for processing consumes excessive bandwidth and adds latency due to constrained and unpredictable wireless network links. This dissertation tackles these two challenges by first characterizing their magnitude, and second, by designing systems that help developers deploy ML models on a wide variety of heterogeneous edge devices, while having the capability to offload data to cloud models. To address the first challenge, we examine the possible root causes for inconsistent efficacy across edge devices. To this end, we measure the variability produced by the device sensors, the device's signal processing hardware and software, and its operating system and processors. We present the first methodical characterization of the variations in model prediction across real-world mobile devices. Counter to prevailing wisdom, we demonstrate that accuracy is not a useful metric to characterize prediction divergence across devices, and introduce a new metric, Instability, which directly captures this variation. We characterize different sources for instability and show that differences in compression formats and image signal processing account for significant instability in object classification models. Notably, in our experiments, 14-17% of images produced divergent classifications across one or more phone models. We then evaluate three different techniques for reducing instability. Building on prior work on making models robust to noise, we design a new technique to fine-tune models to be robust to variations across edge devices. We demonstrate that our fine-tuning techniques reduce instability by 75%. To address the second challenge, of offloading computation to the cloud, we first demonstrate that running deep learning tasks purely on the edge device or purely on the cloud is too restrictive. Instead, we show how we can expand our design space to a modular edge-cloud cooperation scheme. We propose that data collection and distribution mechanisms should be co-designed with the eventual sensing objective. Specifically, we design a modular distributed Deep Neural Network (DNN) architecture that learns end-to-end how to represent the raw sensor data and send it over the network such that it meets the eventual sensing task's needs. Such a design intrinsically adapts to varying network bandwidths between the sensors and the cloud. We design DeepCut, a system that intelligently decides when to offload sensory data to the cloud, combining high accuracy with minimal bandwidth consumption, with no changes to edge and cloud models. DeepCut adapts to the dynamics of both the scene and network and only offloads when necessary and feasible using a lightweight offloading logic. DeepCut can flexibly tune the desired bandwidth utilization, allowing a developer to trade off bandwidth utilization and accuracy. DeepCut achieves results within 10-20% of an offline optimal offloading scheme.


Improving the Robustness and Accuracy of Deep Learning Deployment on Edge Devices Related Books

Improving the Robustness and Accuracy of Deep Learning Deployment on Edge Devices
Language: en
Pages:
Authors: Eyal Cidon
Categories:
Type: BOOK - Published: 2021 - Publisher:

DOWNLOAD EBOOK

Deep learning models are increasingly being deployed on a vast array of edge devices, including a wide variety of phones, indoor and outdoor cameras, wearable d
Deep Learning on Edge Computing Devices
Language: en
Pages: 200
Authors: Xichuan Zhou
Categories: Computers
Type: BOOK - Published: 2022-02-02 - Publisher: Elsevier

DOWNLOAD EBOOK

Deep Learning on Edge Computing Devices: Design Challenges of Algorithm and Architecture focuses on hardware architecture and embedded deep learning, including
Federated Learning
Language: en
Pages: 291
Authors: Qiang Yang
Categories: Computers
Type: BOOK - Published: 2020-11-25 - Publisher: Springer Nature

DOWNLOAD EBOOK

This book provides a comprehensive and self-contained introduction to federated learning, ranging from the basic knowledge and theories to various key applicati
Efficient and Robust Machine Learning Methods for Challenging Traffic Video Sensing Applications
Language: en
Pages: 0
Authors: Yifan Zhuang
Categories:
Type: BOOK - Published: 2022 - Publisher:

DOWNLOAD EBOOK

The development of economics and technologies has promoted urbanization worldwide. Urbanization has brought great convenience to daily life. The fast constructi
Practical Deep Learning for Cloud, Mobile, and Edge
Language: en
Pages: 586
Authors: Anirudh Koul
Categories: Computers
Type: BOOK - Published: 2019-10-14 - Publisher: O'Reilly Media

DOWNLOAD EBOOK

Whether you’re a software engineer aspiring to enter the world of deep learning, a veteran data scientist, or a hobbyist with a simple dream of making the nex