SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Downloaden Sie, um offline zu lesen
Machine Learning
on Embedded Things
“Smaller, and Easier”
Lisa Ong
Principal Lecturer and Consultant, NUS ISS
#ISSLearningFest
ML on Embedded Things
• Value Proposition
• Challenges
• Bridging the Gap
• Demo
• Summary
#ISSLearningFest
Value Proposition
Why is ML is going to Embedded Things
#ISSLearningFest
Edge Computing is the New Cloud (1)
More Responsive
• Shifts processing nearer to the
Embedded Things (sensors,
actuators, controllers) layer
• Lower transmission latencies
• Local decision-making
More Resilient
Increased Privacy
#ISSLearningFest
trantorinc.com
Edge Computing is the New Cloud (2)
More Responsive
More Resilient
• Divide-n-conquer: processing
functions shared across multiple
nodes and layers
• Fewer bottlenecks, failure points
• Scalable: vertical and horizontally
Increased Privacy
#ISSLearningFest sites.ndtv.com
Edge Computing is the New Cloud (3)
More Responsive
More Resilient
Increased Privacy
• Sensitive-data is processed locally
• Only transmit the result to the Cloud
• Access and scope can be limited using
on physical boundaries
• Only devices within range will receive
the data
#ISSLearningFest
care.ai, coral.ai
Edge Computing Market Value
US$3.5B Global Value in 2019 (Grand View Research)
US$43.4B Projected Global Value by 2027 @ 37.4% growth p.a.
Grand View Research)
29B Connected devices by 2022 (Telecommunications Industry
Association)
75% Enterprise Data created and processed at the Edge by
2025. Compared to 10% in 2018 (Gartner)
30ms Latency of early 5G networks (Verizon)
10-20ms Projected latency of future 5G networks (IBM)
#ISSLearningFest
enterprisersproject.com
Edge Computing and ML
Cloud Computing uses AI, specifically Deep Learning to solve complex
problems using Big Data
Volume of Edge data is exponentially bigger because of the growing
number of connected devices
Can we “port” Deep Learning to run on Edge Computing?
#ISSLearningFest
Challenges
Poll: What is so difficult about running ML on the Edge?
#ISSLearningFest
Deep Neural Networks are Heavyweight (1)
Deep Neural Networks perform successive layers of mathematical
operations on the input data to get a result
#ISSLearningFest
arxiv.org/abs/2001.03460
Deep Neural Networks are Heavyweight (2)
• Each layer can contain
many parameters
• More complex domains can
require more parameters
• Recognize Cats vs Recognize
Human Behavior
• More parameters = larger
neural networks
• 106 float32 params ~
30MB
#ISSLearningFest
nature.com
Deep Neural Networks are Heavyweight (2)
• Large neural networks also
involve more operations
• Measured in Floating Point
Operations (FLOPs)
• Each parameter may be
used multiple times
• FLOPs is proportional to the
size of the network
#ISSLearningFest
kdnuggets.com
Deep Neural Networks use Heavyweight Hardware
#ISSLearningFest
xcelerit.com
1 Tera FLOP = 1Trillion FLOPs
Embedded IoT Devices are Constrained Hardware
#ISSLearningFest
Raspberry Pi 4 Model B
4 x Cortex A72 @ 1.5GHz
8 FLOPs (FP16)
1-8GB RAM
wikipedia
ESP32-WROOM-32
40 MHz
4MB SPI flash, 320kB DRAM
components101.com
#ISSLearningFest
blog.tkjelectronics.dk
Cortex M4
168-180MHz
Max 384kB RAM
Max 2MB Flash
st.com
#ISSLearningFest
Millions of parameters,
GB sizes
Billions of FLOPs,
usually parallelized on
TFLOP processors
Constrained
320kB - 8GB RAM
40MHz - 4x1.5GHz
Up to 8 FLOPs (RPi4)
Limited or no parallelization
www.datanami.com components101.com
earlyadopter.com
Performance
Gap
Bridging the Performance Gap
Making it easier to run DNNs on Embedded Things
#ISSLearningFest
Bridging the Gap (1)
Shrink Deep Neural Networks
• TensorFlow Lite quantization
• Float32 to Int8
• 4x smaller, 3x+ speedup
• Mostly post-training
• “Once-for-all” network
• Train specialized architectures
concurrently
• Strive to optimize all at the same
time
Power-up Embedded Things
Optimise Tools & Workflows
#ISSLearningFest
www.tensorflow.org
arxiv.org/abs/1908.09791
Bridging the Gap (2)
Shrink Deep Neural Networks
Power-up Embedded Things
• Boost using a GPU or TPU, or
FPGA add-on
• 4x+ to 10x speedup
Optimise Tools & Workflows
#ISSLearningFest
medium.com/@aallan/benchmarking-edge-computing-ce3f13942245
Bridging the Gap (3)
Shrink Deep Neural Networks
Power-up Embedded Things
Optimise Tools & Workflows
• ML Pipelines for Embedded
Things
• Edge Impulse, Qeexo AutoML
• Libraries
• Eloquent TinyML
• Eloquent Arduino
#ISSLearningFest
www.edgeimpulse.com/blog/edge-impulse-brings-ml-to-arduino
Demo
TinyML on ESP32 Arduino
#ISSLearningFest
Mask or Not? TinyML Classifier
1. Train a Convolutional Neural Network on TensorFlow to classify if a
face image is wearing mask or not
2. Quantize the CNN using TensorFlow Lite
3. Deploy to ESP32 using Arduino IDE
4. From the ESP32, call the CNN using the Eloquent Arduino Library
Code: https://bit.ly/isstinyml
#ISSLearningFest
#ISSLearningFest
Demo Design Choices
Image pre-processing done before sending to ESP32
• Face detection using OpenCV
• Cropping and resizing to 10x10
• Can offload to another Edge device in a pipelined manner
Bluetooth Serial was used to transmit the 10x10 input to the ESP32
• Can consider WiFi: MQTT+TLS or HTTP+TLS
10x10 input size was empirically determined
• The resampling helped highlight the large blobs associated with a face mask
• Simple CNN was sufficient
#ISSLearningFest
Summary
What have we learnt? What are the next steps?
#ISSLearningFest
Edge Computing is the New Cloud
More Responsive
More Resilient
Increased Privacy
#ISSLearningFest
Crossing the Gap
Shrink Deep Neural Networks
Power-up Embedded Things
Optimise Tools & Workflows
www.datanami.com
components101.com
earlyadopter.com
Performance
Gap
Next steps: if you are mulling Embedded ML
Break down the problem into smaller chunks
• Instead of training 1 complex deep neural network to do everything, train
multiple simple networks, chain them into a pipeline
Target a mid- or low-range platform (STM32, ESP32, Arduino)
• Raspberry Pi 3 or 4 "high powered", less commercially viable for mass
deployment
Evaluate if you must use ML
• Signal processing and filtering can be done using DSPs
• ML is good at finding latent patterns for multi-domain signals, once these
signals have been properly filtered/ pre-processed
Come take our Grad Cert 
#ISSLearningFest
Architecting Smart Systems Graduate Certificate
• Build end-to-end software sensing systems such as automated patient care
and monitoring, industry 4.0 self-monitoring factories, route-optimising
transport systems
• NICF - Architecting IoT Solutions (4 days)
• IoT protocols, patterns, practices, ML on IoT, Security
• NICF - Designing Intelligent Edge Computing (4 days)
• Edge computing, orchestration, decision-making, self-learning
• NICF - Humanizing Smart Systems (4 days)
• Combining voice, gesture, vision, wearables into a holistic intelligent system
• Practice Module (10 man-days)
• Stackable to the Masters of Technology in Software Engineering
#ISSLearningFest
Thank You!
lisaong@nus.edu.sg
Linkedin.com/in/lisaong
#ISSLearningFest
Give Us Your Feedback
#ISSLearningFest
Day 1 Programme

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to Deep Learning with Will Constable
Introduction to Deep Learning with Will ConstableIntroduction to Deep Learning with Will Constable
Introduction to Deep Learning with Will ConstableIntel Nervana
 
