Introduction
In modern digital platforms such as ride-hailing services (Uber, Lyft) or freelance marketplaces (Upwork), a central system must efficiently assign tasks (jobs) to workers (servers). Traditional queueing theory typically assumes that service rates are fixed and known. However, in real-world scenarios, these rates are often unknown and highly dependent on the preferences of the agents involved. For example, a driver may prefer specific routes, or a freelancer may select projects based on their own utility. This paper introduces the "Queueing Matching Bandits" (QMB) framework to address systems where service rates are probabilities determined by the assortment of jobs offered to a server.
System Model and Problem Formulation
The authors model the environment as a multi-class, multi-server queueing system. To capture the choice behavior of servers, they employ a feature-based Multinomial Logit (MNL) model. Each job is represented by a set of known features, while each server has a latent (hidden) preference vector. The service rate is not a static value but a probability that depends on the specific assortment of jobs assigned to a server at any given time.
The primary challenge is twofold: the system must learn these hidden preferences from noisy feedback (whether a job was accepted or rejected) while ensuring that the queues remain stable (i.e., they do not grow infinitely).
Proposed Algorithms: UCB-QMB and TS-QMB
To solve this, the authors propose two algorithms that integrate bandit learning with the classic MaxWeight scheduling policy. MaxWeight is a standard in queueing theory that prioritizes assignments maximizing the product of queue length and service rate. The proposed algorithms substitute unknown true rates with learned estimates:
- UCB-QMB (Upper Confidence Bound): This algorithm estimates preference parameters using an "Online Newton Step" and adds an exploration bonus to account for uncertainty.
- TS-QMB (Thompson Sampling): This version manages the exploration-exploitation tradeoff by sampling preference parameters from a Gaussian posterior distribution.
A key theoretical contribution is proving that these estimated rates, when plugged into a MaxWeight scheduler, still guarantee system stability. The authors demonstrate that the regret—the loss in service compared to an oracle with perfect knowledge—is sublinear at $O(T^{3/4})$, and the average queue length remains bounded.
Experimental Results
The algorithms were tested using synthetic datasets with $N=4$ queues and $K=2$ or $3$ servers. The simulations compared the proposed QMB algorithms against several baselines, including Q-UCB and DAM-UCB, which assume simpler service models.
Key findings include:
- Stability: Both UCB-QMB and TS-QMB successfully stabilized queues, maintaining an average length of $O(\min\{N, K\}/\epsilon)$, where $\epsilon$ represents the system's capacity margin.
- Robustness: While existing baselines saw their queues explode linearly because they could not account for preference-based feedback, the proposed algorithms nearly matched the performance of a perfect-knowledge Oracle.
Conclusion and Future Work
This work provides a rigorous framework for learning agent preferences in queueing systems. By coupling regret analysis with queue stability, the authors show that systems can adapt to complex agent behavior on the fly. Future research directions include improving the computational efficiency of the matching step—which is currently NP-hard—and establishing theoretical lower bounds for regret in preference-based queueing environments.
Summary updated