NeuralSurv : Deep Survival Analysis with Bayesian Uncertainty Quantification
Mélodie Monod, Alessandro Micheli, Samir Bhatt · 2025
Read NeuralSurv : Deep Survival Analysis with Bayesian Uncertainty Quantification by Mélodie Monod, Alessandro Micheli, Samir Bhatt (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-11054.txt.
Introduction
Mélodie Monod, Alessandro Micheli, and Samir Bhatt add honest doubt bars to deep survival forecasts, in a 2025 paper. Survival models guess how long patients or parts will last, and deep versions read rich patterns in the data. Yet they speak with one voice, hiding how unsure they are, which matters most when data are scarce. Their model, NeuralSurv, wraps any deep survival design in a Bayesian shell.
A two-step data trick lets the model track risks that shift over time, with proofs that the trick is sound. A fast update scheme, helped by local straight-line stand-ins for the network, keeps the math in closed form and quick to run. In tests on fake and real data, the model matched or beat top rivals at ranking who lasts longest. Its doubt bars were truer than the rest, the authors report.
Catalog record
| CREATOR | Mélodie Monod, Alessandro Micheli, Samir Bhatt |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 153 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2505-11054
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
NeuralSurv : Deep Survival Analysis with Bayesian Uncertainty Quantification Mélodie Monod, Alessandro Micheli, Samir Bhatt Abstract We introduce NeuralSurv , the first deep survival model to incorporate Bayesian uncertainty quantification. Our non - parametric, architecture - agnostic framework captures time - varying covariate–risk relationships in continuous time via a novel two - stage data - augmentation scheme, for which we establish theoretical guarantees. For efficient posterior inference, we introduce a mean - field variational algorithm with coordinate - ascent updates that scale linearly in model size. By locally linearizing the Bayesian neural network, we obtain full conjugacy and derive all coordinate updates in closed form. In experiments, NeuralSurv delivers superior calibration compared to state-of-the-art deep survival models, while matching or exceeding their discriminative performance across both synthetic benchmarks and real-world datasets. Our results demonstrate the value of Bayesian principles in data - scarce regimes by enhancing model calibration and providing robust, well - calibrated uncertainty estimates for the survival function. 1 Introduction Survival analysis is a branch of statistics focused on the study of time-to-event data, usually called event times. This type of data appears in a wide range of applications such as medicine Li and Ma (2023) , engineering McPherson (2019) , and social sciences Quiroz Flores (2022) . A key objective of survival analysis is to estimate the hazard function and the survival function that govern the distribution of event times. Traditional survival models like the Cox proportional hazards model Cox (1972) and accelerated failure time models Carroll (2003) have long delivered reliable inference under strong parametric assumptions. However, such assumptions may fail to adequately capture complex and evolving baseline hazards, especially when risk relationships vary over time. To overcome these limitations, recent work has begun incorporating modern machine - learning techniques Wang et al. (2019) , and in particular deep architectures Wiegrebe et al. (2024) ; Katzman et al. (2018) ; Lee et al. (2018) , which can learn rich, hierarchical representations directly from data. Yet most deep - survival approaches remain purely frequentist, optimizing point - estimate losses and offering no coherent uncertainty quantification. In high - stakes settings like medicine, this lack of reliable uncertainty estimates can undermine trust and impede adoption. Bayesian statistics, by contrast, inherently quantifies uncertainty: prior beliefs are combined with observed data to yield a posterior distribution over model parameters Gelman et al. (2013) . In survival analysis, Bayesian methods can produce full posterior distributions for individual survival functions summarizable via credible intervals that communicate model confidence Ibrahim et al. (2010) . Traditional Bayesian survival tools, such as Gaussian processes (GPs) Fernandez et al. (2016) ; Kim and Pavlovic (2018) , offer nonparametric flexibility and built - in uncertainty but often falter in high - dimensional settings due to scalability issues. To date, no method has combined the representational power of deep learning with full Bayesian uncertainty quantification in a scalable survival framework. Such a synthesis would hold the potential to learn complex, high - dimensional survival dynamics while retaining principled probabilistic interpretations. In this work, we introduce NeuralSurv , an architecture - agnostic, Bayesian deep - learning framework for survival analysis which integrates with modern deep learning architectures. NeuralSurv leverages deep Neural Networks (NNs) to learn hierarchical representations from covariates and uses a principled variational inference framework to provide rigorous uncertainty quantification over the survival function. We develop a two-stage data-augmentation strategy using latent marked Poisson processes and Pólya–Gamma variables to enable exact continuous-time likelihood computation, and provide novel theoretical guarantees for this approach. By locally linearizing the Bayesian Neural Network (BNN), we achieve conjugacy and derive closed - form coordinate - ascent updates that scale linearly with network size. Through extensive experiments on synthetic and real survival datasets, in data-scarce settings, NeuralSurv consistently delivers superior calibration compared to state - of - the - art deep survival models, and matches or exceeds their discriminative performance. Its Bayesian formulation captures epistemic uncertainty to prevent overfitting, while informative priors induce a soft regularization that yields smooth, plausible survival functions. The code to reproduce our experiments is available on the GitHub repository https://github.com/MLGlobalHealth/neuralsurv under the MIT License. 2 NeuralSurv In this section, we outline the main assumptions underlying NeuralSurv . We begin by briefly reviewing key concepts in survival analysis. Survival analysis focuses on modeling time-to-event data. Let T be a continuous nonnegative random variable with probability density f and cumulative distribution function F , representing the time until a particular event occurs. Its survival function S(t)=\mathbb{P}(T>t)=1-F(t) gives the probability of not experiencing the event by time t , while the hazard function \lambda(t)=f(t)/S(t) represents the instantaneous risk of the event at time t , conditional on having survived up to time t . In practice, the event time may not be observed for all individuals, because some observations are subject to right-censoring , where the event has not yet occurred by the end of the observation period. For each observation i=1,\ldots,N , denote the event time by T_{i} and the censoring time by C_{i} . We observe y_{i}=\min(T_{i},C_{i}) and \delta_{i}=\mathbbm{1}_{\{T_{i}\leq C_{i}\}} where y_{i} represents the observed time (which may correspond either to the event or to censoring), and \delta_{i} indicates whether the event time was observed ( \delta_{i}=1 ) or the observation period was censored ( \delta_{i}=0 ). We assemble the dataset as \mathcal{D}=\{(y_{i},\delta_{i}):i=1,\ldots,N\} . Each observation also carries a covariate vector \mathbf{x}_{i}\in\mathbb{R}^{p} , gathered into \mathbf{X}=\{\mathbf{x}_{i}:i=1,\ldots,N\} . Throughout this paper, we assume that the censoring time C_{i} is independent of the event time T_{i} given \mathbf{x}_{i} (known as non-informative censoring). Further details on survival analysis theory are provided in Appendix A . 2.1 Sigmoidal Hazard Function Our goal is to model the hazard function \lambda , i.e. the instantaneous event rate at time t conditional on survival to t and covariates \mathbf{x} . We employ the sigmoid function \sigma(z)=1/(1+\exp(-z)) , which maps real-valued inputs to the interval (0,1) . The sigmoidal hazard model is constructed as the product of a normalized baseline hazard function ( \lambda_{0} ) and a modulation function ( \sigma ): \lambda(t\mid\mathbf{x};\phi,g(\cdot;\boldsymbol{\theta})):=\lambda_{0}(t,\mathbf{x};\phi)\ \sigma(g(t,\mathbf{x};\boldsymbol{\theta})), (1) where the normalized baseline hazard is given by \lambda_{0}(t,\mathbf{x};\phi):=\frac{\lambda_{0}(t;\phi)}{Z(t,\mathbf{x})}, (2) for the baseline hazard \lambda_{0}:\mathbb{R}_{+}\to\mathbb{R}_{+} , parametrized by \phi\in\mathbb{R}_{+} , and a normalization factor Z(t,\mathbf{x}) that depends on both time and covariates. The term \lambda_{0}(t,\mathbf{x};\phi) encodes our prior “best-guess” hazard profile over time. The flexible function g:\mathbb{R}_{+}\times\mathbb{R}^{p}\to\mathbb{R} , parametrized by \boldsymbol{\theta}\in\mathbb{R}^{m} , provides a data-driven adjustment: once passed through the sigmoid, it multiplicatively attenuates the baseline hazard, continuously scaling it between zero and \lambda_{0} . The normalization factor Z(t,\mathbf{x}) ensures that the overall hazard remains properly scaled after modulation by the sigmoidal function (see Section 2.3 for details). Modeling hazard and intensity functions using sigmoidal transformations is common in applications such as survival analysis Fernandez et al. (2016) and point process models Zhou et al. (2020) ; Donner and Opper (2018) ; Teh and Rao (2011) ; Adams et al. (2009) ; Aglietti et al. (2019) . This approach is popular due to the balance it offers between modeling flexibility and analytical tractability. 2.2 Likelihood Distribution Given the hazard function in ( 1 ), the likelihood density for the observation corresponding to the i^{\text{th}} observation is given by: p(y_{i},\delta_{i}\mid\mathbf{x}_{i},\phi,g(\cdot;\boldsymbol{\theta}))=\\ \Big(\lambda_{0}(y_{i},\mathbf{x}_{i};\phi)\>\sigma(g(y_{i},\mathbf{x}_{i};\boldsymbol{\theta}))\Big)^{\delta_{i}}\exp\left(-\int_{0}^{y_{i}}\lambda_{0}(t,\mathbf{x}_{i};\phi)\>\sigma(g(t,\mathbf{x}_{i};\boldsymbol{\theta}))\mathrm{d}t\right). (3) Assuming (y_{i},\delta_{i})