(CMP305) Deep Learning on AWS Made EasyCmp305
(CMP305) Deep Learning on AWS Made EasyCmp305(CMP305) Deep Learning on AWS Made EasyCmp305
(CMP305) Deep Learning on AWS Made EasyCmp305Amazon Web Services
 
Deep learning on mobile - 2019 Practitioner's Guide
Deep learning on mobile - 2019 Practitioner's GuideDeep learning on mobile - 2019 Practitioner's Guide
Deep learning on mobile - 2019 Practitioner's GuideAnirudh Koul
 
Nervana and the Future of Computing
Nervana and the Future of ComputingNervana and the Future of Computing
Nervana and the Future of ComputingIntel Nervana
 
Metta Innovations - Introdução ao Deep Learning aplicado a vídeo analytics
Metta Innovations - Introdução ao Deep Learning aplicado a vídeo analyticsMetta Innovations - Introdução ao Deep Learning aplicado a vídeo analytics
Metta Innovations - Introdução ao Deep Learning aplicado a vídeo analyticsEduardo Gaspar
 
Large Scale Deep Learning with TensorFlow
Large Scale Deep Learning with TensorFlow Large Scale Deep Learning with TensorFlow
Large Scale Deep Learning with TensorFlow Jen Aman
 
Language translation with Deep Learning (RNN) with TensorFlow
Language translation with Deep Learning (RNN) with TensorFlowLanguage translation with Deep Learning (RNN) with TensorFlow
Language translation with Deep Learning (RNN) with TensorFlowS N
 
Deep learning on mobile
Deep learning on mobileDeep learning on mobile
Deep learning on mobileAnirudh Koul
 
