arXiv:2610.11953cs.LGOct 2026

Manuscript Offprint

arXiv:2610.11953

Interval-valued SHAP in Tree-Based Models

Chenrui Zhu, Vu-Linh Nguyen, Marie-Hélène Masson, Sébastien Destercke

Chenrui Zhu*, Vu-Linh Nguyen*, Marie-Hélène Masson*†, Sébastien Destercke*

  • Université de technologie de Compiègne, UMR-CNRS 7253 Heudiasyc

Compiègne, France

† IUT de l'Oise, Université de Picardie Jules Verne

Beauvais, France

{chenrui.zhu, vu-linh.nguyen, mylene.masson, sebastien.destercke}@hds.utc.fr

Abstract—Shapley values are among the most popular feature-attribution explanations. Efficient approaches for computing/estimating Shapley values for tree-based models, which are state-of-the-art for tabular data sets, have been developed. However, it is known that Shapley values can be (highly) unrobust due to small and realistic changes. In this paper, we propose an imprecise Dirichlet model (IDM) based method to analyze the robustness of Shapley values in decision trees and random forests. Technically, it is done by quantifying and analyzing the interval-valued Shapley values when a few unannotated instances are randomly introduced to the leaves of the trees. The interval-valued Shapley values can be defined following common principles in handling incomplete data: the pessimistic and averaging principles. We derive various theoretical results that lead to efficient computation of the interval-valued Shapley values. We also show that the proposed method can be straightforwardly generalized to the case of Banzhaf values. We then present various case studies and experiments to illustrate the behaviour of the proposed interval-valued Shapley values and their applications in debiasing uninformative features.

Index Terms—Explainable AI, robust explanations, interval-valued attributions, tree-based models

I. INTRODUCTION

Explanation methods aim to make predictive models more transparent by providing human-interpretable summaries of their behavior. Feature-attribution explanations are among the most popular explanations. For each instance, they assign to each feature a real-valued score quantifying its attribution, i.e., its contribution to the prediction given by the predictive model. The most popular feature-attribution explanations are SHapley Additive exPlanations (SHAP), whose attributions are characterized by axioms such as local accuracy and consistency [1], [2]. Efficient approaches, notably TreeSHAP [1], [3], for computing Shapley values for tree-based models, which are state-of-the-art for tabular data sets [4], have been developed. This has led to the broad adoption of Shapley-style explanations for tree-based models, notably gradient-boosted trees and random forests [1], [3].

However, it is known that Shapley values can be fragile, e.g., small, realistic input perturbations can cause large shifts in the attributions [5]. Their fragility would be further amplified in the case of tree-based models due to the fact that small perturbations to the training data can significantly change the trees [6], and thus the attributions. These have led to various attempts to assess the robustness of Shapley values for tree-based models [5], [7]. A notable attempt is the imprecise SHAP [7], developed for imprecise-probability classifiers. The approach starts by assuming that the classifiers predict credal sets and employs the KL divergence (instead of the difference) to define the Shapley values. Imprecise outputs of the classifiers naturally lead to interval-valued Shapley values, which essentially reflect the uncertainty (due to insufficient training data). While this is a generic approach with interesting theoretical properties, it is unclear how to leverage it to assess the robustness of Shapley values for tree-based models. In particular, due to differences in their notions of Shapley values, it is unclear under which conditions imprecise Shapley values can cover the Shapley values of tree-based models, which might be a crucial requirement for robustness indicators.

In this paper, we focus on assessing the robustness of Shapley values when the stability of the tree-based models is of utmost importance, notably for the purpose of interpretability. Note that in safety-critical applications, such as in the medical domain [8], [9], understanding the structure of the trees is important. In other words, it might be advisable to guarantee the model stability unless additional data coming at the deployment phase suggests the need for model retraining, e.g., due to unsatisfactory generalization ability. This is because understanding the structure of the trees can be costly, but it can enhance the trustworthiness of the decision support system. Model stability in random forests is also important for interpretability, notably when the structures of its trees are leveraged to extract rules [10].

Note that with fixed structures, the Shapley values for some individuals can also be very fragile due to small perturbations to training data. This will be confirmed in our empirical study. This naturally calls for methods for assessing the Shapley values for the individuals, which should compactly present, for each instance, the possible changes in all the attributions. To serve this purpose, we propose an imprecise Dirichlet model (IDM) [11] based method to analyze the robustness of Shapley values in decision trees and random forests. The overall idea

Accepted for publication in the Proceedings of the 2026 IEEE International Conference on Data Mining (ICDM 2026). © 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

is to associate the robustness of each Shapley value with an interval-valued Shapley value, which covers the original value, induced by introducing a small number of unannotated instances into the training data. This can be implemented following common principles in handling incomplete data: the pessimistic and averaging principles, see, e.g., [12] and references therein. The corresponding problems of computing interval-valued Shapley values are combinatorial optimization problems, where Brute-force search is impractical.

We present various theoretical results that allow efficient computation of interval-valued Shapley values in the case of decision trees. For each instance, we show that the Shapley value associated with each feature can be expressed as a linear combination of the leaf values. The efficiency of the averaging principle further calls for efficiency in computing expected values of multinomial distributions. The efficiency of the pessimistic principle is achieved by leveraging the linearity of the Shapley values and the property that, for each leaf, the lower (upper) leaf value provided by the IDM model is a convex decreasing (concave increasing) function in the number of unannotated instances. We then show that the mentioned results can be extended to the case of Banzhaf values straightforwardly. Finally, we extend the results achieved for decision trees to random forests.

After recalling the basics of Shapley values and tree-based models in Section II, Section III presents our IDM-based method for deriving interval-valued Shapley values. Section IV presents various case studies and experiments to illustrate the behaviour of the proposed interval-valued Shapley values and their applications in debiasing uninformative features [13]. Finally, Section V concludes this work and sketches out potential follow-up work.