arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.05775cs.AIcs.CR
收藏

基于消息传递神经网络与强化学习的自主网络事件响应中的结构泛化

Structural Generalization in Autonomous Cyber Incident Response with Message-Passing Neural Networks and Reinforcement Learning

KTH Royal Institute of Technology(瑞典皇家理工学院)

Jakob Nyberg, Pontus Johnson

AI总结:

针对网络结构动态变化导致事件响应智能体需频繁重训的问题,提出基于关系图与消息传递神经网络的强化学习方法,在CAGE 2上验证了其结构泛化能力,揭示了专用性与泛化性的权衡关系。

摘要:

我们认为,基于机器学习的自动化事件响应智能体需要能够应对网络结构的变化。计算机网络具有动态性,其结构会随时间自然发生改变。针对微小的网络变化重新训练智能体既耗费时间又消耗算力。我们尝试采用一种现有的关系型智能体学习方法来解决这一问题,该方法假设不同问题实例中对象间的关系保持一致。我们将计算机网络的状态表示为关系图,并通过消息传递神经网络进行编码。消息传递神经网络与利用该编码的智能体策略通过强化学习实现端到端优化。我们在Cyber Autonomy Gym for Experimentation(网络自治实验训练场,简称CAGE 2)的第二个实例上评估了该方法,CAGE 2是一款模拟企业网络遭受攻击的网络事件模拟器。我们构建了主机数量不同的原始网络变体,并在不对智能体进行额外训练的情况下对其进行测试。结果表明,使用关系信息的智能体即使在网络发生变化的情况下也能找到解决方案,且在部分实例中能达到最优性能。使用默认向量状态表示的智能体表现更优,但需要针对每个网络变体进行专门训练,这体现了专用性与泛化性之间的权衡。

英文摘要:

We believe that agents for automated incident response based on machine learning need to handle changes in network structure. Computer networks are dynamic, and can naturally change in structure over time. Retraining agents for small network changes costs time and energy. We attempt to address this issue with an existing method of relational agent learning, where the relations between objects are assumed to remain consistent across problem instances. The state of the computer network is represented as a relational graph and encoded through a message passing neural network. The message passing neural network and an agent policy using the encoding are optimized end-to-end using reinforcement learning. We evaluate the approach on the second instance of the Cyber Autonomy Gym for Experimentation (CAGE~2), a cyber incident simulator that simulates attacks on an enterprise network. We create variants of the original network with different numbers of hosts and agents are tested without additional training on them. Our results show that agents using relational information are able to find solutions despite changes to the network, and can perform optimally in some instances. Agents using the default vector state representation perform better, but need to be specially trained on each network variant, demonstrating a trade-off between specialization and generalization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