Abstract
Can ideas and techniques from machine learning be leveraged to automatically generate "good" routing configurations? We investigate the power of data-driven routing protocols. Our results suggest that applying ideas and techniques from deep reinforcement learning to this context yields high performance, motivating further research along these lines.
Introduction
Traffic Engineering (TE) is a critical component of network management, focused on steering data across a network to minimize congestion and maximize performance. Traditionally, TE relies on two main approaches: reactive optimization, which adjusts to observed traffic but struggles with future shifts, and oblivious routing, which optimizes for worst-case scenarios. While oblivious routing provides stability, its conservative nature often leaves significant network capacity unused. This paper explores whether Machine Learning (ML) can bridge this gap by learning traffic patterns to predict and implement superior routing configurations.
Methodology
The researchers investigated two primary machine learning paradigms to address the TE problem.
Supervised Learning (SL)
In the SL approach, Deep Neural Networks (DNNs) were trained to predict the next Demand Matrix (DM)—a representation of traffic volume between all source-destination pairs. The architectures tested included standard Fully-Connected Networks (FCN), Convolutional Neural Networks (CNN), and Nonlinear Auto-Regressive models (NAR-NN) specifically designed for time-series data.
Reinforcement Learning (RL) and Softmin Routing
Rather than predicting traffic, the RL approach uses an agent to map traffic history directly to an optimal routing configuration. To overcome the "output explosion" problem—where a model would otherwise need to output thousands of rules—the authors introduced Softmin Routing. Instead of learning every individual path, the model learns per-edge weights. These weights are processed through a softmin function to distribute traffic across multiple paths, reducing the complexity of the output space from $|V|^2 \cdot |E|$ to just $|E|$.
Experimental Results
The Brittleness of Supervised Learning
The effectiveness of supervised learning was found to be highly dependent on the regularity of traffic. While models like NAR-NN could accurately predict cyclic or averaged traffic, they failed significantly when faced with unpredictable or random traffic distributions. This brittleness suggests that SL may not be robust enough for dynamic, real-world network environments.
Reinforcement Learning Performance
In contrast, the RL-based Softmin approach demonstrated strong performance, particularly in skewed "bimodal" traffic scenarios typical of data centers. By learning a robust strategy rather than just predicting traffic values, the RL agent was able to outperform traditional oblivious routing benchmarks.
As shown in the results, the Softmin-constrained RL model converged to high-performance strategies relatively quickly. While a vanilla RL approach without these constraints failed to learn effectively, the Softmin innovation made the learning process manageable and efficient.
Conclusion and Future Work
This research demonstrates that data-driven routing, specifically using reinforcement learning with a constrained output space (Softmin), can outperform traditional human-designed algorithms. While the current study focused on smaller topologies and synthetic traffic models, it provides a proof-of-concept for ML in traffic engineering. Future work will focus on scaling these models to larger ISP-scale networks, incorporating additional objectives like latency and packet loss, and testing against real-world traffic traces to ensure stability and practical utility.
Summary updated