Efficient packet classification with updatable learned index for online network defense
Authors:
- Yuqi ZhangYZYuqi Zhang
- Chen LiCLChen Li
- Zixuan MaZMZixuan Ma
- Xuefei ChenXCXuefei Chen
- Bibo TuBTBibo Tu
Open Access
- 2 February 2026
- journal article
- Published by Springer Nature in Cybersecurity
- Vol. 9 (1)
Abstract
Packet classification is a cornerstone of network security functions, such as firewalls, access control, and network metering. It involves taking different actions on packets based on security rules to implement these network security functions. As networks continue to evolve and the number of network instances rapidly increases, the complexity and size of network security rule sets are also expanding. Additionally, autonomous defense systems with artificial intelligence that can detect and block online attacks have become a new trend in network security. Packet classifiers need to not only achieve fast rule matching under large rule sets but also support rapid rule updates in order to deploy security rules issued by online defense systems in a timely manner. However, existing packet classification methods struggle to balance lookup speed with update performance. To achieve rapid rule matching and support fast rule updates in networks, we propose a novel approach called the Learned Index Updatable Tree (LIPT) to address this challenge. LIPT partitions the rule set into single-field non-overlapping subsets and constructs dynamic learned index trees for each subset using keys obtained by sampling. To implement rule updates directly within the learned index tree without reconstruction, LIPT employs a gap array layout in the data nodes, which reserves space for rule insertion. To enhance lookup and update performance, LIPT addresses the challenge of direct range validation in the data node through payload-assisted validation, which helps quickly identify lookup and insertion locations. Furthermore, LIPT employs a simple linear regression model to construct the learned index tree, enabling swift lookup based on the predictive results of the linear regression model; it also utilizes a cost model to simplify the construction process. We conduct a comprehensive evaluation of LIPT’s performance, showing that both lookup and update speeds are significantly improved compared to existing algorithms that support rule updating. Compared to the benchmark algorithm PSTSS, LIPT’s update speed increases by 25%, and its classification speed increases by 242%.Keywords
This publication has 34 references indexed in Scilit:
- A Novel DDoS Detection Model for SDN Using Single-Class Cluster Oversampling and Weighted Ensemble Method2024
- DynamicTuple: The dynamic adaptive tuple for high-performance packet classificationComputer Networks, 2022
- Efficient multi-category packet classification using TCAMComputer Communications, 2021
- Common non-wildcard portion-based partitioning approach to SDN many-field packet classificationComputer Networks, 2020
- TabTree: A TSS-assisted Bit-selecting Tree Scheme for Packet Classification with Balanced Rule Mapping2019
- CutSplit: A Decision-Tree Combining Cutting and Splitting for Scalable Packet Classification2018
- A sorted partitioning approach to high-speed and fast-update OpenFlow classification2016
- HybridCuts: A Scheme Combining Decomposition and Cutting for Packet Classification2013
- Packet classification using extended TCAMs2004
- Classifying packets with hierarchical intelligent cuttingsIEEE Micro, 2000