Adaptive Random Forests from Online Learning and Testing by Betting
Abstract
Online tree ensembles, notably Adaptive Random Forests (ARF), are standard for learning from non-stationary streams, yet key design choices remain largely heuristic. We revisit ARF from an online learning perspective and show that its design reduces to two questions: how to aggregate an evolving pool of trees, and how to renew that pool. For aggregation, we weight trees with an algorithm that has a dynamic regret guarantee, bounding the ensemble’s loss relative to the best time-varying combination of trees in hindsight. For pool updates, we replace detector-driven resets with a multiscale schedule: trees receive different base lifetimes, and challengers are introduced ahead of each tree’s renewal deadline. Challengers train alongside incumbents, and anytime-valid tests on their paired losses determine promotion. We show that false promotions are controlled across all comparisons, that a challenger with a persistent advantage is promoted within a bounded delay, and that, under explicit coverage and quality conditions, the ensemble’s loss stays close to that of an oracle that restarts learning at every change point. On 33 real-world streams, our Online Random Forest (ORF) reduces aggregate loss relative to native ARF by 32.8% in classification and 26.3% in regression. The same reweighting lowers streaming gradient boosting’s native loss on these streams, extending the approach beyond bagging.