[论文解读] Hierarchical Multi-agent Reinforcement Learning for Cyber Network Defense
该论文提出了一种用于网络防御的分层多智能体强化学习(H-MARL)框架,通过由主策略协调的领域专家化近端策略优化(PPO)子策略,将复杂的防御任务分解为子任务——调查、恢复和流量控制。该方法在CybORG CAGE 4环境中实现了更快的收敛速度、更高的回合回报,并在可解释性指标方面表现优异,如61%的恢复精确率和92%的干净主机比例,优于集中式和非分层的MARL基线方法。
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.
研究动机与目标
- 解决多智能体网络防御环境中大规模策略空间、部分可观测性以及隐蔽对抗策略带来的挑战。
- 设计一种可扩展、可泛化的MARL框架,实现在真实网络环境中多个安全智能体之间的自主、协同防御。
- 通过引入领域特定指标(如干净主机比例、恢复精确率和误报率)提升可解释性和实际操作相关性。
- 实现在对抗行为或网络配置变化时子策略的高效迁移与微调。
提出的方法
- 将网络防御任务分解为三个子任务:网络调查、主机恢复和流量控制,每个子任务均使用专用的PPO子策略进行训练。
- 通过引入恶意文件和进程等安全指标扩展观测空间,以提升子策略的决策能力。
- 采用通过PPO训练的主策略,在每个时间步选择子策略,使用确定性专家规则或学习到的概率策略。
- 引入分层训练流程:在与主策略联合训练前,先使用领域专业知识对子策略进行预训练。
- 采用模块化架构,支持迁移学习:子策略可经过少量微调即可适应新对手或网络拓扑。
- 通过将领域相关指标(如恢复精确率、干净主机比例)融入奖励函数,应用奖励塑造原则,使学习目标与真实世界防御目标对齐。

实验结果
研究问题
- RQ1分层MARL方法是否能在复杂、部分可观测的网络防御环境(如CybORG CAGE 4)中提升收敛速度和最终性能?
- RQ2与端到端或非分层MARL相比,专家引导的子策略设计与主策略协调在恢复精确率和网络安全性态势方面表现如何?
- RQ3预训练的子策略在多大程度上可被迁移并微调以应对新的对抗行为或网络配置?
- RQ4哪些可解释性指标组合(如干净主机比例、误报率)最能反映真实世界网络防御的有效性,而不仅依赖累积奖励?
- RQ5在存在操作权衡的动态高风险场景中,通过强化学习学习主策略(H-MARL Meta)是否优于使用确定性专家规则(H-MARL Expert)?
主要发现
- H-MARL Meta实现了0.61的恢复精确率,显著优于MARL Decentralized的0.27,表明在识别需恢复的感染主机方面具有更高的准确性。
- H-MARL Expert方法实现了最高的恢复精确率(0.61)和92%的干净主机比例,表明网络安全性态势强,对业务服务的干扰最小。
- H-MARL Meta的收敛速度更快,回合回报更高,优于集中式MARL和非分层H-MARL,显示出更高的样本效率和稳定性。
- 分层方法降低了恢复操作中的误报率,恢复错误率为39%(FP/(TP+FP)),而MARL Decentralized为73%。
- 当使用概率主策略时(在IOCs缺失时75%选择调查,25%选择控制流量),H-MARL Meta保持稳定并快速收敛,而H-MARL Expert因专家规则过于僵化而变得不稳定。
- 该方法展现出强大的可迁移性:子策略可经少量成本微调以适应新的对抗行为或网络配置,证实了其可扩展性和泛化能力。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。