Learning Survival Distribution with Implicit Survival Function

Yu Ling, Weimin Tan, Bo Yan

Abstract

Survival analysis is a cornerstone of statistical modeling for time-to-event data, yet it faces significant challenges from right-censoring and the limitations of traditional parametric or discretized models. This paper presents the Implicit Survival Function (ISF), a novel deep learning approach that leverages Implicit Neural Representations and sinusoidal positional encoding to model survival distributions as continuous functions. By employing numerical integration to derive survival probabilities from continuous hazard rates, ISF decouples model architecture from fixed time-grids. Experimental results across three diverse datasets—CLINIC, MUSIC, and METABRIC—demonstrate that ISF consistently outperforms state-of-the-art baselines in ranking accuracy and robustness.

Introduction

Survival analysis aims to predict the time until a specific event occurs, such as a patient's death or a customer's churn. A defining characteristic of this field is censorship, where the event of interest has not yet occurred for a portion of the study population. Classical models, such as the Cox Proportional Hazards model, often rely on the restrictive assumption that relative risk remains constant over time. Conversely, modern deep learning models like DeepHit attempt to overcome these limitations by discretizing time into fixed intervals. However, such discretization introduces a dependency on the chosen time-grid, potentially leading to information loss or rigid model architectures.

The Implicit Survival Function (ISF) Framework

The ISF model addresses these challenges by treating the survival probability as an implicit function of both individual features ($x$) and time ($t$). The framework is built upon three core components:

1. Implicit Neural Representation (INR)

Instead of predicting probabilities for a predefined set of time steps, ISF learns a continuous function $h(t|x)$ representing the conditional hazard rate. This approach allows the model to represent the survival process with arbitrary precision, independent of any specific time-grid used during training.

2. Positional Encoding and Architecture

To enable the neural network to effectively process the temporal dimension, ISF utilizes sinusoidal positional encoding for the time variable $t$. This technique, popularized by Transformer architectures, allows the model to capture complex, high-frequency temporal patterns and facilitates extrapolation to time points not explicitly seen during training.

Detailed architecture of the ISF model showing the integration of covariate encoding and positional time encoding.

As shown in the architecture diagram, the model encodes covariates $x$ through an encoding network $E(\cdot)$ and combines the resulting representation with the positional encoding of time $t$ via an addition operation. This combined vector is then processed by a regression network $H(\cdot)$ to output the estimated hazard rate $\hat{h}(t|x)$.

3. Numerical Integration

Since the model outputs a continuous hazard rate, the survival distribution $\hat{p}(t|x)$ must be derived through integration. The authors employ Simpson’s Rule, a robust numerical integration technique, to calculate the Cumulative Distribution Function (CDF). This step is crucial for transforming the instantaneous risk (hazard) into a cumulative probability of survival over time.

The process of deriving the survival distribution from continuous hazard rates via numerical integration.

Experimental Evaluation

The performance of ISF was evaluated on three public datasets:

  • CLINIC: Physiological data for predicting biological death.
  • MUSIC: A large-scale dataset (3 million+ entries) for predicting user return times.
  • METABRIC: Clinical and genomic data for breast cancer survival.

ISF achieved state-of-the-art results, consistently outperforming baselines such as DeepSurv, DeepHit, and Random Survival Forests. On the massive MUSIC dataset, ISF reached a Concordance Index (C-index) of 0.701, significantly surpassing the next best model, DRSA (0.610). Furthermore, ablation studies indicated that ISF is remarkably robust to the resolution of the training time-grid, maintaining high performance even when trained on coarse data.

Conclusion

The Implicit Survival Function (ISF) provides a flexible and powerful framework for survival analysis. By combining Implicit Neural Representations with positional encoding and numerical integration, it overcomes the limitations of both classical parametric models and modern discretized deep learning methods. Its ability to model continuous survival functions while remaining parallelizable and robust to time-grid variations makes it a significant contribution to the field of time-to-event prediction.

Summary updated

BibTeX
@inproceedings{ling2023learning,
  author = {Yu Ling and Weimin Tan and Bo Yan},
  title = {{Learning Survival Distribution with Implicit Survival Function}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/442},
}
Figure