We study stochastic online metric matching, in which $n$ requests drawn independently from a common distribution must be matched immediately and irrevocably to $n$ servers in a metric space. Gupta, Guruganesh, Peng, and Wajc [ICALP'19] introduced the Fair-Bias algorithm and proved an $O((\log\log\log n)^2)$ competitive ratio on general metrics. We prove that Fair-Bias is $O(1)$-competitive on every finite metric space when the arrival distribution is known, resolving their open question. Their analysis combines a "balls-and-bins" argument when many free servers remain with a tree-embedding argument when few remain. We replace this division into two regimes with a unified clustered transport analysis. We partition the servers into clusters along a minimum spanning tree tour (as in the twice-around-the-tree algorithm for metric TSP) and extend the balls-and-bins argument from individual servers to clusters to bound the intercluster cost. To bound the intracluster cost, we prove a sharp inequality showing that the minimum spanning tree weight is at most $e$ times the expected offline optimum under arrivals uniform over the $n$ servers. For unknown arrival distributions, we introduce Empirical-Fair-Bias, a $(4ρ+1)$-competitive algorithm, where $ρ$ is the competitive ratio of Fair-Bias under uniform arrivals on the same metric space. Consequently, our algorithm is $O(1)$-competitive on general metrics. Concurrently and independently, Harada [arXiv'26] gives a different algorithm that also yields $O(ρ)$ competitiveness.
翻译:暂无翻译