Deep Learning for Data Scientists - Data Science ATL Meetup Presentation, 201...
Deep Learning for Data Scientists - Data Science ATL Meetup Presentation, 201...Deep Learning for Data Scientists - Data Science ATL Meetup Presentation, 201...
Deep Learning for Data Scientists - Data Science ATL Meetup Presentation, 201...Andrew Gardner
 
Rethinking computation: A processor architecture for machine intelligence
Rethinking computation: A processor architecture for machine intelligenceRethinking computation: A processor architecture for machine intelligence
Rethinking computation: A processor architecture for machine intelligenceIntel Nervana
 
Big data app meetup 2016-06-15
Big data app meetup 2016-06-15Big data app meetup 2016-06-15
Big data app meetup 2016-06-15Illia Polosukhin
 
Moving Toward Deep Learning Algorithms on HPCC Systems
Moving Toward Deep Learning Algorithms on HPCC SystemsMoving Toward Deep Learning Algorithms on HPCC Systems
Moving Toward Deep Learning Algorithms on HPCC SystemsHPCC Systems
 
Mastering Computer Vision Problems with State-of-the-art Deep Learning
Mastering Computer Vision Problems with State-of-the-art Deep LearningMastering Computer Vision Problems with State-of-the-art Deep Learning
Mastering Computer Vision Problems with State-of-the-art Deep LearningMiguel González-Fierro
 
Advanced Open IoT Platform for Prevention and Early Detection of Forest Fires
Advanced Open IoT Platform for Prevention and Early Detection of Forest FiresAdvanced Open IoT Platform for Prevention and Early Detection of Forest Fires
Advanced Open IoT Platform for Prevention and Early Detection of Forest FiresIvo Andreev
 
Deep learning at nmc devin jones
Deep learning at nmc devin jones Deep learning at nmc devin jones
Deep learning at nmc devin jones Ido Shilon
 
Urs Köster Presenting at RE-Work DL Summit in Boston
Urs Köster Presenting at RE-Work DL Summit in BostonUrs Köster Presenting at RE-Work DL Summit in Boston
Urs Köster Presenting at RE-Work DL Summit in BostonIntel Nervana
 
Deeplearning on Hadoop @OSCON 2014
Deeplearning on Hadoop @OSCON 2014Deeplearning on Hadoop @OSCON 2014
Deeplearning on Hadoop @OSCON 2014Adam Gibson
 
Anomaly Detection at Scale
Anomaly Detection at ScaleAnomaly Detection at Scale
Anomaly Detection at ScaleJeff Henrikson
 

Was ist angesagt? (20)

Introduction to Deep Learning with Will Constable
Introduction to Deep Learning with Will ConstableIntroduction to Deep Learning with Will Constable
Introduction to Deep Learning with Will Constable
 
(CMP305) Deep Learning on AWS Made EasyCmp305
(CMP305) Deep Learning on AWS Made EasyCmp305(CMP305) Deep Learning on AWS Made EasyCmp305
(CMP305) Deep Learning on AWS Made EasyCmp305
 
Deep learning on mobile - 2019 Practitioner's Guide
Deep learning on mobile - 2019 Practitioner's GuideDeep learning on mobile - 2019 Practitioner's Guide
Deep learning on mobile - 2019 Practitioner's Guide
 
Nervana and the Future of Computing
Nervana and the Future of ComputingNervana and the Future of Computing
Nervana and the Future of Computing
 
Metta Innovations - Introdução ao Deep Learning aplicado a vídeo analytics
Metta Innovations - Introdução ao Deep Learning aplicado a vídeo analyticsMetta Innovations - Introdução ao Deep Learning aplicado a vídeo analytics
Metta Innovations - Introdução ao Deep Learning aplicado a vídeo analytics
 
On-Device AI
On-Device AIOn-Device AI
On-Device AI
 
Large Scale Deep Learning with TensorFlow
Large Scale Deep Learning with TensorFlow Large Scale Deep Learning with TensorFlow
Large Scale Deep Learning with TensorFlow
 
ODSC West
ODSC WestODSC West
ODSC West
 
Language translation with Deep Learning (RNN) with TensorFlow
Language translation with Deep Learning (RNN) with TensorFlowLanguage translation with Deep Learning (RNN) with TensorFlow
Language translation with Deep Learning (RNN) with TensorFlow
 
Deep learning on mobile
Deep learning on mobileDeep learning on mobile
Deep learning on mobile
 
Deep Learning for Data Scientists - Data Science ATL Meetup Presentation, 201...
Deep Learning for Data Scientists - Data Science ATL Meetup Presentation, 201...Deep Learning for Data Scientists - Data Science ATL Meetup Presentation, 201...
Deep Learning for Data Scientists - Data Science ATL Meetup Presentation, 201...
 
