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 条
  • [21] Demystifying Membership Inference Attacks in Machine Learning as a Service
    Truex, Stacey
    Liu, Ling
    Gursoy, Mehmet Emre
    Yu, Lei
    Wei, Wenqi
    IEEE TRANSACTIONS ON SERVICES COMPUTING, 2021, 14 (06) : 2073 - 2089
  • [22] Machine learning transforms the inference of the nuclear equation of state
    Wang Yongjia
    Li Qingfeng
    Frontiers of Physics, 2023, 18 (06)
  • [23] TurboNet: Faithfully Emulating Networks With Programmable Switches
    Cao, Jiamin
    Liu, Ying
    Zhou, Yu
    He, Lin
    Xu, Mingwei
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2022, 30 (03) : 1395 - 1409
  • [24] TurboNet: Faithfully Emulating Networks with Programmable Switches
    Cao, Jiamin
    Zhou, Yu
    Liu, Ying
    Xu, Mingwei
    Zhou, Yongkai
    2020 IEEE 28TH INTERNATIONAL CONFERENCE ON NETWORK PROTOCOLS (IEEE ICNP 2020), 2020,
  • [25] A machine learning approach for hierarchical classification of software requirements
    Binkhonain, Manal
    Zhao, Liping
    MACHINE LEARNING WITH APPLICATIONS, 2023, 12
  • [26] Quotient space model based hierarchical machine learning
    Ling, Z
    Bo, Z
    PROCEEDINGS OF THE 2005 INTERNATIONAL CONFERENCE ON NEURAL NETWORKS AND BRAIN, VOLS 1-3, 2005, : PL81 - PL83
  • [27] A machine learning approach for forecasting hierarchical time series
    Mancuso, Paolo
    Piccialli, Veronica
    Sudoso, Antonio M.
    EXPERT SYSTEMS WITH APPLICATIONS, 2021, 182
  • [28] In-Network Machine Learning Using Programmable Network Devices: A Survey
    Zheng, Changgang
    Hong, Xinpeng
    Ding, Damu
    Vargaftik, Shay
    Ben-Itzhak, Yaniv
    Zilberman, Noa
    IEEE COMMUNICATIONS SURVEYS AND TUTORIALS, 2024, 26 (02): : 1171 - 1200
  • [29] DETECTING ANOMALIES IN PROGRAMMABLE LOGIC CONTROLLERS USING UNSUPERVISED MACHINE LEARNING
    Chan, Chun-Fai
    Chow, Kam-Pui
    Mak, Cesar
    Chan, Raymond
    ADVANCES IN DIGITAL FORENSICS XV, 2019, 569 : 119 - 130
  • [30] Real-Time Encrypted Traffic Classification in Programmable Networks with P4 and Machine Learning
    Akem, Aristide Tanyi-Jong
    Fraysse, Guillaume
    Fiore, Marco
    INTERNATIONAL JOURNAL OF NETWORK MANAGEMENT, 2025, 35 (01)