TL;DR
When platforms like Uber or DoorDash adjust prices based on how busy they are, they have to learn how customers react to both price and wait time—without knowing the demand curve in advance. Treating every possible pricing rule as a separate trial-and-error option is way too slow. This paper introduces QALIF, an online learning algorithm that pools data across different pricing policies and uses the natural physics of queues to focus its learning on the states that actually matter for revenue, achieving near-optimal regret of $O(\sqrt{LT}\log(LT))$ independent of how many queue-length thresholds are allowed.
What Problem Does This Paper Address?
Service systems often use congestion-dependent dynamic pricing: charge less when the queue is short to attract demand, and charge more when the queue is long to regulate congestion. In practice, a company usually has a fixed menu of $L$ approved prices ($0 < p_1 < \dots < p_L$) and decides when to switch between them using $L-1$ queue-length thresholds.
Learning the best threshold policy on the fly is hard for three reasons:
- A combinatorial explosion of policies: With $L$ prices and $K+2$ possible thresholds, there are $\binom{K+L}{L-1}$ valid policies—a number that grows exponentially. Learning each policy's performance independently (like a standard multi-armed bandit) is statistically hopeless.
- An infinite-dimensional demand surface: Customers respond to both price and delay, and the effective arrival rate $\lambda_q^{(\ell)}$ can vary nonparametrically across every queue length $q$ and price $p_\ell$. You can't uniformly estimate infinitely many parameters.
- Endogenous data: The pricing policy you pick today determines which queue lengths and prices you actually observe tomorrow.
Methods
The authors propose QALIF (Queueing-Aware Learning via Information Fusion), which operates over $T$ regenerative cycles—each cycle starts when the queue hits 0 (empty) and ends when it next returns to 0.
Instead of treating each threshold policy as an isolated arm, QALIF exploits the underlying birth–death queueing structure in three ways:
- Cross-policy information fusion: Whenever the system is in state $q$ and posts price $p_\ell$, QALIF records the time spent, upward transitions, and visit counts for that $(q, p_\ell)$ pair. It pools these statistics across all past cycles, regardless of which threshold policy was running at the time.
- Queueing-aware UCBs: Using the pooled data, QALIF builds upper confidence bounds (UCBs) $\bar{\lambda}_q^{(\ell)}(k)$ for each state-price arrival rate, truncated by a known tail stability margin (so the optimistic queue remains stable).
- Simplified optimistic optimization: The authors prove a monotonicity property: stationary revenue is nondecreasing in the arrival rates. Therefore, to find the most optimistic policy over the entire uncertainty set, QALIF simply plugs the upper confidence bounds $\bar{\lambda}(k)$ into the classic product-form stationary distribution formula and picks the best threshold vector.
Datasets
The paper does not use external real-world datasets; instead, it evaluates QALIF on simulated queueing systems with synthetic demand:
- Baseline two-price $M/M/1$ queue: Service rate $\mu = 3$, inverse-quadratic demand $\lambda(p, q) = 4 / (p + 0.003q)^2$, prices $(1, 1.4)$, and maximum thresholds $K \in \{50, 200, 400\}$ over $T = 500$ regenerative cycles (averaged over 100 sample paths).
- Multi-segment case study: A single-server queue ($\mu = 30, K = 400$) with two customer segments (one budget-constrained and delay-sensitive; one higher-valuation and patient) over $T = 100,000$ cycles, testing nested price menus ranging from $L = 2$ to $L = 182$ prices.
Key Insights and Ideas
- Importance–frequency alignment: The authors prove a sensitivity bound showing that the impact of an estimation error in $\lambda_q^{(\ell)}$ on stationary revenue is weighted by the stationary probability $\pi_q^{\boldsymbol{\tau}}(\boldsymbol{\lambda})$. Crucially, $\pi_q^{\boldsymbol{\tau}}(\boldsymbol{\lambda})$ also governs how frequently state $q$ is visited. In other words, the states that matter most for revenue naturally generate the most data, while rarely visited tail states barely affect the objective.
- No uniform estimation needed: Because of this alignment, QALIF never needs to accurately estimate arrival rates for huge queue lengths—and its regret bound doesn't depend on the threshold grid size $K$ at all.
- The price-menu sweet spot: In the multi-segment case study, offering more prices reduces approximation regret (better pricing flexibility) but increases learning regret (more options to explore). Total regret forms a U-shape, meaning a moderately sized menu ($L=26$, or anywhere from $L=11$ to $122$) outperforms the full $182$-price grid when demand must be learned online.
Key Results
- Near-optimal regret: QALIF achieves a cumulative regret upper bound of $O(\sqrt{LT}\log(LT))$ over $T$ cycles, completely independent of $K$. A matching minimax lower bound of $\Omega(\sqrt{LT})$ (on a state-independent subclass) proves this is optimal up to logarithmic factors.
- Beating benchmarks: In the $M/M/1$ experiments, QALIF achieves substantially lower regret than standard bandit algorithms (UCB, Thompson sampling, ETC, $\epsilon$-greedy, successive elimination), stochastic trisection, and an ablation of QALIF without data pooling.
- Scalability: When $K$ increases from $50$ to $400$, the regret of benchmark methods spikes dramatically, whereas QALIF's regret barely budges. In the large-menu study, learning regret scales with $\log L$ at an empirical slope of $0.333$ (even milder than the theoretical $\sqrt{L}$).
Limitations and Future Work
- Known tail stability margin: QALIF relies on prior knowledge of a stability margin ($\bar{\lambda}_q^{(\ell)} \le \bar{r}\mu_q$ for $q \ge H$) to truncate UCBs and guarantee stability during learning (though the authors test a data-driven heuristic in the appendix).
- Waiting for empty queues: Updating policies only when the queue returns to state $0$ can be slow in heavily loaded or multiserver systems; exploring alternative regeneration states is left for future work.
- Heavy-traffic lower bounds: Future work could also characterize how severe congestion affects learning difficulty through regret lower bounds that explicitly capture heavy-traffic effects.
Summary updated