Provably Precise, Succinct and Efficient Explanations for Decision Trees

Yacine Izza, Alexey Ignatiev, Nina Narodytska, Martin C. Cooper, João Marques-SilvaarXiv 2022 · DOI

Introduction

Decision Trees (DTs) are frequently championed as the gold standard for interpretable machine learning. The logic is simple: a human can follow a path from the root to a leaf to understand why a specific prediction was made. However, this "interpretability" often breaks down in practice. For complex datasets, these paths can involve dozens of features, far exceeding the "Magical Number Seven"—the cognitive limit of what a human can hold in short-term memory.

The Challenge of Complexity

While a raw path in a decision tree provides a complete logical explanation, it is often redundant. Many features along the path may not significantly contribute to the final decision. Previous research introduced "Abductive Explanations" (AXp), which identify the smallest set of features that guarantee a prediction. Yet, even these rigorous explanations can remain too large for human consumption.

A decision tree and its corresponding logic paths.

To address this, the concept of $\delta$-relevant sets (or Probabilistic Abductive Explanations, PAXp) has emerged. These allow for a trade-off: by accepting a small margin of uncertainty (e.g., being 95% sure instead of 100%), can we obtain a significantly shorter, more "succinct" explanation? For most models, finding these is computationally prohibitive ($NP^{PP}$). This paper demonstrates that for Decision Trees, this process is not only possible but highly efficient.

Proposed Methodology

The authors bridge the gap between formal logic and probabilistic explanations through three primary technical contributions:

  1. Tractable Probability Calculation: The researchers prove that for DTs, calculating the conditional probability of a prediction given a subset of features is a polynomial-time task. This tractability is the "secret sauce" that allows for rapid explanation generation.
  2. ApproxPAXp (Greedy Approach): A polynomial-time algorithm that iteratively removes features from an initial set as long as the probabilistic guarantee ($\delta$) is maintained. It is designed for speed and practical utility.
  3. MinPAXp (Exact Approach): Utilizing Satisfiability Modulo Theories (SMT) encodings, this method finds the absolute minimum-sized explanation by treating the search as a formal optimization problem solved by the Z3 solver.
Comparison of different explanation types and their associated precision guarantees.

Key Results and Insights

The evaluation across various UCI benchmarks (e.g., Adult, Spambase, Chess) yielded several critical findings:

  • Succinctness: Both MinPAXp and ApproxPAXp consistently reduced explanation sizes to an average of $7 \pm 2$ features, effectively bringing them within the human cognitive threshold.
  • Efficiency: The greedy ApproxPAXp algorithm is near-instant, typically taking less than 0.01 seconds. Even the exact MinPAXp solver usually completes in under 20 seconds for large trees.
  • Quality: The proposed methods significantly outperformed model-agnostic tools like Anchor, providing higher precision (often >98%) and faster computation.

Conclusion and Future Work

The study reinforces that even "interpretable" models require specialized explanation tools to be truly useful to humans. By leveraging the unique structure of Decision Trees, the authors provide a way to generate provably precise and succinct explanations. Future work aims to relax the assumption of feature independence, incorporating real-world correlations to make precision guarantees even more robust.

Summary updated

BibTeX
@misc{izza2022provably,
  author = {Yacine Izza and Alexey Ignatiev and Nina Narodytska and Martin C. Cooper and João Marques-Silva},
  title = {{Provably Precise, Succinct and Efficient Explanations for Decision Trees}},
  year = {2022},
  eprint = {2205.09569},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.09569},
}
Figure