Inferring Outcome Means of Exponential Family Distributions Estimated by Deep Neural Networks

Xuran Meng, Yi LiarXiv 2025 · DOI

Introduction

Deep Neural Networks (DNNs) have become the gold standard for predictive modeling across diverse domains, from finance to healthcare. However, their adoption in high-stakes decision-making is often hindered by their "black box" nature. While a model might predict a 70% risk of hospital readmission, it rarely provides a measure of how certain that prediction is. In classical statistics, confidence intervals provide this necessary context, but constructing them for DNNs is notoriously difficult due to non-convex loss functions and the computational burden of traditional resampling methods.

This paper introduces a rigorous framework for statistical inference on DNN estimates, specifically targeting categorical or count data—outcomes that fall within the exponential family. By combining a DNN estimator for Generalized Nonparametric Regression Models (GNRMs) with a novel Ensemble Subsampling Method (ESM), the authors provide a pathway to construct reliable, computationally efficient confidence intervals that account for input-dependent noise (heteroskedasticity).

The Challenge: Beyond Mean Squared Error

In many real-world scenarios, such as logistic or Poisson regression, the variance of the outcome is inherently tied to the mean. This heteroskedasticity violates the common assumption in deep learning theory that noise is independent of the input covariates. Most existing theoretical proofs for DNN convergence fail in these "generalized" settings.

Furthermore, standard methods for uncertainty quantification, such as the bootstrap, are often prohibitively expensive for large-scale neural networks. Bayesian Neural Networks offer an alternative but often rely on approximations that may not provide frequentist coverage guarantees. The authors address these gaps by developing a theoretical foundation that explicitly allows for dependence between estimation errors and inputs.

The Proposed Framework

1. The GNRM DNN Estimator

Instead of the standard mean-squared error (MSE) loss, the authors define an estimator that minimizes the negative log-likelihood of an exponential family distribution. They prove that this estimator achieves optimal convergence rates even when the noise distribution depends on the covariates. This theoretical redevelopment ensures that the error bounds remain valid for the complex data structures found in generalized linear models.

2. Ensemble Subsampling Method (ESM)

To make inference practical, the authors propose the Ensemble Subsampling Method (ESM), which consists of three key steps:

  • Subsampling: The training data is divided into multiple smaller subsets of size $r$.
  • Ensembling: A DNN is trained on each subset. The final prediction is the average of these subset-specific models.
  • U-Statistics and Smoothing: By treating the ensemble as a "generalized U-statistic," the authors leverage Hoeffding decomposition to prove that the ensemble estimator follows a normal distribution asymptotically. This effectively "smooths" the erratic behavior of individual DNNs into a mathematically tractable form.

3. Bias-Corrected Variance

To estimate the variance of the ensemble, the authors adapt the "infinitesimal jackknife" method. A critical contribution is the introduction of a bias-correction term. Without this term, standard ensemble variance estimators tend to overestimate uncertainty when the number of subsamples is relatively small, leading to inefficiently wide confidence intervals. The proposed correction prevents this "Monte Carlo bias."

Empirical Validation

Simulation Studies

The methodology was first evaluated using simulated nonparametric versions of Logistic, Poisson, and Binomial regression models. The ESM produced 95% confidence intervals that achieved near-nominal coverage (containing the true value 93-95% of the time). Notably, ESM outperformed Bayesian Neural Networks and the "HulC" method by producing significantly narrower and more precise intervals while maintaining accuracy.

Clinical Application: eICU Database

The authors applied ESM to the eICU Collaborative Research Database, focusing on predicting ICU readmission risk. Using data from Hospital #188 (2,632 patients), the model achieved an AUC of 0.84.

Beyond simple prediction, the ESM provided actionable clinical insights. It identified specific patients—often those with outlier values in glucose or white blood cell counts—where the model's uncertainty was high. This allows clinicians to distinguish between a high-risk prediction the model is confident in versus a prediction where the model is essentially guessing due to unusual patient data. This distinction is vital for safety-critical triage decisions.

Conclusion and Future Work

The framework presented offers a significant step toward making deep learning models more transparent and reliable for statistical inference. By moving beyond the assumption of independent noise and providing a bias-corrected ensemble approach, the authors bridge the gap between high-performance deep learning and rigorous frequentist inference.

Future research directions include:

  • Activation Functions: Extending the theoretical proofs beyond piecewise linear activations (like ReLU) to smooth functions like Tanh or GELU.
  • Optimization: Addressing the "optimization gap" between the theoretical global minimum and the local minima reached in practice.
  • Causal Inference: Leveraging ESM to estimate Conditional Average Treatment Effects (CATE), which would have profound implications for personalized medicine and policy evaluation.

Summary updated

BibTeX
@misc{meng2025inferring,
  author = {Xuran Meng and Yi Li},
  title = {{Inferring Outcome Means of Exponential Family Distributions Estimated by Deep Neural Networks}},
  year = {2025},
  eprint = {2504.09347},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.09347},
}
Figure