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

Randomized scheduling algorithm for queueing networks

Devavrat Shah, Jinwoo Shin

Abstract There has recently been considerable interest in the design of low-complexity, myopic, distributed, and stable scheduling algorithms for constrained queueing network models that arise in the context of emerging communication networks. This paper considers two representative models: a queueing network capturing randomly varying packet counts in wireless nodes and a buffered circuit-switched network model for the optical core of the future internet. While the Maximum Weight (MW) scheduling algorithm is known to be stable, it is computationally expensive (NP-hard), centralized, and inapplicable to non-preemptive services. We present a stable scheduling algorithm for both models that is myopic, distributed, and requires only a few logical operations per node per unit of time.

Introduction

In modern communication networks, the scheduler acts as the primary mechanism for resource allocation, determining which nodes or links may transmit data at any given moment. The goal is to maximize throughput while maintaining network stability—ensuring that queues do not grow indefinitely. Historically, the Maximum Weight (MW) algorithm, proposed by Tassiulas and Ephremides in 1992, has served as the theoretical benchmark for stability. However, the practical implementation of MW is hindered by its requirement for a centralized controller and the fact that finding the optimal schedule is often an NP-hard problem.

This paper by Devavrat Shah and Jinwoo Shin introduces a randomized scheduling algorithm that overcomes these hurdles. By leveraging Markovian dynamics and a novel weight-function approach, the authors provide a distributed solution that achieves throughput optimality in both packet-switched wireless networks and flow-level circuit-switched networks.

The Limitations of Traditional Scheduling

The Maximum Weight algorithm is mathematically proven to be "stable," meaning it can handle any traffic load within the network's physical capacity. Despite this, it suffers from three critical flaws:

  1. Computational Complexity: In wireless networks with interference constraints, finding the maximum weight set of transmissions is equivalent to the Maximum Weight Independent Set problem, which is NP-hard.
  2. Centralization: MW requires global knowledge of every queue size in the network, making it difficult to scale in distributed environments.
  3. Preemption Constraints: MW is generally unsuitable for circuit-switched networks (like optical cores), where transmissions (calls or flows) cannot be preempted or interrupted once they have begun.

The Randomized Scheduling Framework

The proposed algorithm moves away from explicit optimization and instead utilizes a randomized, asynchronous approach. The network is modeled as a graph $G = (V, E)$, where nodes represent transmission links and edges represent interference.

Asynchronous Dynamics

Instead of a global clock, each node in the network operates on its own independent Poisson clock. A node only re-evaluates its state (transmitting or idle) when its specific clock ticks. This ensures that the algorithm remains entirely distributed and asynchronous.

Local Decision Rules

When a node's clock ticks, it makes a decision based solely on its local environment. If any of its neighbors in the interference graph are currently transmitting, the node remains idle to avoid collisions. If no neighbors are active, the node decides whether to start transmitting based on a probability tied to its current "weight."

The Innovation of Slowly Varying Weights

The most significant contribution of this research is the introduction of a "slowly varying" weight function. Traditional MW algorithms use the raw queue size ($Q$) as the weight. Shah and Shin propose using a function such as $f(Q) = \log \log(Q + e)$.

Because the $\log \log$ function grows extremely slowly, the queue sizes appear effectively "frozen" relative to the scheduling algorithm's dynamics. This creates a "time-scale separation" that allows the randomized process (based on Glauber dynamics from statistical physics) to reach a near-optimal steady state before the underlying traffic demands change significantly. This separation is the key to proving that the randomized algorithm can mimic the performance of the NP-hard MW algorithm.

Key Results and Stability

The authors provide rigorous mathematical proofs (Theorems 1 and 2) demonstrating that this algorithm is throughput optimal.

  • Wireless Networks: The algorithm maintains stability for any arrival rate within the capacity region of the packet-level model.
  • Circuit-Switched Networks: Unlike previous models, this algorithm successfully handles non-preemptive flows, making it applicable to optical core networks where flows must be served to completion without interruption.
  • Efficiency: Each node performs only a few logical operations per unit time, and the complexity does not scale with the total number of nodes in the network.

Discussion and Future Work

While the algorithm represents a major step forward, it does have specific requirements. The formal proof of stability currently relies on nodes having access to the maximum queue size in the network ($Q_{max}$) to tune the algorithm's parameters. While the authors suggest $Q_{max}$ can be estimated via distributed gossip protocols, they conjecture that the algorithm would remain stable using only local queue information—a hypothesis left for future verification.

Additionally, there is an inherent trade-off between the simplicity of the randomized approach and the latency experienced by packets. Because the weight function changes slowly, the system may take longer to react to sudden bursts of traffic compared to a centralized scheduler. Optimizing this delay performance remains a primary objective for future research in distributed network scheduling.

Summary updated

BibTeX
@article{shah2012randomized,
  author = {Devavrat Shah and Jinwoo Shin},
  title = {{Randomized scheduling algorithm for queueing networks}},
  journal = {The Annals of Applied Probability},
  year = {2012},
  doi = {10.1214/11-aap763},
}
Figure