Abstract
When machine learning (ML) models are supplied with data outside their training distribution, they are more likely to make inaccurate predictions; in a cyber-physical system (CPS), this could lead to catastrophic system failure. To mitigate this risk, an out-of-distribution (OOD) detector can run in parallel with an ML model and flag inputs that could lead to undesirable outcomes. Although OOD detectors have been well studied in terms of accuracy, there has been less focus on deployment to resource constrained CPSs. In this study, a design methodology is proposed to tune deep OOD detectors to meet the accuracy and response time requirements of embedded applications. The methodology uses genetic algorithms to optimize the detector's preprocessing pipeline and selects a quantization method that balances robustness and response time. It also identifies several candidate task graphs under the Robot Operating System (ROS) for deployment of the selected design. The methodology is demonstrated on two variational autoencoder based OOD detectors from the literature on two embedded platforms. Insights into the trade-offs that occur during the design process are provided, and it is shown that this design methodology can lead to a drastic reduction in response time in relation to an unoptimized OOD detector while maintaining comparable accuracy.
Original language | English |
---|---|
Title of host publication | Proceedings - 2022 IEEE 28th International Conference on Embedded and Real-Time Computing Systems and Applications, RTCSA 2022 |
Publisher | Institute of Electrical and Electronics Engineers Inc. |
Pages | 180-185 |
Number of pages | 6 |
ISBN (Electronic) | 9781665453448 |
DOIs | |
Publication status | Published - 2022 |
Externally published | Yes |
Event | 28th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications, RTCSA 2022 - Taipei, Taiwan, Province of China Duration: Aug 23 2022 → Aug 25 2022 |
Publication series
Name | Proceedings - 2022 IEEE 28th International Conference on Embedded and Real-Time Computing Systems and Applications, RTCSA 2022 |
---|
Conference
Conference | 28th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications, RTCSA 2022 |
---|---|
Country/Territory | Taiwan, Province of China |
City | Taipei |
Period | 8/23/22 → 8/25/22 |
Bibliographical note
Publisher Copyright:© 2022 IEEE.
ASJC Scopus Subject Areas
- Computer Networks and Communications
- Computer Science Applications
- Information Systems and Management
- Control and Optimization