Abstract
Survival analysis is critical for personalized medicine, yet deep learning models in this field often lack interpretability. This paper introduces a formal framework for gradient-based explanation methods tailored to survival models. We propose GradSHAP(t), a novel time-dependent attribution method that offers significant computational efficiency over model-agnostic alternatives while maintaining high local accuracy. Our approach captures how feature importance evolves over time, providing deeper insights into temporal risk dynamics for multi-modal data, including tabular and image-based inputs.
Introduction
Survival analysis—predicting the time until an event occurs—is a cornerstone of clinical decision-making. While deep learning models frequently outperform traditional statistical methods, their "black box" nature limits clinical adoption. Existing Explainable AI (XAI) tools like SurvLIME and SurvSHAP(t) are model-agnostic, treating the network as a closed system. However, these methods are computationally intensive, especially for high-dimensional data like medical imaging, and often fail to efficiently handle the functional, time-dependent output of survival models.
Methods
The proposed framework adapts model-specific, gradient-based attribution methods to the survival context. By leveraging internal model gradients, these methods achieve superior efficiency.
Key methodological contributions include:
- Time-Dependent Extensions: Adaptation of Saliency Maps (Grad(t)), SmoothGrad (SG(t)), and Integrated Gradients (IntGrad(t)) to account for temporal survival predictions.
- GradSHAP(t): A gradient-based approximation of SHAP values. It calculates expected attribution over a reference distribution, offering a more stable baseline than single-point references.
- Temporal Visualizations: Introduction of "Contribution Plots" and "Force Plots" designed for time-to-event data to visualize when specific features drive risk.
Experiments and Results
The framework was validated using synthetic data (simulating time-independent and time-dependent effects) and real-world multi-modal data from The Cancer Genome Atlas (TCGA) for brain cancer (Gliomas), which includes tabular genetic data and high-resolution histology images.
Key Insights
- Temporal Dynamics: Feature importance in survival is often non-static. Our methods successfully capture "crossing hazards," where a feature's impact changes from harmful to protective over time.
- Efficiency: GradSHAP(t) maintains a near-constant runtime as the number of features increases, whereas model-agnostic methods scale poorly. In simulations with 150 features, GradSHAP(t) was orders of magnitude faster than SurvSHAP(t).
- Biological Relevance: In the Glioma dataset, the framework correctly identified known clinical markers (IDH mutation, 1p/19q codeletion) and highlighted relevant regions in histology slides.
Discussion and Future Work
While these methods clarify model behavior, they do not imply biological causality. The authors emphasize that these attributions show what the model used to make a prediction, which does not necessarily reflect a biological cause-and-effect relationship. Future work will extend the framework to handle competing risks and recurrent events, and further integrate with deep learning survival libraries like pycox to broaden adoption.
Summary updated