Skip to main content
QUICK REVIEW

[Paper Review] On Computing Probabilistic Explanations for Decision Trees

Marcelo Arenas, Pablo Barceló|arXiv (Cornell University)|Jun 30, 2022
Explainable Artificial Intelligence (XAI)Computer Science13 citations
TL;DR

This paper investigates the computational complexity of computing probabilistic explanations—specifically, δ-sufficient reasons—for decision trees, where a subset of features must justify a model's prediction with probability at least δ. It proves that finding minimal-size or inclusion-wise minimal δ-sufficient reasons is NP-hard, resolving two open problems and extending hardness results from Boolean circuits to the more restricted case of decision trees, while identifying tractable structural restrictions and practical SAT-based solutions.

ABSTRACT

Formal XAI (explainable AI) is a growing area that focuses on computing explanations with mathematical guarantees for the decisions made by ML models. Inside formal XAI, one of the most studied cases is that of explaining the choices taken by decision trees, as they are traditionally deemed as one of the most interpretable classes of models. Recent work has focused on studying the computation of "sufficient reasons", a kind of explanation in which given a decision tree $T$ and an instance $x$, one explains the decision $T(x)$ by providing a subset $y$ of the features of $x$ such that for any other instance $z$ compatible with $y$, it holds that $T(z) = T(x)$, intuitively meaning that the features in $y$ are already enough to fully justify the classification of $x$ by $T$. It has been argued, however, that sufficient reasons constitute a restrictive notion of explanation, and thus the community has started to study their probabilistic counterpart, in which one requires that the probability of $T(z) = T(x)$ must be at least some value $δ\in (0, 1]$, where $z$ is a random instance that is compatible with $y$. Our paper settles the computational complexity of $δ$-sufficient-reasons over decision trees, showing that both (1) finding $δ$-sufficient-reasons that are minimal in size, and (2) finding $δ$-sufficient-reasons that are minimal inclusion-wise, do not admit polynomial-time algorithms (unless P=NP). This is in stark contrast with the deterministic case ($δ= 1$) where inclusion-wise minimal sufficient-reasons are easy to compute. By doing this, we answer two open problems originally raised by Izza et al. On the positive side, we identify structural restrictions of decision trees that make the problem tractable, and show how SAT solvers might be able to tackle these problems in practical settings.

Motivation & Objective

  • To address the computational complexity of δ-sufficient reasons in decision trees, a probabilistic relaxation of deterministic sufficient reasons.
  • To resolve two open problems posed by Izza et al. regarding the tractability of minimal δ-sufficient reasons.
  • To extend the hardness results for Boolean circuits (Wäldchen et al.) to the more restricted class of decision trees.
  • To identify structural constraints under which computing δ-sufficient reasons becomes tractable.
  • To explore practical approaches using SAT solvers for solving δ-sufficient reason problems in real-world settings.

Proposed method

  • Formalizing δ-sufficient reasons as feature subsets where the probability of maintaining the same prediction under random completions is at least δ.
  • Reducing known NP-hard problems to the δ-sufficient reason problem to prove NP-completeness for both minimal-size and inclusion-wise minimal variants.
  • Introducing structural restrictions (e.g., bounded width, bounded depth) that make the problem tractable and allow for polynomial-time computation.
  • Leveraging SAT solvers to implement practical solutions for instances satisfying the identified tractable conditions.
  • Using empirical evaluation on MNIST-based decision trees to visualize and validate the size and structure of computed δ-sufficient reasons.
  • Analyzing the trade-off between explanation size and confidence threshold δ in real-world image classification tasks.

Experimental results

Research questions

  • RQ1Is computing a δ-sufficient reason of minimal size for a decision tree computationally tractable, or is it NP-hard?
  • RQ2Is computing an inclusion-wise minimal δ-sufficient reason for a decision tree NP-hard, even when δ < 1?
  • RQ3Can structural restrictions on decision trees make the computation of δ-sufficient reasons tractable?
  • RQ4How do the hardness results for Boolean circuits extend to the more restricted case of decision trees?
  • RQ5Can SAT solvers be effectively used to compute δ-sufficient reasons in practice under tractable structural assumptions?

Key findings

  • Computing a δ-sufficient reason that is minimal in size is NP-hard for decision trees, even for δ < 1.
  • Computing an inclusion-wise minimal δ-sufficient reason is also NP-hard, in contrast to the deterministic case (δ = 1), where it is tractable.
  • The problem remains NP-hard even when the decision tree has bounded depth or width, indicating inherent complexity.
  • Structural restrictions such as bounded width or bounded depth can make the problem tractable, enabling polynomial-time computation.
  • Empirical results on MNIST-based decision trees show that δ-sufficient reasons can be small (e.g., k* = 5 to 49 features), depending on the digit and model.
  • SAT solvers can be effective in practice for computing δ-sufficient reasons when the structural constraints are satisfied.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.