Flowrest: Practical Flow-Level Inference in Programmable Switches with Random Forests
Aristide Tanyi-Jong Akem, Michele Gucciardo, Marco Fiore
摘要
User-plane machine learning facilitates low-latency, high-throughput inference at line rate. Yet, user planes are highly constrained environments, and restrictions are especially marked in programmable switches with limited memory and minimum support for mathematical operations or data types. Thus, current solutions for in-switch inference that are compatible with production-level hardware lack support for complex features or suffer from limited scalability, and hit performance barriers in complex tasks involving large decision spaces. To address this limitation, we present Flowrest, a first complete Random Forest (RF) model implementation that operates at the level of individual flows in commercial switches. Our solution builds on (i) an original framework to embed flow-level machine learning models into programmable switch ASICs, and (ii) novel guidelines for tailoring RF models to operations in programmable switches already at the design stage. We implement Flowrest as an open-source software using the P4 language, and assess its performance in an experimental platform based on Intel Tofino switches. Tests with tasks of unprecedented complexity show how our model can improve accuracy by up to 39% over previous approaches to implement RF models in real-world equipment.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Leveraging Prefix Structure to Detect Volumetric DDoS Attack Signatures with Programmable Switches 引用了 Mousika: Enable General In-Network Intelligence in Programmable Switches by Knowledge Distillation
- Leveraging Prefix Structure to Detect Volumetric DDoS Attack Signatures with Programmable Switches 引用了 Taurus: a data plane architecture for per-packet ML
- Jewel: Resource-Efficient Joint Packet and Flow Level Inference in Programmable Switches 引用了 Re-architecting Traffic Analysis with Neural Network Interface Cards
- Jewel: Resource-Efficient Joint Packet and Flow Level Inference in Programmable Switches 引用了 Mousika: Enable General In-Network Intelligence in Programmable Switches by Knowledge Distillation
- Jewel: Resource-Efficient Joint Packet and Flow Level Inference in Programmable Switches 引用了 Taurus: a data plane architecture for per-packet ML
- Jewel: Resource-Efficient Joint Packet and Flow Level Inference in Programmable Switches 引用了 Programmable Switches for in-Networking Classification
- Taurus: a data plane architecture for per-packet ML 引用了 Scaling Distributed Machine Learning with In-Network Aggregation
- DUNE: Distributed Inference in the User Plane 引用了 Re-architecting Traffic Analysis with Neural Network Interface Cards
- DUNE: Distributed Inference in the User Plane 引用了 Jewel: Resource-Efficient Joint Packet and Flow Level Inference in Programmable Switches
- DUNE: Distributed Inference in the User Plane 引用了 Taurus: a data plane architecture for per-packet ML
- DUNE: Distributed Inference in the User Plane 引用了 Programmable Switches for in-Networking Classification
- DUNE: Distributed Inference in the User Plane 引用了 Scaling Distributed Machine Learning with In-Network Aggregation
- Helios: Learning and Adaptation of Matching Rules for Continual In-Network Malicious Traffic Detection 引用了 Mousika: Enable General In-Network Intelligence in Programmable Switches by Knowledge Distillation
引用它的顶会 Paper8
- Jewel: Resource-Efficient Joint Packet and Flow Level Inference in Programmable SwitchesAristide Tanyi-Jong Akem, Beyza Bütün, Michele Gucciardo, Marco FioreINFOCOM 2024 · 27 次引用
- Credence: Augmenting Datacenter Switch Buffer Sharing with ML PredictionsVamsi Addanki, Maciej Pacut, Stefan SchmidNSDI 2024 · 22 次引用
- Leveraging Prefix Structure to Detect Volumetric DDoS Attack Signatures with Programmable SwitchesChris Misa, Ramakrishnan Durairajan, Arpit Gupta, Reza Rejaie 等S&P 2024 · 7 次引用
- DUNE: Distributed Inference in the User PlaneBeyza Bütün, David De Andres Hernandez, Michele Gucciardo, Marco FioreINFOCOM 2025 · 7 次引用
- Helios: Learning and Adaptation of Matching Rules for Continual In-Network Malicious Traffic DetectionZhenning Shi, Dan Zhao, Yijia Zhu, Guorui Xie 等WWW 2025 · 6 次引用
它引用的 Paper5
- Re-architecting Traffic Analysis with Neural Network Interface CardsGiuseppe Siracusano, Salvator Galea, Davide Sanvito, Mohammad Malekzadeh 等NSDI 2022 · 99 次引用
- Taurus: a data plane architecture for per-packet MLTushar Swamy, Alexander Rucker, Muhammad Shahbaz, Ishan Gaur 等ASPLOS 2022 · 94 次引用
- Mousika: Enable General In-Network Intelligence in Programmable Switches by Knowledge DistillationGuorui Xie, Qing Li, Yutao Dong, Guanglin Duan 等INFOCOM 2022 · 83 次引用
- Programmable Switches for in-Networking ClassificationBruno Missi Xavier, Rafael Silva Guimarães, Giovanni Comarela, Magnos MartinelloINFOCOM 2021 · 79 次引用
- Scaling Distributed Machine Learning with In-Network AggregationAmedeo Sapio, Marco Canini, Chen-Yu Ho, Jacob Nelson 等NSDI 2021
相关 Paper
- FENIX: Enabling In-Network DNN Inference with FPGA-Enhanced Programmable SwitchesXiangyu Gao, Tong Li, Yinchao Zhang, Ziqiang Wang 等NSDI 2026 · 12 次引用
- Quark: Implementing Convolutional Neural Networks Entirely on Programmable Data PlaneMai Zhang, Lin Cui, Xiaoquan Zhang, Fung Po Tso 等INFOCOM 2025 · 17 次引用
- Monic: In-Network Mixture-of-Experts Inference on Programmable Data PlanesXiaoquan Zhang, Bowen Liang, Fung Po Tso, Yuhui Deng 等INFOCOM 2026
- P4runpro: Enabling Runtime Programmability for RMT Programmable SwitchesYifan Yang, Lin He, Jiasheng Zhou, Xiaoyi Shi 等SIGCOMM 2024 · 12 次引用
- Lucid: a language for control in the data planeJohn Sonchack, Devon Loehr, Jennifer Rexford, David WalkerSIGCOMM 2021 · 45 次引用
