Dynamic Decision Tree Ensembles for Energy-Efficient Inference on IoT Edge Nodes

06/16/2023
by   Francesco Daghero, et al.
0

With the increasing popularity of Internet of Things (IoT) devices, there is a growing need for energy-efficient Machine Learning (ML) models that can run on constrained edge nodes. Decision tree ensembles, such as Random Forests (RFs) and Gradient Boosting (GBTs), are particularly suited for this task, given their relatively low complexity compared to other alternatives. However, their inference time and energy costs are still significant for edge hardware. Given that said costs grow linearly with the ensemble size, this paper proposes the use of dynamic ensembles, that adjust the number of executed trees based both on a latency/energy target and on the complexity of the processed input, to trade-off computational cost and accuracy. We focus on deploying these algorithms on multi-core low-power IoT devices, designing a tool that automatically converts a Python ensemble into optimized C code, and exploring several optimizations that account for the available parallelism and memory hierarchy. We extensively benchmark both static and dynamic RFs and GBTs on three state-of-the-art IoT-relevant datasets, using an 8-core ultra-lowpower System-on-Chip (SoC), GAP8, as the target platform. Thanks to the proposed early-stopping mechanisms, we achieve an energy reduction of up to 37.9 respect to static GBTs (8.82 uJ vs 14.20 uJ per inference) and 41.7 respect to static RFs (2.86 uJ vs 4.90 uJ per inference), without losing accuracy compared to the static model.

READ FULL TEXT

page 1

page 16

research
05/06/2022

Green Accelerated Hoeffding Tree

State-of-the-art machine learning solutions mainly focus on creating hig...
research
03/08/2016

Microprocessor Optimizations for the Internet of Things

The proliferation of connected low-power devices on the Internet of Thin...
research
05/27/2022

Adaptive Random Forests for Energy-Efficient Inference on Microcontrollers

Random Forests (RFs) are widely used Machine Learning models in low-powe...
research
03/08/2016

Microprocessor Optimizations for the Internet of Things: A Survey

The Internet of Things (IoT) refers to a pervasive presence of interconn...
research
11/10/2020

PACSET (Packed Serialized Trees): Reducing Inference Latency for Tree Ensemble Deployment

We present methods to serialize and deserialize tree ensembles that opti...
research
04/07/2022

Energy-Efficient Adaptive Machine Learning on IoT End-Nodes With Class-Dependent Confidence

Energy-efficient machine learning models that can run directly on edge d...
research
04/12/2023

Efficient Deep Learning Models for Privacy-preserving People Counting on Low-resolution Infrared Arrays

Ultra-low-resolution Infrared (IR) array sensors offer a low-cost, energ...

Please sign up or login with your details

Forgot password? Click here to reset