Fast Estimation of Partial Dependence Functions using Trees
Jinyang Liu, Tessa Steensgaard, Marvin N. Wright, Niklas Pfister, Munir Hiabu
Abstract
Many existing interpretation methods are based on Partial Dependence (PD) functions that, for a pretrained machine learning model, capture how a subset of the features affects the predictions by averaging over the remaining features. Notable methods include Shapley additive explanations (SHAP) which computes feature contributions based on a game theoretical interpretation and PD plots (i.e., 1-dim PD functions) that capture average marginal main effects. Recent work has connected these approaches using a functional decomposition and argues that SHAP values can be misleading since they merge main and interaction effects into a single local effect. However, a major advantage of SHAP compared to other PD-based interpretations has been the availability of fast estimation techniques, such as TreeSHAP. In this paper, we propose a new tree-based estimator, FastPD, which efficiently estimates arbitrary PD functions. We show that FastPD consistently estimates the desired population quantity -in contrast to path-dependent TreeSHAP which is inconsistent when features are correlated. For moderately deep trees, FastPD improves the complexity of existing methods from quadratic to linear in the number of observations. By estimating PD functions for arbitrary feature subsets, FastPD can be used to extract PD-based interpretations such as SHAP, PD plots and higher-order interaction effects.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Beyond TreeSHAP: Efficient Computation of Any-Order Shapley Interactions for Tree Ensembles cites Linear tree shap
- Beyond TreeSHAP: Efficient Computation of Any-Order Shapley Interactions for Tree Ensembles cites FastSHAP: Real-Time Shapley Value Estimation
- Beyond TreeSHAP: Efficient Computation of Any-Order Shapley Interactions for Tree Ensembles cites Interventional SHAP Values and Interaction Values for Piecewise Linear Regression Trees
- Interventional SHAP Values and Interaction Values for Piecewise Linear Regression Trees cites FastSHAP: Real-Time Shapley Value Estimation
Cited by top-tier papers1
Builds on5
- FastSHAP: Real-Time Shapley Value EstimationNeil Jethani, Mukund Sudarshan, Ian Connick Covert, Su-In Lee et al.ICLR 2022 · 186 citations
- Beyond TreeSHAP: Efficient Computation of Any-Order Shapley Interactions for Tree EnsemblesMaximilian Muschalik, Fabian Fumagalli, Barbara Hammer, Eyke HüllermeierAAAI 2024 · 35 citations
- Linear tree shapPeng Yu, Albert Bifet, Jesse Read, Chao XuNeurIPS 2022 · 27 citations
- Interventional SHAP Values and Interaction Values for Piecewise Linear Regression TreesArtjom Zern, Klaus Broelemann, Gjergji KasneciAAAI 2023 · 27 citations
- Accelerating Shapley Explanation via Contributive Cooperator SelectionGuanchu Wang, Yu-Neng Chuang, Mengnan Du, Fan Yang et al.ICML 2022 · 25 citations
Related papers
- Functional Decomposition and Shapley Interactions for Interpreting Survival ModelsSophie Hanna Langbein, Hubert Baniecki, Fabian Fumagalli, Niklas Koenen et al.ICML 2026
- Tree Ensemble Explainability through the Hoeffding Functional Decomposition and TreeHFD AlgorithmClément BénardNeurIPS 2025 · 7 citations
- Succinct Interaction-Aware ExplanationsSascha Xu, Joscha Cüppers, Jilles VreekenKDD 2025
- Exact Functional ANOVA Decomposition for Categorical InputsBaptiste Ferrere, Nicolas Bousquet, Gamboa Fabrice, Jean-Michel Loubes et al.ICML 2026 · 1 citation
- From Decision Trees to Boolean Logic: A Fast and Unified SHAP AlgorithmAlexander Nadel, Ron WettensteinAAAI 2026 · 1 citation
