Brain-on-Switch: Towards Advanced Intelligent Network Data Plane via NN-Driven Traffic Analysis at Line-Speed
Jinzhu Yan, Haotian Xu, Zhuotao Liu, Qi Li, Ke Xu, Mingwei Xu,, Jianping Wu

TL;DR
This paper introduces BoS, a neural network-driven approach for line-speed traffic analysis in programmable networks, overcoming hardware limitations of tree-based models by designing a novel RNN architecture and integrating transformer modules.
Contribution
BoS pioneers neural network-based traffic analysis on data plane hardware by creating a data plane friendly RNN and combining it with transformer modules for enhanced performance.
Findings
BoS achieves line-speed RNN inference with limited data plane stages.
BoS outperforms state-of-the-art in accuracy and scalability.
The prototype demonstrates effective neural network traffic analysis on a P4 switch.
Abstract
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.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEEG and Brain-Computer Interfaces · Advanced Memory and Neural Computing · Neural Networks and Reservoir Computing
MethodsFocus
