Improved Feature Importance Computations for Tree Models: Shapley vs. Banzhaf

08/09/2021
by   Adam Karczmarz, et al.
0

Shapley values are one of the main tools used to explain predictions of tree ensemble models. The main alternative to Shapley values are Banzhaf values that have not been understood equally well. In this paper we make a step towards filling this gap, providing both experimental and theoretical comparison of these model explanation methods. Surprisingly, we show that Banzhaf values offer several advantages over Shapley values while providing essentially the same explanations. We verify that Banzhaf values: (1) have a more intuitive interpretation, (2) allow for more efficient algorithms, and (3) are much more numerically robust. We provide an experimental evaluation of these theses. In particular, we show that on real world instances. Additionally, from a theoretical perspective we provide new and improved algorithm computing the same Shapley value based explanations as the algorithm of Lundberg et al. [Nat. Mach. Intell. 2020]. Our algorithm runs in O(TLD+n) time, whereas the previous algorithm had O(TLD^2+n) running time bound. Here, T is the number of trees, L is the maximum number of leaves in a tree, and D denotes the maximum depth of a tree in the ensemble. Using the computational techniques developed for Shapley values we deliver an optimal O(TL+n) time algorithm for computing Banzhaf values based explanations. In our experiments these algorithms give running times smaller even by an order of magnitude.

READ FULL TEXT
research
09/16/2022

Computing Abductive Explanations for Boosted Trees

Boosted trees is a dominant ML model, exhibiting high accuracy. However,...
research
11/03/2021

Approximate Gomory-Hu Tree Is Faster Than n-1 Max-Flows

The Gomory-Hu tree or cut tree (Gomory and Hu, 1961) is a classic data s...
research
09/11/2020

TREX: Tree-Ensemble Representer-Point Explanations

How can we identify the training examples that contribute most to the pr...
research
08/20/2023

Improved Algorithms for Integer Complexity

The integer complexity f(n) of a positive integer n is defined as the mi...
research
05/31/2021

Attention Flows are Shapley Value Explanations

Shapley Values, a solution to the credit assignment problem in cooperati...
research
09/08/2022

Improved Robust Algorithms for Learning with Discriminative Feature Feedback

Discriminative Feature Feedback is a setting proposed by Dastupta et al....
research
06/23/2021

groupShapley: Efficient prediction explanation with Shapley values for feature groups

Shapley values has established itself as one of the most appropriate and...

Please sign up or login with your details

Forgot password? Click here to reset