Lune

INFOCOM2025Top-tier venue

Scaling Learning-based Packet Classification Hardware with NeuTree

Jiashuo Yu, Longlong Zhu, Long Huang, Xinyang Chen, Linying Zheng, Dong Zhang, Xiang Chen, Chunming Wu

Abstract

Learning-based packet classification (LPC) methods tackle the challenge of increased network rules by learned data structures to minimize memory usage. Hence, LPC shows promise in enabling resource-constrained network devices (e.g., switches and NICs) to handle large-scale rules. However, existing LPC methods involve floating-point computations, which ASICs in high-speed network devices cannot support. In this paper, we propose NeuTree, scaling packet classification on hardware by revising the LPC structure with binarized computation. We introduce the recursive binarized model index (RBMI) structure, enabling non-floating computation and low resource consumption. Meanwhile, we design the division scheme for preprocessing rules that enables packets to be matched in multiple RBMIs in parallel to maintain high-speed classification. The experiment shows that the memory consumption of NeuTree is competitive to the state-of-the-art LPC method, with floating-point operations reduced from 81.11% to 0% and less than 1% construction time. Further, we verify NeuTree on NetFPGA SUME with a throughput of 120.48Mpps.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. A Computational Approach to Packet ClassificationAlon Rashelbach, Ori Rottenstreich, Mark SilbersteinSIGCOMM 2020 · 65 citations
  2. Re-architecting Traffic Analysis with Neural Network Interface CardsGiuseppe Siracusano, Salvator Galea, Davide Sanvito, Mohammad Malekzadeh et al.NSDI 2022 · 99 citations
  3. Mousika: Enable General In-Network Intelligence in Programmable Switches by Knowledge DistillationGuorui Xie, Qing Li, Yutao Dong, Guanglin Duan et al.INFOCOM 2022 · 83 citations
  4. Scaling Open vSwitch with a Computational CacheAlon Rashelbach, Ori Rottenstreich, Mark SilbersteinNSDI 2022 · 23 citations
  5. Leo: Online ML-based Traffic Classification at Multi-Terabit Line RateSyed Usman Jafri, Sanjay G. Rao, Vishal Shrivastav, Mohit TawarmalaniNSDI 2024 · 46 citations
Dusk over the sea between two cliffs drawn in fine vertical lines