paper-with-me

홈 › Papers

How Many Trees in a Random Forest? A Revisited Approach with Plateau Search and Optuna Integration

2026-06-02 · Vadim Porvatov, Andrey Dukhovny, Andrey Lange arxiv

Hyperparameter optimization (HPO) for Random Forest faces a specific difficulty in tuning the number of trees: the predictive score typically improves monotonically with ensemble size, so standard methods such as Tree-structured Parzen Estimator (TPE) and Hyperband require a predefined search range and often drive the estimate toward its right boundary. Early-stopping strategies avoid fixing such a range, but can be sensitive to score noise and prone to premature stopping. To address this, we propose an integrated triplet-based plateau-search algorithm that removes the number of trees from the direct TPE search space and still exploits information accumulated across HPO trials. The method adaptively tracks a near-minimal sufficient ensemble size by monitoring relative changes in the out-of-bag (OOB) score across a triplet of forest sizes and shifting this triplet accordingly. This yields an automated and user-interpretable procedure based on a tolerance parameter. We also provide a theoretical analysis: we relate the proposed relative OOB-score criterion to the gap between the current and limiting scores, and derive an asymptotic variance estimate for the corresponding OOB-based absolute relative difference. Experiments show that the selected number of trees can differ substantially from the common heuristic: for most classical benchmark datasets it is smaller, whereas for some high-dimensional bioinformatics datasets, such as Arcene and Dorothea, it is larger. The source code and reproducible experiments are available at https://github.com/lange-am/rf_plateau_hpo.

📄 PDF Abstract BibTeX arXiv:2606.03549

Code (0)

등록된 구현이 없습니다.

Tasks

Hyperparameter Optimization

Similar Papers 제목 키워드 기반

A Stationary-Distribution Theory for Triplet-Based Plateau Search in Random Forest Ensemble-Size Selection

2026-06-29 · Andrey A. Dukhovny, Andrey M. Lange arxiv

The number of trees is a central computational parameter in Random Forests: increasing it reduces finite-ensemble variability but increases training and prediction cost. Plateau-based tuning adapts this parameter through…

Interpreting Tree Ensembles with inTrees

2014-08-23 · Houtao Deng

Tree ensembles such as random forests and boosted trees are accurate but difficult to understand, debug and deploy. In this work, we provide the inTrees (interpretable trees) framework that extracts, measures, prunes and…

Future predictionGeneral Classificationregression

Improved Weighted Random Forest for Classification Problems

2020-09-01 · Mohsen Shahhosseini, Guiping Hu

Several studies have shown that combining machine learning models in an appropriate way will introduce improvements in the individual predictions made by the base models. The key to make well-performing ensemble model is…

BIG-bench Machine LearningClassificationDecision MakingDiversity+2

K-nearest Neighbor Search by Random Projection Forests

2018-12-31 · Donghui Yan, Yingjie Wang, Jin Wang, Honggang Wang 외

K-nearest neighbor (kNN) search has wide applications in many areas, including data mining, machine learning, statistics and many applied domains. Inspired by the success of ensemble methods and the flexibility of tree-b…

Fréchet random forests for metric space valued regression with non euclidean predictors

2019-06-04 · Louis Capitaine, Jérémie Bigot, Rodolphe Thiébaut, Robin Genuer

Random forests are a statistical learning method widely used in many areas of scientific research because of its ability to learn complex relationships between input and output variables and also its capacity to handle h…

regression