NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ACDZero: Graph-Embedding-Based Tree Search for Mastering Automated Cyber Defense

Yu Li, Sizhe Tang, Rongqian Chen, Fei Xu Yu, Guangyu Jiang, Mahdi Imani, Nathaniel D. Bastian, Tian Lan

TL;DR

ACDZero introduces a novel framework for Automated Cyber Defense (ACD) that combines Graph Neural Networks (GNNs) with Monte Carlo Tree Search (MCTS). By representing computer networks as dynamic graphs and using MCTS for look-ahead planning in a learned latent space, the agent achieves highly robust, topology-invariant defense strategies, outperforming state-of-the-art reinforcement learning baselines by nearly 30% in complex, randomized network environments.

What Problem Does This Paper Address?

Automated Cyber Defense (ACD) systems aim to protect networks from intrusions without human intervention—taking actions like isolating compromised hosts, deploying decoys, or blocking traffic. Recently, Deep Reinforcement Learning (DRL) has shown promise in this area, but it faces a major hurdle: network topology variation.

Standard DRL agents typically observe the world through fixed-length feature vectors. If a network changes—say, a new server is added or IP addresses are re-indexed—these fixed vectors break down because they lack "permutation invariance." The agent essentially has to relearn its strategy from scratch. This is especially problematic in high-fidelity environments like the CAGE Challenge 4 (CC4), where network topologies (number of hosts, active services) are stochastically generated every episode. Furthermore, standard DRL often struggles to balance exploration and exploitation in these massive state/action spaces, leading to reactive, short-sighted defense policies rather than multi-step strategic planning.

Methods

To solve this, the authors propose ACDZero, an architecture heavily inspired by DeepMind’s MuZero (famous for mastering chess and Go without knowing the rules). ACDZero combines three major components:

  1. Graph-Based State Representation: Instead of fixed vectors, the environment interface converts local network observations into attributed graphs (where nodes are hosts/subnets/ports and edges are connections). A Graph Neural Network (GNN) processes this, making the agent's understanding invariant to network size and node ordering.
  2. Latent MCTS Planning: ACDZero doesn't just react; it plans. Because the agent doesn't have access to a ground-truth simulator of the network during deployment, it learns a latent dynamics model. It uses Monte Carlo Tree Search (MCTS) to simulate future attack-defense trajectories entirely within this learned "imagination" space, balancing exploration and exploitation via Upper Confidence Bound (UCB) algorithms.
  3. Policy Distillation for Real-Time Execution: MCTS is computationally heavy. To ensure the agent can react at network speeds during actual deployment, ACDZero uses a decentralized Actor-Critic framework (PPO). During training, the high-quality strategies discovered by the slow MCTS are "distilled" into a lightweight GNN actor network. At inference time, the MCTS is turned off, and the fast actor network makes the decisions, retaining the strategic foresight of the search without the computational overhead.

Datasets

The framework is trained and evaluated on the CAGE Challenge 4 (CC4) environment. CC4 is a high-fidelity, multi-agent enterprise network simulation where five "blue" (defender) agents protect critical assets against adaptive "red" (attacker) agents across four network zones. The environment enforces partial observability (agents only see their local subnets) and stochastically initializes the network topology (5–15 hosts per subnet, 1–5 services per host) every episode.

Key Insights and Ideas

  • Graphs Prevent Memorization: By forcing the agent to view the network as a graph rather than a static list, it cannot memorize specific configurations. Instead, it learns generalizable cybersecurity concepts (e.g., "isolate a node if its neighbor is compromised, regardless of what the node is called").
  • Planning Beats Pure Reaction: Rehearsing potential futures via MCTS allows the agent to anticipate multi-step adversary behaviors, leading to proactive defense rather than just playing "whack-a-mole" with alerts.
  • Distillation is the Best of Both Worlds: You can achieve the strategic depth of tree search during training and the lightning-fast inference of a standard neural network during deployment.
  • Indirect Optimization of Latent Space: The agent's internal "imagination" (latent dynamics model) isn't trained to perfectly reconstruct the raw network state. Instead, it is optimized purely based on its ability to predict rewards and long-term values, ensuring it only captures features semantically relevant to cyber defense.

Key Results

  • Superior Performance: ACDZero achieved a mean reward of $-150.03$, representing a 29.2% improvement over the state-of-the-art GCN baseline ($-193.68$). Tabular RL methods (DQN, PPO) failed entirely, scoring around $-600$ due to their inability to handle changing topologies.
  • Faster Convergence: ACDZero converged in roughly 30,000 episodes, which is 25% faster than the GCN baseline. The multi-step search supervision provides much stronger learning signals than noisy, single-step RL rewards.
  • Higher Stability: The agent exhibited 5.8% lower variance across episodes compared to the baseline, proving it is highly robust to the randomized network initializations.
  • Ablation Validation: Removing the MCTS component dropped performance right back to the GCN baseline, confirming that the search-guided planning is the secret sauce.

Limitations and Future Work

Limitations: The primary tradeoff is training compute. Running MCTS during training requires roughly 2.5× more computation per step than standard GCNs (though this is offset somewhat by requiring fewer total episodes to converge).

Future Work: The authors suggest two promising directions to reduce online interaction costs and speed up training:

  1. Integrating pre-trained policies (like existing rule-based heuristics) to act as MCTS priors, which would guide the tree search more efficiently early in training.
  2. Learning the graph-based dynamics model from offline trajectories (historical logs of attacks and defenses) before fine-tuning the agent online.

Summary updated

BibTeX
@inproceedings{li2026acdzero,
  author = {Yu Li and Sizhe Tang and Rongqian Chen and Fei Xu Yu and Guangyu Jiang and Mahdi Imani and Nathaniel D. Bastian and Tian Lan},
  title = {{ACDZero: Graph-Embedding-Based Tree Search for Mastering Automated Cyber Defense}},
  booktitle = {INFOCOM},
  year = {2026},
  doi = {10.1109/infocom59046.2026.11571321},
}
Figure