Affiliation:
1. Department Mathematics and Computer Science, University of Bremen, 28359 Bremen, Germany
2. Department Mechanical Engineering, University of Siegen, 57072 Siegen, Germany
Abstract
Data-driven models used for predictive classification and regression tasks are commonly computed using floating-point arithmetic and powerful computers. We address constraints in distributed sensor networks like the IoT, edge, and material-integrated computing, providing only low-resource embedded computers with sensor data that are acquired and processed locally. Sensor networks are characterized by strong heterogeneous systems. This work introduces and evaluates a virtual machine architecture that provides ML as a service layer (MLaaS) on the node level and addresses very low-resource distributed embedded computers (with less than 20 kB of RAM). The VM provides a unified ML instruction set architecture that can be programmed to implement decision trees, ANN, and CNN model architectures using scaled integer arithmetic only. Models are trained primarily offline using floating-point arithmetic, finally converted by an iterative scaling and transformation process, demonstrated in this work by two tests based on simulated and synthetic data. This paper is an extended version of the FedCSIS 2023 conference paper providing new algorithms and ML applications, including ANN/CNN-based regression and classification tasks studying the effects of discretization on classification and regression accuracy.
Funder
German Research Foundation (Deutsche Forschungsgemeinschaft
Reference18 articles.
1. Guo, S., and Zhou, Q. (2023). Machine Learning on Commodity Tiny Devices, Taylor & Francis.
2. A review on TinyML: State-of-the-art and prospects;Ray;J. King Saud Univ.-Comput. Inf. Sci.,2021
3. Wang, X., Magno, M., Cavigelli, L., and Benini, L. (2022). FANN-on-MCU: An Open-Source Toolkit for Energy-Efficient Neural Network Inference at the Edge of the Internet of Things. arXiv.
4. Alajlan, N.N., and Ibrahim, D.M. (2022). TinyML: Enabling of Inference Deep Learning Models on Ultra-Low-Power IoT Edge Devices for AI Applications. Micromechanics, 13.
5. Jain, V., Giraldo, S., Roose, J.D., Mei, B.B.L., and Verhelst, M. (2023). TinyVers: A Tiny Versatile System-on-chip with State-Retentive eMRAM for ML Inference at the Extreme Edge. arXiv.