Gradient-based Explanations for Deep Learning Survival Models

Sophie Hanna Langbein, Niklas Koenen, Marvin N. Wright
2/7/2025
stat.MLcs.LG

No official code found. Best implementation: bips-hb/Survival-XAI-ICML (4 stars, last commit 2025-05-28).

Abstract

Deep learning survival models often outperform classical methods in time-to-event predictions, particularly in personalized medicine, but their "black box" nature hinders broader adoption. We propose a framework for gradient-based explanation methods tailored to survival neural networks, extending their use beyond regression and classification. We analyze the implications of their theoretical assumptions for time-dependent explanations in the survival setting and propose effective visualizations incorporating the temporal dimension. Experiments on synthetic data show that gradient-based methods capture the magnitude and direction of local and global feature effects, including time dependencies. We introduce GradSHAP(t), a gradient-based counterpart to SurvSHAP(t), which outperforms SurvSHAP(t) and SurvLIME in a computational speed vs. accuracy trade-off. Finally, we apply these methods to medical data with multi-modal inputs, revealing relevant tabular features and visual patterns, as well as their temporal dynamics.

View on arXivView PDF

Code Implementations(1)

This repository contains the code and material to reproduce the results of the ICML'25 paper "Gradient-based Explanations for Deep Learning Survival Models".

40R, HTMLJan 30, 20251 years ago
feature-attributionimlsurvival-analysisxai

Similar Papers

Cite this paper

@article{langbein2025gradientbased,
  title  = {Gradient-based Explanations for Deep Learning Survival Models},
  author = {Sophie Hanna Langbein and Niklas Koenen and Marvin N. Wright},
  year   = {2025},
  eprint = {2502.04970},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.04970v1},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.04970.svg)](https://codeofpaper.com/paper/2502.04970)

Discussion