Soft Error Reliability Assessment of TinyML Algorithms on STM32 Microcontroller
Ultra-low-power and low-cost microcontrollers are converging with the recently popular concept of Tiny Machine Learning (TinyML) to run such algorithms on memory and latency-constrained devices. Although they are frequently used in autonomous drives such as unmanned aerial vehicles (drones), their reliability is often overlooked. In this study, we analyze the soft-error reliability of various TinyML algorithms executing on an STM32L4 series microcontroller. We implemented a low-level fault injector that can inject faults with timer interrupts in the form of a random bit flip in registers/memory during inference. A total of 24,794 tests were conducted across Motion Detection, Image Recognition, and Visual Wake Word as TinyML algorithms and a matrix multiplication application. Our experimental results revealed that soft errors can substantially affect such algorithms, with vulnerabilities differing across registers and memory with different crash and silent data corruption (SDC) rates. These findings u nderscore t he importance o f t ailoredfault tolerance strategies for enhancing the reliability of TinyML models.
Authors
- Sanem Arslan (ORCID: https://orcid.org/0000-0003-3019-7070)
- Ahmet Karakuş (ORCID: https://orcid.org/0000-0002-4361-9386)
- Osman Buğra Göktaş
- Sadık Akgedik
Institutions
- Marmara University (TR)
Publication Details
- Published
- 2024-10-26
- DOI
- https://doi.org/10.1109/ubmk63289.2024.10773488
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00