Predicting with Confidence from Survival Data

Henrik Boström, Ulf Johansson, Anders Vesterberg

Introduction

Survival analysis is a critical statistical field focused on predicting the time until an event occurs—be it a mechanical failure in a truck engine or a patient's recovery from a medical condition. While modern machine learning tools like Random Survival Forests have improved predictive performance, they often lack reliable measures of uncertainty. This paper addresses this gap by integrating the Conformal Prediction (CP) framework into survival analysis, providing mathematically guaranteed error bounds for "time-to-event" outcomes at specific points in time.

The Challenge of Censoring

A fundamental difficulty in survival analysis is censoring. We frequently do not know the exact time an event occurs because a study ends or a subject is lost to follow-up before the event happens. Traditional CP survival models typically require the predicted time points to follow the same distribution as the training data. This limitation makes it difficult to answer specific operational questions, such as "Will this truck fail within the next 30 days?" This research introduces a method to maintain mathematical guarantees even for these fixed, user-defined time points.

Methodology: Conformal Classification Forests

The authors propose a paradigm shift, moving from specialized survival trees to Conformal Classification Forests. The process involves four key steps:

  1. Reframing the Task: Instead of modeling an entire survival curve, the model focuses on a specific time point of interest ($t_s$).
  2. Data Filtering: Survival data is transformed into a binary classification problem. If an event occurs before $t_s$, the label is 1; if the subject survives past $t_s$, the label is 0. Crucially, if a subject is censored before $t_s$, their label is unknown, and the instance is excluded from the training set.
  3. Standard Random Forests: By reducing the problem to binary classification (Event vs. No Event), the researchers can leverage standard, highly optimized Random Forest algorithms.
  4. Inductive Conformal Prediction (ICP): A calibration set is used to calculate p-values for new predictions. The study also employs a Mondrian (class-conditional) approach to ensure error rates are controlled separately for events and non-events, which is vital for the imbalanced datasets common in industrial and medical contexts.

Experimental Setup

The methodology was evaluated using five public benchmark datasets and two large-scale industrial datasets from Scania CV AB, focusing on NOx sensor and alternator failures in heavy trucks.

Summary of the five public benchmark datasets used in the study, including instance counts, feature counts, and event fractions.

Results and Key Insights

Reliability and Validity

The primary finding is that the "Validity" (actual coverage) of the model consistently remained near the requested 95% confidence level across all datasets and time points. This confirms that the conformal framework successfully provides the promised mathematical guarantees despite the simplification of the survival task.

Impact of Censoring and Time

As the time point of interest ($t_s$) moves further into the future, the classification task becomes more difficult. This is partly due to the increasing rate of data exclusion caused by censoring.

The exclusion rate across different datasets as the time point (percentile) increases, demonstrating the loss of data due to censoring at later time horizons.

Industrial Utility

In the Scania case studies, where failures are rare (5-8%), the Mondrian CP approach proved essential. It allowed the model to be equally reliable at predicting rare failures as it was at predicting the common "no failure" state. High confidence and credibility scores were strongly correlated with correct predictions, providing fleet managers with a trustworthy tool for preventative maintenance.

Limitations and Future Work

While effective, the current method's primary limitation is information loss. By discarding instances censored before $t_s$, potentially valuable data is ignored. Future research may explore semi-supervised learning to recover this information. Additionally, the authors suggest moving toward Venn Prediction to provide precise probability intervals (e.g., an 8-12% chance of failure) rather than binary set-valued labels.

Summary updated

BibTeX
@inproceedings{bostrom2019predicting,
  author = {Henrik Boström and Ulf Johansson and Anders Vesterberg},
  title = {{Predicting with Confidence from Survival Data}},
  booktitle = {COPA},
  year = {2019},
}
Figure