ServeFlow: A Fast-Slow Model Architecture for Network Traffic Analysis
Not on the map. Why?
Abstract (arXiv)
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 insights, we tailor a novel fast-slow model architecture for networking ML pipelines. Flows are assigned to a slower model only when the inferences from the fast model are deemed high uncertainty. ServeFlow is able to make inferences on 76.3% of flows in under 16ms, which is a speed-up of 40.5x on the median end-to-end serving latency while increasing the service rate and maintaining similar accuracy. Even with thousands of features per flow, it achieves a service rate of over 48.5k new flows per second on a 16-core CPU commodity server, which matches the order of magnitude of flow rates observed on city-level network backbones.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 28 of its 78 references that are in the map. First posted on arXiv 6 Feb 2024.
Builds on
28 of 78 references.
References · 28
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2020Knowledge Distillation: A Surveycited by 1,578
- 2018Rethinking the Value of Network Pruningcited by 595
- 2020Knowledge Distillation and Student-Teacher Learning for Visual Intelligence: A Review and New Outlookscited by 312
- 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
- 2020Training with Quantization Noise for Extreme Model Compressioncited by 145
- 2017TensorFlow-Serving: Flexible, High-Performance ML Servingcited by 85
- 2020Improving Inference for Neural Image Compressioncited by 81
- 2017Deep Packet: A Novel Approach For Encrypted Traffic Classification Using Deep Learningcited by 69
- 2023NetDiffusion: Network Data Augmentation Through Protocol-Constrained Traffic Generationcited by 27
16 more
- 2020New Directions in Automated Traffic Analysiscited by 26
- 2017Automated Website Fingerprinting through Deep Learningcited by 21
- 2023netFound: Principled Design for Network Foundation Modelscited by 17
- 2019Neural Packet Classificationcited by 14
- 2020Taurus: A Data Plane Architecture for Per-Packet MLcited by 12
- 2019pForest: In-Network Inference with Random Forestscited by 10
- 2021Measuring the Performance and Network Utilization of Popular Video Conferencing Applicationscited by 10
- 2021LEAF: Navigating Concept Drift in Cellular Networkscited by 9
- 2019Large-scale Mobile App Identification Using Deep Learningcited by 7
- 2021Dynamic Domain Adaptation for Efficient Inferencecited by 6
- 2022A Lightweight, Efficient and Explainable-by-Design Convolutional Neural Network for Internet Traffic Classificationcited by 6
- 2021Active Learning for Network Traffic Classification: A Technical Studycited by 5
- 2023AC-DC: Adaptive Ensemble Classification for Network Traffic Identificationcited by 4
- 2022Homunculus: Auto-Generating Efficient Data-Plane ML Pipelines for Datacenter Networkscited by 3
- 2023Estimating WebRTC Video QoE Metrics Without Using Application Headerscited by 3
- 2022Traffic Analytics Development Kits (TADK): Enable Real-Time AI Inference in Networking Appscited by 2
Built on by
Citing papers per year: 2024: 1.
1 paper.