Distributed Traffic Engineering in Hybrid Software Defined Networks: A Multi-Agent Reinforcement Learning Framework

Yingya Guo, Bin Lin, Qi Tang, Yulong Ma, Huan Luo, Han Tian, Kai Chen

TL;DR

This paper introduces CMRL, a multi-agent reinforcement learning framework designed to optimize traffic engineering (TE) in hybrid Software Defined Networks (SDNs). By decomposing global network optimization into localized decisions and using a "difference reward" mechanism to coordinate agents, CMRL achieves significantly lower link congestion and faster response times compared to traditional centralized or single-agent approaches.

What Problem Does This Paper Address?

Traffic Engineering (TE) is the process of steering network traffic to avoid congestion and maximize performance. In a Hybrid SDN, only some nodes are programmable SDN switches, while others are legacy routers using fixed protocols like OSPF.

Existing TE solutions face three major hurdles:

  1. Scalability: Centralized controllers struggle with high computational overhead as networks grow.
  2. Dynamics: Heuristic-based methods are "brittle"—they don't adapt well when traffic spikes or links fail.
  3. The "Credit Assignment" Problem: In multi-agent systems, it’s hard to tell which specific agent’s action led to a good global outcome. If the network performs well, was it because of Agent A or Agent B?

Methods

The authors propose CMRL (Counterfactual-based Multi-agent Reinforcement Learning). The system operates in two phases: offline training (learning the patterns) and online inference (executing routing in real-time).

Key technical components include:

  • DDPG-based Multi-agent Framework: Each SDN switch is treated as an independent agent using the Deep Deterministic Policy Gradient (DDPG) algorithm to handle continuous action spaces (like traffic splitting ratios).
  • Partial Observations: Instead of requiring a global view of the entire network, each agent makes decisions based on the utilization of its own adjacent links. This drastically reduces communication overhead.
  • Difference Reward Assignment: This is the "counterfactual" part. To solve the credit assignment problem, the system calculates a reward for each agent by comparing the global performance to a "baseline" where that specific agent's action is marginalized. This encourages agents to take actions that specifically benefit the global goal (minimizing Maximum Link Utilization, or MLU).
  • Interactive Environment: A training environment that simulates traffic demands and network topologies to allow agents to learn through trial and error.

Datasets

The researchers evaluated CMRL using real-world network topologies and traffic traces:

  • Abilene: 12 nodes, 30 links (US research network).
  • CERNET: 14 nodes, 32 links (China Education and Research Network).
  • GÉANT: 23 nodes, 74 links (European research network). Traffic matrices were measured at 5-15 minute intervals, with 80% used for training and 20% for testing.

Key Insights and Ideas

  • Local Info, Global Impact: The paper demonstrates that agents don't need to know everything about the network to optimize it. Local observations are sufficient if the reward mechanism is designed to align local actions with global goals.
  • Coordination via Counterfactuals: By asking "What would have happened if this agent acted differently?", the system provides a much cleaner signal to the agents than a simple shared global reward. This leads to faster convergence and better final policies.
  • Hybrid Flexibility: The model specifically accounts for the constraints of legacy routers (which follow shortest-path OSPF) while maximizing the flexibility of the available SDN switches.

Key Results

  • Congestion Reduction: CMRL improved network performance (measured by MLU) by up to 41.21% compared to OSPF and up to 26.71% compared to ROAR (a state-of-the-art single-agent RL approach).
  • Robustness to Failure: In scenarios with link failures, CMRL reduced MLU by up to 32.95% over OSPF, showing it can reroute traffic intelligently when the topology changes.
  • Efficiency: CMRL converged faster during training than standard MARL. In online inference, it produced routing decisions in roughly 0.5ms to 1ms, making it suitable for real-time deployment.

Limitations and Future Work

  • Deployment Ratios: While the paper tests different SDN deployment ratios (20% to 40%), it doesn't explore the "cold start" problem of how to optimally place those few SDN switches to begin with.
  • Objective Functions: The current model focuses almost exclusively on minimizing Maximum Link Utilization (MLU). Future work could incorporate other Quality of Service (QoS) metrics like end-to-end latency, packet loss, or jitter.
  • Heterogeneous Agents: The framework assumes all agents are similar; exploring how different types of programmable hardware might interact could be a promising direction.

Summary updated

BibTeX
@article{guo2024distributed,
  author = {Yingya Guo and Bin Lin and Qi Tang and Yulong Ma and Huan Luo and Han Tian and Kai Chen},
  title = {{Distributed Traffic Engineering in Hybrid Software Defined Networks: A Multi-Agent Reinforcement Learning Framework}},
  journal = {IEEE Trans. Netw. Serv. Manag},
  year = {2024},
  doi = {10.1109/tnsm.2024.3454282},
}
Figure