Discovery and inference beyond linearity by integrating Bayesian regression, tree ensembles and Shapley values

Giorgio Spadaccini, Marjolein Fokkema, Mark A. van de Wiel
5/1/2025
stat.MLcs.LG

No official code found. Best implementation: GiorgioSpadaccini/ruleSHAP (2 stars, last commit 2026-04-28).

Abstract

Machine Learning (ML) is gaining popularity for hypothesis-free discovery of risk and protective factors in healthcare studies. ML is strong at discovering nonlinearities and interactions, but this power is compromised by a lack of reliable inference. Although Shapley values provide local measures of features' effects, valid uncertainty quantification for these effects is typically lacking, thus precluding statistical inference. We propose RuleSHAP, a framework that addresses this limitation by combining a dedicated Bayesian sparse regression model with a new tree-based rule generator and Shapley value attribution. RuleSHAP provides detection of nonlinear and interaction effects with uncertainty quantification at the individual level. We derive an efficient formula for computing marginal Shapley values within this framework. We demonstrate the validity of our framework on simulated data. Finally, we apply RuleSHAP to data from an epidemiological cohort to detect and infer several effects for high cholesterol and blood pressure, such as nonlinear interaction effects between features like age, sex, ethnicity, BMI and glucose level.

View on arXivView PDF

Code Implementations(1)

21RApr 25, 20255 months ago

Similar Papers

Cite this paper

@article{spadaccini2025discovery,
  title  = {Discovery and inference beyond linearity by integrating Bayesian regression, tree ensembles and Shapley values},
  author = {Giorgio Spadaccini and Marjolein Fokkema and Mark A. van de Wiel},
  year   = {2025},
  eprint = {2505.00571},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.00571v2}
}

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/2505.00571.svg)](https://codeofpaper.com/paper/2505.00571)

Discussion