Skip to main content
QUICK REVIEW

[Paper Review] Hierarchical Multi-agent Reinforcement Learning for Cyber Network Defense

Aditya Vikram Singh, Ethan Rathbun|arXiv (Cornell University)|Oct 22, 2024
Network Security and Intrusion DetectionComputer Science3 citations
TL;DR

This paper proposes a hierarchical multi-agent reinforcement learning (H-MARL) framework for cyber network defense that decomposes complex defense tasks into sub-tasks—investigation, recovery, and traffic control—using domain-expertized Proximal Policy Optimization (PPO) sub-policies coordinated by a master policy. The approach achieves faster convergence, higher episodic return, and superior interpretability metrics such as 61% recovery precision and 92% clean host ratio in the CybORG CAGE 4 environment, outperforming centralized and non-hierarchical MARL baselines.

ABSTRACT

Recent advances in multi-agent reinforcement learning (MARL) have created opportunities to solve complex real-world tasks. Cybersecurity is a notable application area, where defending networks against sophisticated adversaries remains a challenging task typically performed by teams of security operators. In this work, we explore novel MARL strategies for building autonomous cyber network defenses that address challenges such as large policy spaces, partial observability, and stealthy, deceptive adversarial strategies. To facilitate efficient and generalized learning, we propose a hierarchical Proximal Policy Optimization (PPO) architecture that decomposes the cyber defense task into specific sub-tasks like network investigation and host recovery. Our approach involves training sub-policies for each sub-task using PPO enhanced with cybersecurity domain expertise. These sub-policies are then leveraged by a master defense policy that coordinates their selection to solve complex network defense tasks. Furthermore, the sub-policies can be fine-tuned and transferred with minimal cost to defend against shifts in adversarial behavior or changes in network settings. We conduct extensive experiments using CybORG Cage 4, the state-of-the-art MARL environment for cyber defense. Comparisons with multiple baselines across different adversaries show that our hierarchical learning approach achieves top performance in terms of convergence speed, episodic return, and several interpretable metrics relevant to cybersecurity, including the fraction of clean machines on the network, precision, and false positives.

Motivation & Objective

  • To address the challenges of large policy spaces, partial observability, and stealthy adversarial strategies in multi-agent cyber defense environments.
  • To design a scalable, generalizable MARL framework that enables autonomous, coordinated defense across multiple security agents in realistic network settings.
  • To improve interpretability and operational relevance by introducing domain-specific metrics such as clean host ratio, recovery precision, and false positive rates.
  • To enable efficient transfer and fine-tuning of sub-policies under shifting adversarial behaviors or network configurations.

Proposed method

  • Decomposes the cyber defense task into three sub-tasks: network investigation, host recovery, and traffic control, each trained with a dedicated PPO sub-policy.
  • Enhances observation space with security indicators such as malicious files and processes to improve sub-policy decision-making.
  • Employs a master policy trained via PPO to coordinate sub-policy selection at each time step, using either deterministic expert rules or learned probabilistic policies.
  • Introduces a hierarchical training pipeline where sub-policies are pre-trained with domain expertise before joint training with the master policy.
  • Uses a modular architecture enabling transfer learning: sub-policies can be fine-tuned with minimal retraining for new adversaries or network topologies.
  • Applies reward shaping principles by incorporating domain-relevant metrics (e.g., recovery precision, clean host ratio) into the reward function to align learning with real-world defender objectives.
Figure 1. Hierarchical MARL. Upon receiving an observation, the master policy first chooses a sub-policy, which selects the final primitive action.
Figure 1. Hierarchical MARL. Upon receiving an observation, the master policy first chooses a sub-policy, which selects the final primitive action.

Experimental results

Research questions

  • RQ1Can a hierarchical MARL approach improve convergence speed and final performance in complex, partially observable cyber defense environments like CybORG CAGE 4?
  • RQ2How does expert-guided sub-policy design and master policy coordination compare to end-to-end or non-hierarchical MARL in terms of recovery precision and network security posture?
  • RQ3To what extent can pre-trained sub-policies be transferred and fine-tuned to defend against new adversarial behaviors or network configurations?
  • RQ4Which combination of interpretability metrics (e.g., clean host ratio, false positive rate) best reflect real-world cyber defense effectiveness beyond cumulative reward?
  • RQ5Does learning the master policy policy via RL (H-MARL Meta) outperform a deterministic expert rule (H-MARL Expert) in dynamic, high-stakes scenarios with operational trade-offs?

Key findings

  • H-MARL Meta achieved a recovery precision of 0.61, significantly outperforming MARL Decentralized (0.27), demonstrating superior accuracy in identifying infected hosts for recovery.
  • The H-MARL Expert method achieved the highest recovery precision (0.61) and a 92% clean host ratio, indicating strong network security posture and minimal disruption to operational services.
  • H-MARL Meta converged faster and achieved higher episodic return than both centralized MARL and non-hierarchical H-MARL, showing improved sample efficiency and stability.
  • The hierarchical approach reduced false positives in recovery operations, with a recovery error rate of 39% (FP/(TP+FP)), compared to 73% in MARL Decentralized.
  • When a probabilistic master policy was used (75% investigate, 25% control traffic when IOCs were absent), H-MARL Meta remained stable and converged quickly, whereas H-MARL Expert became unstable due to rigid expert rules.
  • The method demonstrated strong transferability: sub-policies could be fine-tuned with minimal cost to adapt to new adversarial behaviors or network configurations, confirming scalability and generalization.
Figure 2. Instantiating H-MARL in cybersecurity. The master policy uses state abstractions related to the presence of IOCs. Each sub-policy learns a specific behavior based on its own subset of actions and observation space.
Figure 2. Instantiating H-MARL in cybersecurity. The master policy uses state abstractions related to the presence of IOCs. Each sub-policy learns a specific behavior based on its own subset of actions and observation space.

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.