Designing Interpretable Approximations to Deep Reinforcement Learning with Soft Decision Trees

Nathan Dahlin, Krishna Chaitanya Kalagarla, Nikhil Naik, Rahul Jain, Pierluigi NuzzoarXiv 2020

Abstract

Deep Reinforcement Learning (DRL) models, while high-performing, are often opaque and computationally expensive, limiting their use in safety-critical and resource-constrained environments. This work presents a framework for distilling complex DRL agents into interpretable "surrogate" models, such as soft decision trees and kernel machines. By employing imitation learning and novel evaluation metrics like Empirical Value Functions, the authors demonstrate that these simpler models can achieve performance comparable to deep neural networks while maintaining a fraction of the parameter count, offering a path toward verifiable and resource-efficient AI.

The Challenge of Opaque DRL

While Deep Neural Networks (DNNs) excel at complex control tasks, they suffer from three major drawbacks that hinder real-world deployment. First is opaqueness: it is nearly impossible to explain the specific logic behind a split-second decision in a self-driving car. Second is resource intensity: high-performing DNNs often exceed the memory and processing limits of "edge" hardware. Finally, there is a lack of verifiability; without a clear decision-making structure, providing formal safety guarantees is difficult.

To bridge this gap, this research proposes creating "surrogate" models that are small enough to audit yet accurate enough to replace the original DNN expert.

Distillation Methodology

The researchers utilize Imitation Learning (IL) to perform "knowledge distillation." Instead of training a simple model from scratch on an environment, they use a pre-trained, high-performing "Expert" Deep Q-Network (DQN) to generate a dataset of states and actions. The "Student" models—Hard Decision Trees (HDTs), Soft Decision Trees (SDTs), and Kernel Machines (KMs)—are then trained to mimic this expert.

The distillation framework: A complex DNN expert labels training data to train an interpretable SDT student, evaluated via policy match and value function metrics.

A key contribution is the evaluation framework, which moves beyond average reward. The authors introduce Empirical Value Functions (EVFs) to measure how closely the student’s long-term strategic outlook matches the teacher’s, alongside policy accuracy and parameter counts.

Experimental Benchmarks

The framework was validated on three classic OpenAI Gym reinforcement learning benchmarks:

  1. MountainCar-v0: Requiring momentum-based hill climbing.
  2. CarRacing-v0: A pixel-input driving task (96x96 images).
  3. CartPole-v0: A classic stability task.

Key Results and Insights

The study reveals that complexity does not always equate to performance. In the MountainCar task, increasing the depth of a Soft Decision Tree beyond 5 led to performance degradation due to overfitting. Furthermore, "Policy Accuracy" (the frequency with which the student matches the teacher's exact action) proved to be a superior predictor of environmental success compared to the L2 error of the value function.

Comparison of model sizes: Soft Decision Trees (SDTs) achieve high performance with significantly fewer tunable parameters than the original DQN expert at lower depths.

Significant findings include:

  • Efficiency: In MountainCar, a depth-5 SDT (190 parameters) matched the Expert DQN (1,419 parameters) while using only ~13% of the parameters.
  • Simplicity: For CartPole, a Hard Decision Tree with a depth of only 3 (6 parameters) achieved the maximum possible reward.
  • Robustness: Kernel Machines in the CarRacing task showed high resilience to hyperparameter changes, achieving near-perfect mimicry of the DQN.

Limitations and Future Outlook

A primary limitation of the current approach is its reliance on basic Imitation Learning, which is susceptible to distribution shift. If a student model enters a state unvisited by the teacher, its performance may collapse. Future work aims to incorporate advanced algorithms like DAgger (Dataset Aggregation) and develop metrics focused on "closed-loop" behavior to better capture the dynamic interaction between the model and its environment.

Summary updated

BibTeX
@misc{dahlin2020designing,
  author = {Nathan Dahlin and Krishna Chaitanya Kalagarla and Nikhil Naik and Rahul Jain and Pierluigi Nuzzo},
  title = {{Designing Interpretable Approximations to Deep Reinforcement Learning with Soft Decision Trees}},
  year = {2020},
  eprint = {2010.14785},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.14785},
}
Figure