Random Forest Calibration
Mohammad Hossein Shaker, Eyke Hüllermeier
TL;DR
The paper investigates how well Random Forest probability estimates can be calibrated and whether post-hoc calibration methods outperform or complement RF itself. It defines and contrasts class-wise, probability-wise, and multiclass calibration, and surveys a broad suite of calibration techniques applicable to RF outputs. Through extensive synthetic and real-data experiments, it shows that calibration performance depends on the chosen metric, with hyper-parameter tuning (notably tree depth) and ensemble size often achieving parity with or superiority over standard calibrators. The findings imply that a well-optimized RF can provide competitive, sometimes superior, calibrated probabilities without heavy reliance on external calibration models, informing practical deployment of RF in safety-critical domains.
Abstract
The Random Forest (RF) classifier is often claimed to be relatively well calibrated when compared with other machine learning methods. Moreover, the existing literature suggests that traditional calibration methods, such as isotonic regression, do not substantially enhance the calibration of RF probability estimates unless supplied with extensive calibration data sets, which can represent a significant obstacle in cases of limited data availability. Nevertheless, there seems to be no comprehensive study validating such claims and systematically comparing state-of-the-art calibration methods specifically for RF. To close this gap, we investigate a broad spectrum of calibration methods tailored to or at least applicable to RF, ranging from scaling techniques to more advanced algorithms. Our results based on synthetic as well as real-world data unravel the intricacies of RF probability estimates, scrutinize the impacts of hyper-parameters, compare calibration methods in a systematic way. We show that a well-optimized RF performs as well as or better than leading calibration approaches.
