International Journal of Research and Development in Engineering Sciences
Open Access publication.
Computational and Statistical Reliability of Machine Learning Performance Metrics: AUC Variance and Confidence Interval Failure
Abstract
The area under the ROC curve (AUC) is reported with a confidence interval, usually from a variance formula or a bootstrap, and both are trusted at sample sizes where they are not reliable. We study the Mann–Whitney estimate of the AUC in the binormal model, where the exact variance is a function of two integrals. We show that the Hanley–McNeil approximation overstates the variance by up to a factor of 3.1, that the variance is governed by the number of positives (extra negatives beyond about ten per positive reduce it by less than 10%), and that a 95% interval of half-width 0.05 at AUC 0.9 needs 138 cases with balanced classes but 3,478 with 1% positives. We also prove a bound on coverage: any interval that collapses to a point when the estimate equals 1 has coverage at most 1 ? p1, where p1 is the probability that every positive outscores every negative; a one-dimensional integral gives p1, and it matched simulation within 0.006. At AUC 0.98 with 20 positives and 380 negatives, the best of five methods covered 98% instead of 95%. On the breast cancer and digits datasets, with the AUC near 0.995, coverage with 20 positives and 180 negatives ranged from 45% to 68%, while for a weak feature (AUC 0.72) the same methods were close to nominal. Synthetic results are simulations; the real data are two small benchmark sets sampled with replacement.
Keywords: AUC, ROC curve, confidence interval, Mann–Whitney statistic, class imbalance, bootstrap
How to cite this article
CrossRef DOI: https://doi.org/10.63328/ijrdes-v8ri1p3