Simulation-Driven Reinforcement Learning in Queuing Network Routing Optimization

Fatima Al-Ani, Molly Wang, Jevon Charles, Aaron Ong, Joshua Forday, Vinayak ModiarXiv 2025 · DOI

Abstract

This study focuses on the development of a simulation-driven reinforcement learning (RL) framework for optimizing routing decisions in complex queueing network systems, with a particular emphasis on manufacturing and communication applications. Recognizing the limitations of traditional queueing methods, which often struggle with dynamic, uncertain environments, we propose a robust RL approach leveraging Deep Deterministic Policy Gradient (DDPG) combined with Dyna-style planning (Dyna-DDPG). The framework includes a flexible and configurable simulation environment capable of modeling diverse queueing scenarios, disruptions, and unpredictable conditions. Our enhanced Dyna-DDPG implementation incorporates separate predictive models for next-state transitions and rewards, significantly improving stability and sample efficiency. Comprehensive experiments and rigorous evaluations demonstrate the framework's capability to rapidly learn effective routing policies that maintain robust performance under disruptions and scale effectively to larger network sizes. Additionally, we highlight strong software engineering practices employed to ensure reproducibility and maintainability of the framework, enabling practical deployment in real-world scenarios.

Introduction

Queuing networks serve as the fundamental infrastructure for diverse domains, ranging from manufacturing logistics to telecommunications. Traditionally, these systems are managed using analytical models such as Matrix-analytic methods or Birth-Death processes. However, these classical approaches often fail to account for the stochastic complexities of real-world environments, such as sudden traffic spikes or hardware failures.

Reinforcement Learning (RL) offers a promising alternative for dynamic optimization. Nevertheless, applying standard RL to queuing networks presents significant challenges: the "curse of dimensionality" in large networks and the high cost/risk of training on live systems. This paper presents a simulation-driven framework that addresses these hurdles through an enhanced Dyna-DDPG algorithm, enabling efficient and safe policy development.

Methodology

The proposed framework utilizes a modified Deep Deterministic Policy Gradient (DDPG) algorithm integrated with Dyna-style planning. Unlike discrete RL models, DDPG operates in a continuous action space, allowing the agent to optimize routing probabilities with high precision.

Dyna-Style Planning and Model Splitting

To improve sample efficiency, the "Dyna" architecture allows the agent to learn from simulated experiences generated by an internal model of the environment. A key innovation in this work is the separation of the internal predictive model into two distinct neural networks: one for predicting the next state and another for predicting rewards. This "split" architecture enhances training stability in high-dimensional state spaces.

State and Action Representation

The state space is defined by the average end-to-end (EoE) delay at each node. The agent's objective is to minimize these delays while maximizing throughput.

Table 1: Example of End-to-End (EoE) delay metrics across network nodes, serving as the state input for the RL agent.

The action space consists of continuous routing probabilities assigned to available queues. A masking layer is employed to ensure that these probabilities are interpretable and adhere to network constraints.

Table 2: Learned routing probabilities for various queues, representing the continuous action space output of the DDPG agent.

Results and Discussion

Experimental results demonstrate the framework's ability to learn adaptive routing policies. In scenarios with multiple server options, the agent successfully learned to prioritize faster servers by assigning them higher routing probabilities.

Resilience and Scalability

The agent exhibited significant resilience to stochastic noise and system disruptions. By incorporating a "breakdown exploration" module during training—where server service rates were temporarily set to infinity—the agent learned to rapidly re-route traffic when a node failed. For instance, routing probability for a blocked queue was observed to drop from ~0.78 to ~0.05 almost instantaneously upon failure.

Furthermore, the framework demonstrated strong scalability. While a single training instance sufficed for a 10-node network, the system maintained high performance and confidence in networks of up to 100 nodes with minimal additional training overhead.

Conclusion

This research provides a robust, simulation-driven RL framework for queuing network optimization. By combining continuous control with enhanced Dyna-style planning and rigorous software engineering practices, the approach achieves high sample efficiency and operational resilience. Future work will explore multi-agent reinforcement learning (MARL) to address massive-scale telecommunication grids and the modeling of cascading failures in non-Markovian environments.

Summary updated

BibTeX
@misc{alani2025simulation,
  author = {Fatima Al-Ani and Molly Wang and Jevon Charles and Aaron Ong and Joshua Forday and Vinayak Modi},
  title = {{Simulation-Driven Reinforcement Learning in Queuing Network Routing Optimization}},
  year = {2025},
  eprint = {2507.18795},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.18795},
  howpublished = {arXiv},
}
Figure