Evolutionary Learning of Interpretable Decision Trees

Leonardo Lucio Custode, Giovanni Iacca · DOI

Abstract

Reinforcement learning (RL) agents often rely on black-box neural networks, posing significant risks in safety-critical deployments where decision rationale is paramount. This paper introduces a novel two-level optimization framework that integrates Grammatical Evolution (GE) with Q-learning to produce highly interpretable decision trees (DTs). By combining the structural search capabilities of evolutionary algorithms with the efficient value-estimation of RL, the proposed method generates models that are competitive with state-of-the-art deep RL while remaining human-verifiable. Experimental results across standard benchmarks and a high-stakes pandemic simulation demonstrate that the perceived trade-off between interpretability and performance is often a myth.

Introduction

While deep reinforcement learning has achieved superhuman performance in various domains, the resulting models are typically "black boxes." In high-stakes environments such as healthcare or autonomous driving, understanding the rationale behind an action is as important as the action itself. Traditional post-hoc Explainable AI (XAI) techniques often provide approximations that are not strictly faithful to the underlying model, creating a safety risk.

In contrast, Interpretable AI (IAI) models like Decision Trees are inherently understandable. However, standard DT construction in RL often suffers from greedy heuristics, the curse of dimensionality, and an inability to fully exploit environmental reward signals. This research addresses these gaps by evolving DT structures that are then optimized via reinforcement learning.

Methodology

The core of the proposed approach is a "two-level optimization" scheme based on Baldwinian evolution. This architecture combines the global search of Grammatical Evolution with the local refinement of Q-learning.

The two-level optimization framework combining evolutionary algorithms with Q-learning.

The Two-Level Optimization Scheme

  • Outer Loop (Evolution): Grammatical Evolution is employed to evolve the topology and split conditions of the decision tree. Using a context-free grammar, the algorithm searches for optimal ways to decompose the state space. This allows for the generation of both orthogonal trees (single-variable splits) and oblique trees (linear combination splits).
  • Inner Loop (Reinforcement Learning): Once a tree structure is established, Q-learning is applied to the leaf nodes. As the agent interacts with the environment, Q-learning determines the optimal action for the specific sub-state defined by each leaf.
  • Simplification: To ensure maximum readability, the final trees undergo a pruning process where unvisited nodes are removed and adjacent nodes predicting identical actions are merged.

Experimental Setup

The framework was evaluated on two distinct categories of environments:

  1. OpenAI Gym Benchmarks: Standard continuous control tasks including CartPole-v1, MountainCar-v0, and LunarLander-v2 to test general performance and complexity.
  2. PandemicSimulator: A high-stakes environment where the agent acts as a national policymaker, balancing COVID-19 mitigation (minimizing hospital saturation) against economic damage (minimizing lockdown severity).

Results and Discussion

Performance vs. Interpretability

The results strongly challenge the assumption that interpretable models must sacrifice performance. In the CartPole-v1 environment, the evolved oblique trees achieved a perfect score of 500.00 with a remarkably low complexity score. Similarly, in MountainCar-v0, the model outperformed Deep Q-Networks while maintaining a minimal footprint.

Robustness of Oblique Trees

While orthogonal trees are slightly more intuitive, oblique trees demonstrated superior stability. In noisy environments, oblique trees handled input interference up to 50 times better than their orthogonal counterparts and generalized more effectively to longer time horizons.

High-Stakes Viability

In the PandemicSimulator, the evolutionary DT discovered a policy that was both highly effective and human-readable. The logic—applying restrictions based on daily death counts and population recovery percentages—outperformed both complex handcrafted rules and Deep RL (Soft Actor-Critic) baselines. This demonstrates the potential for IAI in real-world policy-making.

Conclusion

This research demonstrates that combining evolutionary algorithms with reinforcement learning can produce agents that are both high-performing and transparent. By evolving the structure of decision trees and optimizing their leaves via Q-learning, the authors provide a pathway for deploying RL in safety-critical applications where trust and verifiability are non-negotiable. Future work will focus on scaling these methods to higher-dimensional state spaces and integrating imitation learning to further refine the evolved policies.

Summary updated

BibTeX
@article{custode2023evolutionary,
  author = {Leonardo Lucio Custode and Giovanni Iacca},
  title = {{Evolutionary Learning of Interpretable Decision Trees}},
  journal = {IEEE Access},
  year = {2023},
  doi = {10.1109/access.2023.3236260},
}
Figure