Abstract
Huang et al. (STOC 2018) introduced the fully online matching problem, a generalization of the classic online bipartite matching problem where all vertices arrive online in general graphs. While it was known that the Ranking algorithm is better than 0.5-competitive and that the problem is harder than the classic version (no algorithm can be $(1-1/e)$-competitive), exact ratios remained elusive. This paper establishes tight competitive ratios for two cornerstone algorithms: Water-Filling and Ranking. We show that a natural instantiation of Water-Filling is $2-\sqrt{2} \approx 0.585$-competitive, and Ranking achieves a tight ratio of $\approx 0.567$ on bipartite graphs.
Introduction: The Fully Online Model
In the classic Online Bipartite Matching problem, a fixed set of "offline" items is matched against a stream of "online" users. However, modern applications like ride-sharing (e.g., Uber, Lyft) require a more flexible model where all participants arrive online. This is the Fully Online Matching model. Here, any vertex can be matched to any other vertex in a general graph, and every vertex has a specific arrival time and deadline.
Previous research established that this model is strictly harder than the classic bipartite version. While greedy approaches yield a 0.5 ratio, determining the precise performance of more sophisticated algorithms like Water-Filling and Ranking has been a significant open question.
Methods and Theoretical Framework
The study focuses on two primary algorithmic classes:
- Water-Filling (Fractional): This algorithm manages fractional matches by matching a vertex at its deadline to neighbors with the lowest "water level" (accumulated match value).
- Ranking (Integral): A randomized algorithm that assigns random ranks to vertices. At its deadline, a vertex matches with its highest-ranked available neighbor.
To analyze these, the authors employ the Randomized Primal-Dual framework. They developed sophisticated "gain-sharing" functions to distribute match values between vertices. To prove these ratios are "tight," they constructed "hard instances"—complex graph structures designed to force the algorithms into worst-case performance scenarios.
Key Insights
- Pumping Up Strategy: For Water-Filling hardness, a dynamic system was created to force the algorithm to "pump up" neighbor water levels, ensuring the combined levels at critical edges hit the $2 - \sqrt{2}$ limit.
- Three-Threshold Characterization: For Ranking, the authors moved beyond simple single-threshold analysis to a three-threshold model. This accounts for the "extra gain" when two vertices match each other, a critical factor in the fully online setting.
- Symmetry: The fractional analysis revealed a near-perfect symmetry between active (at deadline) and passive (neighbor) vertices, enabling the discovery of an optimal linear gain-sharing function.
Key Results and Comparison
The paper provides definitive bounds that close several gaps in the literature, as illustrated in the performance timeline below.
- Water-Filling: Proven to be $2 - \sqrt{2} \approx 0.585$-competitive. This result is tight and also improves the state-of-the-art upper bound for the edge-arrival model from $\approx 0.5906$ to $\approx 0.585$.
- Ranking: Established as $\Omega \approx 0.567$-competitive on bipartite graphs, matching the known hardness result and effectively solving the performance of Ranking in this context.
Conclusion and Future Directions
While this work pins down the performance of classic algorithms, several avenues remain. The tight ratio for Ranking on general graphs is still an open challenge (currently known to be at least 0.521). Additionally, exploring whether non-classic algorithms can exceed these established barriers or investigating "windowed" variants for real-time applications represents the next frontier in online matching theory.
Summary updated