Abstract
Deep Reinforcement Learning (DRL) has achieved significant advances across various domains, yet explaining the policies of these agents remains a challenge due to the inherent complexity of neural networks. Recent research has explored decision-tree-based models, such as Soft Decision Trees (SDTs), to learn explainable policies. This paper introduces Cascading Decision Trees (CDTs), an architecture that incorporates representation learning into the decision path to enhance expressivity. Our empirical results demonstrate that CDTs outperform SDTs in both performance and model succinctness, whether used as direct policy approximators or as imitation learners for black-box models. Additionally, our study highlights the inherent instability of using imitation learning for policy explanation.
Introduction
While DRL agents excel at complex tasks, they typically function as "black boxes," hindering their deployment in safety-critical fields like healthcare or autonomous driving. To bridge this gap, researchers have turned to Soft Decision Trees (SDTs). Unlike traditional hard trees, SDTs utilize differentiable, probabilistic boundaries, allowing for gradient-based training. However, standard SDTs often face a trade-off: achieving high accuracy requires either extreme depth—which sacrifices interpretability—or partitioning raw input features directly, which lacks the powerful representation learning capabilities of neural networks.
Methodology
The core innovation of this work is the Cascading Decision Tree (CDT). Rather than relying on a single tree structure, the CDT employs a two-stage architecture:
- Feature Learning Tree ($\mathcal{F}$): This stage transforms raw inputs into intermediate, learnable features.
- Decision Making Tree ($\mathcal{D}$): This stage utilizes the features from $\mathcal{F}$ to output a probability distribution over actions.
By cascading these trees, the model learns complex feature combinations (e.g., "angle + angular velocity") in the first stage, enabling the second stage to make decisions based on meaningful "meta-variables." This structure utilizes multivariate nodes, where routing is determined by a linear combination of inputs rather than a single feature.
Experimental Setup
We evaluated CDTs on three standard OpenAI Gym benchmarks: CartPole-v1, LunarLander-v2, and MountainCar-v0. These environments range from simple low-dimensional control to more complex physics-based challenges. CDTs were tested in two scenarios: as a direct policy trained via RL and as an imitation learner trained to mimic a pre-trained black-box neural network.
Key Insights and Ideas
Representation Learning and Efficiency
The primary finding is that enabling a tree to learn intermediate representations significantly improves efficiency. A CDT can achieve superior results with a more compact structure than a standard SDT. Quantitatively, CDTs reduced learnable parameters by approximately 35% compared to SDTs of equivalent depth.
The Power of Multivariate Nodes
While many explainable models favor univariate "axis-aligned" splits, we argue that multivariate splits are often more interpretable. They capture physical intuitions more succinctly by representing relationships between variables directly.
Explanation Instability
A critical observation from our study is the instability of explaining black-box policies via imitation learning. Multiple training runs often produced trees with identical accuracy but vastly different structures and feature importances. This suggests that mimicry alone is not a reliable path to true model understanding.
Key Results
- Performance: In CartPole, CDTs achieved perfect scores even after discretization (conversion to "hard" trees), whereas SDTs often suffered performance drops.
- Sample Efficiency: In the full RL setting, CDTs generally learned faster and reached higher final rewards than SDTs across all tested environments.
- Interpretability: Learned intermediate features in the CartPole environment closely matched known heuristic solutions, demonstrating that the model learns meaningful physical concepts.
Conclusion and Future Work
While CDTs offer significant improvements, discretization still leads to some performance degradation in complex environments like LunarLander. Future research will explore non-linear transformations within the feature learning stage, hierarchical scaling for high-dimensional tasks, and new regularization techniques to ensure that learned features remain stable and human-understandable across different training iterations.
Summary updated