Rethinking computation: A processor architecture for machine intelligence
Rethinking computation: A processor architecture for machine intelligenceRethinking computation: A processor architecture for machine intelligence
Rethinking computation: A processor architecture for machine intelligence
 
Big data app meetup 2016-06-15
Big data app meetup 2016-06-15Big data app meetup 2016-06-15
Big data app meetup 2016-06-15
 
Moving Toward Deep Learning Algorithms on HPCC Systems
Moving Toward Deep Learning Algorithms on HPCC SystemsMoving Toward Deep Learning Algorithms on HPCC Systems
Moving Toward Deep Learning Algorithms on HPCC Systems
 
Mastering Computer Vision Problems with State-of-the-art Deep Learning
Mastering Computer Vision Problems with State-of-the-art Deep LearningMastering Computer Vision Problems with State-of-the-art Deep Learning
Mastering Computer Vision Problems with State-of-the-art Deep Learning
 
Advanced Open IoT Platform for Prevention and Early Detection of Forest Fires
Advanced Open IoT Platform for Prevention and Early Detection of Forest FiresAdvanced Open IoT Platform for Prevention and Early Detection of Forest Fires
Advanced Open IoT Platform for Prevention and Early Detection of Forest Fires
 
Deep learning at nmc devin jones
Deep learning at nmc devin jones Deep learning at nmc devin jones
Deep learning at nmc devin jones
 
Urs Köster Presenting at RE-Work DL Summit in Boston
Urs Köster Presenting at RE-Work DL Summit in BostonUrs Köster Presenting at RE-Work DL Summit in Boston
Urs Köster Presenting at RE-Work DL Summit in Boston
 
Deeplearning on Hadoop @OSCON 2014
Deeplearning on Hadoop @OSCON 2014Deeplearning on Hadoop @OSCON 2014
Deeplearning on Hadoop @OSCON 2014
 
Anomaly Detection at Scale
Anomaly Detection at ScaleAnomaly Detection at Scale
Anomaly Detection at Scale
 

Ähnlich wie Smaller and Easier: Machine Learning on Embedded Things

What is SDN and how to approach it with Python
What is SDN and how to approach it with PythonWhat is SDN and how to approach it with Python
What is SDN and how to approach it with PythonJustin Park
 
FPGA Conference 2021: Breaking the TOPS ceiling with sparse neural networks -...
FPGA Conference 2021: Breaking the TOPS ceiling with sparse neural networks -...FPGA Conference 2021: Breaking the TOPS ceiling with sparse neural networks -...
FPGA Conference 2021: Breaking the TOPS ceiling with sparse neural networks -...Numenta
 
Research data zone: veilige en geoptimaliseerde netwerkomgeving voor onderzoe...
Research data zone: veilige en geoptimaliseerde netwerkomgeving voor onderzoe...Research data zone: veilige en geoptimaliseerde netwerkomgeving voor onderzoe...
Research data zone: veilige en geoptimaliseerde netwerkomgeving voor onderzoe...SURFnet
 
Tech 2 tech low latency networking on Janet presentation
Tech 2 tech low latency networking on Janet presentationTech 2 tech low latency networking on Janet presentation
Tech 2 tech low latency networking on Janet presentationJisc
 
Future services on Janet
Future services on JanetFuture services on Janet
Future services on JanetJisc
 
DOE Magellan OpenStack user story
DOE Magellan OpenStack user storyDOE Magellan OpenStack user story
DOE Magellan OpenStack user storylaurabeckcahoon
 
2018 FRSecure CISSP Mentor Program- Session 7
2018 FRSecure CISSP Mentor Program- Session 72018 FRSecure CISSP Mentor Program- Session 7
2018 FRSecure CISSP Mentor Program- Session 7FRSecure
 
Webinar: OpenEBS - Still Free and now FASTEST Kubernetes storage
Webinar: OpenEBS - Still Free and now FASTEST Kubernetes storageWebinar: OpenEBS - Still Free and now FASTEST Kubernetes storage
Webinar: OpenEBS - Still Free and now FASTEST Kubernetes storageMayaData Inc
 
Fast and Scalable Python
Fast and Scalable PythonFast and Scalable Python
Fast and Scalable PythonTravis Oliphant
 
Topic02-Architecture.pptx
Topic02-Architecture.pptxTopic02-Architecture.pptx
Topic02-Architecture.pptxImXaib
 
Accelerating TensorFlow with RDMA for high-performance deep learning
Accelerating TensorFlow with RDMA for high-performance deep learningAccelerating TensorFlow with RDMA for high-performance deep learning
Accelerating TensorFlow with RDMA for high-performance deep learningDataWorks Summit
 
Sobanski odl summit_2015
Sobanski odl summit_2015Sobanski odl summit_2015
Sobanski odl summit_2015John Sobanski
 
Deep Learning on Qubole Data Platform
Deep Learning on Qubole Data PlatformDeep Learning on Qubole Data Platform
Deep Learning on Qubole Data PlatformShivaji Dutta
 
