NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Implementing Reinforcement Learning Datacenter Congestion Control in NVIDIA NICs

Benjamin Fuhrer, Yuval Shpigelman, Chen Tessler, Shie Mannor, Gal Chechik, Eitan Zahavi, Gal Dalal · DOI

TL;DR

Researchers have successfully deployed a reinforcement learning (RL) congestion control algorithm directly onto production NVIDIA NICs by distilling a complex neural network into lightweight decision trees. This approach achieves a massive 500x inference speedup, enabling real-time microsecond-level decisions that outperform industry-standard handcrafted heuristics like DCQCN and Swift.

What Problem Does This Paper Address?

In modern datacenters, network speeds are reaching 400Gbps. To keep up, technologies like RDMA (Remote Direct Memory Access) bypass the host CPU to reduce overhead. However, this shifts the bottleneck to the network itself: traffic congestion.

Congestion control (CC) algorithms are responsible for modulating transmission rates to prevent packet loss and high latency. Traditionally, these are handcrafted heuristics (like DCQCN or Swift) based on simple rules. While they work well in specific scenarios, they are notoriously difficult to tune for the diverse, dynamic workloads of a modern cloud.

Reinforcement Learning (RL) offers a promising alternative by "learning" optimal policies from data. The catch? RL models are typically deep neural networks (NNs) that require significant compute power. On a Network Interface Card (NIC), decisions must be made in less than 2 microseconds. A standard NN takes hundreds of microseconds to run on NIC hardware, making it far too slow to react to rapid network changes.

Methods

The authors propose a three-stage pipeline to bridge the gap between AI research and hardware deployment:

  1. Simulated Training: They use a custom RL algorithm (RL-CC) trained in a high-fidelity simulator (OMNeT++). The agent learns to adjust transmission rates based on local observations like Round-Trip Time (RTT).
  2. Model Distillation: To solve the latency problem, they use the trained NN as a "teacher" to train a "student" model—an ensemble of Gradient Boosted Decision Trees (GBTs). Decision trees are ideal for hardware because they can be implemented as a simple series of if-else statements.
  3. Hardware Deployment: The distilled tree-based policy is deployed on NVIDIA ConnectX-6Dx NICs using the Programmable Congestion Control (PCC) SDK.
Fig. 1: An overview of the deployment process of RL-CC (reinforcement learning congestion control) in the real world. From left to right: (1) an RL policy is trained in simulation; (2) the neural network policy is distilled into a compute and memory efficient tree-based representation; and (3) the tree policy is deploy on ConnectX-6Dx NIC firmware and tested in a live datacenter with standard benchmark traffic patterns.

Datasets

The study relies on two main evaluation environments:

  • OMNeT++ Simulator: Used for initial training and large-scale ablation studies, modeling NVIDIA ConnectX-6Dx NICs in a single-switch network.
  • Live Cluster: A production-grade cluster of 64 hosts connected via a two-level Fat-Tree topology with 100 Gbps RoCEv2 (RDMA over Converged Ethernet) fabric.
  • Benchmarks: The authors evaluated performance using standard traffic patterns: Many-to-One (incast), All-to-All (chaotic traffic), OSU All-to-All (MPI latency), and Long-Short (sudden bursts of short flows competing with long-lived flows).

Key Insights and Ideas

  • Distillation is the Enabler: The most significant insight is that you don't need a heavy NN at runtime. A small ensemble of decision trees (max depth of 4, up to 10 trees) can perfectly mimic the complex logic of a deep NN while being 500x faster.
  • Beyond Simple Reactions: RL-CC learned "second-order" behaviors. While traditional heuristics just react to current congestion, RL-CC learned to anticipate how its own rate changes—and the likely reactions of other flows—would affect the network state.
  • Challenging Networking Dogma: For decades, the networking community believed that AIMD (Additive Increase, Multiplicative Decrease) was necessary for fairness. RL-CC uses a learned MIMD (Multiplicative Increase, Multiplicative Decrease) approach that proves to be both stable and fair, while reacting much faster to bursts.
Fig. 1: An overview of the deployment process of RL-CC (reinforcement learning congestion control) in the real world. From left to right: (1) an RL policy is trained in simulation; (2) the neural network policy is distilled into a compute and memory efficient tree-based representation; and (3) the tree policy is deploy on ConnectX-6Dx NIC firmware and tested in a live datacenter with standard benchmark traffic patterns.

Key Results

  • 500x Inference Speedup: Distillation reduced inference time from 450 µs (NN) to just 0.9 µs (Trees), well within the 2 µs hardware requirement.
  • Superior Stability: In chaotic All-to-All tests with 8,192 flows, RL-CC was the only algorithm that successfully controlled congestion throughout the entire experiment, whereas DCQCN continually failed and suffered high packet loss.
  • Zero Packet Loss in Bursts: In "long-short" scenarios, RL-CC achieved zero packet loss by reacting instantly to new flows, whereas handcrafted baselines were either too slow to react or too slow to recover bandwidth once the burst ended.
  • State-of-the-Art Performance: RL-CC consistently achieved the lowest latency across almost all message sizes in the OSU All-to-All benchmark.

Limitations and Future Work

  • Tiny Packet Sensitivity: The authors noted that for extremely small messages (32 bytes), RL-CC reacted too fast, leading to unnecessary rate reductions and slightly longer completion times.
  • Telemetry Constraints: The live cluster evaluation was limited to RTT-based signals because the available switches lacked advanced telemetry support (like queue length reporting).
  • Future Directions: The team aims to incorporate more diverse network signals into the training process and explore how AI-driven CC can be further optimized for specific application-level requirements.

Summary updated

BibTeX
@inproceedings{fuhrer2023implementing,
  author = {Benjamin Fuhrer and Yuval Shpigelman and Chen Tessler and Shie Mannor and Gal Chechik and Eitan Zahavi and Gal Dalal},
  title = {{Implementing Reinforcement Learning Datacenter Congestion Control in NVIDIA NICs}},
  booktitle = {CCGrid},
  year = {2023},
  doi = {10.1109/ccgrid57682.2023.00039},
}
Figure