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 条
  • [41] Machine Learning for Causal Inference in Biological Networks: Perspectives of This Challenge
    Lecca, Paola
    FRONTIERS IN BIOINFORMATICS, 2021, 1
  • [42] Accelerating Machine Learning Inference with GPUs in ProtoDUNE Data Processing
    Cai T.
    Herner K.
    Yang T.
    Wang M.
    Acosta Flechas M.
    Harris P.
    Holzman B.
    Pedro K.
    Tran N.
    Computing and Software for Big Science, 2023, 7 (1)
  • [43] DETECTING ANOMALOUS PROGRAMMABLE LOGIC CONTROLLER EVENTS USING MACHINE LEARNING
    Yau, Ken
    Chow, Kam-Pui
    ADVANCES IN DIGITAL FORENSICS XIII, 2017, 511 : 81 - 94
  • [44] Using Machine Learning to Evaluate and Enhance Models of Probabilistic Inference
    Gloeckner, Andreas
    Jekel, Marc
    Lisovoj, Daria
    DECISION-WASHINGTON, 2024, 11 (04): : 633 - 651
  • [45] Machine learning and Bayesian inference in nuclear fusion research: an overview
    Pavone, A.
    Merlo, A.
    Kwak, S.
    Svensson, J.
    PLASMA PHYSICS AND CONTROLLED FUSION, 2023, 65 (05)
  • [46] Henna plant biomass enhanced azo dye removal: Operating performance, microbial community and machine learning modeling
    Wen S.
    Huang J.
    Li W.
    Wu M.
    Steyskal F.
    Meng J.
    Xu X.
    Hou P.
    Tang J.
    Chemosphere, 2024, 352
  • [47] Pattern recognition based on statistical methods combined with machine learning in railway switches
    del Rio, Alba Munoz
    Ramirez, Isaac Segovia
    Papaelias, Mayorkinos
    Marquez, Fausto Pedro Garcia
    EXPERT SYSTEMS WITH APPLICATIONS, 2024, 238
  • [48] A lightweight anonymity protocol at terabit speeds on programmable switches
    Yoshinaka, Yutaro
    Kochiyama, Mio
    Koizumi, Yuki
    Takemasa, Junji
    Hasegawa, Toru
    COMPUTER NETWORKS, 2024, 253
  • [49] Machine Learning Techniques for Pattern Recognition in Railway Switches: A Real Case Study
    Munoz del Rio, Alba
    Segovia Ramirez, Isaac
    Garcia Marquez, Fausto Pedro
    PROCEEDINGS OF THE SIXTEENTH INTERNATIONAL CONFERENCE ON MANAGEMENT SCIENCE AND ENGINEERING MANAGEMENT - VOL 1, 2022, 144 : 320 - 335
  • [50] Hierarchical optimization of photovoltaic device performance using machine learning
    Jaiswal, Rahul
    Martinez-Ramon, Manel
    Busani, Tito
    2021 IEEE 48TH PHOTOVOLTAIC SPECIALISTS CONFERENCE (PVSC), 2021, : 2368 - 2371