ServeFlow: A Fast-Slow Model Architecture for Network Traffic Analysis
Shinan Liu, Ted Shaowang, Gerry Wan, Jeewon Chae, Jonatas Marques,, Sanjay Krishnan, Nick Feamster

TL;DR
ServeFlow introduces a fast-slow model architecture for network traffic analysis that balances latency, accuracy, and throughput, enabling high-speed inference on high-bandwidth networks with minimal delay.
Contribution
This paper presents a novel fast-slow model architecture tailored for network traffic analysis, optimizing inference speed and accuracy under high traffic conditions.
Findings
Achieves 76.3% flow inference in under 16ms
40.5x reduction in median end-to-end latency
Over 48.5k flows per second on a 16-core CPU
Abstract
Network traffic analysis increasingly uses complex machine learning models as the internet consolidates and traffic gets more encrypted. However, over high-bandwidth networks, flows can easily arrive faster than model inference rates. The temporal nature of network flows limits simple scale-out approaches leveraged in other high-traffic machine learning applications. Accordingly, this paper presents ServeFlow, a solution for machine-learning model serving aimed at network traffic analysis tasks, which carefully selects the number of packets to collect and the models to apply for individual flows to achieve a balance between minimal latency, high service rate, and high accuracy. We identify that on the same task, inference time across models can differ by 1.8x - 141.3x, while the inter-packet waiting time is up to 6-8 orders of magnitude higher than the inference time! Based on these…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNetwork Security and Intrusion Detection · Network Traffic and Congestion Control · Internet Traffic Analysis and Secure E-voting
Methodstravel james
