mlsanityData to 14 Oct 2026

To tune or not to tune the number of trees in random forest?

arXiv 1705.05654 ↗First posted 16 May 2017stat.ML cs.LGcited by 33

Not on the map. Why?

Abstract (arXiv)

The number of trees T in the random forest (RF) algorithm for supervised learning has to be set by the user. It is controversial whether T should simply be set to the largest computationally manageable value or whether a smaller T may in some cases be better. While the principle underlying bagging is that "more trees are better", in practice the classification error rate sometimes reaches a minimum before increasing again for increasing number of trees. The goal of this paper is four-fold: (i) providing theoretical results showing that the expected error rate may be a non-monotonous function of the number of trees and explaining under which circumstances this happens; (ii) providing theoretical results showing that such non-monotonous patterns cannot be observed for other performance measures such as the Brier score and the logarithmic loss (for classification) and the mean squared error (for regression); (iii) illustrating the extent of the problem through an application to a large number (n = 306) of datasets from the public database OpenML; (iv) finally arguing in favor of setting it to a computationally feasible large number, depending on convergence properties of the desired performance measure.

Key facts. Cited by 33 papers in the map (data through 14 Oct 2026). First posted on arXiv 16 May 2017.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 9; 2022: 7; 2023: 6; 2024: 6; 2025: 3; 2026: 2.

33 papers.

Sort:

  1. 2021Hyperparameter Optimization: Foundations, Algorithms, Best Practices and Open Challengescited by 145
  2. 2022Adversarial random forests for density estimation and generative modelingcited by 44
  3. 2022Geometry- and Accuracy-Preserving Random Forest Proximitiescited by 24
  4. 2022Adaptive deep learning for nonlinear time series modelscited by 11
  5. 2021AutoScore-Survival: Developing interpretable machine learning-based time-to-event scores with right-censored survival datacited by 7
  6. 2023Are Ensembles Getting Better all the Time?cited by 6
  7. 2021Inducing a hierarchy for multi-class classification problemscited by 5
  8. 2021Meta-Learning for Symbolic Hyperparameter Defaultscited by 4
  9. 2024Free Lunch in the Forest: Functionally-Identical Pruning of Boosted Tree Ensemblescited by 4
  10. 2022A Survey on Automated Sarcasm Detection on Twittercited by 3
  11. 2021A Dataset-Level Geometric Framework for Ensemble Classifierscited by 2
  12. 2021Oblique and rotation double random forestcited by 2
21 more
  1. 2024Exogenous Randomness Empowering Random Forestscited by 2
  2. 2025When do Random Forests work?cited by 2
  3. 2024Adapting tree-based multiple imputation methods for multi-level data? A simulation studycited by 1
  4. 2024Understanding overfitting in random forest for probability estimation: a visualization and simulation studycited by 1
  5. 2024Can a Single Tree Outperform an Entire Forest?cited by 1
  6. 2026How Many Trees in a Random Forest? A Revisited Approach with Plateau Search and Optuna Integrationcited by 1
  7. 2021Experimental Investigation and Evaluation of Model-based Hyperparameter Optimizationcited by 0
  8. 2021Noise-Resilient Ensemble Learning using Evidence Accumulation Clusteringcited by 0
  9. 2021Machine Learning-based Prediction of Porosity for Concrete Containing Supplementary Cementitious Materialscited by 0
  10. 2022AutoScore-Ordinal: An interpretable machine learning framework for generating scoring models for ordinal outcomescited by 0
  11. 2022Machine Learning to Support Triage of Children at Risk for Epileptic Seizures in the Pediatric Intensive Care Unitcited by 0
  12. 2022Distributional Adaptive Soft Regression Treescited by 0
  13. 2023Benchmarking optimality of time series classification methods in distinguishing diffusionscited by 0
  14. 2023Heterogeneous Oblique Double Random Forestcited by 0
  15. 2023Does it pay to optimize AUC?cited by 0
  16. 2023Linear time Evidence Accumulation Clustering with KMeanscited by 0
  17. 2023The theoretical limits of biometrycited by 0
  18. 2024Bootstrap Sampling Rate Greater than 1.0 May Improve Random Forest Performancecited by 0
  19. 2025Diversity Conscious Refined Random Forestcited by 0
  20. 2025Ensemble Performance Through the Lens of Linear Independence of Classifier Votes in Data Streamscited by 0
  21. 2026PINE: Pruning Boosted Tree Ensembles with Conformal In-Distribution Prediction Equivalencecited by 0