TL;DR
The Green Accelerated Hoeffding Tree (GAHT) is an energy- and memory-efficient streaming decision tree algorithm designed for edge devices. By dynamically allocating computational effort—accelerating splits on frequently visited leaves while deactivating cold ones—GAHT matches the accuracy of state-of-the-art streaming trees and ensembles while cutting energy consumption by up to 72%.
What Problem Does This Paper Address?
Deploying machine learning models to streaming environments on embedded edge hardware requires strict power, memory, and latency bounds. Traditional Hoeffding Trees (HT) provide theoretical guarantees and low energy footprints, but sacrifice predictive accuracy compared to tree ensembles like Online Bagging and Online Boosting.
Recent single-tree extensions like the Extremely Fast Decision Tree (EFDT) achieve ensemble-competitive accuracy by relaxing split criteria and continually re-evaluating existing splits, but they do so at a steep computational and energy cost. Tree ensembles consume up to five times more energy than basic HTs. The authors address this dilemma: Can we design a single streaming decision tree that achieves ensemble-level accuracy while maintaining edge-friendly energy efficiency?
Methods
GAHT modifies EFDT by setting an individual, dynamic splitting criterion for each leaf based on the distribution of incoming stream instances:
-
Instance Distribution Ratio: When an instance traverses to a leaf $l$, GAHT computes: $$\text{fraction} = \frac{n_l}{n_{\text{since\_creation}} / n_{\text{leaves}}}$$ where $n_l$ is the number of instances seen at that leaf, $n_{\text{since\_creation}}$ is the instances seen since the leaf was created, and $n_{\text{leaves}}$ is the total number of current leaves. The expected value under a uniform distribution is 1.
-
Three Per-Node Operating States:
- Deactivated Leaf: If $\text{fraction} < \text{deactivateThreshold}$ (default 0.01), the leaf is frozen. Statistics are retained, but split evaluations are suspended to save compute.
- Standard HT Split: If $0.01 \le \text{fraction} \le \text{growFastThreshold}$ (default 2.0), standard HT splitting applies (comparing the two best attributes).
- Accelerated EFDT Split: If $\text{fraction} > \text{growFastThreshold}$, the leaf aggressively splits by comparing the best attribute against a "null split" (no split).
- Eliminating Split Re-evaluation: Unlike EFDT, GAHT does not continuously re-evaluate internal splits using
ReEvaluateBestSplit. Instead, it relies on the batch parameter $n_{\text{min}}$ to prevent premature splits on skewed data, drastically cutting tree traversal and statistic update complexity from $\mathcal{O}(hdvc)$ to $\mathcal{O}(dvc)$.
Datasets
The authors evaluated GAHT across 11 datasets in the Massive Online Analysis (MOA) framework:
- Synthetic (6 datasets, 1,000,000 instances each): RandomTree, Waveform, RandomRBF, LED, Hyperplane, and Agrawal.
- Real-World (5 datasets):
- Airline (539,383 instances; flight delay classification)
- Poker (829,201 instances; poker hand classification)
- CICIDS (461,802 instances; cybersecurity intrusion detection)
- Forest Covertype (581,012 instances)
- Electricity (45,312 instances)
Key Insights and Ideas
- Non-uniform Tree Growth: Data streams rarely distribute instances uniformly across all branches. Investing energy only in "hot" branches where data concentrates yields nearly all the accuracy benefits of fast splitting without the system-wide computational tax.
- Selective Inaction is Cheap: Deactivating rarely visited leaves eliminates expensive information gain calculations ($\mathcal{O}(dvc)$ operations every $n_{\text{min}}$ steps) where they matter least.
- Re-evaluation is Unnecessary Overhead: The expensive backtracking and sub-tree replacement in EFDT can be effectively replaced by combining a properly sized $n_{\text{min}}$ batch size with targeted fast-splitting, saving substantial cache and CPU cycles.
Key Results
Evaluated on an Intel Core i7 system using Intel RAPL power counters:
- Energy Consumption: On average, GAHT consumed 27.29% less energy than EFDT, 66.97% less than Online Bagging (OzaBag), and 71.66% less than Online Boosting (OzaBoost). While basic HT consumed less energy than GAHT, HT ranked worst overall in predictive accuracy.
- Accuracy: GAHT achieved higher average accuracy than EFDT (+0.16%), OzaBag (+0.38%), and HT (+1.96%). While OzaBoost scored 1.16% higher accuracy on average, a Friedman test ($\alpha = 0.05$) showed no statistically significant difference in accuracy between GAHT, OzaBoost, OzaBag, and EFDT.
- Memory Footprint: GAHT produced models ranging between 1 MB and 30 MB, fitting comfortably inside embedded memory limits comparable to MobileNet architectures.
Limitations and Future Work
- Concept Drift Handling: The study deliberately focused on stationary baselines (excluding drift-adaptive models like Adaptive Random Forest or Leveraging Bagging) to isolate energy costs. Extending GAHT's dynamic leaf adaptation to non-stationary environments with explicit drift detectors remains future work.
- Static Threshold Parameters: The threshold parameters ($\text{deactivateThreshold} = 0.01$, $\text{growFastThreshold} = 2$) were globally configured rather than tuned dynamically to varying resource constraints or stream distributions.
Summary updated