UR2M: Uncertainty and Resource-Aware Event Detection on Microcontrollers
Traditional machine learning techniques are prone to generating inaccurate predictions when confronted with shifts in the distribution of data between the training and testing phases. This vulnerability can lead to severe consequences, especially in applications such as mobile healthcare. Uncertaint...
Saved in:
Main Authors: | , , , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2024
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/8739 https://ink.library.smu.edu.sg/context/sis_research/article/9742/viewcontent/UR2M.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-9742 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-97422024-05-03T07:52:21Z UR2M: Uncertainty and Resource-Aware Event Detection on Microcontrollers JIA, Hong KWON, Young D. MA, Dong PHAM, Nhat QENDRO, Lorena VU, Tam MASCOLO, Cecilia Traditional machine learning techniques are prone to generating inaccurate predictions when confronted with shifts in the distribution of data between the training and testing phases. This vulnerability can lead to severe consequences, especially in applications such as mobile healthcare. Uncertainty estimation has the potential to mitigate this issue by assessing the reliability of a model's output. However, existing uncertainty estimation techniques often require substantial computational resources and memory, making them impractical for implementation on microcontrollers (MCUs). This limitation hinders the feasibility of many important on-device wearable event detection (WED) applications, such as heart attack detection. In this paper, we present UR2M, a novel Uncertainty and Resource-aware event detection framework for MCUs. Specifically, we (i) develop an uncertainty-aware WED based on evidential theory for accurate event detection and reliable uncertainty estimation; (ii) introduce a cascade ML framework to achieve efficient model inference via early exits, by sharing shallower model layers among different event models; (iii) optimize the deployment of the model and MCU library for system efficiency. We conducted extensive experiments and compared UR2M to traditional uncertainty baselines using three wearable datasets. Our results demonstrate that UR2M achieves up to 864% faster inference speed, 857% energy-saving for uncertainty estimation, 55% memory saving on two popular MCUs, and a 22% improvement in uncertainty quantification performance. UR2M can be deployed on a wide range of MCUs, significantly expanding real-time and reliable WED applications. 2024-03-01T08:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/8739 info:doi/10.1109/PerCom59722.2024.10494467 https://ink.library.smu.edu.sg/context/sis_research/article/9742/viewcontent/UR2M.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Uncertainty Event Detection Efficiency Microcontrollers Numerical Analysis and Scientific Computing Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Uncertainty Event Detection Efficiency Microcontrollers Numerical Analysis and Scientific Computing Software Engineering |
spellingShingle |
Uncertainty Event Detection Efficiency Microcontrollers Numerical Analysis and Scientific Computing Software Engineering JIA, Hong KWON, Young D. MA, Dong PHAM, Nhat QENDRO, Lorena VU, Tam MASCOLO, Cecilia UR2M: Uncertainty and Resource-Aware Event Detection on Microcontrollers |
description |
Traditional machine learning techniques are prone to generating inaccurate predictions when confronted with shifts in the distribution of data between the training and testing phases. This vulnerability can lead to severe consequences, especially in applications such as mobile healthcare. Uncertainty estimation has the potential to mitigate this issue by assessing the reliability of a model's output. However, existing uncertainty estimation techniques often require substantial computational resources and memory, making them impractical for implementation on microcontrollers (MCUs). This limitation hinders the feasibility of many important on-device wearable event detection (WED) applications, such as heart attack detection. In this paper, we present UR2M, a novel Uncertainty and Resource-aware event detection framework for MCUs. Specifically, we (i) develop an uncertainty-aware WED based on evidential theory for accurate event detection and reliable uncertainty estimation; (ii) introduce a cascade ML framework to achieve efficient model inference via early exits, by sharing shallower model layers among different event models; (iii) optimize the deployment of the model and MCU library for system efficiency. We conducted extensive experiments and compared UR2M to traditional uncertainty baselines using three wearable datasets. Our results demonstrate that UR2M achieves up to 864% faster inference speed, 857% energy-saving for uncertainty estimation, 55% memory saving on two popular MCUs, and a 22% improvement in uncertainty quantification performance. UR2M can be deployed on a wide range of MCUs, significantly expanding real-time and reliable WED applications. |
format |
text |
author |
JIA, Hong KWON, Young D. MA, Dong PHAM, Nhat QENDRO, Lorena VU, Tam MASCOLO, Cecilia |
author_facet |
JIA, Hong KWON, Young D. MA, Dong PHAM, Nhat QENDRO, Lorena VU, Tam MASCOLO, Cecilia |
author_sort |
JIA, Hong |
title |
UR2M: Uncertainty and Resource-Aware Event Detection on Microcontrollers |
title_short |
UR2M: Uncertainty and Resource-Aware Event Detection on Microcontrollers |
title_full |
UR2M: Uncertainty and Resource-Aware Event Detection on Microcontrollers |
title_fullStr |
UR2M: Uncertainty and Resource-Aware Event Detection on Microcontrollers |
title_full_unstemmed |
UR2M: Uncertainty and Resource-Aware Event Detection on Microcontrollers |
title_sort |
ur2m: uncertainty and resource-aware event detection on microcontrollers |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2024 |
url |
https://ink.library.smu.edu.sg/sis_research/8739 https://ink.library.smu.edu.sg/context/sis_research/article/9742/viewcontent/UR2M.pdf |
_version_ |
1814047498588651520 |