Interpretable machine learning for time-to-event prediction in medicine and healthcare

Hubert Baniecki, Bartlomiej Sobieski, Patryk Szatkowski, Przemyslaw Bombinski, Przemyslaw Biecek

TL;DR

This paper introduces novel "time-dependent" explainability methods for machine learning models that predict time-to-event outcomes in healthcare. These methods go beyond static explanations to reveal how feature importance and effects change over time, enabling better model debugging, bias detection, and discovery of medical insights, particularly in survival analysis and hospital length-of-stay prediction.

What Problem Does This Paper Address?

Machine learning (ML) models are increasingly used in healthcare for tasks like predicting patient survival or hospital length of stay (LoS). However, these "black-box" models can be difficult to understand, hindering trust and adoption by clinicians. Traditional explainability methods often provide static insights, failing to capture the dynamic nature of time-to-event predictions. This is a critical limitation, as understanding when and why a prediction changes over time is crucial for medical decision-making and for identifying potential biases in the models. The paper aims to bridge this gap by developing and demonstrating interpretable ML techniques specifically tailored for time-to-event prediction.

Methods

The core contribution of this paper is the formalization and application of time-dependent global explanations. These methods extend existing explainability techniques to account for the temporal aspect of survival analysis.

  • Time-Dependent Individual Conditional Expectation (ICE): This local explanation method shows how a specific feature's value influences a model's prediction for a single observation over time.
  • Time-Dependent Partial Dependence Plots (PDP): This global explanation method illustrates the average effect of a feature on the model's prediction across all observations over time.
  • Time-Dependent Global Feature Importance: The paper introduces two approaches:
  • Global SurvSHAP(t) Feature Importance: Aggregates local feature attributions from time-dependent Shapley values.
  • Time-Dependent Permutation Feature Importance (PFI): Measures how much a model's performance (e.g., Brier score) degrades when a feature's influence is broken over time. This is extended to Grouped Permutation Feature Importance to assess the impact of entire feature modalities (like miRNA or RNA data).

These methods are designed to be model-agnostic, meaning they can be applied to any ML survival model.

Datasets

The paper utilizes two primary datasets:

  • TLOS Dataset: A novel, multi-modal dataset introduced by the authors, comprising X-ray images, textual radiology reports, and tabular patient data from 1235 patients. This dataset is used for predicting hospital length of stay.
  • TCGA Benchmark: A large-scale, standardized collection of datasets derived from The Cancer Genome Atlas (TCGA). This benchmark, consisting of 11 datasets with 25 multi-modal features each, is used for explaining cancer survival predictions.

Key Insights and Ideas

  • Time is Crucial: The most significant insight is that static explanations are insufficient for time-to-event predictions. Understanding how feature importance and effects evolve over time is essential for accurate interpretation and debugging.
  • Bias Detection: Time-dependent explanations can reveal subtle biases in ML models. For instance, the TLOS dataset analysis showed a model exhibiting bias towards the presence of medical devices in X-rays, potentially leading to inaccurate LoS predictions.
  • Multi-Modal Feature Importance: Grouped feature importance allows for a nuanced understanding of how different data modalities (e.g., clinical data, genomics, imaging) contribute to survival predictions over time, aiding in biomarker discovery.
  • Model Debugging and Alignment: The proposed methods can help developers debug ML models by identifying unexpected feature influences and assist physicians in aligning model predictions with domain knowledge.

Key Results

  • Hospital LoS Prediction:
    • The GBDT model achieved the best performance (0.668 C-index, 0.117 IBS) on the TLOS dataset.
  • Time-dependent explanations revealed that the presence of medical devices in X-rays was a significant, potentially biased, predictor of longer hospital stays.
  • Local explanations showed that features like "Parenchymal opacification = Occurs" and "Medical devices = Absent" had a strong influence on predicted LoS for a specific patient.
  • Cancer Survival Prediction (TCGA):
    • Time-dependent grouped permutation importance showed that clinical and miRNA features were generally the most influential across various cancer types.
  • The analysis highlighted how feature importance rankings can shift over time, emphasizing the need for dynamic explanations.
  • In some cases, certain modalities appeared to add noise, negatively impacting model performance, as seen in the PAAD dataset.

Limitations and Future Work

  • Information Overload: Time-dependent explanations introduce an additional dimension, which can lead to information overload for human users, especially with many features. Future work should focus on interactive visualization techniques to mitigate this.
  • Perceptual Challenges: Visualizing explanations with numerous curves and unique feature values can be challenging.
  • Dataset Biases: The authors acknowledge that the TLOS dataset has geographical and patient-type biases.
  • Scalability and Efficiency: Improving the computational efficiency and accuracy of estimating explanations for complex models and datasets is an area for future research.
  • Human Feedback: Incorporating human feedback into the visualization of time-dependent explanations is suggested for better usability.
  • Adversarial Robustness: Like other post-hoc methods, time-dependent explanations can be vulnerable to adversarial attacks, which needs consideration.

Summary updated

BibTeX
@article{baniecki2023interpretable,
  author = {Hubert Baniecki and Bartlomiej Sobieski and Patryk Szatkowski and Przemyslaw Bombinski and Przemyslaw Biecek},
  title = {{Interpretable machine learning for time-to-event prediction in medicine and healthcare}},
  journal = {Artif. Intell. Medicine},
  year = {2023},
  url = {https://openreview.net/forum?id=PjLJ9Yv3V4},
}
Figure