NSGZero: Efficiently Learning Non-exploitable Policy in Large-Scale Network Security Games with Neural Monte Carlo Tree Search

Wanqi Xue, Bo An, Chai Kiat Yeo

Abstract

Network Security Games (NSGs) are critical for modeling adversarial resource deployment in complex environments. However, traditional deep learning approaches struggle with data inefficiency and the curse of dimensionality as the number of security resources scales. We present NSGZero, a framework that combines Neural Monte Carlo Tree Search (MCTS) with decentralized control. By leveraging environment dynamics and a novel decentralized execution model, NSGZero achieves near-optimal, non-exploitable strategies with significantly higher data efficiency than previous state-of-the-art methods.

Introduction

Network Security Games (NSGs) model the strategic interaction between a defender protecting targets and an attacker attempting to reach them. While deep reinforcement learning has succeeded in various games, its application to NSGs is hindered by two primary challenges:

  1. Data Inefficiency: Model-free methods often fail to exploit known environment dynamics, requiring millions of episodes to learn basic movement rules.
  2. The Curse of Dimensionality: In centralized control systems, the joint action space grows exponentially with the number of resources, making large-scale real-world deployment computationally infeasible.

Methodology: The NSGZero Framework

NSGZero addresses these challenges by integrating a specialized Neural MCTS architecture with a decentralized execution paradigm.

Neural MCTS Architecture

Unlike standard MCTS which relies on random rollouts, NSGZero utilizes three deep neural networks to guide the search:

  • Dynamics Network (dyna_net): Predicts the opponent's next move. Given the deterministic nature of the environment, this allows for accurate state transitions during lookahead.
  • Value Network (value_net): Estimates the win probability of a state, eliminating the need for full-game simulations.
  • Prior Network (prior_net): Suggests promising moves to narrow the search tree.
The NSGZero architecture integrates specialized networks for value, prior, and dynamics prediction within a decentralized MCTS framework.

Decentralized Execution and Training

To overcome the combinatorial explosion of the action space, NSGZero employs decentralized control. Each resource selects its own action during the MCTS process. While they share a Prior Network (parameter sharing) to facilitate collective learning, the independent selection prevents the action space from ballooning.

Furthermore, the framework uses a joint training paradigm. A critical finding was that treating value prediction as a classification problem (using Binary Cross Entropy) provided more stability and better performance than standard regression (Mean Squared Error).

Experimental Results

The performance of NSGZero was evaluated on synthetic grids and large-scale real-world maps of Manhattan and Singapore.

Data Efficiency and Performance

In grid environments, NSGZero demonstrated a massive leap in data efficiency. On a $15 \times 15$ grid, NSGZero reached a near-optimal defender reward of approximately 0.95 within just 100,000 training episodes. In contrast, the previous state-of-the-art method, NSG-NFSP, required ten times more data (1,000,000 episodes) and still only achieved a reward of roughly 0.48.

Performance comparison on $7 \times 7$ and $15 \times 15$ grids showing NSGZero's superior data efficiency and reward convergence compared to NSG-NFSP.

Scalability and Robustness

NSGZero successfully scaled to the Singapore map with 8 resources and 14 targets. Traditional algorithms like IGRS++ encountered "Out of Memory" (OOM) errors in these high-dimensional settings, whereas NSGZero maintained high performance. Additionally, the policies proved robust against "Best Response" attackers, confirming the non-exploitability of the learned strategies.

Conclusion

NSGZero represents a significant advancement in solving large-scale NSGs. By combining the lookahead capabilities of MCTS with decentralized neural control, it bypasses the traditional limits of scalability and data efficiency. Future work will explore extending this framework to partially observable environments and full self-play scenarios.

Summary updated

BibTeX
@inproceedings{xue2022nsgzero,
  author = {Wanqi Xue and Bo An and Chai Kiat Yeo},
  title = {{NSGZero: Efficiently Learning Non-exploitable Policy in Large-Scale Network Security Games with Neural Monte Carlo Tree Search}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i4.20389},
}
Figure