The Impact of Bootstrap Sampling Rate on Random Forest Performance in Regression Tasks
Michał Iwaniuk, Mateusz Jarosz, Bartłomiej Borycki, Bartosz Jezierski, Jan Cwalina, Stanisław Kaźmierczak, Jacek Mańdziuk
TL;DR
This work presents the first large-scale assessment of bootstrap rate ($BR$) as a hyperparameter for RF regression, showing that BR=1.0 is not universally optimal. By evaluating 39 real-world regression datasets with 16 RF configurations across BR values from $0.2$ to $5.0$ using repeated two-fold cross-validation, the authors uncover substantial performance gains from BR tuning, with BR≤1.0 optimal on 24 datasets and BR>1.0 on 15. They identify dataset characteristics—global feature–target dependence and local target variance—as predictors of the preferred BR, and they reproduce the observed bias–variance trade-off through synthetic experiments, establishing conditions under which higher or lower BR is advantageous. The findings advocate incorporating BR tuning, including BR values above $1.0$, into RF regression pipelines and AutoML frameworks to optimize predictive performance.
Abstract
Random Forests (RFs) typically train each tree on a bootstrap sample of the same size as the training set, i.e., bootstrap rate (BR) equals 1.0. We systematically examine how varying BR from 0.2 to 5.0 affects RF performance across 39 heterogeneous regression datasets and 16 RF configurations, evaluating with repeated two-fold cross-validation and mean squared error. Our results demonstrate that tuning the BR can yield significant improvements over the default: the best setup relied on BR \leq 1.0 for 24 datasets, BR > 1.0 for 15, and BR = 1.0 was optimal in 4 cases only. We establish a link between dataset characteristics and the preferred BR: datasets with strong global feature-target relationships favor higher BRs, while those with higher local target variance benefit from lower BRs. To further investigate this relationship, we conducted experiments on synthetic datasets with controlled noise levels. These experiments reproduce the observed bias-variance trade-off: in low-noise scenarios, higher BRs effectively reduce model bias, whereas in high-noise settings, lower BRs help reduce model variance. Overall, BR is an influential hyperparameter that should be tuned to optimize RF regression models.
