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

GraphCC: A practical graph learning-based approach to Congestion Control in datacenters

Guillermo Bernárdez, José Suárez-Varela, Xiang Shi, Shihan Xiao, Xiangle Cheng, Pere Barlet-Ros, Albert Cabellos-Aparicio

TL;DR

GraphCC is a novel framework that combines Multi-Agent Reinforcement Learning (MARL) and Graph Neural Networks (GNN) to dynamically tune congestion control parameters in datacenters. Unlike previous machine learning solutions that require risky "online" training, GraphCC is trained offline and generalizes remarkably well to unseen traffic patterns and network failures, reducing flow completion times by up to 20% while significantly emptying switch buffers.

What Problem Does This Paper Address?

In modern Data Center Networks (DCNs), congestion is managed using Explicit Congestion Notification (ECN). When a switch's queue gets too full, it marks packets to tell the sender to slow down. The performance of the entire network hinges on three ECN parameters ($K_{min}, K_{max}, P_{max}$) that define when and how aggressively to mark these packets.

Currently, these parameters are set statically by network experts. However, DCN traffic is incredibly volatile—featuring "incast" events (many senders hitting one receiver) and frequent link failures. Static settings are often too conservative (wasting bandwidth) or too aggressive (causing long queues and latency).

Existing Machine Learning (ML) attempts to solve this, like the state-of-the-art ACC, rely on online training. This means the model learns while the network is running. This is problematic because:

  1. Performance can tank during the "learning" phase.
  2. Retraining adds computational overhead to switches.
  3. It’s hard to predict how an agent will behave after it updates its policy in a live environment.

Methods

The authors introduce GraphCC, which shifts the paradigm to offline training with high generalization.

  • MARL + GNN Integration: Each switch port is treated as an "agent." To prevent these agents from acting selfishly, the authors use a Graph Neural Network (GNN) architecture.
  • Topology-Aware Message Passing: Agents don't just look at their own local queue. They exchange encoded "messages" with neighboring agents. This allows a switch to understand the "context" of congestion upstream or downstream, enabling cooperative behavior.
  • Parameter Sharing: All agents share the same neural network weights. This makes the model "scale-invariant"—you can train it on a small network and deploy it on a massive one without changing the model.
  • Reward Function: The agents are trained to maximize a reward that balances high throughput with low queue lengths (latency).
  • Compatibility: GraphCC doesn't require a new network stack; it works with existing, widely deployed protocols like DCQCN (for RDMA) and DCTCP.

Datasets

The researchers evaluated GraphCC using the ns-3 network simulator across several real-world traffic traces:

  • FB_Hadoop: Traces from Facebook’s production clusters (used for primary training).
  • WebSearch & AliStorage: Publicly available traces from web search workloads and Alibaba’s storage clusters (used to test generalization to unseen traffic).
  • Topology Scenarios: The model was tested on a 2-layer Clos network, including scenarios with random link failures and network upgrades (adding extra hosts and switches) that were never seen during training.

Key Insights and Ideas

  • Generalization over Memorization: By using GNNs, GraphCC learns the relational properties of congestion rather than memorizing a specific traffic pattern. This is why it can be trained on a Hadoop workload and still perform optimally on a WebSearch workload.
  • The "Near-Zero" Queue Goal: A major "aha" moment in the results is that GraphCC learns to maintain extremely short queues (38% to 85% shorter than ACC). This is vital for next-generation switches where link speeds are skyrocketing but buffer sizes are not keeping pace.
  • Cooperation beats Greed: Traditional MARL agents (like those in ACC) are "greedy"—they only see their own port. GraphCC’s message-passing allows agents to "see" around the corner, preventing congestion before it builds up.

Key Results

  • Flow Completion Time (FCT): GraphCC outperformed the state-of-the-art ACC by up to 20% in average FCT slowdown across various workloads.
  • Buffer Management: It achieved a massive reduction in buffer occupancy, ranging from 38.0% to 85.7% compared to ACC, while maintaining equivalent throughput.
  • Robustness to Failure: In scenarios with 1 or 2 link failures (which break network symmetry), GraphCC maintained superior performance, whereas static configurations struggled to adapt to the resulting traffic imbalance.
  • Zero-Shot Scaling: The model trained on a 24-host network was successfully deployed on 32-host and 40-host networks without any retraining, showing its practical "plug-and-play" potential.

Limitations and Future Work

  • Hardware Constraints: While the authors argue that message passing only takes a few microseconds, implementing GNN inference at line rate on fixed-function switch ASICs remains a significant engineering hurdle.
  • Action Space Granularity: The ECN parameters were discretized into 120 combinations. Future work could explore continuous action spaces for even finer control.
  • Real-world Deployment: The study is conducted in a high-fidelity simulator (ns-3). Moving from simulation to a physical testbed with P4-programmable switches is the logical next step to prove real-world viability.

Summary updated

BibTeX
@article{bernardez2025graphcc,
  author = {Guillermo Bernárdez and José Suárez-Varela and Xiang Shi and Shihan Xiao and Xiangle Cheng and Pere Barlet-Ros and Albert Cabellos-Aparicio},
  title = {{GraphCC: A practical graph learning-based approach to Congestion Control in datacenters}},
  journal = {Computer Networks},
  year = {2025},
  url = {https://openreview.net/forum?id=IFrL4S0503},
}
Figure