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.
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:
- 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).
- 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.
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