A Deep Learning Perspective on Network Routing

Yarin Perry, Felipe Vieira Frujeri, Chaim Hoch, Srikanth Kandula, Ishai Menache, Michael Schapira, Aviv TamararXiv 2023 · DOI

Abstract

Traffic Engineering (TE) is critical for managing Wide Area Networks (WANs), yet traditional "predict-then-optimize" approaches struggle with volatile traffic and misaligned optimization objectives. This paper discusses Direct Optimization for Traffic Engineering (DOTE), a framework that leverages deep learning to bypass explicit traffic prediction. By training neural networks to directly output routing configurations based on historical data, DOTE achieves near-optimal throughput and utilization. Experimental results across multiple production WANs demonstrate that DOTE is 10–100x faster than traditional linear programming solvers and significantly more robust to traffic volatility.

The Prediction Trap in Traffic Engineering

Traffic Engineering (TE) involves steering data across a network to avoid congestion and maximize throughput. Traditionally, this follows a two-step "predict-then-optimize" workflow: first, future traffic demands are predicted; second, a mathematical optimization problem (typically a Linear Program) is solved to determine the best paths.

However, this approach faces two fundamental challenges:

  1. The Prediction Gap: While inter-data-center traffic is relatively stable, customer-facing traffic (e.g., video streaming, web services) is highly volatile and difficult to forecast accurately.
  2. Objective Mismatch: Standard predictors minimize errors like Mean Squared Error (MSE). In networking, however, a small error on a bottleneck link is far more damaging than a large error on an underutilized link.
Figure 1: Comparison of traffic volatility between inter-data-center and customer-facing traffic. The high variance in customer-facing traffic makes traditional prediction-based routing unreliable.

DOTE: Direct Optimization for Routing

To address these flaws, the authors propose DOTE (Direct Optimization for Traffic Engineering). Instead of predicting traffic, DOTE uses a Deep Neural Network (DNN) to map historical traffic patterns directly to routing configurations, specifically "splitting ratios" that define how traffic is distributed across available paths.

End-to-End Training

DOTE is trained using a differentiable pipeline. The loss function is not a prediction error but the actual network performance metric, such as Maximum Link Utilization (MLU). By using stochastic gradient descent (ADAM), the model learns to navigate the complex landscape of routing configurations to find solutions that are robust to the likely distribution of future traffic.

Figure 2: The optimization landscape of DOTE. (a-c) show the evolution from network topology to optimal splitting ratios, while (d) illustrates the expected MLU as a function of these ratios, highlighting the differentiable surface used for training.

Key Insights and Results

The study evaluated DOTE using real-world traces from Microsoft’s private WAN, GEANT, and Abilene, alongside synthetic topologies from Topology Zoo.

  • Near-Optimal Quality: DOTE’s routing quality nearly matches that of an "omniscient oracle" with perfect future knowledge. It consistently outperforms state-of-the-art prediction-based methods, particularly on volatile customer-facing traffic.
  • Massive Speedup: By shifting the computational burden to an offline training phase, online inference becomes a simple matrix multiplication. DOTE is 10 to 100 times faster than traditional Linear Programming solvers, finding solutions in seconds for large networks.
  • Mathematical Soundness: The authors provide theoretical proof that for standard network objectives, DOTE is guaranteed to converge to the global optimum, providing a rigorous foundation for deep-learning-based TE.

Conclusion and Future Work

DOTE demonstrates that bypassing the "prediction trap" leads to more robust and efficient network routing. Future research may explore Graph Convolutional Networks (GCNs) to better encode physical topologies, dynamic tunnel selection, and integrating fault tolerance directly into the neural network's training process.

Summary updated

BibTeX
@misc{perry2023deep,
  author = {Yarin Perry and Felipe Vieira Frujeri and Chaim Hoch and Srikanth Kandula and Ishai Menache and Michael Schapira and Aviv Tamar},
  title = {{A Deep Learning Perspective on Network Routing}},
  year = {2023},
  eprint = {2303.00735},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.00735},
}
Figure