POND: Pessimistic-Optimistic oNline Dispatch

Xin Liu, Bin Li, Pengyi Shi, Lei YingarXiv 2020

Abstract

Online dispatching is a fundamental challenge in real-time systems, requiring immediate decisions under uncertainty to maximize rewards while adhering to strict constraints. This paper introduces POND (Pessimistic-Optimistic oNline Dispatching), an algorithm that achieves the theoretical "gold standard" for this problem: $O(\sqrt{T})$ regret and $O(1)$ constraint violations. By combining optimistic reward estimation with a novel pessimistic approach to constraint tracking, POND effectively balances exploration and feasibility in unknown environments.

Introduction

In many real-world scenarios—such as routing emergency room patients, matching advertisements to users, or assigning tasks in crowdsourcing platforms—dispatchers must make sequential decisions without knowing future job arrivals or reward distributions. The goal is to maximize cumulative rewards while satisfying long-term constraints like budget limits, server capacities, or fairness requirements.

Existing algorithms often face a stark trade-off: maximizing rewards typically leads to high constraint violations, while strict adherence to rules often results in significant lost revenue. POND overcomes this by maintaining near-zero violations while achieving optimal regret.

The Online Dispatching Problem

The core challenge involves matching incoming jobs to available resources (servers) over a time horizon $T$. As shown in the system model below, arrivals ($\lambda$) and service outcomes ($\mu$) are often stochastic and unknown to the dispatcher at the start.

System model for online dispatching with unknown parameters.

The POND Algorithm: Optimism meets Pessimism

POND utilizes a two-pronged strategy to navigate the exploration-exploitation trade-off and constraint management:

  1. Optimistic Learning (The "O" in POND): To handle unknown rewards, POND employs Upper Confidence Bound (UCB) or MOSS. By overestimating potential rewards, the algorithm is encouraged to explore different dispatching options, ensuring it doesn't converge prematurely on sub-optimal strategies.
  2. Pessimistic Tracking (The "P" in POND): Constraints are managed via Virtual Queues that track cumulative violations. The innovation in POND is the introduction of a tightness constant ($\epsilon$). By adding a small offset ($O(1/\sqrt{T})$) to queue updates, the algorithm acts as if constraints are slightly more restrictive than they are. This "pessimism" ensures that actual violations remain constant ($O(1)$) rather than growing with time.
  3. MaxWeight Dispatching: At each step, POND selects the job-to-server match that maximizes a weighted sum of the optimistic reward and the pessimistic state of the virtual queues.

Experimental Evaluation

The researchers evaluated POND using both synthetic simulations and a real-world online tutoring dataset from Amazon Mechanical Turk.

Key Results

Theoretical analysis proves that POND's performance is "sharp," meaning its $O(\sqrt{T})$ regret and $O(1)$ violation are the best possible orders of magnitude. Empirical results support these findings:

  • Superior Regret and Violation: In synthetic tests ($T=10,000$), POND with a tightness of 0.5 achieved significantly lower regret (323) compared to the Explore-Then-Commit (ETC) baseline (536), while keeping resource violations near zero.
  • Impact of Tightness: As illustrated in the performance plots, increasing the tightness parameter effectively suppresses constraint violations without significantly degrading regret performance.
Regret and violation metrics for POND under different tightness settings.
  • Real-World Application: On the tutoring dataset, POND outperformed baselines by achieving higher average rewards (0.366 vs 0.355) while maintaining stable and low constraint violations, demonstrating its robustness to real-world variability.

Conclusion

POND represents a significant advancement in online dispatching. By integrating a tightness constant into a virtual queue framework, it successfully decouples reward maximization from constraint satisfaction, achieving optimal performance on both fronts. Future work will focus on extending POND to non-stationary environments and settings where the time horizon $T$ is unknown.

Summary updated

BibTeX
@misc{liu2020pond,
  author = {Xin Liu and Bin Li and Pengyi Shi and Lei Ying},
  title = {{POND: Pessimistic-Optimistic oNline Dispatch}},
  year = {2020},
  eprint = {2010.09995},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.09995},
}
Figure