Toward Packet Routing with Fully-distributed Multi-agent Deep Reinforcement Learning

Xinyu You, Xuanjie Li, Yuedong Xu, Hui Feng, Jin Zhao

Abstract

This paper introduces DQRC (Deep Q-routing with Communication), a fully distributed multi-agent deep reinforcement learning framework for network packet routing. By equipping each router with an independent LSTM-based neural network and a lightweight neighbor-communication scheme, the system learns to balance shortest-path efficiency with congestion awareness. Unlike centralized solutions, DQRC scales effectively in distributed environments. Experimental results on synthetic and real-world topologies, including the AT&T North America backbone, demonstrate that DQRC significantly reduces delivery times and maintains stability across varying traffic loads compared to traditional routing algorithms.

Introduction

Packet routing—the decision-making process of forwarding a packet to the next hop—is fundamental to network performance. Traditional methods like Shortest-Path (e.g., Dijkstra) are efficient but ignore congestion, leading to "hotspots." Conversely, Backpressure algorithms handle congestion well but often perform poorly under light loads by sending packets on unnecessarily long loops.

While Reinforcement Learning (RL) has been proposed to solve this, traditional "Q-routing" suffers from the curse of dimensionality and lacks the "memory" needed to understand dynamic traffic patterns. Furthermore, many modern Deep RL (DRL) solutions rely on a centralized controller, which creates a single point of failure and limits scalability. The authors propose DQRC, which treats every router as an autonomous agent, bridging the gap between shortest-path efficiency and congestion-aware robustness.

Methods

DQRC models the routing task as a Partially Observable Markov Decision Process (POMDP). Each router runs its own Deep Recurrent Q-Network, allowing for localized, intelligent decision-making.

Neural Network Architecture and Features

The core of each agent is an LSTM-based neural network. The use of Long Short-Term Memory (LSTM) layers allows the router to maintain an internal state, capturing temporal dependencies in traffic flow.

The DQRC neural network architecture, featuring LSTM layers to handle temporal dependencies and a multi-faceted input feature set.

The model utilizes a rich set of feature inputs to inform its routing decisions:

  • Destination Information: The destination of the current packet and the next $m$ packets in the queue.
  • Action History: A history of the last $k$ actions taken by the router.
  • Congestion Sensing: The identity of the neighbor with the longest queue, supplemented by periodic, lightweight sharing of raw queue lengths between immediate neighbors.

Training Strategy

To overcome the slow convergence typical of RL in complex topologies, the authors employ Supervised Pre-training. Networks are initially trained to mimic a shortest-path algorithm, providing agents with a baseline understanding of the network topology before they begin exploring congestion-aware policies through reinforcement.

Key Results

The researchers evaluated DQRC using a 3x3 grid and the 25-node AT&T North America topology.

Performance and Scalability

DQRC naturally evolves to behave like Q-routing during low traffic and like Backpressure during high traffic. In the AT&T topology, DQRC achieved significantly lower average delivery times across all network loads compared to both baselines.

Comparison of average delivery times across different traffic distribution ratios. DQRC maintains significantly lower latency as the network load increases compared to baselines.

As illustrated in the performance comparison, DQRC maintains a stable, low delivery time even as the distribution ratio (traffic load) increases, whereas Q-routing and Backpressure exhibit significant performance degradation.

Stability and Communication Efficiency

Unlike standard Q-routing, which often shows violent performance swings, DQRC remains stable under dynamic traffic. The study also demonstrated that the framework is robust to communication delays; even with infrequent neighbor updates (up to 5ms intervals), DQRC maintains a substantial performance lead over non-communicative baselines.

Conclusion

DQRC demonstrates the efficacy of fully distributed multi-agent DRL for complex network routing. By combining recurrent neural networks with local communication and supervised pre-training, the framework achieves superior latency and stability. Future work will explore higher-fidelity simulations in NS-3, resilience to link failures, and the application of more advanced DRL architectures like Actor-Critic methods.

Summary updated

BibTeX
@inproceedings{you2019toward,
  author = {Xinyu You and Xuanjie Li and Yuedong Xu and Hui Feng and Jin Zhao},
  title = {{Toward Packet Routing with Fully-distributed Multi-agent Deep Reinforcement Learning}},
  booktitle = {WiOpt},
  year = {2019},
  doi = {10.23919/wiopt47501.2019.9144110},
}
Figure