International Journal of Engineering
Trends and Technology

Research Article | Open Access | Download PDF
Volume 74 | Issue 11 | Year 2026 | Article Id. IJETT-V74I11P131 | DOI : https://doi.org/10.14445/22315381/IJETT-V74I11P131

A Data-Driven Partition-Hash Tree for Efficient Multi-Field Packet Classification


Sangita J. Wamane, Balasaheb S. Agarkar, Sachin V. Chaudhari

Received Revised Accepted Published
13 May 2026 10 Sep 2026 30 Sep 2026 25 Nov 2026

Citation :

Sangita J. Wamane, Balasaheb S. Agarkar, Sachin V. Chaudhari, "A Data-Driven Partition-Hash Tree for Efficient Multi-Field Packet Classification," International Journal of Engineering Trends and Technology (IJETT), vol. 74, no. 11, pp. 480-499, 2026. Crossref, https://doi.org/10.14445/22315381/IJETT-V74I11P131

Abstract

Packet classification has become one of the key operations in today’s networking systems, which includes routers, firewalls, and SDN. However, all currently existing algorithms such as the tuple-space search and tuple-tree algorithm make decisions based on predetermined heuristics to partition rules, which limits their capacity to adapt. This work presents the idea of a new Adaptive Partition-Hash Tree (APHT) technique for machine learning-based packet classification. Specifically, it utilizes a Random Forest Regressor to predict the best parameters for building classification trees based on statistical features of the set of rules. Such features include the number of rules, distribution of prefix lengths, entropy, density, and distribution of tuples. By doing this, the algorithm adapts its decisions based on data, making it possible to dynamically select such features as split dimension, splitting threshold and the leaf size. The efficiency of the suggested technique has been tested on ClassBench datasets (ACL, Firewall, IPC), which have shown that there was considerable improvement of the algorithm in question. Namely, it increased throughput by 10-15%, improved lookup time by 12-18% and reduced memory consumption by 5-8%.

Keywords

Packet classification, TupleTree, Machine Learning, Random Forest, SDN, ClassBench, Adaptive algorithm.

