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

Is Machine Learning Ready for Traffic Engineering Optimization?

Guillermo Bernárdez, José Suárez-Varela, Albert López, Bo Wu, Shihan Xiao, Xiangle Cheng, Pere Barlet-Ros, Albert Cabellos-Aparicio

TL;DR

This paper introduces a novel Multi-Agent Reinforcement Learning (MARL) and Graph Neural Network (GNN) system for Traffic Engineering (TE) that achieves comparable performance to state-of-the-art classical methods but with a dramatic reduction in execution time. This work demonstrates that ML is indeed becoming ready for complex, real-time network optimization tasks.

What Problem Does This Paper Address?

Traffic Engineering (TE) is crucial for efficient and reliable internet operation, aiming to optimize network resource usage. A core TE problem is intradomain TE, specifically minimizing the maximum link load (MinMaxLoad), which is an NP-hard problem. Traditional solutions often rely on complex optimization algorithms like Constraint Programming, which, while effective, can be computationally expensive and slow for real-time applications. The authors pose the question: are modern Machine Learning (ML) techniques, particularly Reinforcement Learning (RL) and Graph Neural Networks (GNNs), mature enough to match or exceed the performance and speed of these established TE optimizers?

Methods

The paper proposes a novel distributed system that combines Multi-Agent Reinforcement Learning (MARL) with Graph Neural Networks (GNNs). This MARL+GNN architecture is designed to optimize link weights used by routing protocols like OSPF.

  • MARL: Instead of a single agent, multiple agents (each representing a network link) cooperate to optimize the global network state. This is framed as a classic Markov Decision Process (MDP) by learning a global policy, avoiding the complexity of decentralized POMDPs.
  • GNNs (specifically MPNNs): Graph Neural Networks are used to enable agents to learn from their local neighborhood and the network's topology. Agents exchange "hidden states" (learned representations) with their neighbors, allowing them to build a global understanding of the network state without a central controller. This message-passing mechanism is iterative, refining the agents' representations over several steps.
  • Actor-Critic Framework (PPO): The MARL system uses a Proximal Policy Optimization (PPO) algorithm, a model-free policy gradient method, to learn the optimal policy. This involves an "actor" (the GNN) that decides actions and a "critic" that estimates the value of states to guide the actor's learning.
  • Distributed Execution: The system is designed to run distributedly across network devices (routers), allowing computation to be shared and avoiding the need for a central optimization entity.

Datasets

The authors use three real-world network topologies for training and evaluation:

  • 42-link NSFNet
  • 54-link GBN
  • 72-link GEANT2

They also simulate executions over two synthetic networks for larger-scale analysis:

  • SYNTH500 (500 nodes, 1750 links)
  • SYNTH1000 (1000 nodes, 3200 links)

Two traffic profiles are used:

  • Uniform distribution of traffic demands.
  • Gravity model, which produces more realistic traffic matrices.

The paper does not introduce new datasets but uses these established topologies and traffic models to benchmark their approach.

Key Insights and Ideas

  • ML is "Ready" for TE: The core insight is that ML, specifically the MARL+GNN combination, can now achieve performance comparable to highly optimized classical TE solutions. This moves ML from a theoretical possibility to a practical contender for real-world network optimization.
  • Dramatic Speedup: The most significant advantage of the ML approach is its speed. By distributing computation across network devices, the MARL+GNN system can optimize the network in seconds, compared to minutes for state-of-the-art classical methods like DEFO. This enables near real-time operation.
  • Generalization through GNNs: GNNs are key to the system's ability to generalize to unseen network topologies. Their inherent ability to process graph-structured data and learn relational information allows the model to adapt to different network sizes and structures, a limitation of many previous ML-based TE approaches.
  • Parameter Sharing for Scalability: The use of a single, shared MPNN model across all agents (links) provides scalability and robustness. This means the same learned model can be deployed on networks of varying sizes and complexities without retraining.
  • Robustness to Failures: The MARL+GNN system demonstrates robustness against link failures, exhibiting a graceful performance degradation similar to DEFO when links are removed.

Key Results

  • Performance: The MARL+GNN solution achieves comparable performance to DEFO (a state-of-the-art TE optimizer) across various network scenarios and traffic matrices, often outperforming default OSPF significantly (e.g., 23-42% better than OSPF on uniform traffic). In some cases, it even slightly improves upon DEFO.
  • Speed: The execution time for optimization is reduced from minutes (DEFO) to seconds (MARL+GNN). For larger networks (SYNTH1000), the speedup is an order of magnitude.
  • Generalization: The model trained on NSFNet and GEANT2 shows strong performance on a never-seen topology (GBN), demonstrating good generalization capabilities.
  • Robustness: The system shows comparable resilience to link failures as DEFO.

Limitations and Future Work

  • Objective Agnosticism: Current ML methods, including this one, are often trained for specific objectives (like MinMaxLoad). The authors acknowledge that TE optimizers can handle multiple objectives and SLA requirements simultaneously. Their future work focuses on developing objective-agnostic MARL agents using meta-learning.
  • Execution Cost: While significantly faster, the MARL+GNN system incurs some communication overhead due to GNN messages. However, this overhead is shown to be manageable and has a negligible impact on modern network interfaces.
  • Hardware Acceleration: The authors suggest that specialized AI chips could further accelerate GNN computations, potentially leading to even faster optimization.
  • SLA Fulfillment: Future work will explore how to incorporate Service Level Agreement (SLA) fulfillment into the optimization objectives.

Summary updated

BibTeX
@inproceedings{bernardez2021is,
  author = {Guillermo Bernárdez and José Suárez-Varela and Albert López and Bo Wu and Shihan Xiao and Xiangle Cheng and Pere Barlet-Ros and Albert Cabellos-Aparicio},
  title = {{Is Machine Learning Ready for Traffic Engineering Optimization?}},
  booktitle = {Icnp},
  year = {2021},
  doi = {10.1109/icnp52444.2021.9651930},
}
Figure