Abstract
Hazard and survival functions are natural, interpretable targets in time-to-event prediction, but their inherent non-additivity fundamentally limits standard additive explanation methods. We introduce Survival Functional Decomposition (SurvFD), a principled approach for analyzing feature interactions in machine learning survival models. By decomposing higher-order effects into time-dependent and time-independent components, SurvFD offers a previously unrecognized perspective on survival explanations, explicitly characterizing when and why additive explanations fail. Building on this theoretical decomposition, we propose SurvSHAP-IQ, which extends Shapley interactions to time-indexed functions, providing a practical estimator for higher-order, time-dependent interactions. Together, SurvFD and SurvSHAP-IQ establish an interaction- and time-aware interpretability approach for survival modeling, with broad applicability across time-to-event prediction tasks.
The Challenge of Non-Additive Survival Models
Survival analysis—predicting the time until an event such as medical recovery or mechanical failure—is inherently complex. Most current "explainable AI" (XAI) tools, such as standard SHAP, rely on the assumption that feature effects are additive (i.e., the total effect is simply the sum of individual feature effects).
However, survival models are fundamentally non-additive. Even if a model appears simple on a "log-hazard" scale, transforming it into a "survival probability"—the metric most relevant to clinicians—induces complex, often artificial interactions. Furthermore, standard methods struggle to distinguish between effects that remain constant and those that evolve over time, such as a drug with immediate versus delayed efficacy. This research addresses this gap by providing a principled way to decompose these time-dependent interactions.
Methods: SurvFD and SurvSHAP-IQ
The authors introduce two primary contributions to the field of survival model interpretability:
- SurvFD (Survival Functional Decomposition): This theoretical framework breaks down survival prediction functions into main effects and interaction effects of any order. Crucially, it categorizes these into time-dependent and time-independent components, allowing researchers to pinpoint exactly when and why additive explanations fail.
- SurvSHAP-IQ: A practical estimator that extends "n-Shapley values" to time-indexed functions. Unlike standard SHAP, which provides a single attribution value per feature, SurvSHAP-IQ generates attribution curves over time for both individual features and their interactions.
To ensure computational feasibility, the authors adapted regression-based kernel approximations to handle the survival context, overcoming the NP-hard nature of calculating Shapley interactions.
Key Insights: The Scale Trap and Downward Propagation
A significant finding of this work is the "Scale Trap": a model with zero interactions on the log-hazard scale will inevitably exhibit interactions on the survival probability scale. This implies that standard XAI tools may identify "interactions" that are merely mathematical artifacts rather than underlying biological or physical phenomena.
Additionally, the framework identifies "Downward Propagation": if a high-order interaction (e.g., A × B × C) is time-dependent, SurvFD demonstrates that this time-dependence "leaks" into lower-order effects (e.g., Feature A). This explains why some feature attributions appear to change over time even when the feature's actual impact is constant.
Empirical Results and Real-World Discovery
The approach was validated using synthetic scenarios and high-stakes clinical datasets, including AIDS clinical trials (actg) and multi-modal breast cancer data (TCGA-BRCA).
In the actg dataset, SurvSHAP-IQ revealed significant interactions that were invisible to standard first-order SHAP explanations. For instance, it successfully mapped the joint influence of clinical markers over time.
Key results include:
- High Fidelity: In simulations, SurvSHAP-IQ recovered ground-truth interactions with near-perfect accuracy (local accuracy error < 0.001).
- Model Comparison: Gradient Boosting Survival Analysis (GBSA) was shown to capture complex interactions missed by standard Cox Proportional Hazards (CoxPH) models, leading to superior predictive performance.
- Multi-modal Discovery: On breast cancer data, the tool successfully mapped interactions between histopathological image features and clinical data, providing a comprehensive "network" view of patient risk.
Limitations and Future Work
The primary bottleneck remains scalability. While approximations are used, calculating higher-order interactions for datasets with hundreds of features is computationally intensive. Current empirical work focused on second-order interactions; extending this to higher orders while maintaining human interpretability is an ongoing challenge. Furthermore, while the theoretical proofs currently focus on multiplicative hazard models, future research will explore their application to other frameworks, such as Accelerated Failure Time (AFT) models.
Summary updated