Low-Overhead Early-Stopping Policies for Efficient Random Forests Inference on Microcontrollers
Abstract
Random Forests (RFs) are popular Machine Learning models for edge computing, due to their lightweight nature and high accuracy on several common tasks. Large RFs however, still have significant energy costs, a serious concern for battery-operated ultra-low-power devices. Following the adaptive (or dynamic) inference paradigm, we introduce a hardware-friendly early stopping policy for RF-based classifiers, halting the execution as soon as a sufficient prediction confidence is achieved. We benchmark our approach on three state-of-the-art datasets relative to different embedded classification tasks, and deploy our models on a single core RISC-V microcontroller. We achieve an energy reduction ranging from 18% to more than 91%, with an accuracy drop lower than 0.5%. Additionally, we compare our approach with other early-stopping policies, showing that we outperform them. Show more
Publication status
publishedExternal links
Book title
VLSI-SoC: Technology Advancement on SoC Design. VLSI-SoC 2021Journal / series
IFIP Advances in Information and Communication TechnologyVolume
Pages / Article No.
Publisher
SpringerEvent
Subject
Machine learning; TinyML; Adaptive inference; Dynamic inference; Energy-efficiency; Random forests; MicrocontrollersOrganisational unit
03996 - Benini, Luca / Benini, Luca
More
Show all metadata
ETH Bibliography
yes
Altmetrics