Skip to main content
QUICK REVIEW

[Paper Review] Mondrian Forests: Efficient Online Random Forests

Balaji Lakshminarayanan, Daniel M. Roy|arXiv (Cornell University)|Jun 10, 2014
Neural Networks and ApplicationsComputer Science24 references114 citations
TL;DR

This paper introduces Mondrian Forests, a novel online random forest algorithm that uses Mondrian processes to enable efficient, incremental tree growth while preserving the same distribution as batch training. The method achieves competitive predictive accuracy comparable to batch random forests and state-of-the-art online methods, but with over an order of magnitude faster training, making it highly efficient for streaming data applications.

ABSTRACT

Ensembles of randomized decision trees, usually referred to as random forests, are widely used for classification and regression tasks in machine learning and statistics. Random forests achieve competitive predictive performance and are computationally efficient to train and test, making them excellent candidates for real-world prediction tasks. The most popular random forest variants (such as Breiman's random forest and extremely randomized trees) operate on batches of training data. Online methods are now in greater demand. Existing online random forests, however, require more training data than their batch counterpart to achieve comparable predictive performance. In this work, we use Mondrian processes (Roy and Teh, 2009) to construct ensembles of random decision trees we call Mondrian forests. Mondrian forests can be grown in an incremental/online fashion and remarkably, the distribution of online Mondrian forests is the same as that of batch Mondrian forests. Mondrian forests achieve competitive predictive performance comparable with existing online random forests and periodically re-trained batch random forests, while being more than an order of magnitude faster, thus representing a better computation vs accuracy tradeoff.

Motivation & Objective

  • To develop an online random forest algorithm that maintains predictive performance comparable to batch methods while enabling incremental learning.
  • To address the computational inefficiency of existing online random forests, which require significantly more training data than batch counterparts to achieve similar accuracy.
  • To leverage the mathematical properties of Mondrian processes to ensure that online tree updates preserve the same distribution as batch training.
  • To achieve a superior trade-off between computational efficiency and predictive accuracy in online learning settings.
  • To provide a scalable, efficient alternative to existing online and batch random forests for real-world streaming data applications.

Proposed method

  • The method constructs ensembles of decision trees using Mondrian processes, which define a stochastic process for generating random, axis-aligned partitions of the input space.
  • Each tree is grown incrementally by updating its structure with new data points using a conditional distribution MTx(λ, T, DN+1), which ensures the updated tree follows the same distribution as if trained in batch mode.
  • The key innovation lies in the use of the memoryless property of the exponential distribution in Mondrian processes, allowing efficient online updates that scale logarithmically with tree depth.
  • Predictions are made by averaging the class probability outputs of individual Mondrian trees in the ensemble, similar to standard random forests.
  • The algorithm maintains the same theoretical distribution over trees in both online and batch settings, ensuring consistency across training modes.
  • The method explicitly represents rectangular regions in the feature space, which enables efficient computation but may incur higher cost in high-dimensional settings.

Experimental results

Research questions

  • RQ1Can an online random forest be constructed such that its distribution over trees matches that of a batch-trained forest, regardless of data order?
  • RQ2Does an online random forest based on Mondrian processes achieve predictive performance comparable to batch random forests with the same training data fraction?
  • RQ3How does the training speed of Mondrian Forests compare to existing online and batch random forest methods?
  • RQ4Can the online Mondrian Forest method handle streaming data efficiently while maintaining accuracy?
  • RQ5What is the impact of irrelevant features on the performance of Mondrian Forests, and can performance be improved by feature filtering?

Key findings

  • Mondrian Forests achieve test accuracy comparable to both periodically retrained batch random forests and state-of-the-art online random forests, even when trained on the same fraction of data.
  • The training time of Mondrian Forests scales as O(N log N), which is over an order of magnitude faster than the O(N² log N) complexity of retrained batch random forests.
  • On the DNA dataset, performance of Mondrian Forests and ERT-1 significantly improves after filtering out irrelevant features, with MF† and ERT-1† showing marked accuracy gains.
  • The average depth of trained Mondrian Forests across datasets scales as O(log N), supporting the logarithmic time complexity of tree updates.
  • Mondrian Forests outperform existing online random forests in both training speed and the number of training instances required to reach a target accuracy.
  • The method maintains theoretical consistency: online updates produce the same tree distribution as batch training, a property not shared by other online random forest methods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.