TL;DR
Grasper is a novel generalist framework for Pursuit-Evasion Games (PEGs) that leverages Graph Neural Networks (GNNs) and hypernetworks to generate adaptive policies across diverse maps and initial conditions. By employing a three-stage training pipeline—pre-pretraining, heuristic-guided pre-training, and fine-tuning—it achieves superior solution quality and significantly faster adaptation than current state-of-the-art specialist models.
Introduction: The Specialist Problem in Pursuit-Evasion
Pursuit-Evasion Games (PEGs) model high-stakes "cat-and-mouse" interactions, such as law enforcement tracking a suspect through a city street network. While the current state-of-the-art approach, Policy-Space Response Oracles (PSRO), is powerful, it suffers from a major "specialist" limitation: models are typically trained for one specific scenario with fixed starting locations, exit points, and map topologies.
In real-world applications, conditions change constantly. If any initial condition shifts, traditional algorithms must recompute the Nash Equilibrium from scratch—a process that can take hours. Grasper addresses this by shifting the paradigm from training a specific policy to training a policy generator capable of real-time adaptation.
Methodology: The Grasper Framework
Grasper's architecture is designed to capture the underlying structure of the game and generate specialized strategies on the fly.
1. Architecture Components
- Graphical Representation: The PEG environment is encoded as a graph where nodes represent locations. Node features include the presence of exits, the evader's location, and the distribution of pursuers.
- GNN Encoder: A Graph Neural Network (GNN) processes the graph to produce a fixed-size hidden vector. This vector captures the "essence" of the specific game instance's topology and state.
- Hypernetwork: This is the core innovation. Instead of directly outputting actions, the hypernetwork takes the GNN's hidden vector and generates the weights and biases for the pursuer’s policy network. This allows the system to instantiate a specialized policy tailored to the current map and starting positions instantly.
2. Three-Stage Training Pipeline
To effectively train this complex architecture, the authors developed a hierarchical pipeline:
- Pre-pretraining (Self-Supervised): Using GraphMAE (a masked auto-encoder), the GNN is trained to understand general graph structures independently of game-specific labels. This stage makes the overall training process 3.9x faster than joint training from scratch.
- Pre-training (Heuristic-Guided Multi-task): The model is trained across thousands of PEG scenarios using Multi-Agent PPO (MAPPO). To overcome the "sparse reward" problem—where pursuers rarely catch an intelligent evader during random exploration—the authors introduced Heuristic-guided Multi-task Pre-training (HMP). This uses Dijkstra-based "reference policies" to regularize the RL agent, guiding it toward effective pursuit behaviors.
- Fine-tuning: Finally, the pre-trained model serves as a "warm start" for PSRO, allowing it to reach a high-quality equilibrium much faster than starting from a random initialization.
Experimental Evaluation
The researchers evaluated Grasper on four distinct map types, including synthetic 10x10 grids and scale-free graphs (300 nodes), as well as real-world topologies like the Singapore map (372 nodes) and the Scotland-Yard map (200 nodes).
Key Results and Insights
- Superior Utility: Grasper consistently achieved higher "worst-case utility" compared to baselines like MT-PSRO, meaning it catches the evader more reliably across diverse scenarios.
- Robustness and Stability: The framework showed significantly lower variance across different games. While traditional models struggled with the heterogeneity of real-world maps, Grasper’s GNN-based encoding allowed it to adapt effectively to local topologies.
- Zero-Shot Potential: Even before the final fine-tuning stage, Grasper’s generated policies provided a strong performance baseline, whereas traditional PSRO methods start with zero utility.
- The Power of Hypernetworks: The authors found that simply augmenting standard networks with game features was insufficient; the hypernetwork's ability to reconfigure the entire policy based on the game state is what enables true generalizability.
Limitations and Future Work
While Grasper generalizes across starting positions and time horizons, the current model is largely trained on specific graph structures. Future work aims to tackle generalization between entirely different map types (e.g., transferring knowledge from a grid to a scale-free map). Additionally, exploring more sophisticated, learning-based evader strategies and automated curriculum learning for task sampling could further enhance the framework's robustness.
Summary updated