Abstract
Deep reinforcement learning (RL) policies often function as "black boxes," making them difficult to deploy in high-stakes environments where transparency is critical. We present a method to distill complex neural network policies into Local Tree Surrogates. These surrogates provide interpretable action maps that reveal the agent's future intent with minimal performance loss. By focusing on forward-reachable states and employing recursive greedy clustering, our approach bridges the gap between high-performance deep RL and human-understandable decision-making.
Introduction
While deep RL has demonstrated remarkable success in complex simulations, its adoption in real-world, high-consequence domains—such as autonomous driving, healthcare, and cyber security—is limited by a lack of interpretability. This "performance-transparency trade-off" forces a choice between powerful but opaque neural networks and simpler, less capable models. Existing explainable AI (XAI) techniques often fail in RL contexts: global surrogates become unmanageably complex, while local methods like LIME often ignore the sequential nature of the task. We propose Local Tree Surrogates to provide a "local" explanation of a policy's strategy from the current state forward.
Methodology: Building the Local Tree
The core of our approach is the construction of a simplified tree map that approximates the neural network's strategy for the immediate future.
- Simulation via Particles: Starting from the current state, the baseline "black box" policy is executed multiple times. Each simulation run is treated as a "particle" representing a potential trajectory of states, actions, and rewards.
- Recursive Greedy Clustering: These particles are grouped into action nodes. The algorithm seeks a tree structure that minimizes deviation from the original policy's actions while adhering to user-defined constraints on tree depth and size.
- Quantitative Predictions: Each node in the resulting tree provides the probability of reaching that state and the expected $Q$-value of the associated action.
Applications and Insights
We evaluated the Local Tree Surrogate across several domains, including a discrete Grid World, a high-dimensional Vaccine Planning task, and a Cyber Security network defense scenario.
Vaccine Planning
In the Vaccine Planning task, based on a stochastic SIRD model, the agent must optimize vaccine distribution across cities. The surrogate tree revealed a sophisticated strategy: rather than simply targeting the most infected areas, the neural network prioritized cities with large susceptible populations. This "preventative" logic, clearly visible in the tree, helps build human trust by confirming the model follows a sound epidemiological strategy.
Cyber Security
In the network defense scenario, the tree provided a clear multi-step plan (e.g., "Scan LAN 1; if malware detected, Clean Host"). This format allows human analysts to review, approve, or override the agent's proposed actions in real-time.
Key Results and Discussion
Our experiments demonstrate that Local Tree Surrogates maintain high fidelity to the original policy. In the Vaccine Planning task, the surrogate achieved a performance within 1.6% of the baseline neural network, significantly outperforming LIME-based surrogates which saw a 23% drop.
The method is particularly effective in environments with lower stochasticity. By focusing exclusively on "forward-reachable" states—those the agent is likely to visit—the algorithm maximizes its explanatory capacity on relevant information rather than wasting it on unreachable parts of the state space.
Conclusion and Future Work
Local Tree Surrogates offer a promising path toward making deep RL accountable and trustworthy. While the current greedy clustering heuristic is efficient, future work will explore optimal clustering via Mixed Integer Programming. Additionally, we aim to incorporate empirical value estimates from simulated particles and provide statistical confidence intervals for the tree's predictions, further enhancing the utility of these interpretable maps for human operators.
Summary updated