Confidence Intervals and Simultaneous Confidence Bands Based on Deep Learning

Asaf Ben Arie, Malka Gorfine · DOI

TL;DR

This paper introduces a novel, non-parametric bootstrap method for quantifying uncertainty in deep learning predictions, specifically addressing the challenge of reliable confidence intervals and bands for survival analysis with right-censored data. The method effectively disentangles data uncertainty from optimization noise, leading to valid and less conservative estimates compared to existing approaches.

What Problem Does This Paper Address?

Deep learning models excel at prediction but often fall short in providing reliable estimates of their uncertainty. This lack of trustworthy uncertainty quantification limits their real-world applicability, especially in critical domains like healthcare where understanding prediction confidence is paramount. Existing methods for quantifying uncertainty in deep learning, such as Bayesian approaches or frequentist confidence intervals, have been shown to produce intervals that are either statistically invalid or overly conservative. A significant gap exists in methods that can handle uncertainty estimation for deep neural networks applied to survival analysis, which inherently deals with censored data where the exact event time is unknown.

Methods

The core contribution is a non-parametric ensemble-based bootstrap procedure. This method aims to accurately estimate prediction uncertainty by:

  • Ensemble Averaging: Generating multiple predictions from an ensemble of deep neural networks trained on the same data. This helps to average out the noise introduced by the optimization process.
  • Bootstrap Resampling: Applying the bootstrap procedure to the training data to capture data uncertainty.
  • Decomposition of Variance: The method is motivated by a theoretical decomposition of the prediction error into components related to data uncertainty and optimization noise. The ensemble approach specifically targets and reduces the contribution of the optimization noise.

This approach is designed to be ad-hoc, meaning it can be integrated into existing deep learning workflows without altering the model architecture or training process.

Datasets

The paper evaluates its proposed method using both simulated data and four real-world survival datasets:

  • Simulated Data: Five different settings were used to generate synthetic survival data, varying in their hazard function complexity (linear vs. non-linear proportional hazards) and censoring rates.
  • Real-World Datasets:
    • SUPPORT: Study to Understand Prognoses Preferences Outcomes and Risks of Treatment (8,873 observations)
    • METABRIC: Molecular Taxonomy of Breast Cancer International Consortium (1,904 observations)
    • Rot. & GBSG: Rotterdam tumor bank and German Breast Cancer Study Group (2,323 observations)
    • FLCHAIN: Assay of Serum Free Light Chain (6,524 observations)

These datasets are commonly used in survival analysis research and are available through the PyCox library.

Key Insights and Ideas

  • Disentangling Uncertainty Sources: The key innovation is the ability to separate uncertainty arising from the data itself versus uncertainty stemming from the stochastic nature of deep learning training (optimization noise).
  • Valid and Non-Conservative Intervals: The proposed method demonstrably produces confidence intervals and bands that are statistically valid (achieve the nominal coverage rate) and are less conservative (narrower) than naive bootstrap approaches.
  • Applicability to Survival Analysis: A significant breakthrough is the development of a method that can reliably quantify uncertainty for deep learning models in survival analysis, a domain previously lacking such tools, especially with right-censored data.
  • Ensemble Power: The ensemble-based approach effectively mitigates the overestimation of variance that arises from naive bootstrap methods applied to deep learning.
  • Importance of Model Depth: For complex hazard functions, deeper neural networks are suggested to be crucial for achieving the "small bias" claim of DNN survival estimators, which in turn supports the validity of the uncertainty estimates.

Key Results

  • Improved Coverage: The proposed ensemble method consistently achieved empirical coverage rates closer to the nominal level (e.g., 90% or 95%) compared to the naive bootstrap approach, which often showed significant over-coverage.
  • Narrower Confidence Bands: The ensemble-based confidence bands were substantially narrower than those from the naive bootstrap, indicating more precise uncertainty estimates. The proportional-KS method, in particular, often yielded the narrowest bands while maintaining good coverage.
  • Effect of Controls: In simulation studies, increasing the number of "controls" (a concept from CoxTime's efficiency shortcut) generally improved coverage rates and narrowed confidence bands for the ensemble method.
  • Dataset Performance: The method was evaluated on four real-world survival datasets, demonstrating its practical utility. Table 2 shows that for all datasets, the ensemble-based methods (KS and Prop KS) produced narrower confidence bands than the naive bootstrap.

Limitations and Future Work

  • Computational Burden: While the method is effective, constructing the ensemble and performing bootstrap resampling can be computationally intensive. The paper notes the "computational impracticality of constructing a confidence band for the ensemble survival estimator" in some cases.
  • Bias Dependence: The validity of the uncertainty estimates is shown to be dependent on the bias of the underlying deep neural network. For complex hazard functions, deeper networks are needed to ensure low bias, which is critical for accurate uncertainty quantification. If the network is not deep enough, undercoverage can be observed.
  • Future Work: The authors suggest focusing on improving the proposed approach to reduce computational burden. Further research could explore more efficient ensemble strategies or alternative resampling techniques.

Summary updated

BibTeX
@article{arie2024confidence,
  author = {Asaf Ben Arie and Malka Gorfine},
  title = {{Confidence Intervals and Simultaneous Confidence Bands Based on Deep Learning}},
  journal = {Accepted by TMLR},
  year = {2024},
  doi = {10.48550/arxiv.2406.14009},
}
Figure