Tree-Based Stochastic Optimization for Solving Large-Scale Urban Network Security Games

Shuxin Zhuang, Linjian Meng, Shuxin Li, Minming Li, Youzhi ZhangarXiv 2025 · DOI

Abstract

Solving large-scale Urban Network Security Games (UNSGs) is a significant challenge due to the exponential growth of action spaces as city networks expand. Traditional game-theoretic and reinforcement learning methods often fail to scale or converge to local optima. This paper introduces Tree-based Stochastic Optimization (TSO), a framework that represents complex patrol and escape routes as paths in a decision tree. By combining a tree-based Nash Advantage Loss (NAL) with a novel "sample-and-prune" mechanism, TSO achieves superior convergence and scalability, solving massive security problems that were previously computationally intractable.

Introduction

Urban Network Security Games model the strategic interactions between defenders (e.g., police) and attackers (e.g., criminals) on a city road network. The objective is to find a Nash Equilibrium (NE), where neither player can improve their outcome by unilaterally changing their strategy. However, as the network size increases, the number of possible paths for an attacker and the combinations of locations for a defender grow exponentially. Standard methods like Policy Space Response Oracle (PSRO) struggle because finding a "Best Response" in these environments is NP-hard. Meanwhile, stochastic optimization methods like standard NAL are limited by neural networks' inability to output probability distributions over non-enumerable action spaces.

Methods

TSO addresses these scalability issues through three primary innovations:

1. Tree-Based Action Representation

Instead of treating a complete path as a single action, TSO decomposes it into a sequence of local decisions. For an attacker, this involves choosing the next intersection at each step. This approach maps the entire action space onto a tree structure, allowing the neural network's output layer to remain constant—proportional only to the maximum degree of a node in the graph, rather than the total number of paths.

The TSO framework maps graph-based paths into tree-based decision structures for both attackers and defenders.

2. Tree-Based Nash Advantage Loss (NAL)

The authors mathematically adapt the NAL function to this tree structure. They prove that optimizing the probabilities of individual edges within the decision tree is equivalent to optimizing the strategy over the entire global action space, providing a theoretically sound foundation for stochastic optimization in large networks.

3. Sample-and-Prune Mechanism

To prevent the model from getting stuck in local optima, TSO employs a "sample-and-prune" mechanism. During training, if an action becomes dominant, it is periodically "pruned" (temporarily removed), forcing the model to explore alternative strategies. This effectively "steals" probability mass from dominant actions to ensure thorough exploration of the strategy space.

Experimental Evaluation

The researchers evaluated TSO across several synthetic urban networks:

  • Small-Scale (S-1): 16 nodes, 40 edges (enumerable baseline).
  • Medium-Scale (M-1 to M-4): 64 nodes, 300 edges, with varying path lengths and defender counts.
  • Large-Scale (L-1): 10,000 nodes, 31,660 edges, representing a non-enumerable action space.

Key Results

TSO demonstrated significant improvements in both convergence quality and computational efficiency. In medium-scale scenarios, TSO consistently achieved lower duality gaps—a metric indicating proximity to a Nash Equilibrium—compared to both PSRO and standard NAL implementations.

Convergence results for medium-scale games (M-1 to M-4) showing TSO (red) achieving lower duality gaps than PSRO (yellow) and standard NAL (blue).

In the large-scale (L-1) test, TSO reached a superior solution in just four days, whereas PSRO required approximately two weeks to produce a less optimal result. Ablation studies confirmed that the Sample-and-Prune mechanism was critical; without it, the model frequently converged prematurely to sub-optimal local equilibria.

Conclusion and Future Work

Tree-based Stochastic Optimization provides a scalable and robust framework for solving complex security games in large urban environments. By leveraging tree structures and forced exploration, it overcomes the limitations of traditional best-response and stochastic methods. Future research will focus on extending TSO to dynamic environments with sequential moves, incorporating realistic constraints like travel time and limited resources, and further exploring decentralized multi-agent coordination.

Summary updated

BibTeX
@misc{zhuang2025tree,
  author = {Shuxin Zhuang and Linjian Meng and Shuxin Li and Minming Li and Youzhi Zhang},
  title = {{Tree-Based Stochastic Optimization for Solving Large-Scale Urban Network Security Games}},
  year = {2025},
  eprint = {2511.10072},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.10072},
}
Figure