Confidence Interval Estimation of Predictive Performance in the Context of AutoML

Konstantinos Paraschakis, Andrea Castellani, Giorgos Borboudakis, Ioannis Tsamardinos

Introduction

In the high-stakes world of Automated Machine Learning (AutoML), selecting the "winning" model often leads to overly optimistic performance estimates—a phenomenon known as the "winner's curse." When researchers evaluate hundreds or thousands of configurations (combinations of preprocessing, feature selection, and algorithms), the configuration that performs best on cross-validation is typically chosen. However, the more configurations tested, the more likely one is to perform well simply by chance on specific data splits. This leads to selection bias, where the chosen model's cross-validated performance exceeds its actual performance on unseen data.

While point estimates for this bias exist, providing a reliable 95% Confidence Interval (CI) is significantly more challenging. Standard CI methods often fail to account for the selection process, resulting in intervals that are either too narrow (optimistic) or too wide (uninformative). This paper introduces BBC-F (Bootstrap Bias Correction on Folds), a computationally efficient method for estimating reliable CIs that accounts for selection bias.

Methodology: From BBC to BBC-F

The authors build upon the Bootstrap Bias Correction (BBC) framework. Unlike traditional bootstrapping that requires retraining models—a prohibitively slow process in AutoML—BBC bootstraps the "out-of-sample" prediction matrix. By resampling the predictions of all configurations across samples, it simulates the selection process to estimate the true performance distribution.

Overview of the Bootstrap Bias Correction (BBC) and BBC-F methodology, illustrating how the out-of-sample prediction matrix is used to simulate selection and estimate the bootstrap distribution.

The core innovation presented is BBC-F (Bootstrap Bias Correction on Folds). This variant resamples folds of the cross-validation rather than individual samples. Mathematically, resampling folds is equivalent to the original BBC in terms of bias correction but offers a massive boost in computational efficiency. The time complexity is reduced by a factor of $N/F$ (where $N$ is the number of samples and $F$ is the number of folds). For a dataset with 1,000 samples and 10 folds, BBC-F is approximately 10 times faster than the already efficient BBC.

Experimental Evaluation

The researchers evaluated BBC and BBC-F against several state-of-the-art methods, including MABT, Tilted Bootstrapping, and the DeLong method. Evaluation was conducted using two approaches:

  1. Simulated Data: Synthetic datasets with known "true" AUC values (0.6 and 0.8) allowed for precise measurement of inclusion percentage (how often the true value falls within the 95% CI).
  2. Real-World Benchmarks: 11 binary classification datasets from OpenML, ranging from small samples (e.g., credit-g, musk) to large samples (e.g., adult, bank-marketing).

Key Results and Discussion

Both BBC and BBC-F consistently achieved the target 95% inclusion rate across various scenarios. In contrast, most other methods, such as DeLong or Hanley-McNeil (HM), were found to be "optimistic," with their 95% CIs containing the true performance significantly less than 95% of the time.

Comparison of CI tightness and statistical reliability across methods. Blue dots indicate methods where the 95% inclusion hypothesis was not rejected, showing the superior reliability of BBC and BBC-F.

As shown in the performance analysis, BBC and BBC-F were the only methods whose inclusion percentages were not rejected by a binomial test at a 5% significance level. Furthermore, BBC-F demonstrated a speedup of 1 to 2 orders of magnitude over the original BBC, remaining nearly instantaneous even as the prediction matrices grew. The "Naive" approach—bootstrapping only the winning model while ignoring the selection pool—performed the worst, confirming that accounting for the selection process is non-negotiable for honest uncertainty estimation.

Conclusion

BBC-F provides a robust, metric-agnostic, and computationally efficient solution for estimating confidence intervals in AutoML. By resampling folds, it maintains the statistical integrity of the original BBC while offering the speed necessary for large-scale automated pipelines. Future work will explore the application of BBC-F to dynamic hyperparameter optimization strategies and its performance across a wider array of metrics and tasks, such as multi-class classification and regression.

Summary updated

Abstract

Any supervised machine learning analysis is required to provide an estimate of the out-of-sample predictive performance. However, it is imperative to also provide a quantification of the uncertainty of this performance in the form of a confidence or credible interval (CI) and not just a point estimate. In an AutoML setting, estimating the CI is challenging due to the ``winner's curse", i.e., the bias of estimation due to cross-validating several machine learning pipelines and selecting the winning one. In this work, we perform a comparative evaluation of 9 state-of-the-art methods and variants in CI estimation in an AutoML setting on a corpus of real and simulated datasets. The methods are compared in terms of inclusion percentage (does a 95\% CI interval include the true performance at least \%95 of the time), CI tightness (tighter CIs are preferable as being more informative), and execution time. The evaluation is the first one that covers most, if not all, such methods and extends previous work to multi-class, imbalanced, and small-sample tasks. In addition, we present a variant, called BBC-F, of an existing method (the Bootstrap Bias Correction, or BBC) that maintains the statistical properties of the BBC but is more computationally efficient. The results support that BBC-F and BBC dominate the other methods in all metrics measured. However, the results also point to open problems and challenges in producing accurate CIs of performance, particularly in the case of multi-class tasks.
BibTeX
@inproceedings{paraschakis2024confidence,
  author = {Konstantinos Paraschakis and Andrea Castellani and Giorgos Borboudakis and Ioannis Tsamardinos},
  title = {{Confidence Interval Estimation of Predictive Performance in the Context of AutoML}},
  booktitle = {AutoML},
  year = {2024},
  url = {https://openreview.net/forum?id=f4BAvKsVmT},
}
Figure