What's inside the black box? Using ML to tune and manage Kafka. (Matthew Stum...
What's inside the black box? Using ML to tune and manage Kafka. (Matthew Stum...What's inside the black box? Using ML to tune and manage Kafka. (Matthew Stum...
What's inside the black box? Using ML to tune and manage Kafka. (Matthew Stum...confluent
 
A Platform for Accelerating Machine Learning Applications
 A Platform for Accelerating Machine Learning Applications A Platform for Accelerating Machine Learning Applications
A Platform for Accelerating Machine Learning ApplicationsNVIDIA Taiwan
 
Devising a practical approach to the Internet of Things
Devising a practical approach to the Internet of ThingsDevising a practical approach to the Internet of Things
Devising a practical approach to the Internet of ThingsGordon Haff
 
04 accelerating dl inference with (open)capi and posit numbers
04 accelerating dl inference with (open)capi and posit numbers04 accelerating dl inference with (open)capi and posit numbers
04 accelerating dl inference with (open)capi and posit numbersYutaka Kawai
 

Ähnlich wie Smaller and Easier: Machine Learning on Embedded Things (20)

Pdc lecture1
Pdc lecture1Pdc lecture1
Pdc lecture1
 
What is SDN and how to approach it with Python
What is SDN and how to approach it with PythonWhat is SDN and how to approach it with Python
What is SDN and how to approach it with Python
 
FPGA Conference 2021: Breaking the TOPS ceiling with sparse neural networks -...
FPGA Conference 2021: Breaking the TOPS ceiling with sparse neural networks -...FPGA Conference 2021: Breaking the TOPS ceiling with sparse neural networks -...
FPGA Conference 2021: Breaking the TOPS ceiling with sparse neural networks -...
 
Research data zone: veilige en geoptimaliseerde netwerkomgeving voor onderzoe...
Research data zone: veilige en geoptimaliseerde netwerkomgeving voor onderzoe...Research data zone: veilige en geoptimaliseerde netwerkomgeving voor onderzoe...
Research data zone: veilige en geoptimaliseerde netwerkomgeving voor onderzoe...
 
Tech 2 tech low latency networking on Janet presentation
Tech 2 tech low latency networking on Janet presentationTech 2 tech low latency networking on Janet presentation
Tech 2 tech low latency networking on Janet presentation
 
Future services on Janet
Future services on JanetFuture services on Janet
Future services on Janet
 
DOE Magellan OpenStack user story
DOE Magellan OpenStack user storyDOE Magellan OpenStack user story
DOE Magellan OpenStack user story
 
2018 FRSecure CISSP Mentor Program- Session 7
2018 FRSecure CISSP Mentor Program- Session 72018 FRSecure CISSP Mentor Program- Session 7
2018 FRSecure CISSP Mentor Program- Session 7
 
Webinar: OpenEBS - Still Free and now FASTEST Kubernetes storage
Webinar: OpenEBS - Still Free and now FASTEST Kubernetes storageWebinar: OpenEBS - Still Free and now FASTEST Kubernetes storage
Webinar: OpenEBS - Still Free and now FASTEST Kubernetes storage
 
Again music
Again musicAgain music
Again music
 
Fast and Scalable Python
Fast and Scalable PythonFast and Scalable Python
Fast and Scalable Python
 
Topic02-Architecture.pptx
Topic02-Architecture.pptxTopic02-Architecture.pptx
Topic02-Architecture.pptx
 
Accelerating TensorFlow with RDMA for high-performance deep learning
Accelerating TensorFlow with RDMA for high-performance deep learningAccelerating TensorFlow with RDMA for high-performance deep learning
Accelerating TensorFlow with RDMA for high-performance deep learning
 
Sobanski odl summit_2015
Sobanski odl summit_2015Sobanski odl summit_2015
Sobanski odl summit_2015
 
Deep Learning on Qubole Data Platform
Deep Learning on Qubole Data PlatformDeep Learning on Qubole Data Platform
Deep Learning on Qubole Data Platform
 
What's inside the black box? Using ML to tune and manage Kafka. (Matthew Stum...
What's inside the black box? Using ML to tune and manage Kafka. (Matthew Stum...What's inside the black box? Using ML to tune and manage Kafka. (Matthew Stum...
What's inside the black box? Using ML to tune and manage Kafka. (Matthew Stum...
 
What is 3d torus
What is 3d torusWhat is 3d torus
What is 3d torus
 
A Platform for Accelerating Machine Learning Applications
 A Platform for Accelerating Machine Learning Applications A Platform for Accelerating Machine Learning Applications
A Platform for Accelerating Machine Learning Applications
 
Devising a practical approach to the Internet of Things
Devising a practical approach to the Internet of ThingsDevising a practical approach to the Internet of Things
Devising a practical approach to the Internet of Things
 
04 accelerating dl inference with (open)capi and posit numbers
04 accelerating dl inference with (open)capi and posit numbers04 accelerating dl inference with (open)capi and posit numbers
04 accelerating dl inference with (open)capi and posit numbers
 

Mehr von NUS-ISS

Designing Impactful Services and User Experience - Lim Wee Khee
Designing Impactful Services and User Experience - Lim Wee KheeDesigning Impactful Services and User Experience - Lim Wee Khee
Designing Impactful Services and User Experience - Lim Wee KheeNUS-ISS
 
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...NUS-ISS
 
How the World's Leading Independent Automotive Distributor is Reinventing Its...
How the World's Leading Independent Automotive Distributor is Reinventing Its...How the World's Leading Independent Automotive Distributor is Reinventing Its...
How the World's Leading Independent Automotive Distributor is Reinventing Its...NUS-ISS
 
The Importance of Cybersecurity for Digital Transformation
The Importance of Cybersecurity for Digital TransformationThe Importance of Cybersecurity for Digital Transformation
The Importance of Cybersecurity for Digital TransformationNUS-ISS
 
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...NUS-ISS
 
Understanding GenAI/LLM and What is Google Offering - Felix Goh
Understanding GenAI/LLM and What is Google Offering - Felix GohUnderstanding GenAI/LLM and What is Google Offering - Felix Goh
Understanding GenAI/LLM and What is Google Offering - Felix GohNUS-ISS
 
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng TszeDigital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng TszeNUS-ISS
 
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...NUS-ISS
 
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...NUS-ISS
 
Supply Chain Security for Containerised Workloads - Lee Chuk Munn
Supply Chain Security for Containerised Workloads - Lee Chuk MunnSupply Chain Security for Containerised Workloads - Lee Chuk Munn
Supply Chain Security for Containerised Workloads - Lee Chuk MunnNUS-ISS
 
Future of Learning - Yap Aye Wee.pdf
Future of Learning - Yap Aye Wee.pdfFuture of Learning - Yap Aye Wee.pdf
Future of Learning - Yap Aye Wee.pdfNUS-ISS
 
Future of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan MengFuture of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan MengNUS-ISS
 
Site Reliability Engineer (SRE), We Keep The Lights On 24/7
Site Reliability Engineer (SRE), We Keep The Lights On 24/7Site Reliability Engineer (SRE), We Keep The Lights On 24/7
Site Reliability Engineer (SRE), We Keep The Lights On 24/7NUS-ISS
 
Product Management in The Trenches for a Cloud Service
Product Management in The Trenches for a Cloud ServiceProduct Management in The Trenches for a Cloud Service
Product Management in The Trenches for a Cloud ServiceNUS-ISS
 
Overview of Data and Analytics Essentials and Foundations
Overview of Data and Analytics Essentials and FoundationsOverview of Data and Analytics Essentials and Foundations
Overview of Data and Analytics Essentials and FoundationsNUS-ISS
 
Predictive Analytics
Predictive AnalyticsPredictive Analytics
Predictive AnalyticsNUS-ISS
 
Feature Engineering for IoT
Feature Engineering for IoTFeature Engineering for IoT
Feature Engineering for IoTNUS-ISS
 
Master of Technology in Software Engineering
Master of Technology in Software EngineeringMaster of Technology in Software Engineering
Master of Technology in Software EngineeringNUS-ISS
 
Master of Technology in Enterprise Business Analytics
Master of Technology in Enterprise Business AnalyticsMaster of Technology in Enterprise Business Analytics
Master of Technology in Enterprise Business AnalyticsNUS-ISS
 
Diagnosing Complex Problems Using System Archetypes
Diagnosing Complex Problems Using System ArchetypesDiagnosing Complex Problems Using System Archetypes
Diagnosing Complex Problems Using System ArchetypesNUS-ISS
 

Mehr von NUS-ISS (20)

Designing Impactful Services and User Experience - Lim Wee Khee
Designing Impactful Services and User Experience - Lim Wee KheeDesigning Impactful Services and User Experience - Lim Wee Khee
Designing Impactful Services and User Experience - Lim Wee Khee
 
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
 
How the World's Leading Independent Automotive Distributor is Reinventing Its...
How the World's Leading Independent Automotive Distributor is Reinventing Its...How the World's Leading Independent Automotive Distributor is Reinventing Its...
How the World's Leading Independent Automotive Distributor is Reinventing Its...
 
The Importance of Cybersecurity for Digital Transformation
The Importance of Cybersecurity for Digital TransformationThe Importance of Cybersecurity for Digital Transformation
The Importance of Cybersecurity for Digital Transformation
 
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
 
Understanding GenAI/LLM and What is Google Offering - Felix Goh
Understanding GenAI/LLM and What is Google Offering - Felix GohUnderstanding GenAI/LLM and What is Google Offering - Felix Goh
Understanding GenAI/LLM and What is Google Offering - Felix Goh
 
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng TszeDigital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
 
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
 
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
 
Supply Chain Security for Containerised Workloads - Lee Chuk Munn
Supply Chain Security for Containerised Workloads - Lee Chuk MunnSupply Chain Security for Containerised Workloads - Lee Chuk Munn
Supply Chain Security for Containerised Workloads - Lee Chuk Munn
 
Future of Learning - Yap Aye Wee.pdf
Future of Learning - Yap Aye Wee.pdfFuture of Learning - Yap Aye Wee.pdf
Future of Learning - Yap Aye Wee.pdf
 
Future of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan MengFuture of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan Meng
 
Site Reliability Engineer (SRE), We Keep The Lights On 24/7
Site Reliability Engineer (SRE), We Keep The Lights On 24/7Site Reliability Engineer (SRE), We Keep The Lights On 24/7
Site Reliability Engineer (SRE), We Keep The Lights On 24/7
 
Product Management in The Trenches for a Cloud Service
Product Management in The Trenches for a Cloud ServiceProduct Management in The Trenches for a Cloud Service
Product Management in The Trenches for a Cloud Service
 
Overview of Data and Analytics Essentials and Foundations
Overview of Data and Analytics Essentials and FoundationsOverview of Data and Analytics Essentials and Foundations
Overview of Data and Analytics Essentials and Foundations
 
Predictive Analytics
Predictive AnalyticsPredictive Analytics
Predictive Analytics
 
Feature Engineering for IoT
Feature Engineering for IoTFeature Engineering for IoT
Feature Engineering for IoT
 
Master of Technology in Software Engineering
Master of Technology in Software EngineeringMaster of Technology in Software Engineering
Master of Technology in Software Engineering
 
Master of Technology in Enterprise Business Analytics
Master of Technology in Enterprise Business AnalyticsMaster of Technology in Enterprise Business Analytics
Master of Technology in Enterprise Business Analytics
 
Diagnosing Complex Problems Using System Archetypes
Diagnosing Complex Problems Using System ArchetypesDiagnosing Complex Problems Using System Archetypes
Diagnosing Complex Problems Using System Archetypes
 

Kürzlich hochgeladen

Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 

Kürzlich hochgeladen (20)

Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 

Smaller and Easier: Machine Learning on Embedded Things

  • 1. Machine Learning on Embedded Things “Smaller, and Easier” Lisa Ong Principal Lecturer and Consultant, NUS ISS #ISSLearningFest
  • 2. ML on Embedded Things • Value Proposition • Challenges • Bridging the Gap • Demo • Summary #ISSLearningFest
  • 3. Value Proposition Why is ML is going to Embedded Things #ISSLearningFest
  • 4. Edge Computing is the New Cloud (1) More Responsive • Shifts processing nearer to the Embedded Things (sensors, actuators, controllers) layer • Lower transmission latencies • Local decision-making More Resilient Increased Privacy #ISSLearningFest trantorinc.com
  • 5. Edge Computing is the New Cloud (2) More Responsive More Resilient • Divide-n-conquer: processing functions shared across multiple nodes and layers • Fewer bottlenecks, failure points • Scalable: vertical and horizontally Increased Privacy #ISSLearningFest sites.ndtv.com
  • 6. Edge Computing is the New Cloud (3) More Responsive More Resilient Increased Privacy • Sensitive-data is processed locally • Only transmit the result to the Cloud • Access and scope can be limited using on physical boundaries • Only devices within range will receive the data #ISSLearningFest care.ai, coral.ai
  • 7. Edge Computing Market Value US$3.5B Global Value in 2019 (Grand View Research) US$43.4B Projected Global Value by 2027 @ 37.4% growth p.a. Grand View Research) 29B Connected devices by 2022 (Telecommunications Industry Association) 75% Enterprise Data created and processed at the Edge by 2025. Compared to 10% in 2018 (Gartner) 30ms Latency of early 5G networks (Verizon) 10-20ms Projected latency of future 5G networks (IBM) #ISSLearningFest enterprisersproject.com
  • 8. Edge Computing and ML Cloud Computing uses AI, specifically Deep Learning to solve complex problems using Big Data Volume of Edge data is exponentially bigger because of the growing number of connected devices Can we “port” Deep Learning to run on Edge Computing? #ISSLearningFest
  • 9. Challenges Poll: What is so difficult about running ML on the Edge? #ISSLearningFest
  • 10. Deep Neural Networks are Heavyweight (1) Deep Neural Networks perform successive layers of mathematical operations on the input data to get a result #ISSLearningFest arxiv.org/abs/2001.03460
  • 11. Deep Neural Networks are Heavyweight (2) • Each layer can contain many parameters • More complex domains can require more parameters • Recognize Cats vs Recognize Human Behavior • More parameters = larger neural networks • 106 float32 params ~ 30MB #ISSLearningFest nature.com
  • 12. Deep Neural Networks are Heavyweight (2) • Large neural networks also involve more operations • Measured in Floating Point Operations (FLOPs) • Each parameter may be used multiple times • FLOPs is proportional to the size of the network #ISSLearningFest kdnuggets.com
  • 13. Deep Neural Networks use Heavyweight Hardware #ISSLearningFest xcelerit.com 1 Tera FLOP = 1Trillion FLOPs
  • 14. Embedded IoT Devices are Constrained Hardware #ISSLearningFest Raspberry Pi 4 Model B 4 x Cortex A72 @ 1.5GHz 8 FLOPs (FP16) 1-8GB RAM wikipedia ESP32-WROOM-32 40 MHz 4MB SPI flash, 320kB DRAM components101.com
  • 16. #ISSLearningFest Millions of parameters, GB sizes Billions of FLOPs, usually parallelized on TFLOP processors Constrained 320kB - 8GB RAM 40MHz - 4x1.5GHz Up to 8 FLOPs (RPi4) Limited or no parallelization www.datanami.com components101.com earlyadopter.com Performance Gap
  • 17. Bridging the Performance Gap Making it easier to run DNNs on Embedded Things #ISSLearningFest
  • 18. Bridging the Gap (1) Shrink Deep Neural Networks • TensorFlow Lite quantization • Float32 to Int8 • 4x smaller, 3x+ speedup • Mostly post-training • “Once-for-all” network • Train specialized architectures concurrently • Strive to optimize all at the same time Power-up Embedded Things Optimise Tools & Workflows #ISSLearningFest www.tensorflow.org arxiv.org/abs/1908.09791
  • 19. Bridging the Gap (2) Shrink Deep Neural Networks Power-up Embedded Things • Boost using a GPU or TPU, or FPGA add-on • 4x+ to 10x speedup Optimise Tools & Workflows #ISSLearningFest medium.com/@aallan/benchmarking-edge-computing-ce3f13942245
  • 20. Bridging the Gap (3) Shrink Deep Neural Networks Power-up Embedded Things Optimise Tools & Workflows • ML Pipelines for Embedded Things • Edge Impulse, Qeexo AutoML • Libraries • Eloquent TinyML • Eloquent Arduino #ISSLearningFest www.edgeimpulse.com/blog/edge-impulse-brings-ml-to-arduino
  • 21. Demo TinyML on ESP32 Arduino #ISSLearningFest
  • 22. Mask or Not? TinyML Classifier 1. Train a Convolutional Neural Network on TensorFlow to classify if a face image is wearing mask or not 2. Quantize the CNN using TensorFlow Lite 3. Deploy to ESP32 using Arduino IDE 4. From the ESP32, call the CNN using the Eloquent Arduino Library Code: https://bit.ly/isstinyml #ISSLearningFest
  • 24. Demo Design Choices Image pre-processing done before sending to ESP32 • Face detection using OpenCV • Cropping and resizing to 10x10 • Can offload to another Edge device in a pipelined manner Bluetooth Serial was used to transmit the 10x10 input to the ESP32 • Can consider WiFi: MQTT+TLS or HTTP+TLS 10x10 input size was empirically determined • The resampling helped highlight the large blobs associated with a face mask • Simple CNN was sufficient #ISSLearningFest
  • 25. Summary What have we learnt? What are the next steps? #ISSLearningFest
  • 26. Edge Computing is the New Cloud More Responsive More Resilient Increased Privacy #ISSLearningFest Crossing the Gap Shrink Deep Neural Networks Power-up Embedded Things Optimise Tools & Workflows www.datanami.com components101.com earlyadopter.com Performance Gap
  • 27. Next steps: if you are mulling Embedded ML Break down the problem into smaller chunks • Instead of training 1 complex deep neural network to do everything, train multiple simple networks, chain them into a pipeline Target a mid- or low-range platform (STM32, ESP32, Arduino) • Raspberry Pi 3 or 4 "high powered", less commercially viable for mass deployment Evaluate if you must use ML • Signal processing and filtering can be done using DSPs • ML is good at finding latent patterns for multi-domain signals, once these signals have been properly filtered/ pre-processed Come take our Grad Cert  #ISSLearningFest
  • 28. Architecting Smart Systems Graduate Certificate • Build end-to-end software sensing systems such as automated patient care and monitoring, industry 4.0 self-monitoring factories, route-optimising transport systems • NICF - Architecting IoT Solutions (4 days) • IoT protocols, patterns, practices, ML on IoT, Security • NICF - Designing Intelligent Edge Computing (4 days) • Edge computing, orchestration, decision-making, self-learning • NICF - Humanizing Smart Systems (4 days) • Combining voice, gesture, vision, wearables into a holistic intelligent system • Practice Module (10 man-days) • Stackable to the Masters of Technology in Software Engineering #ISSLearningFest
  • 30. Give Us Your Feedback #ISSLearningFest Day 1 Programme