Training Up to 50 Class ML Models on 3 $ IoT Hardware via Optimizing One-vs-One Algorithm (Student Abstract)

Authors

  • Bharath Sudharsan Confirm Smart Manufacturing NUI Galway

DOI:

https://doi.org/10.1609/aaai.v36i11.21666

Keywords:

IoT Devices, ML Systems, Optimization, Incremental Learning, Online Learning, Microcontroller Unit

Abstract

Multi-class classifier training using traditional meta-algorithms such as the popular One-vs-One (OvO) method may not always work well under cost-sensitive setups. Also, during inference, OvO becomes computationally challenging for higher class counts K as O(K^2) is its time complexity. In this paper, we present Opt-OvO, an optimized (resource-friendly) version of the One-vs-One algorithm to enable high-performance multi-class ML classifier training and inference directly on microcontroller units (MCUs). Opt-OvO enables billions of tiny IoT devices to self learn/train (offline) after their deployment, using live data from a wide range of IoT use-cases. We demonstrate Opt-OvO by performing live ML model training on 4 popular MCU boards using datasets of varying class counts, sizes, and feature dimensions. The most exciting finding was, on the 3 $ ESP32 chip, Opt-OvO trained a multi-class ML classifier using a dataset of class count 50 and performed unit inference in super real-time of 6.2 ms.

Downloads

Published

2022-06-28

How to Cite

Sudharsan, B. (2022). Training Up to 50 Class ML Models on 3 $ IoT Hardware via Optimizing One-vs-One Algorithm (Student Abstract). Proceedings of the AAAI Conference on Artificial Intelligence, 36(11), 13059-13060. https://doi.org/10.1609/aaai.v36i11.21666