Download PDFOpen PDF in browser

Harnessing AI for Real-Time Hash Optimization in Flow-Based Load Balancing in Network Devices

11 pages•Published: December 4, 2026

Abstract

Traffic load balancing plays a pivotal role in optimizing the network performance and bandwidth planning for service providers, web scalers, and data centers. To ensure efficient load distribution, hash algorithms must account for key packet attributes, such as Source IP, Destination IP, and Layer 4 protocol etc. to maximize entropy, while avoiding negative tuples that could lead to out-of-order packet delivery. Flow-based load balancing is a widely adopted method that satisfies these requirements by dynamically selecting the optimal set of hash tuples from the received traffic while making forwarding decisions in the network device. This dynamic selection of appropriate tuples for enhanced entropy is typically managed by supporting different hash functions, hash rotation or varied hash profiles. However, the current networking systems require manual intervention in updating hash profiles or hash functions, assuming static variance in the flow characteristics. This approach overlooks the dynamic nature of traffic flows, which can start, stop, or evolve at runtime. In such cases, corrective actions require manual traffic pattern change analysis to configure an updated hash, but this approach is prone to suboptimal load-balancing for a longer period. This paper presents a novel TinyML model-based solution which harnesses AI to analyze network traffic and load balancing skews in real-time and applying the most appropriate hash configurations automatically to the device NPUs which observed the skewed load. The lightweight TinyML model runs on the network device to provide an adaptive and automated mechanism for load balancing hash optimization, thus ensuring real-time optimal load balancing even in evolving traffic conditions. Our experimental results with ANN models trained on real network traffic scenarios and packet data present a futuristic approach to real-time traffic load-balancing skew correction in network devices.

Keyphrases: hash optimization, hash profile, load balancing, supervised machine learning, tinyml, traffic flow analysis

In: Prakash Duraisamy (editor). Proceedings of 16th International Conference on Computing Communication and Networking Technologies, vol 115, pages 1151-1161.

BibTeX entry
@inproceedings{16thICCCNT2025:Harnessing_AI_Real_Time,
  author    = {Rajesh Pandey and Mukul Golash},
  title     = {Harnessing AI for Real-Time Hash Optimization in Flow-Based Load Balancing in Network Devices},
  booktitle = {Proceedings of 16th International Conference on Computing Communication and Networking Technologies},
  editor    = {Prakash Duraisamy},
  series    = {EPiC Series in Computing},
  volume    = {115},
  publisher = {EasyChair},
  bibsource = {EasyChair, https://easychair.org},
  issn      = {2398-7340},
  url       = {/publications/paper/fvjn},
  doi       = {10.29007/8wlq},
  pages     = {1151-1161},
  year      = {2026}}
Download PDFOpen PDF in browser