Optimal Interpretability-Performance Trade-off of Classification Trees with Black-Box Reinforcement Learning

Hector Kohler, Riad Akrour, Philippe PreuxarXiv 2023

Abstract: Interpretability of AI models allows for user safety checks to build trust in these models. In particular, decision trees (DTs) provide a global view on the learned model and clearly outlines the role of the features that are critical to classify a given data. However, interpretability is hindered if the DT is too large. To learn compact trees, a Reinforcement Learning (RL) framework has been recently proposed to explore the space of DTs. A given supervised classification task is modeled as a Markov decision problem (MDP) and then augmented with additional actions that gather information about the features, equivalent to building a DT. By appropriately penalizing these actions, the RL agent learns to optimally trade-off size and performance of a DT. However, to do so, this RL agent has to solve a partially observable MDP. The main contribution of this paper is to prove that it is sufficient to solve a fully observable problem to learn a DT optimizing the interpretability-performance trade-off. As such any planning or RL algorithm can be used. We demonstrate the effectiveness of this approach on a set of classical supervised classification datasets and compare our approach with other interpretability-performance optimizing methods.

Introduction

Interpretability is a cornerstone of trustworthy AI, particularly in high-stakes domains where understanding the logic behind a decision is as critical as the decision itself. Decision trees (DTs) are often cited as the gold standard for transparent modeling because they provide a clear, hierarchical logic for classification. However, this transparency is contingent on the tree's size; as a tree grows in depth, it loses its human-readability, effectively becoming a "black box" of its own.

The research paper front page, outlining the core contributions and the research team from Inria.

The fundamental challenge in this field is the interpretability-performance trade-off. Traditional greedy algorithms like CART often fail to find the global optimum, leading to trees that are either unnecessarily large or insufficiently accurate. Recent research has turned to Reinforcement Learning (RL) to navigate the vast search space of possible tree structures. However, previous state-of-the-art frameworks, such as CUSTARD, modeled the problem as a Partially Observable Markov Decision Process (POMDP). This complexity often led to unstable training and sub-optimal results.

The Core Innovation: Full Observability

The primary contribution of this work is a mathematical proof (Theorem 1) demonstrating that the search for an optimal decision tree does not require a POMDP. Instead, it can be framed as a fully observable MDP, which the authors call the Observation-IBMDP.

In this framework, the state of the environment is defined not by the specific values of a data point, but by the current bounds of its features—the constraints established by previous questions in the tree. The authors show that these bounds provide sufficient information for an agent to make optimal decisions about whether to ask another question (Information Gathering Action) or make a final classification (Prediction Action). This simplification allows for the use of more stable and efficient RL algorithms, such as Deep Q-Networks (DQN).

The DQNDT Framework

Building on this theoretical foundation, the authors introduce DQNDT. In this setup, the RL agent builds a tree iteratively. Each Information Gathering Action (IGA) incurs a penalty ($\zeta$), which acts as a regularization term to encourage smaller trees. To ensure the resulting models remain human-readable, the authors also implement a hard depth constraint ($M_{max}$).

A notable technical detail is the use of "Prime Number Encoding." By using prime numbers for splitting parameters, the agent can mathematically track the history of questions asked within the feature bounds themselves, avoiding the need for additional complex state variables.

Experimental Validation

The researchers tested DQNDT against a variety of benchmarks:

  • Toy Binary Benchmark: Five engineered tasks where a depth-2 tree is the known optimal. DQNDT consistently identified the optimal solution, whereas previous POMDP-based methods like CUSTARD frequently failed.
  • UCI Datasets: Using real-world data (Wine, Diabetes, Banknote Authentication), the authors demonstrated that DQNDT effectively maps the "Pareto front"—the set of trees that provide the best possible accuracy for any given size.

On the Wine dataset, for example, DQNDT discovered a highly interpretable 4-node tree with approximately 82% accuracy. In contrast, traditional greedy methods often produced much larger trees (20-40 nodes) to achieve similar performance, sacrificing interpretability for marginal gains.

Why Previous Methods Failed

The paper also sheds light on the failure of "asymmetric" actor-critic architectures. While theoretically sound, these models—where the critic has access to more information than the actor—suffer from approximation errors when implemented with neural networks. By moving to a fully observable space, DQNDT avoids these pitfalls, leading to more robust and interpretable models.

Conclusion and Future Directions

By proving that optimal decision tree construction is a fully observable problem, this research simplifies the application of RL to interpretable AI. DQNDT offers a powerful tool for practitioners who need to balance accuracy with human-readability.

Future work will focus on scaling these methods to high-dimensional datasets and exploring non-axis-aligned splits, such as feature intervals or linear combinations, to further enhance the flexibility of the learned trees.

Summary updated

BibTeX
@misc{kohler2023optimal,
  author = {Hector Kohler and Riad Akrour and Philippe Preux},
  title = {{Optimal Interpretability-Performance Trade-off of Classification Trees with Black-Box Reinforcement Learning}},
  year = {2023},
  eprint = {2304.05839},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.05839},
}
Figure