Equilibrium Policy Generalization: A Reinforcement Learning Framework for Cross-Graph Zero-Shot Generalization in Pursuit-Evasion Games

Runyu Lu, Peng Zhang, Ruochuan Shi, Yuanheng Zhu, Dongbin Zhao, Yang Liu, Dong Wang, Cesare Alippi

TL;DR

The Equilibrium Policy Generalization (EPG) framework enables reinforcement learning agents to achieve robust, zero-shot generalization in pursuit-evasion games across completely unseen graph structures. By training agents against single-graph equilibrium oracles and using a novel shortest-path distance feature, EPG eliminates the need for time-consuming policy fine-tuning when map environments change dynamically.

What Problem Does This Paper Address?

Pursuit-evasion games (PEGs)—where a team of pursuers attempts to capture an adversarial evader on a graph—are widely used to model real-world scenarios in robotics, surveillance, and urban security. However, solving these games accurately is computationally brutal (EXPTIME-complete), requiring exponential time relative to the number of agents.

While deep reinforcement learning (RL) has introduced more flexible policies, existing state-of-the-art methods suffer from two major flaws:

  1. Lack of Cross-Graph Generalization: If the underlying graph changes (e.g., due to a traffic jam, roadblock, or map update), the trained policy fails and requires computationally intensive fine-tuning or complete recomputation.
  2. Overfitting to Simple Opponents: Existing frameworks often train against simplistic hand-crafted opponents (e.g., an evader that blindly takes the shortest path to an exit), making the resulting policy highly exploitable by an intelligent adversary.

This paper asks: Can we train a generalized PEG policy that delivers robust, zero-shot performance on entirely unseen graph structures against strong opponents?

Methods

The authors introduce the Equilibrium Policy Generalization (EPG) framework. Instead of training against a static or naive opponent, EPG trains the RL policy across a diverse corpus of graphs against a localized equilibrium adversary unique to each graph.

Figure 1: Training pipeline of Equilibrium Policy Generalization

The framework consists of three core technical pillars:

  • Equilibrium Adversary & Guidance: To prevent the RL agent from exploiting specific opponent quirks, it plays against an unexploitable Nash equilibrium opponent ($\nu^*$). Because an equilibrium opponent makes rewards incredibly sparse, the authors also use the corresponding equilibrium pursuer policy ($\mu^*$) as a reference policy, adding a KL-divergence regularization term to the Soft Actor-Critic (SAC) loss to guide exploration.
  • Near-Optimal Dynamic Programming (DP) Oracle: For no-exit graphs, the authors design a novel DP algorithm that computes pure-strategy Nash equilibria in near-optimal $\tilde{O}(|S|)$ time complexity. To scale this to many pursuers, they introduce a grouping mechanism that splits large teams into optimal 2- or 3-pursuer sub-teams. For multi-exit graphs, they implement an approximate oracle based on bipartite graph matching.
  • Sequence Model with Shortest-Path Distance Features: To make the network architecture invariant to graph topology and agent counts, the authors feed the model a high-level feature matrix containing the normalized shortest-path distances from every node to all agents and exits. An attention-based sequence model then processes these features to output decentralized actions.
Figure 2: Sequence model with cross-graph policy representation

Datasets

The framework was trained and evaluated using:

  • Training Set: 76 procedurally generated maps from the Dungeon environment, discretized into small-scale (100-node) and large-scale (500-node) graphs.
  • Testing Set (Unseen Graphs): 10 unseen Dungeon graphs, a standard $10 \times 10$ Grid Map, the Scotland-Yard board game map, a Downtown map from Google Maps, and 7 famous real-world locations (Times Square, Hollywood Walk of Fame, Sagrada Familia, The Bund, Eiffel Tower, Big Ben, and the Sydney Opera House).

Key Insights and Ideas

  • The Power of the Equilibrium Oracle: Training against a local Nash equilibrium opponent forces the generalized policy to focus purely on structural graph robustness rather than learning how to exploit a specific bad opponent strategy.
  • Overcoming Sparse Rewards via Guidance: Playing against a perfect opponent means the RL agent almost never wins initially. Combining the adversarial environment with a KL-divergence loss against the oracle's pursuer strategy bridges the gap, allowing stable and efficient training.
  • High-Level Features Over Raw Structure: Instead of forcing a Graph Neural Network (GNN) to learn graph topology from scratch using low-level indicators, providing shortest-path distances allows a fixed-depth attention mechanism (6 layers) to instantly capture long-term global context, regardless of graph diameter.

Key Results

The authors evaluated their zero-shot policies against the unexploitable DP oracle on unseen real-world maps without any fine-tuning.

Table 1: Performance of RL pursuer / evader against DP oracle in no-exit PEGs with 2 pursuers
  • No-Exit Scenarios: As shown in Table 1, the EPG pursuer ($\text{RL}_p$) maintained high pursuit success rates ($>0.60$ across all complex real-world maps, and up to $1.00$ on simpler maps) against an optimal evader. In contrast, a standard Shortest Path Strategy (SPS) completely failed on complex maps like the Hollywood Walk of Fame (achieving only a 0.02 success rate).
  • Multi-Exit Scenarios: In 8-exit game configurations, EPG's zero-shot performance significantly outperformed the zero-shot baselines of state-of-the-art methods like Grasper. Remarkably, EPG's zero-shot policies even matched or exceeded the performance of competing models after those models were fine-tuned for 10 minutes using Policy-Space Response Oracles (PSRO).
  • Rule Robustness: When the success condition was suddenly tightened (requiring both pursuers to be adjacent to the evader instead of just one), the EPG policy retained a success rate of over 60% in 9 out of 10 graphs, while the baseline DP method's success rate plummeted.

Limitations and Future Work

  • Perfect Information Assumption: The current framework assumes all agents have perfect, global information about the game state (exact locations of all players). In real-world robotics or security deployments, line-of-sight constraints and communication limits create a partially observable environment.
  • Oracle Dependency: EPG relies heavily on having a reliable single-graph oracle (DP or heuristic) during the training phase. Developing generalized pipelines that can bootstrap equilibrium policies without explicit per-graph oracles remains an open challenge.

Summary updated

BibTeX
@inproceedings{lu2025equilibrium,
  author = {Runyu Lu and Peng Zhang and Ruochuan Shi and Yuanheng Zhu and Dongbin Zhao and Yang Liu and Dong Wang and Cesare Alippi},
  title = {{Equilibrium Policy Generalization: A Reinforcement Learning Framework for Cross-Graph Zero-Shot Generalization in Pursuit-Evasion Games}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=z67on2D0j1},
}
Figure