Henna: Hierarchical Machine Learning Inference in Programmable Switches

被引:8
|
作者
Tanyi-Jong Akem, Aristide [1 ,2 ]
Butun, Beyza [1 ,2 ]
Gucciardo, Michele [1 ]
Fiore, Marco [1 ]
机构
[1] IMDEA Networks Inst, Madrid, Spain
[2] Univ Carlos III Madrid, Madrid, Spain
来源
PROCEEDINGS OF THE 1ST INTERNATIONAL WORKSHOP ON NATIVE NETWORK INTELLIGENCE, NATIVENI 2022 | 2022年
关键词
Programmable switch; machine learning; in-switch inference; P4;
D O I
10.1145/3565009.3569520
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The recent proliferation of programmable network equipment has opened up new possibilities for embedding intelligence into the data plane. Deploying models directly in the data plane promises to achieve high throughput and low latency inference capabilities that cannot be attained with traditional closed loops involving control-plane operations. Recent efforts have paved the way for the integration of trained machine learning models in resource-constrained programmable switches, yet current solutions have significant limitations that translate into performance barriers when coping with complex inference tasks. In this paper, we present Henna, a first in-switch implementation of a hierarchical classification system. The concept underpinning our solution is that of splitting a difficult classification task into easier cascaded decisions, which can then be addressed with separated and resource-efficient tree-based classifiers. We propose a design of Henna that aligns with the internal organization of the Protocol Independent Switch Architecture (PISA), and integrates state-of-the-art strategies for mapping decision trees to switch hardware. We then implement Henna into a real testbed with off-the-shelf Intel Tofino programmable switches using the P4 language. Experiments with a complex 21-category classification task based on measurement data demonstrate how Henna improves the F1 score of an advanced single-stage model by 21%, while keeping usage of switch resources at 8% on average.
引用
收藏
页码:1 / 7
页数:7
相关论文
共 50 条
  • [1] Encrypted Traffic Classification at Line Rate in Programmable Switches with Machine Learning
    Akem, Aristide Tanyi-Jong
    Fraysse, Guillaume
    Fiore, Marco
    PROCEEDINGS OF 2024 IEEE/IFIP NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM, NOMS 2024, 2024,
  • [2] Hierarchical and Distributed Machine Learning Inference Beyond the Edge
    Thomas, Anthony
    Guo, Yunhui
    Kim, Yeseong
    Aksanli, Baris
    Kumar, Arun
    Rosing, Tajana S.
    PROCEEDINGS OF THE 2019 IEEE 16TH INTERNATIONAL CONFERENCE ON NETWORKING, SENSING AND CONTROL (ICNSC 2019), 2019, : 18 - 23
  • [3] PUMA: A Programmable Ultra-efficient Memristor-based Accelerator for Machine Learning Inference
    Ankit, Aayush
    El Hajj, Izzat
    Chalamalasetti, Sai Rahul
    Ndu, Geoffrey
    Foltin, Martin
    Williams, R. Stanley
    Faraboschi, Paolo
    Hwu, Wen-mei
    Strachan, John Paul
    Roy, Kaushik
    Milojicic, Dejan S.
    TWENTY-FOURTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS (ASPLOS XXIV), 2019, : 715 - 731
  • [4] PhD Forum Abstract: Dynamic Inference on IoT Network Traffic using Programmable Telemetry and Machine Learning
    Pashamokhtari, Arman
    2020 19TH ACM/IEEE INTERNATIONAL CONFERENCE ON INFORMATION PROCESSING IN SENSOR NETWORKS (IPSN 2020), 2020, : 371 - 372
  • [5] Machine learning in causal inference for epidemiology
    Moccia, Chiara
    Moirano, Giovenale
    Popovic, Maja
    Pizzi, Costanza
    Fariselli, Piero
    Richiardi, Lorenzo
    Ekstrom, Claus Thorn
    Maule, Milena
    EUROPEAN JOURNAL OF EPIDEMIOLOGY, 2024, 39 (10) : 1097 - 1108
  • [6] Video QoE Inference with Machine Learning
    Tisa-Selma
    Bentaleb, Abdelhak
    Harous, Saad
    IWCMC 2021: 2021 17TH INTERNATIONAL WIRELESS COMMUNICATIONS & MOBILE COMPUTING CONFERENCE (IWCMC), 2021, : 1048 - 1053
  • [7] Recent Developments in Causal Inference and Machine Learning
    Brand, Jennie E.
    Zhou, Xiang
    Xie, Yu
    ANNUAL REVIEW OF SOCIOLOGY, 2023, 49 : 81 - 110
  • [8] A Machine Learning Approach for Layout Inference in Spreadsheets
    Koci, Elvis
    Thiele, Maik
    Romero, Oscar
    Lehner, Wolfgang
    KDIR: PROCEEDINGS OF THE 8TH INTERNATIONAL JOINT CONFERENCE ON KNOWLEDGE DISCOVERY, KNOWLEDGE ENGINEERING AND KNOWLEDGE MANAGEMENT - VOL. 1, 2016, : 77 - 88
  • [9] BagReg: Protein inference through machine learning
    Zhao, Can
    Liu, Dao
    Teng, Ben
    He, Zengyou
    COMPUTATIONAL BIOLOGY AND CHEMISTRY, 2015, 57 : 12 - 20
  • [10] Causal inference and machine learning in endocrine epidemiology
    Inoue, Kosuke
    ENDOCRINE JOURNAL, 2024, 71 (10) : 945 - 953