Table of Contents
Fetching ...

An Open-Source Tool for Classification Models in Resource-Constrained Hardware

Lucas Tsutsui da Silva, Vinicius M. A. Souza, Gustavo E. A. P. A. Batista

TL;DR

This paper describes EmbML implementation details and comprehensively analyze its classifiers considering accuracy, classification time, and memory usage, and compares the performance of EmbML classifiers with classifiers produced by related tools to demonstrate that the tool provides a diverse set of classification algorithms that are both compact and accurate.

Abstract

Applications that need to sense, measure, and gather real-time information from the environment frequently face three main restrictions: power consumption, cost, and lack of infrastructure. Most of the challenges imposed by these limitations can be better addressed by embedding Machine Learning (ML) classifiers in the hardware that senses the environment, creating smart sensors able to interpret the low-level data stream. However, for this approach to be cost-effective, we need highly efficient classifiers suitable to execute in unresourceful hardware, such as low-power microcontrollers. In this paper, we present an open-source tool named EmbML - Embedded Machine Learning that implements a pipeline to develop classifiers for resource-constrained hardware. We describe its implementation details and provide a comprehensive analysis of its classifiers considering accuracy, classification time, and memory usage. Moreover, we compare the performance of its classifiers with classifiers produced by related tools to demonstrate that our tool provides a diverse set of classification algorithms that are both compact and accurate. Finally, we validate EmbML classifiers in a practical application of a smart sensor and trap for disease vector mosquitoes.

An Open-Source Tool for Classification Models in Resource-Constrained Hardware

TL;DR

This paper describes EmbML implementation details and comprehensively analyze its classifiers considering accuracy, classification time, and memory usage, and compares the performance of EmbML classifiers with classifiers produced by related tools to demonstrate that the tool provides a diverse set of classification algorithms that are both compact and accurate.

Abstract

Applications that need to sense, measure, and gather real-time information from the environment frequently face three main restrictions: power consumption, cost, and lack of infrastructure. Most of the challenges imposed by these limitations can be better addressed by embedding Machine Learning (ML) classifiers in the hardware that senses the environment, creating smart sensors able to interpret the low-level data stream. However, for this approach to be cost-effective, we need highly efficient classifiers suitable to execute in unresourceful hardware, such as low-power microcontrollers. In this paper, we present an open-source tool named EmbML - Embedded Machine Learning that implements a pipeline to develop classifiers for resource-constrained hardware. We describe its implementation details and provide a comprehensive analysis of its classifiers considering accuracy, classification time, and memory usage. Moreover, we compare the performance of its classifiers with classifiers produced by related tools to demonstrate that our tool provides a diverse set of classification algorithms that are both compact and accurate. Finally, we validate EmbML classifiers in a practical application of a smart sensor and trap for disease vector mosquitoes.

Paper Structure

This paper contains 23 sections, 11 figures, 9 tables.

Figures (11)

  • Figure 1: Workflow for generating classifier source codes using EmbML da2019embml.
  • Figure 2: Approximations available in EmbML for the sigmoid function.
  • Figure 3: Run-time comparison for floating-point and fixed-point formats for FXP32 (left) and FXP16 (right).
  • Figure 4: Run-time comparison for all classifiers.
  • Figure 5: Memory usage comparison for floating-point and fixed-point formats for FXP32 (left) and FXP16 (right).
  • ...and 6 more figures