Functional Decomposition and Shapley Interactions for Interpreting Survival Models

Sophie Hanna Langbein, Hubert Baniecki, Fabian Fumagalli, Niklas Koenen, Marvin N. Wright, Julia Herbinger

TL;DR

This paper introduces SurvFD and SurvSHAP-IQ, a new theoretical and practical framework for explaining complex survival models. By moving beyond simple additive explanations, the authors provide a way to disentangle how feature interactions evolve over time, revealing "hidden" relationships that standard interpretability tools miss.

What Problem Does This Paper Address?

Survival analysis—predicting the time until an event like a patient’s death or a machine’s failure—is inherently complex. Most modern machine learning models for survival (like Gradient Boosting or Deep Learning) are "black boxes" that capture non-linearities and time-varying effects.

The current gold standard for interpretability, Shapley values (SHAP), typically assumes that a model’s prediction is just the sum of individual feature effects. However, survival functions are fundamentally non-additive. For example, the risk of a disease might depend on the interaction between age and a genetic marker, and that interaction might only become relevant after five years. Standard tools either ignore these interactions or "smear" them across individual feature attributions, leading to misleading explanations. The authors aim to bridge this gap by creating a principled way to decompose survival predictions into time-dependent main effects and higher-order interactions.

Methods

The authors propose a two-part solution:

  1. SurvFD (Survival Functional Decomposition): This is the theoretical backbone. It formalizes how to break down a survival prediction function into additive components. Crucially, it distinguishes between time-independent effects (constant over time) and time-dependent effects. They prove that while a model might be additive on one scale (like log-hazard), the mathematical transformation to a more interpretable scale (like survival probability) naturally "induces" new interactions.
  2. SurvSHAP-IQ: This is the practical estimator. It extends the concept of "Shapley Interaction Indices" to time-indexed functions. Instead of just giving a single "importance score" for a feature, it provides an attribution curve over time for both individual features and pairs (or groups) of features.

To handle the high computational cost of Shapley interactions, they adapt polynomial-time approximation algorithms (like regression-based kernels), making the method viable for datasets with dozens of features.

Datasets

The researchers validated their framework using a mix of synthetic and high-stakes medical data:

  • Simulated Data: 10 different scenarios ranging from simple linear models to complex generalized additive models with time-varying interactions.
  • Standard Survival Benchmarks: Datasets like actg (HIV survival), support2 (hospitalized adults), and several genomic cancer datasets (Bergamaschi, nki70).
  • Uveal Melanoma Study: A real-world eye cancer dataset used to show how interactions reduce "spurious heterogeneity" in explanations.
  • TCGA-BRCA (Multi-modal): A complex breast cancer dataset combining clinical data with high-resolution histopathology whole-slide images (WSIs).

Key Insights and Ideas

  • The "Scale" Trap: A key "aha moment" is the proof that interactions are scale-dependent. A model that looks simple on a "log-hazard" scale will look complex and interactive on a "survival probability" scale. This means researchers must be careful about which scale they use for clinical interpretation.
  • Downward Propagation: The authors show that a single time-dependent interaction (e.g., $Age \times Treatment \times Time$) can make the individual features ($Age$ or $Treatment$) appear time-dependent in standard explanations, even if their underlying main effects are constant. SurvFD helps unmask this.
  • Disentangling Heterogeneity: In first-order SHAP plots, you often see a "cloud" of points for a single feature value, suggesting some unexplained variance. SurvSHAP-IQ shows that this "noise" is often actually a structured interaction with another feature. By pulling that interaction out, the "pure" main effect becomes much clearer and more consistent.

Key Results

  • Accuracy: On simulated data, SurvSHAP-IQ recovered the ground-truth interaction structures with near-perfect local accuracy (decomposition errors often below 0.001).
  • Clinical Discovery: In the uveal melanoma application, the tool identified a strong negative interaction between tumor diameter and mitotic rate. This suggests the model views these features as partially redundant—both quantify the same underlying "disease burden"—a nuance invisible to standard SHAP.
  • Multi-modal Fusion: In the breast cancer task, the method successfully attributed survival risk to specific regions of pathology images and showed how those image features interacted with clinical markers like lymph node status.
  • Scalability: The regression-based approximator proved to be the most "faithful" for medium-dimensional tasks, allowing the team to process models with up to 70 features.

Limitations and Future Work

  • High-Dimensionality: While approximations help, the number of possible interactions grows exponentially with the number of features. Explaining a model with thousands of genes remains a massive computational challenge.
  • Human-Computer Interaction (HCI): The authors acknowledge that visualizing these 3D interactions (Feature A x Feature B x Time) in a way that a busy clinician can quickly digest is still an open research question.
  • Causal vs. Predictive: The paper emphasizes that these are model explanations, not necessarily causal truths. Users are cautioned not to substitute these attributions for clinical validation without further study.

Reference: Langbein, S. H., et al. (2026). Functional Decomposition and Shapley Interactions for Interpreting Survival Models. Proceedings of the 43rd International Conference on Machine Learning (ICML).

Summary updated

BibTeX
@inproceedings{langbein2026functional,
  author = {Sophie Hanna Langbein and Hubert Baniecki and Fabian Fumagalli and Niklas Koenen and Marvin N. Wright and Julia Herbinger},
  title = {{Functional Decomposition and Shapley Interactions for Interpreting Survival Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=SldP4LGjdz},
}
Figure