Brain-on-Switch:通过线速NN驱动的流量分析迈向高级智能网络数据平面
Brain-on-Switch: Towards Advanced Intelligent Network Data Plane via NN-Driven Traffic Analysis at Line-Speed
AI总结:
本文提出BoS,通过设计数据平面友好的RNN架构和交换机外Transformer模块,在可编程交换机上实现线速神经网络流量分析,显著提升分析准确性和可扩展性。
摘要:
新兴的可编程网络激发了对智能网络数据平面(INDP)的大量研究,该数据平面以线速实现基于学习的流量分析。先前在INDP方面的工作侧重于在数据平面上部署树/森林模型。我们观察到基于树的INDP方法存在一个根本性限制:尽管可以在数据平面上表示更大的树/森林表,但可在数据平面上计算的流特征从根本上受到硬件约束的限制。在本文中,我们提出BoS,通过实现神经网络(NN)驱动的线速流量分析来突破INDP的边界。许多类型的NN(如循环神经网络(RNN)和Transformer)设计用于处理序列数据,它们比基于树的模型更具优势,因为它们可以直接将原始网络数据作为输入,而无需进行复杂的实时特征计算。然而,挑战是巨大的:RNN推理中使用的循环计算方案与网络数据平面上使用的匹配-动作范式根本不同。BoS通过以下方式应对这一挑战:(i)设计一种新颖的、对数据平面友好的RNN架构,该架构可以在有限的数据平面阶段执行无限的RNN时间步,有效实现线速RNN推理;(ii)用交换机外的基于Transformer的流量分析模块补充交换机上的RNN模型,以进一步提升整体性能。我们使用P4可编程交换机作为数据平面实现了BoS的原型,并在多个流量分析任务上进行了广泛评估。结果表明,BoS在分析准确性和可扩展性方面均优于现有技术水平。
英文摘要:
The emerging programmable networks sparked significant research on Intelligent Network Data Plane (INDP), which achieves learning-based traffic analysis at line-speed. Prior art in INDP focus on deploying tree/forest models on the data plane. We observe a fundamental limitation in tree-based INDP approaches: although it is possible to represent even larger tree/forest tables on the data plane, the flow features that are computable on the data plane are fundamentally limited by hardware constraints. In this paper, we present BoS to push the boundaries of INDP by enabling Neural Network (NN) driven traffic analysis at line-speed. Many types of NNs (such as Recurrent Neural Network (RNN), and transformers) that are designed to work with sequential data have advantages over tree-based models, because they can take raw network data as input without complex feature computations on the fly. However, the challenge is significant: the recurrent computation scheme used in RNN inference is fundamentally different from the match-action paradigm used on the network data plane. BoS addresses this challenge by (i) designing a novel data plane friendly RNN architecture that can execute unlimited RNN time steps with limited data plane stages, effectively achieving line-speed RNN inference; and (ii) complementing the on-switch RNN model with an off-switch transformer-based traffic analysis module to further boost the overall performance. We implement a prototype of BoS using a P4 programmable switch as our data plane, and extensively evaluate it over multiple traffic analysis tasks. The results show that BoS outperforms state-of-the-art in both analysis accuracy and scalability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。