Introduction
In the field of Explainable AI (XAI), decision trees are frequently cited as the gold standard for "interpretable" models. Unlike deep neural networks, which are often viewed as black boxes, a decision tree allows a human observer to trace a single path from root to leaf to understand a specific classification. However, a critical question remains: how do we find the most concise explanation for a model's output?
This paper investigates the computational complexity of finding sufficient reasons (also known as abductive explanations). A sufficient reason is a subset of input features that guarantees a specific classification, regardless of the values of the remaining features. Because "exact" sufficient reasons are often too large to be practical, researchers use $\delta$-sufficient reasons—subsets of features that guarantee the classification for at least a fraction $\delta$ of all possible completions of the missing data. This research proves that even for the supposedly simple decision tree, finding the smallest $\delta$-sufficient reason is not just hard, but nearly impossible to even approximate.
The Problem: Optimizing Explanations
Consider a loan application model. An exact sufficient reason for a denial might be: "Because your credit score is below 600 and your debt-to-income ratio is above 40%, you are denied, regardless of any other factor." If this set of features is small, it is highly interpretable. However, in complex trees, these sets can become unwieldy.
By relaxing the requirement to a $\delta$-sufficient reason, we allow for a small margin of error, potentially leading to much smaller and more useful explanations. Previous literature established that finding the minimum $\delta$-sufficient reason is computationally intractable for complex models like Boolean circuits. This paper asks whether the simpler structure of decision trees offers a reprieve from this complexity. Specifically, can we at least approximate the size of the smallest $\delta$-sufficient reason within a reasonable factor?
Methodology
The author employs tools from computational complexity theory to establish a "hardness of approximation" result. The proof relies on a mathematical reduction from a known hard problem to the problem of finding explanations in decision trees.
- Reduction Source: The proof begins with the 1-in-k exact hitting set problem (1-in-EkHS), a variant of the satisfiability problem (SAT) known to be hard to solve.
- Intermediate Problem: The author maps this to a decision tree problem: selecting a subset of variables to fix to '1' such that the probability of the tree outputting '1' is maximized.
- Gap Amplification: To prove inapproximability, the author constructs a specific decision tree that creates a massive "gap" between cases. If a good explanation exists, it is extremely small ($n^\epsilon$); if not, even a mediocre explanation must encompass nearly the entire input ($n - n^\epsilon$).
- Probabilistic Analysis: Using Hoeffding’s inequality, the author demonstrates that by combining multiple independent copies of a base decision tree, the output probability polarizes. It either becomes very high or stays very low, making it impossible for any polynomial-time algorithm to distinguish between a tiny optimal explanation and a massive one.
Key Results: The Inapproximability Theorem
The central contribution of the paper is Theorem 1, which establishes a stark limit on what algorithms can achieve. Under the standard complexity assumption that SAT cannot be solved in quasi-polynomial time ($SAT \notin QP$), the theorem states that for any $\epsilon > 0$, no polynomial-time algorithm can distinguish between these two scenarios for a decision tree $T$ over $n$ variables:
- Case 1: There exists a $(1 - \epsilon)$-sufficient reason of size at most $n^\epsilon$.
- Case 2: There is no $\epsilon$-sufficient reason of size less than $n - n^\epsilon$.
This implies that the size of a $\delta$-sufficient reason is inapproximable within a factor of $n^{1-\epsilon}$. In practical terms, an algorithm cannot reliably tell the difference between an explanation that uses 1% of the features and one that requires 99% of them.
Discussion and Implications
The Interpretability Paradox
These findings highlight a sobering paradox in XAI: while a human can easily trace a single path through a decision tree, optimizing an explanation—finding the absolute best or smallest set of reasons—remains an intractable problem. The inherent simplicity of the decision tree's structure does not protect it from the extreme inapproximability previously observed in more complex Boolean circuits.
Limitations
It is important to note that complexity theory focuses on worst-case scenarios. The decision trees constructed in this proof are specifically designed to be difficult. In industrial applications, decision trees are often shallow or possess specific structural properties that might allow heuristic methods (such as greedy search or sampling) to find "good enough" explanations.
Future Work
The reliance on the $SAT \notin QP$ assumption, while standard in complexity theory, is stronger than the more common $P \neq NP$ assumption. Future research may seek to weaken this assumption or explore whether specific classes of decision trees used in machine learning (e.g., those produced by CART or ID3 algorithms) avoid these theoretical pitfalls. Additionally, empirical studies are needed to determine how often these "hard" instances occur in real-world datasets.
Summary updated