arXiv:2501.14700cs.LGcs.AI2025-01被引 2

用图注意力网络让防御系统自动适应网络拓扑变化

An Attentive Graph Agent for Topology-Adaptive Cyber Defence

  • 用图注意力网络处理网络的节点、边和全局特征
  • 在不同规模网络中表现稳定,对突发连接有韧性
  • 可解释性强,适合真实复杂网络环境的防御部署

随着网络攻击日益复杂,强化学习(RL)正成为构建智能自适应防御系统的重要方法。然而,现有自主防御代理大多忽视了计算机网络固有的图结构,可能遗漏关键信息并限制适应能力。为此,我们开发了定制版的Cyber Operations Research Gym(CybORG)环境,将网络状态编码为包含真实低层特征的有向图。采用图注意力网络(GAT)处理节点、边和全局特征,并将其输出适配至策略梯度类强化学习方法。相比扁平化表示,该方法在面对特定类型的动态拓扑变化时展现出更强的鲁棒性,能合理泛化到同结构分布下不同规模的网络,并提供基于实际网络属性的可解释防御动作。实验表明,即使在仿真中出现意外连接,基于图的防御策略仍可成功训练。在不同规模但具有相同子网结构的网络上评估,其性能与针对特定配置训练的策略相当。本研究推动了能够更好应对现实网络安全挑战的鲁棒防御系统的发展。

原文摘要 · Abstract (English)

As cyber threats grow increasingly sophisticated, reinforcement learning (RL) is emerging as a promising technique to create intelligent and adaptive cyber defense systems. However, most existing autonomous defensive agents have overlooked the inherent graph structure of computer networks subject to cyber attacks, potentially missing critical information and constraining their adaptability. To overcome these limitations, we developed a custom version of the Cyber Operations Research Gym (CybORG) environment, encoding network state as a directed graph with realistic low-level features. We employ a Graph Attention Network (GAT) architecture to process node, edge, and global features, and adapt its output to be compatible with policy gradient methods in RL. Our GAT-based approach offers key advantages over flattened alternatives: policies that demonstrate resilience to certain types of unexpected dynamic network topology changes, reasonable generalisation to networks of varying sizes within the same structural distribution, and interpretable defensive actions grounded in tangible network properties. We demonstrate that GAT defensive policies can be trained using our low-level directed graph observations, even when unexpected connections arise during simulation. Evaluations across networks of different sizes, but consistent subnetwork structure, show our policies achieve comparable performance to policies trained specifically for each network configuration. Our study contributes to the development of robust cyber defence systems that can better adapt to real-world network security challenges.

强化学习图神经网络网络安全自适应防御

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。