Introduction
Deep Reinforcement Learning (RL) has demonstrated remarkable success in complex tasks ranging from strategic games to autonomous swarm control. However, the "black box" nature of deep neural networks poses a significant barrier to deployment in high-stakes multi-agent environments, such as air traffic control or cyber defense. In these domains, understanding the underlying logic of an agent's decision-making process is as critical as the performance itself. MAVIPER (Multi-Agent VIPER) addresses this challenge by providing a framework to extract interpretable, decision-tree-based policies from complex multi-agent neural networks.
The Challenge of Multi-Agent Interpretability
While single-agent interpretable RL has seen progress, the multi-agent reinforcement learning (MARL) setting introduces the unique hurdle of coordination. Existing methods, such as VIPER—the predecessor to this work—extract decision trees for a single agent by treating the rest of the world as a static environment. In a multi-agent context, this approach often fails because agents are "moving targets." If decision trees are trained independently, they frequently fail to capture the subtle teamwork logic required for success. For instance, in a defensive scenario, two independent agents might both pursue the same target, leaving another area exposed due to a lack of coordinated logic.
Methodology
MAVIPER acts as a policy extractor that distills a high-performing "expert" neural network (trained via MADDPG) into human-readable decision trees. The authors propose two primary algorithms:
1. IVIPER (Independent VIPER)
IVIPER is a direct extension of the single-agent VIPER framework. It trains each agent's tree independently but provides them with global state information during the training phase. This helps mitigate the "non-stationarity" problem—the fact that other agents are simultaneously learning and changing their behaviors.
2. MAVIPER (Multi-Agent VIPER)
MAVIPER is the core contribution of the research, utilizing a centralized training approach to ensure coordination. Its key features include:
- Joint Tree Growth: The algorithm grows decision trees for all agents simultaneously, level by level.
- Prediction Module: When determining a split for Agent A’s tree, MAVIPER predicts the likely actions of Agent B’s tree at that same timestep. This allows agents to account for each other's anticipated logic during the distillation process.
- Critical State Resampling: To ensure the trees perform well in high-stakes moments, MAVIPER uses a novel weighting scheme. It focuses training data on "critical" states—situations where the difference between the optimal joint action and the worst joint action is significant.
Experimental Setup
The framework was evaluated across three environments in the Multi-Agent Particle-World:
- Physical Deception: Two defenders must protect two targets from an adversary. Success requires the defenders to split up and cover both targets.
- Cooperative Navigation: Three agents must move to cover three distinct landmarks without colliding.
- Predator-Prey: A team of cooperating predators must catch a faster prey in an environment containing obstacles.
Key Insights and Results
High Fidelity and Performance
MAVIPER and IVIPER achieved high fidelity relative to their neural network experts. In most tasks, the decision trees retained at least 75% of the expert's performance, with some reaching over 90%. Remarkably, these results were achieved using trees with a maximum depth of only 6, which is small enough for a human to visualize and audit easily.
Coordination and Task Allocation
One of the most significant findings was MAVIPER's ability to handle task allocation. In the Physical Deception task, MAVIPER-trained defenders naturally "split their attention," with one tree focusing on Target A and the other on Target B. In contrast, IVIPER often resulted in both agents focusing on the same target, leading to coordination failure. In Cooperative Navigation, MAVIPER significantly outperformed other interpretable baselines like Imitation Learning or Fitted Q-Iteration by better capturing collision-avoidance logic.
Robustness Through Simplicity
Interestingly, MAVIPER-trained agents often proved more robust than the original neural network experts when facing diverse opponents. In the Physical Deception environment, MAVIPER defenders achieved a success rate of 0.77, vastly outperforming IVIPER (0.33). The simpler, discretized logic of the decision tree appeared to generalize better than the potentially overfitted nuances of the high-dimensional deep network.
Limitations and Future Directions
While MAVIPER represents a leap forward in MARL interpretability, several areas for future work remain:
- Sample Efficiency: Distilling a neural network into a tree currently requires a large number of trajectories. Future research into dataset distillation could accelerate this process.
- Feature Engineering: The quality of a decision tree is highly dependent on its input features. Automatic feature selection could help find even more compact and intuitive representations.
- Scalability: Scaling joint tree growth to dozens of agents (e.g., swarms) may require hierarchical or modular tree structures to manage the combinatorial complexity of joint action spaces.
Conclusion
MAVIPER demonstrates that it is possible to bring transparency to the multi-agent "black box" without sacrificing significant performance. By focusing on joint training and critical states, the framework produces interpretable policies that are not only easy to audit but also robust and highly coordinated.
Summary updated