Skip to main content
QUICK REVIEW

[Paper Review] Beyond CAGE: Investigating Generalization of Learned Autonomous Network Defense Policies

M. Wolk, Andy Applebaum|arXiv (Cornell University)|Nov 28, 2022
Network Security and Intrusion DetectionComputer Science5 citations
TL;DR

This paper evaluates multiple Proximal Policy Optimization (PPO)-based reinforcement learning (RL) methods—hierarchical RL, action masking, custom training, and ensemble RL—for autonomous network defense in the CAGE Challenge. The ensemble RL approach outperformed others, ranking second in the competition, but all methods showed significant performance degradation when tested on unseen networks or against unknown attacker strategies, highlighting generalization and robustness challenges for real-world deployment.

ABSTRACT

Advancements in reinforcement learning (RL) have inspired new directions in intelligent automation of network defense. However, many of these advancements have either outpaced their application to network security or have not considered the challenges associated with implementing them in the real-world. To understand these problems, this work evaluates several RL approaches implemented in the second edition of the CAGE Challenge, a public competition to build an autonomous network defender agent in a high-fidelity network simulator. Our approaches all build on the Proximal Policy Optimization (PPO) family of algorithms, and include hierarchical RL, action masking, custom training, and ensemble RL. We find that the ensemble RL technique performs strongest, outperforming our other models and taking second place in the competition. To understand applicability to real environments we evaluate each method's ability to generalize to unseen networks and against an unknown attack strategy. In unseen environments, all of our approaches perform worse, with degradation varied based on the type of environmental change. Against an unknown attacker strategy, we found that our models had reduced overall performance even though the new strategy was less efficient than the ones our models trained on. Together, these results highlight promising research directions for autonomous network defense in the real world.

Motivation & Objective

  • To evaluate the effectiveness and generalization capabilities of various PPO-based reinforcement learning (RL) methods in autonomous network defense.
  • To assess how well these RL-based defenders perform when deployed in unseen network environments and against previously unseen attacker strategies.
  • To identify practical challenges in deploying RL-based network defense agents in real-world enterprise settings.
  • To compare different architectural and training techniques—such as hierarchical RL, action masking, and ensemble learning—for robustness and performance.

Proposed method

  • The study employs Proximal Policy Optimization (PPO) as the core RL algorithm, with modifications including hierarchical decision-making, action masking to restrict invalid actions, and custom training schedules.
  • An ensemble of PPO-based policies is trained, where final actions are selected via majority voting to improve robustness and performance.
  • The methods are evaluated in the CybORG high-fidelity network simulation environment, using Scenario 2 from the CAGE Challenge to simulate real enterprise network dynamics.
  • Generalization is tested by evaluating models on modified network topologies with new host configurations and additional attack paths not seen during training.
  • Robustness to unknown attacker strategies is evaluated by introducing a less efficient but previously unseen attacker policy, simulating real-world adversarial unpredictability.
  • Performance is measured using standard CAGE Challenge metrics, including defender score, attack success rate, and network compromise detection.

Experimental results

Research questions

  • RQ1How do different PPO-based RL architectures (e.g., ensemble, hierarchical, masked) compare in performance on the CAGE Challenge benchmark?
  • RQ2To what extent do these RL-based defenders generalize to unseen network topologies with modified host configurations or new attack paths?
  • RQ3How does performance degrade when defending against an unknown attacker strategy that is less efficient but more unpredictable than training-time adversaries?
  • RQ4What are the primary failure modes of RL-based defenders when exposed to environmental changes or novel adversarial behaviors?

Key findings

  • The ensemble RL approach, which combines multiple PPO policies with majority voting, achieved the highest performance and secured second place in the CAGE Challenge.
  • All models, including the top-performing ensemble, exhibited significant performance degradation when tested on unseen network environments, with host configuration changes causing the most disruption.
  • Defenders performed worse against an unknown attacker strategy—even when that strategy was less efficient—due to increased unpredictability and novel attack paths not seen during training.
  • The performance drop in unseen environments was most severe for the ensemble model, suggesting that ensemble methods may be more sensitive to structural changes in the network topology.
  • Timing constraints did not significantly impact model performance, indicating that inference latency was not a limiting factor in this setup.
  • Generalization to unseen environments remains a major challenge, with state-of-the-art RL methods still vulnerable to changes in host count, network layout, and attack surface.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.