Solving Large-Scale Extensive-Form Network Security Games via Neural Fictitious Self-Play

Wanqi Xue, Youzhi Zhang, Shuxin Li, Xinrun Wang, Bo An, Chai Kiat Yeo

Introduction

Network Security Games (NSGs) provide a mathematical framework for modeling the strategic interactions between a defender (e.g., law enforcement) and an attacker (e.g., a criminal) on a graph-based environment, such as a city's road network. In these extensive-form games, players move sequentially, and strategies must evolve dynamically. However, applying NSGs to real-world scenarios has historically been hindered by two primary scaling challenges:

  1. Path Explosion: Real-world networks can contain over $10^{18}$ possible attack paths. Traditional incremental solvers often fail due to "Out of Memory" (OOM) errors when attempting to enumerate these paths.
  2. Dynamic and Combinatorial Action Spaces: Unlike standard reinforcement learning environments with fixed outputs, legal moves in NSGs change based on the current node. Furthermore, controlling multiple defender units leads to a combinatorial explosion of possible joint actions.

To address these issues, researchers have developed NSG-NFSP, a deep learning framework that leverages Neural Fictitious Self-Play to find near-optimal strategies in large-scale environments.

Methodology: The NSG-NFSP Framework

The core of the approach is built upon Neural Fictitious Self-Play (NFSP). In this setup, two agents engage in self-play to converge toward a Nash Equilibrium. Each agent maintains two distinct neural networks: a Best Response (BR) network, trained via Reinforcement Learning (RL) to counter the opponent's current strategy, and an Average Policy network, trained via Supervised Learning (SL) to track the agent's own historical behavior.

The NFSP Agent architecture utilizes dual networks for reinforcement and supervised learning to reach a Nash Equilibrium.

To make NFSP viable for large-scale NSGs, the authors introduced several key innovations:

  • State-Action Pair Mapping: Rather than outputting values for all possible actions, the BR network takes a (state, action) pair as input. This allows the model to evaluate only the legal moves available at a specific node, making the model size independent of the total number of nodes.
  • Metric-Based Average Policy: Inspired by few-shot learning, the average policy network acts as a metric classifier. It maps states and legal actions into a shared vector space, using similarity metrics to assign probabilities only to valid moves.
  • High-Level Actions (HLA): To stabilize training, the attacker uses a Multi-Armed Bandit (MAB) approach to select high-level goals (e.g., specific targets) rather than wandering randomly. This forces the defender to adapt to meaningful threats early in the training process.
  • Graph Node Embeddings: Using node2vec, the map is pre-processed to provide the networks with spatial awareness, allowing them to understand physical proximity and connectivity between nodes.

Experimental Evaluation

The NSG-NFSP algorithm was evaluated against synthetic grids and real-world road networks, including Singapore and Manhattan.

The Singapore road network (left) and its corresponding graph representation (right) used for evaluating the scalability of NSG-NFSP.

Key Results

  • Scalability: While previous state-of-the-art algorithms like IGRS++ suffered from OOM errors on large-scale networks, NSG-NFSP handled them efficiently.
  • Performance: In the Singapore network (372 nodes, 1,470 edges), NSG-NFSP achieved a defender utility of 0.1225, vastly outperforming uniform random (0.0230) and greedy (0.0) baselines.
  • Ablation Studies: Removing components like graph embeddings or high-level actions led to significant performance degradation, confirming that each innovation is critical to the system's success.

Conclusion and Future Work

NSG-NFSP represents a significant step forward in applying game theory to large-scale security problems. By redesigning neural architectures to handle dynamic action spaces and incorporating strategic abstractions, the framework enables the solution of games that were previously computationally intractable.

Future research will focus on reducing the training time, which currently spans several days for large networks. Additionally, the authors aim to explore scenarios with information asymmetry, where the defender has only partial or noisy observations of the attacker's movements.

Summary updated

BibTeX
@inproceedings{xue2021solving,
  author = {Wanqi Xue and Youzhi Zhang and Shuxin Li and Xinrun Wang and Bo An and Chai Kiat Yeo},
  title = {{Solving Large-Scale Extensive-Form Network Security Games via Neural Fictitious Self-Play}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/511},
}
Figure