Censor Dependent Variational Inference

Chuanhui Liu, Xiao Wang

This paper tackles a fundamental mismatch in how modern deep learning is applied to survival analysis. By rethinking the "variational" part of Variational Autoencoders (VAEs) for time-to-event data, the authors provide both a theoretical wake-up call and a practical performance boost for predicting individual health outcomes.

The Challenge of Censoring in Latent Variable Models

Survival analysis is the study of "time-to-event"—how long until a patient recovers, a machine fails, or a customer churns. The primary hurdle in survival data is censoring. If a clinical trial ends before a patient experiences an event, the exact time remains unknown; we only know it occurs after the trial's conclusion.

Recently, researchers have utilized Latent Variable Survival Models (LVSMs) to capture complex, non-linear survival patterns. These models typically rely on Variational Inference (VI) to handle hidden factors influencing survival. However, existing methods often use a "vanilla" variational distribution that ignores whether a data point is censored or not.

The authors prove that this oversight leads to latent non-identifiability. Essentially, the model becomes "lazy," ignoring the latent features and collapsing back to simpler, less expressive distributions. This results in a significant gap between the model's objective and the actual likelihood of the data.

Comparison of Vanilla VI and CDVI posteriors

As shown above, vanilla VI forces a constrained distribution shared across all data, failing to capture the true posterior. In contrast, a censor-dependent approach allows for a mixture of distributions tailored to whether an event was observed or censored.

Censor-Dependent Variational Inference (CDVI)

To address this, the core innovation introduced is Censor-Dependent Variational Inference (CDVI).

  1. The $\delta$-Dependency: In standard VAEs, the encoder looks at the features ($x$) and the outcome ($y$). In CDVI, the encoder must also incorporate the censoring indicator ($\delta$). The authors mathematically prove that the optimal variational distribution is fundamentally different for censored versus uncensored individuals.
  2. CD-CVAE Architecture: They implement this theory via a Censor-Dependent Conditional VAE. The encoder explicitly takes the tuple $(x, y, \delta)$ as input.
  3. V-Structure Decoder: Unlike many models that assume the latent variable $z$ is dependent on $x$, they use a "V-structure" where $x$ and $z$ act as independent priors that combine to determine the event time. This structural choice prevents the model from ignoring the latent variable.
CD-CVAE Encoder and Decoder Architecture

The authors also introduce advanced training variants to further improve the model:

  • IS (Importance Sampling): Uses multiple samples to create a tighter bound on the likelihood.
  • DVI (Delta Method): A novel variant utilizing Taylor expansions to reduce the mathematical bias inherent in log-likelihood estimation.

Empirical Validation and Key Results

The authors validated their approach on a mix of synthetic datasets (with varying censoring rates from 0% to 100%) and high-stakes real-world clinical benchmarks, including SUPPORT, METABRIC, WHAS, and FLCHAIN.

The CD-CVAE model consistently outperformed state-of-the-art survival models like DeepSurv, Deep Survival Machines (DSM), and Random Survival Forests:

  • Accuracy Boost: On the WHAS dataset, the model achieved a 5% higher C-index (measuring how well the model ranks patient risks) than previous top-tier models.
  • Better Calibration: The model showed significantly lower Brier Scores, meaning its predicted probabilities of survival were more accurate and closer to reality.
  • Reduced Inference Gap: In simulations, CD-CVAE dramatically reduced the KL-divergence (the error in the latent space) compared to vanilla VI, proving that the theoretical fix translates to practical representation learning.

Limitations and Future Directions

While the paper provides a strong theoretical framework, some challenges remain:

  • Amortization Gap: Like all VAEs, there is still a gap between the "best possible" inference and what a neural network can learn. In extreme censoring cases, the model can still struggle to perfectly capture the censoring distribution.
  • Hyper-parameter Sensitivity: The "Delta Method" variant, while theoretically superior, requires careful tuning of sample sizes to avoid numerical instability.
  • Complex Censoring: The current work assumes "non-informative" censoring (the reason someone leaves the study isn't related to their risk). Future work could extend CDVI to "competing risks," where different types of events interfere with each other.

Ultimately, this work demonstrates that censoring is not just "missing data"—it is a vital piece of information that must shape how we encode latent states in survival analysis.

Summary updated

BibTeX
@inproceedings{liu2025censor,
  author = {Chuanhui Liu and Xiao Wang},
  title = {{Censor Dependent Variational Inference}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=fHD76uOB4t},
}
Figure