COMET: A Recipe for Learning and Using Large Ensembles on Massive Data

Justin D. Basilico, M. Arthur Munson, Tamara G. Kolda, Kevin R. Dixon, W. Philip Kegelmeyer

Introduction

As datasets scale into the terabyte range, traditional machine learning algorithms often struggle to balance computational efficiency with model accuracy. Researchers typically face a trade-off: subsample the data to fit on a single machine, potentially losing predictive power, or employ complex distributed frameworks that suffer from high latency and disk I/O overhead.

COMET (Cloud Of Massive Ensemble Trees) addresses these challenges by providing a single-pass MapReduce framework designed to train massive random forest ensembles. By combining a distributed "mega-ensemble" approach with a novel Gaussian-based lazy evaluation scheme (GLEE), COMET achieves superior accuracy compared to subsampling while accelerating prediction times by over two orders of magnitude.

Methodology

The COMET framework is built upon three core technical pillars:

1. Single-Pass MapReduce

Unlike many distributed tree-learning algorithms that require multiple passes over the data (one per level of the tree), COMET builds independent ensembles on local data blocks in parallel. These local models are then merged into a single "mega-ensemble." This approach minimizes the "shuffle and sort" overhead characteristic of multi-pass MapReduce jobs, significantly reducing disk I/O bottlenecks.

2. Importance-sampled Voting (IVoting)

To enhance the quality of individual trees, COMET utilizes IVoting rather than standard bagging. Workers focus on "hard" examples within their local data blocks. Because IVoting assigns equal weight to each base model, merging ensembles from disparate mappers is mathematically straightforward and preserves the statistical properties of the ensemble.

3. Gaussian Lazy Ensemble Evaluation (GLEE)

The most significant innovation for inference is GLEE. Standard ensembles require querying every tree for every prediction—a prohibitive cost for models with millions of trees. GLEE treats the voting process as a statistical sampling problem. By applying the Central Limit Theorem, it approximates the vote distribution as a Gaussian.

As individual trees cast their votes, GLEE maintains a confidence interval. Once this interval no longer crosses the 0.5 classification threshold, the system stops evaluation and returns a prediction with statistical certainty.

Average lazy evaluation savings for various ensemble sizes.

Experimental Setup

The researchers evaluated COMET using two massive datasets:

  • ClueWeb09: A 250GB web crawl dataset containing 200 million training examples. The task was language categorization (English vs. non-English).
  • eBird: A crowdsourced bird observation dataset with 1 million training examples and 1,143 environmental features, used to predict the presence of the American Goldfinch.

Key Results and Insights

Scaling and Speedup

COMET demonstrates that processing more data often yields better results than using more complex algorithms on smaller samples. On the ClueWeb09 dataset, COMET achieved a 5x speedup in training time while processing 200x more data than a serial implementation.

Performance metrics on the ClueWeb09 dataset.

Inference Efficiency

GLEE proves to be a game-changer for large-scale inference. For an ensemble of 100,000 trees, GLEE often required evaluating less than 1% of the forest to reach a confident decision. This results in a 100x+ reduction in evaluation costs without sacrificing accuracy. Furthermore, the user-defined confidence parameter ($\alpha$) allows for a controllable trade-off between speed and relative error.

Computational Complexity

The authors noted that GLEE's simple Gaussian approximation is $O(m)$ compared to the $O(m^2)$ complexity of previous Bayesian methods (MLEE). This efficiency makes it feasible to deploy ensembles consisting of millions of trees in production environments.

Conclusion and Future Work

COMET provides a scalable "recipe" for leveraging massive datasets through large ensembles. By optimizing both the training phase (via single-pass MapReduce) and the inference phase (via GLEE), it bypasses the traditional limitations of distributed machine learning.

Future research directions include comparing COMET to multi-pass learners like PLANET, handling high-cardinality categorical features more efficiently, and exploring the synergy between lazy evaluation and ensemble pruning to further reduce the computational footprint.

Reference: Basilico, J. D., et al. "COMET: A Recipe for Learning and Using Large Ensembles on Massive Data." arXiv:1103.2068v2 [cs.LG].

Summary updated

BibTeX
@inproceedings{basilico2011comet,
  author = {Justin D. Basilico and M. Arthur Munson and Tamara G. Kolda and Kevin R. Dixon and W. Philip Kegelmeyer},
  title = {{COMET: A Recipe for Learning and Using Large Ensembles on Massive Data}},
  booktitle = {ICDM},
  year = {2011},
  doi = {10.1109/icdm.2011.39},
}
Figure