Field of Groves: An Energy-Efficient Random Forest

Zafar Takhirov, Joseph Wang, Marcia S. Louis, Venkatesh Saligrama, Ajay JoshiarXiv 2017

Abstract

The "Field of Groves" (FoG) is a novel, energy-efficient implementation of Random Forests designed for power-constrained mobile and embedded systems. By grouping decision trees into "groves" and using a confidence-based early-exit strategy, FoG achieves accuracy comparable to state-of-the-art models like Convolutional Neural Networks (CNNs) and Support Vector Machines (SVMs) while consuming significantly less energy. This architecture bridges the gap between high-performance machine learning and the strict energy budgets of embedded hardware.

Introduction

Modern mobile devices increasingly rely on Machine Learning (ML) for tasks such as speech and image recognition. However, high-performance models like Convolutional Neural Networks (CNNs) and Support Vector Machines (SVMs) are computationally intensive, leading to rapid battery depletion. While Random Forests (RFs) are generally more efficient, standard implementations suffer from "over-utilization," processing every input through every tree regardless of classification difficulty. The Field of Groves (FoG) architecture addresses this by dynamically allocating computational resources based on input uncertainty.

Methods: The Field of Groves Architecture

The authors propose the FoG architecture, which reimagines the Random Forest as a sequence of smaller sub-forests or "groves."

Comparison between (a) standard Random Forest and (b) the proposed Field of Groves architecture.
  1. Groves: A pre-trained Random Forest is partitioned into non-overlapping subsets of trees.
  2. Sequential Evaluation: Inputs are processed by a randomly selected grove, which calculates class probabilities.
  3. Confidence Thresholding: A confidence score (the difference between the two most probable labels) is calculated. If it exceeds a predefined threshold, the system exits early.
  4. Circular Communication: If confidence is low, the partial result is passed to the next grove in a circular chain until the threshold is met or all groves are consulted.
  5. Hardware Implementation: A custom hardware accelerator using Chisel HDL was designed, featuring specialized Processing Elements (PEs) and a "Handshaking Protocol" for efficient inter-grove data transfer.

Experimental Evaluation

The researchers evaluated FoG using five datasets from the UCI Machine Learning Repository: ISOLET, Penbase, MNIST, Letter, and Segmentation. These represent common workloads for embedded systems.

Baseline architectures used for comparison: (a) SVM, (b) MLP, and (c) CNN.

Key Results

  • Energy Efficiency: At comparable accuracy levels, FoG consumes significantly less energy than traditional models:
  • 1.48x less than conventional Random Forests.
  • 2.5x less than Multi-layer Perceptrons (MLP).
  • 24x less than SVMs with RBF kernels.
  • 34.7x less than CNNs.
  • Accuracy: FoG achieves roughly 18% higher accuracy than linear SVMs while maintaining a similar energy footprint. While CNNs still provide the highest absolute accuracy (e.g., 96% vs. 94% on MNIST), FoG offers a superior efficiency-to-accuracy ratio for many applications.
  • Dynamic Scaling: By adjusting the confidence threshold at runtime, systems can prioritize either extreme energy savings or maximum accuracy based on current battery levels.

Discussion and Conclusion

FoG exploits the fact that many real-world data points are far from decision boundaries and can be classified with only a fraction of the total forest. The hardware-algorithm co-design ensures that the overhead of passing data between groves is minimized. While the FoG implementation requires more silicon area (~1.9 $mm^2$) than simpler classifiers, its energy savings make it a compelling choice for the next generation of power-constrained IoT and mobile devices. Future work may involve optimizing grove ordering and adapting tree structures specifically for the sequential "groving" process.

Summary updated

BibTeX
@misc{takhirov2017field,
  author = {Zafar Takhirov and Joseph Wang and Marcia S. Louis and Venkatesh Saligrama and Ajay Joshi},
  title = {{Field of Groves: An Energy-Efficient Random Forest}},
  year = {2017},
  eprint = {1704.02978},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1704.02978},
}
Figure