References

  1. P. Gupta, and Nick McKeown, “Algorithms for Packet Classification,” IEEE Network, vol. 15, no. 2, pp. 24-32, 2001.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  2. V. Srinivasan, S. Suri, and G. Varghese, “Packet Classification using Tuple Space Search,” Proceedings of the Conference on Applications, Technologies, Architectures, and Protocols for Computer Communication, pp. 135-146, 1999.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  3. Athanasios Liatifis et al., “Advancing SDN from OpenFlow to P4: A Survey,” ACM Computing Surveys, vol. 55, no. 9, pp. 1-37, 2023.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  4. David E. Taylor, “Survey and Taxonomy of Packet Classification Techniques,” ACM Computing Surveys, vol. 37, no. 3, pp. 238-275, 2005.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  5. T.V. Lakshman, and D. Stiliadis, “High-Speed Policy-based Packet Forwarding using Efficient Multi-Dimensional Range Matching,” ACM SIGCOMM Computer Communication Review, vol. 28, no. 4, pp. 203-214, 1998.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  6. Yaxuan Qi, Bo Xu, and Jun Li, “Performance Evaluation and Improvement of Algorithmic Approaches for Packet Classification,” Joint International Conference on Autonomic and Autonomous Systems and International Conference on Networking and Services, Papeete, Tahiti, pp. 7-7, 2005.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  7. Banit Agrawal, and Timothy Sherwood, “Modeling TCAM Power for Next Generation Network Devices,” 2006 IEEE International Symposium on Performance Analysis of Systems and Software, Austin, TX, USA, pp. 120-129, 2006.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  8. Kai Zheng et al., “TCAM-based Distributed Parallel Packet Classification Algorithm with Range-Matching Solution,” Proceedings IEEE 24th Annual Joint Conference of the IEEE Computer and Communications Societies, Miami, FL, vol. 1, pp. 293-303, 2005.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  9. E. Spitznagel, David E. Taylor, and Jonathan S. Turner, “Packet Classification using Extended Tcams,” 11th IEEE International Conference on Network Protocols, Atlanta, GA, USA, pp. 120-131, 2003.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  10. Pankaj Gupta, and Nick McKeown, “Packet Classification using Hierarchical Intelligent Cuttings,” pp. 213-224, 2003.
    [
    Google Scholar]
  11. Pankaj Gupta, and Nick McKeown, “Packet Classification on Multiple Fields,” Proceedings of the Conference on Applications, Technologies, Architectures, and Protocols for Computer Communication, pp. 147-160, 1999.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  12. Sumeet Singh et al., “Packet Classification using Multidimensional Cutting,” Proceedings of the 2003 Conference on Applications, Technologies, Architectures, and Protocols for Computer, pp. 213-224, 2003.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  13. Jincheng Zhong et al., “TupleTree: A High-Performance Packet Classification Algorithm Supporting Fast Rule-Set Updates,” IEEE/ACM Transactions on Networking, vol. 31, no. 5, pp. 2027-2041, 2023.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  14. T.S. Urmila, and R. Balasubramanian, “Decision Tree based Network Packet Classification Algorithms,” Proceedings of the UGC Sponsored National Conference on Advanced Networking and Applications, 2015.
    [
    Google Scholar]
  15. Cheng-Liang Hsieh, and Ning Weng, “Many-Field Packet Classification for Software-Defined Networking Switches,” Proceedings of the 2016 Symposium on Architectures for Networking and Communications Systems, pp. 13-24, 2016.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  16. James Daly et al., “TupleMerge: Fast Software Packet Processing for Online Packet Classification,” IEEE/ACM Transactions on Networking, vol. 27, no. 4, pp. 1417-1431, 2019.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  17. S.S. Srithick et al., “Machine Learning based Network Packet Classification,” Journal of Ubiquitous Computing and Communication Technologies, vol. 5, no. 4, pp. 352-365, 2023.
    [
    CrossRef] [Publisher Link]
  18. Yu Liu, “A Survey of Machine Learning based Packet Classification,” Symposium on Computational Intelligence for Security and Defence Applications, 2009.
    [
    Google Scholar]
  19. Veeramani Sonai, and Indira Bharathi, “Packet Classification using Improved Random Forest Algorithm,” Proceedings of the International Conference on Machine Learning, Deep Learning and Computational Intelligence for Wireless Communication, Springer, Cham, pp. 157-168, 2023.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  20. David E. Taylor, and Jonathan S. Turner, “ClassBench: A Packet Classification Benchmark,” IEEE/ACM Transactions on Networking, vol. 15, no. 3, pp. 499-511, 2007.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  21. Shuhui Chen et al., “CMT: An Efficient Algorithm for Scalable Packet Classification,” The Computer Journal, vol. 64, no. 6, pp. 941-959, 2021.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  22. Sorrachai Yingchareonthawornchai et al., “A Sorted-Partitioning Approach to Fast and Scalable Dynamic Packet Classification,” IEEE/ACM Transactions on Networking, vol. 26, no. 4, pp. 1907-1920, 2018.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  23. Jeffrey Fong et al., “ParaSplit: A Scalable Architecture on FPGA for Terabit Packet Classification,” 2012 IEEE 20th Annual Symposium on High-Performance Interconnects, Santa Clara, CA, USA, pp. 1-8, 2012.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  24. Midde Adiseshaiah, and M. Sailaja, “Packet Classification Algorithms and Methods: A Critical Review,” International Journal of Emerging Technologies, vol. 11, no. 1, pp. 454-461, 2020.
    [
    Publisher Link]
  25. Balajee Vamanan, Gwendolyn Voskuilen, and T.N. Vijaykumar, “EffiCuts: Optimizing Packet Classification for Memory and Throughput,” ACM SIGCOMM Computer Communication Review, vol. 40, no. 4, pp. 207-218, 2010.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  26. Yaxuan Qi et al., “Packet Classification Algorithms: From Theory to Practice,” IEEE INFOCOM 2009, Rio de Janeiro, Brazil, pp. 648-656, 2009.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  27. Wenjun Li et al., “CutSplit: A Decision-Tree Combining Cutting and Splitting for Scalable Packet Classification,” IEEE INFOCOM 2018-IEEE Conference on Computer Communications, Honolulu, HI, USA, pp. 2645-2653, 2018.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  28. Zhi Liu et al., “BitTuts: A Fast Packet Classification Algorithm using Bit-Level Cutting,” Computer Communications, vol. 109, pp. 38-52, 2017.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  29. V. Anand Prem Kumar, Vidya Thiyagarajan, and N. Ramasubramanian, “A Survey of Packet Classification Tools and Techniques,” 2015 International Conference on Computing Communication Control and Automation, Pune, India, pp. 103-107, 2015.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  30. Jing Tan, GaoFeng Lv, and GuanJie Qiao, “MBitTree: A Fast and Scalable Packet Classification for Software Switches,” 2021 IEEE Symposium on High-Performance Interconnects, Santa Clara, CA, USA, pp. 60-67, 2021.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  31. HyunYong Lee, and BhumCheol Lee, “Approaches for Improving Tuple Space Search-based Table Lookup,” 2015 International Conference on Information and Communication Technology Convergence, Jeju, Korea (South), pp. 99-104, 2015.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  32. Rishi Shah et al., “NeuroCut: A Neural Approach for Robust Graph Partitioning,” Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pp. 2584-2595, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  33. Alon Rashelbach, Ori Rottenstreich, and Mark Silberstein, “A Computational Approach to Packet Classification,” Proceedings of the Annual Conference of the ACM Special Interest Group on Data Communication on the Applications, Technologies, Architectures, and Protocols for Computer Communication, pp. 542-556, 2020.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  34. Yuxi Liu et al., “HybridTSS: A Recursive Scheme Combining Coarse- and Fine-Grained Tuples for Packet Classification,” Proceedings of the 6th Asia-Pacific Workshop on Networking, pp. 43-49, 2022.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  35. Jinsong Zhang et al., “A CNN-LSTM-GRU Hybrid Model for Spatiotemporal Highway Traffic Flow Prediction,” Systems, vol. 13, no. 9, pp. 1-21, 2025.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  36. Xinyi Zhang et al., “Fast Online Packet Classification with Convolutional Neural Network,” IEEE/ACM Transactions on Networking, vol. 29, no. 6, pp. 2765-2778, 2021.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  37. Tong Yang et al., “Fast OpenFlow Table Lookup with Fast Update,” IEEE INFOCOM 2018-IEEE Conference on Computer Communications, Honolulu, HI, USA, pp. 2636-2644, 2018.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  38. Ashok Kumar, and Arun Kumar, “Network Simulators: Perspective View,” International Journal of Advance Research in Science and Engineering, vol. 6, no. 8, pp. 1742-1748, 2017. [Online]. Available: https://www.ijarse.com/images/fullpdf/1503896114_IETE_C_3029IJARSE.pdf
  39. Avneet Kaur Saluja, Sweta A. Dargad, and Krupali Mistry, “A Detailed Analogy of Network Simulators—NS1, NS2, NS3 and NS4,” International Journal on Future Revolution in Computer Science and Communication Engineering, vol. 3, no. 12, pp. 291-295, 2017.
    [
    Google Scholar]
  40. Saba Siraj, Ajay Kumar Gupta, and Rinku-Badgujar, “Network Simulation Tools Survey,” International Journal of Advanced Research in Computer and Communication Engineering, vol. 1, no. 4, pp. 199-206, 2012.
    [
    Google Scholar] [Publisher Link]
  41. Wenjun Li et al., “Tuple Space Assisted Packet Classification with High Performance on both Search and Update,” IEEE Journal on Selected Areas in Communications, vol. 38, no. 7, pp. 1555-1569, 2020.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  42. Chenshuo Tan, and Zhuo Li, “MultiSplit: An Efficient Algorithm for Packet Classification with Equivalent Priority,” Electronics, vol. 13, no. 15, pp. 1-21, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  43. Zhuo Li et al., “LearningTuple: A Packet Classification Scheme with High Classification and High Update,” Computer Networks, vol. 254, pp. 1-11, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]
  44. Zhi-Xing Ou et al., “Improving Hierarchical Tree-based Packet Classification by Reinforcement Learning,” 2024 Fifteenth International Conference on Ubiquitous and Future Networks, Budapest, Hungary, pp. 336-341, 2024.
    [
    CrossRef] [Google Scholar] [Publisher Link]