Abstract
Pursuit-Evasion Games (PEGs) represent a fundamental class of adversarial problems with significant implications for robotics and security. However, solving PEGs across varying graph topologies remains a significant challenge, as classical algorithms are computationally expensive and existing reinforcement learning (RL) methods often fail to generalize to unseen environments. This paper introduces Equilibrium Policy Generalization (EPG), a framework that enables RL agents to achieve robust, zero-shot generalization on diverse map structures. By training against mathematically optimal equilibrium oracles and utilizing topology-aware features, EPG produces policies that outperform state-of-the-art methods on real-world maps without the need for fine-tuning.
Introduction
Pursuit-Evasion Games, often conceptualized as "cops and robbers" on a graph, model complex interactions in security patrolling and search-and-rescue operations. While these games are well-studied, they are notoriously difficult to solve in real-time when the environment changes. Traditional exact algorithms require exponential time to recompute solutions whenever a map's topology is altered—such as by a roadblock or a change in building layout.
Deep Reinforcement Learning (RL) offers a potential solution through learned policies, but current approaches face two critical hurdles: poor zero-shot generalization and vulnerability to intelligent adversaries. Most RL agents overfit to specific training maps or assume naive opponent behavior. When faced with a new graph or a truly optimal adversary, these agents' performance typically collapses. The EPG framework addresses these gaps by focusing on cross-graph robustness against unexploitable opponents.
The Equilibrium Policy Generalization (EPG) Framework
The EPG framework is designed to train generalized RL policies that are effective immediately upon deployment on unseen graphs. The methodology rests on three primary pillars:
1. Training Against Equilibrium Oracles
Rather than relying on standard self-play, which can lead to "strategy cycling" or convergence to weak local optima, EPG trains agents against an equilibrium oracle. This oracle represents an unexploitable, optimal opponent calculated for each specific training graph. For "no-exit" scenarios, the authors developed a novel Dynamic Programming (DP) algorithm to compute pure-strategy Nash equilibria efficiently. For more complex "multi-exit" scenarios, a heuristic based on bipartite graph matching is employed. Training against a perfect opponent acts as a rigorous filter, forcing the RL agent to learn strategies that are robust against any possible counter-play.
2. Topology-Aware State Representation
A key insight of EPG is the prioritization of topology over geometry. Standard RL models often use raw 2D coordinates, which lose meaning when the underlying map changes. EPG instead uses the shortest path distances between all agents and nodes (precomputed via Floyd’s algorithm) as input features. By processing these distances through an attention-based sequence model, the agent learns relational concepts—such as bottlenecking or flanking—that transfer seamlessly across different graph structures.
3. Equilibrium Guidance and Scalability
To overcome the sparse reward problem inherent in playing against a perfect opponent, EPG utilizes Equilibrium Guidance. This technique uses KL-divergence regularization to guide the RL agent’s exploration toward the equilibrium policy, significantly accelerating convergence. To handle larger teams of pursuers where exact DP becomes computationally prohibitive, the authors introduce a grouping mechanism that clusters agents into sub-teams, maintaining a balance between mathematical optimality and computational scalability.
Experimental Evaluation
Datasets and Setup
The framework was trained on a corpus of 152 procedurally generated "Dungeon" maps, ranging from 100 to 500 nodes. To test zero-shot generalization, the agents were evaluated on 10 entirely unseen real-world graph structures, including the Scotland-Yard board game map and complex layouts of locations like Times Square, the Eiffel Tower, and the Sydney Opera House.
Performance and Robustness
EPG demonstrated remarkable zero-shot success rates against optimal DP evaders on unseen maps, achieving a 1.0 success rate on Grid Maps and 0.98 on the Times Square map. In comparative studies, EPG significantly outperformed state-of-the-art methods such as Grasper and MT-PSRO. Notably, EPG’s zero-shot performance was often superior to the performance of competing models even after those models were allowed 10 minutes of environment-specific fine-tuning.
Furthermore, the framework proved highly adaptable to rule changes. When the game's win condition was modified (requiring two pursuers to surround an evader instead of one), the success rate of the rigid DP algorithm dropped to near zero. In contrast, the EPG-trained RL policy maintained a success rate of over 60% across most maps, highlighting the flexibility of the learned representation compared to fixed algorithmic solvers.
Conclusion and Future Work
Equilibrium Policy Generalization provides a robust pathway for deploying RL in dynamic, adversarial environments. By combining the mathematical rigor of Nash equilibrium oracles with the flexibility of attention-based RL, the framework achieves unprecedented cross-graph generalization. While the current implementation assumes full observability, future research will explore extending EPG to partially observable settings and applying the framework to other adversarial domains beyond pursuit-evasion.
Summary updated