ERPC: Efficient Rule Partitioning Through Community Detection for Packet Classification
Packet classification is crucial for network security, traffic management, and quality of service by enabling efficient identification and handling of data packets. Decision tree-based rule partitioning has emerged as a prominent method in recent research. A significant challenge for decision tree algorithms is rule replication, which occurs when rules span multiple subspaces, leading to substantial memory consumption increases. Rule partitioning can effectively mitigate or eliminate this replication by separating overlapping rules. However, existing partitioning techniques heavily rely on manual parameter tuning across a wide range of possible values, making optimal solution discovery challenging. Furthermore, due to the lack of global optimization, these approaches face a critical trade-off: either the number of subsets becomes uncontrollable, resulting in diminished query speed, or rule replication becomes severe, causing substantial memory overhead. To bridge these gaps and achieve high-performance adaptive partitioning, we propose ERPC, a novel algorithm with the following key features: First, ERPC leverages graph theory to model rule sets, enabling global optimization that balances intra-group rule replication against the total number of groups. Second, ERPC advances rule set partitioning by modifying traditional community detection algorithms, strategically shifting the optimization objective from positive to negative modularity. Third, ERPC allows the rule set itself to determine the optimal number of groups, thus eliminating the need for manual parameter tuning. Experimental results demonstrate the efficacy of ERPC when applied to CutSplit, a state-of-the-art multi-tree method. It preserves 88% of CutSplit’s average classification throughput while reducing tree-building time by 89% and memory consumption by 77%. Furthermore, ERPC exhibits strong scalability, being adaptable to mainstream decision tree methods.
Authors
- Yao Xin (ORCID: https://orcid.org/0000-0002-6495-081X)
- Jinshui Wang (ORCID: https://orcid.org/0000-0001-6693-2108)
- Chongwu Dong (ORCID: https://orcid.org/0000-0002-9161-0570)
- Lingfeng Qu (ORCID: https://orcid.org/0000-0002-2544-4324)
- Yiming Ding (ORCID: https://orcid.org/0000-0002-0990-735X)
Institutions
- Wuhan University of Technology (CN)
- Guangzhou University (CN)
- Wuhan University of Science and Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Network and Service Management
- Published
- 2025-05-07
- DOI
- https://doi.org/10.1109/tnsm.2025.3567705
- Primary Topic
- Network Packet Processing and Optimization
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China