IMDEA Networks Institute Digital Repository
Publication
Contribución de congreso (ConferenceOutput)
Showcasing In-Switch Machine Learning Inference
Recent endeavours have enabled the integration of trained machine learning models like Random Forests in resource-constrained programmable switches for line rate inference. In this work, we first show how packet-level information can be used to classify individual packets in production-level hardware with very low latency. We then demonstrate how the newly proposed Flowrest framework improves classification performance relative to the packet-level approach by exploiting flow-level statistics to instead classify traffic flows entirely within the switch without considerably increasing latency. We conduct experiments using measurement data in a real-world testbed with an Intel Tofino switch and shed light on how Flowrest achieves an F1-score of 99% in a service classification use case, outperforming its packet-level counterpart by 8%., European Union Horizon 2020 research and innovation program under grant agreement no. 101017109 “DAEMON”, European Union Horizon 2020 research and innovation program under Marie Skłodowska-Curie grant agreement no. 860239 “BANYAN”, CHIST-ERA grant no. CHIST-ERA-20-SICT- 001 “ECOMOME”, via grant PCI2022-133013 of Agencia Estatal de Investigación, Best Demo Award, TRUE, pub