Deep Nonparametric Inference for Conditional Hazard Function

Wen Su, Kin-Yat Liu, Guosheng Yin, Huang Jian, Xingqiu ZhaoarXiv 2024 · DOI

Abstract

We propose a novel deep learning approach to nonparametric statistical inference for the conditional hazard function of survival time with right-censored data. We use a deep neural network (DNN) to approximate the logarithm of a conditional hazard function given covariates and obtain a DNN likelihood-based estimator of the conditional hazard function. Such an estimation approach renders model flexibility and hence relaxes structural and functional assumptions on conditional hazard or survival functions. We establish the nonasymptotic error bound and functional asymptotic normality of the proposed estimator. Subsequently, we develop new one-sample tests for goodness-of-fit evaluation and two-sample tests for treatment comparison. Both simulation studies and real application analysis show superior performances of the proposed estimators and tests in comparison with existing methods.

Introduction

In survival analysis, the primary objective is to model the risk of an event occurring over time—such as patient mortality or mechanical failure—based on specific covariates. For decades, the Cox Proportional Hazards (PH) model has served as the industry standard. However, the Cox model and its derivatives (e.g., Additive Hazards or Accelerated Failure Time models) rely on restrictive assumptions, such as the proportionality of hazards or linear relationships between covariates.

When these assumptions are violated in complex, real-world datasets, traditional models can produce biased results. While deep learning has recently been applied to survival prediction to capture these complexities, it often lacks the theoretical framework required for formal statistical inference, such as p-value calculation and hypothesis testing. This paper introduces a model-free, deep learning framework that bridges this gap, providing both the flexibility of neural networks and the rigor of classical statistics.

Methodology

DNN-Based Hazard Estimation

The proposed method utilizes a Deep Neural Network (DNN) to approximate the logarithm of the conditional hazard function, defined as:

$$\lambda(t|x) = \exp\{g(t, x)\}$$

By modeling the log-hazard, the researchers ensure that the hazard rate remains positive. The DNN is trained by maximizing a log-likelihood function specifically formulated to handle right-censored survival data. Unlike traditional models, this approach does not assume a predefined "baseline hazard" function; instead, the network learns the entire relationship between time, covariates, and risk directly from the data.

Theoretical Guarantees

A major contribution of this work is the establishment of the "statistical heavy lifting" necessary for inference:

  1. Nonasymptotic Error Bounds: The authors provide mathematical proof of how quickly the estimation error decreases as the sample size increases.
  2. Functional Asymptotic Normality: They prove that the estimator follows a predictable distribution as the sample size grows. This property is essential for transforming a "black box" neural network into a valid statistical tool capable of generating confidence intervals and p-values.

Statistical Inference and Testing

Building on the theoretical properties of the DNN estimator, the paper introduces several new hypothesis tests:

  • One-Sample Tests: Used to determine if a specific hazard function accurately fits the observed data.
  • Two-Sample Tests: Designed for treatment comparisons, allowing researchers to rigorously compare risks between two groups (e.g., treatment vs. control).
  • Goodness-of-Fit (GoF) Tests: These tests evaluate whether traditional models (like Cox or Additive Hazards) are actually appropriate for a specific dataset, providing a diagnostic tool for researchers.

Empirical Results

Simulation Studies

The researchers tested their framework against synthetic datasets generated from Cox, Additive Hazards (AH), and Accelerated Failure Time (AFT) structures. In scenarios involving nonlinear relationships (e.g., squared terms or complex interactions), the DNN estimator significantly outperformed standard models in terms of the Discrepancy Metric, a measure of estimation error. Furthermore, the proposed GoF tests demonstrated high statistical power, successfully detecting when traditional model assumptions were violated.

Real-World Application: The SUPPORT Dataset

The method was applied to the "Study to Understand Prognoses and Preferences for Outcomes and Risks of Treatment" (SUPPORT) dataset, which contains records for 9,104 seriously ill hospitalized patients. The authors' GoF tests yielded p-values < 0.001 for both the Cox and AH models. This indicates that these standard models were fundamentally inappropriate for this clinical data, highlighting the necessity of the more flexible DNN-based approach for accurate medical prognosis.

Conclusion

This paper successfully integrates the flexibility of deep learning with the rigorous requirements of nonparametric statistical inference. While the approach requires more computational overhead and careful hyperparameter tuning than traditional methods, it offers a robust alternative for survival analysis when data complexity exceeds the limits of proportional hazards models. Future work may involve exploring "maxCombo" tests to further enhance the power of these hypothesis tests and investigating scenarios where hazard rates may be zero for specific intervals.

Summary updated

BibTeX
@misc{su2024deep,
  author = {Wen Su and Kin-Yat Liu and Guosheng Yin and Huang Jian and Xingqiu Zhao},
  title = {{Deep Nonparametric Inference for Conditional Hazard Function}},
  year = {2024},
  eprint = {2410.18021},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.18021},
}
Figure