Inference on Local Variable Importance Measures for Heterogeneous Treatment Effects

Paweł Morzywołek, Peter B. Gilbert, Alex LuedtkearXiv 2025 · DOI

Abstract

We provide an inferential framework to assess variable importance for heterogeneous treatment effects. This assessment is especially useful in high-risk domains such as medicine, where decision makers hesitate to rely on black-box treatment recommendation algorithms. The variable importance measures we consider are local in that they may differ across individuals, while the inference is global in that it tests whether a given variable is important for any individual. Our approach builds on recent developments in semiparametric theory for function-valued parameters, and is valid even when statistical machine learning algorithms are employed to quantify treatment effect heterogeneity. We demonstrate the applicability of our method to infectious disease prevention strategies.

The Challenge of Interpretable Personalized Medicine

In modern medicine, the Heterogeneous Treatment Effect (HTE)—the reality that patients respond differently to the same intervention—is a central focus. While machine learning (ML) excels at predicting these individual responses, the resulting models are often "black boxes." For clinicians, trusting a recommendation requires understanding why a model suggests a specific treatment for a specific patient.

Existing variable importance measures typically focus on global population averages or are tied to specific model architectures. This research introduces a model-agnostic local variable importance framework. It identifies which patient characteristics (e.g., age, baseline health) drive treatment effectiveness for specific individuals and provides a rigorous statistical foundation to prove these characteristics are truly influential.

Methodology: Local Measures and Statistical Smoothing

The framework supports popular measures such as LOCO (Leave-Out-Covariates) and Shapley values, adapted for the Conditional Average Treatment Effect (CATE). These measures behave differently depending on the underlying data structure, such as when variables are highly correlated or only predictive through interactions.

Theoretical behavior of different variable importance measures (KOI, LOO, Shapley) across various predictive scenarios.

A significant technical challenge in local inference is that importance functions can be non-smooth or "jagged," making standard statistical testing difficult. The authors address this by embedding these measures into a Reproducing Kernel Hilbert Space (RKHS). This process essentially "smooths" the target function, enabling the derivation of valid confidence bands and Wald-type tests.

Comparison of smooth (left) and jagged (right) treatment effect functions, illustrating the challenge of local inference and the need for smoothing.

Furthermore, the framework resolves the "boundary issue"—the difficulty of testing if importance is zero when importance cannot be negative—by using advanced semiparametric theory to create non-conservative, valid tests.

Key Insights and Results

  • Local vs. Global Significance: A variable may be unimportant on average but critical for a specific subgroup. This method allows testing the "global null" (is it unimportant for everyone?) while providing individualized scores.
  • Statistical Robustness: Simulations across 3D, 5D, and 10D settings showed the method effectively controls Type I error (false positives) and gains power as sample size increases, even with "rough" treatment effects.
  • Clinical Discovery: In a COVID-19 vaccine trial analysis (VAT00008), the framework identified "Country" and baseline neutralizing antibody levels ("BA.1 NAb") as significant modifiers. It revealed a dose-response relationship where patients with lower baseline antibodies received a greater relative boost from the vaccine.

Conclusion and Future Directions

By bridging the gap between complex ML predictions and rigorous statistical inference, this framework offers a path toward more trustworthy personalized medicine. While computationally intensive for high-dimensional datasets, it provides a pragmatic solution: a rigorous answer about a slightly smoothed reality is far more valuable than an unreliable answer about a raw, jagged one. Future work will look to integrate other popular methods like LIME and optimize kernel selection strategies.

Summary updated

BibTeX
@misc{morzywoek2025inference,
  author = {Paweł Morzywołek and Peter B. Gilbert and Alex Luedtke},
  title = {{Inference on Local Variable Importance Measures for Heterogeneous Treatment Effects}},
  year = {2025},
  eprint = {2510.18843},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.18843},
  howpublished = {arXiv},
}
Figure