用实体分解方法让网络安全智能体跨网络结构泛化
Entity-based Reinforcement Learning for Autonomous Cyber Defence
- 将网络防御问题重构为基于实体的强化学习,分解观察与动作空间
- 在多种拓扑的网络上训练,性能显著优于传统MLP策略
- 首次实现零样本泛化到不同规模的网络,适合动态企业环境
自主网络安全的一大挑战是确保防御智能体在不同网络拓扑和配置下具备泛化能力。标准深度强化学习方法使用固定输入的多层感知机(MLP)参数化策略,要求固定大小的观测和动作空间,难以适应节点数量变化的动态网络。为此,本文提出基于实体的强化学习框架,将观测和动作空间分解为离散实体集合,支持组合式泛化。我们在Yawning Titan网络安全仿真环境中训练基于Transformer的策略,并测试其在多种网络拓扑下的泛化能力。结果表明,该方法在训练于不同拓扑的固定规模网络时,显著优于基于MLP的策略;在单一网络上训练时性能相当。此外,还实现了对训练中未见规模网络的零样本泛化。这些发现表明,基于实体的强化学习有望推动自主网络安全的发展,使策略能有效应对真实世界中的网络变化。
原文摘要 · Abstract (English)
A significant challenge for autonomous cyber defence is ensuring a defensive agent's ability to generalise across diverse network topologies and configurations. This capability is necessary for agents to remain effective when deployed in dynamically changing environments, such as an enterprise network where devices may frequently join and leave. Standard approaches to deep reinforcement learning, where policies are parameterised using a fixed-input multi-layer perceptron (MLP) expect fixed-size observation and action spaces. In autonomous cyber defence, this makes it hard to develop agents that generalise to environments with network topologies different from those trained on, as the number of nodes affects the natural size of the observation and action spaces. To overcome this limitation, we reframe the problem of autonomous network defence using entity-based reinforcement learning, where the observation and action space of an agent are decomposed into a collection of discrete entities. This framework enables the use of policy parameterisations specialised in compositional generalisation. We train a Transformer-based policy on the Yawning Titan cyber-security simulation environment and test its generalisation capabilities across various network topologies. We demonstrate that this approach significantly outperforms an MLP-based policy when training across fixed-size networks of varying topologies, and matches performance when training on a single network. We also demonstrate the potential for zero-shot generalisation to networks of a different size to those seen in training. These findings highlight the potential for entity-based reinforcement learning to advance the field of autonomous cyber defence by providing more generalisable policies capable of handling variations in real-world network environments.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。