Online Weighted Matching with a Sample
Haim Kaplan, David Naori, Danny Raz
Abstract
We study the greedy-based online algorithm for edge-weighted matching with (one-sided) vertex arrivals in bipartite graphs, and edge arrivals in general graphs. This algorithm was first studied more than a decade ago by Korula and Pál for the bipartite case in the random-order model. While the weighted bipartite matching problem is solved in the random-order model, this is not the case in recent and exciting online models in which the online player is provided with a sample, and the arrival order is adversarial. The greedy-based algorithm is arguably the most natural and practical algorithm to be applied in these models. Despite its simplicity and appeal, and despite being studied in multiple works, the greedy-based algorithm was not fully understood in any of the studied online models, and its actual performance remained an open question for more than a decade.
We provide a thorough analysis of the greedy-based algorithm in several online models. For vertex arrivals in bipartite graphs, we characterize the exact competitive-ratio of this algorithm in the random-order model, for any arrival order of the vertices subsequent to the sampling phase (adversarial and random orders in particular). We use it to derive tight analysis in the recent adversarial-order model with a sample (AOS model) for any sample size, providing the first result in this model beyond the simple secretary problem. Then, we generalize and strengthen the black box method of converting results in the random-order model to single-sample prophet inequalities, and use it to derive the state-of-the-art single-sample prophet inequality for the problem. Finally, we use our new techniques to analyze the greedy-based algorithm for edge arrivals in general graphs and derive results in all the mentioned online models. In this case as well, we improve upon the state-of-the-art single-sample prophet inequality.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 21dda968-a588-437e-8a0a-38d355ddd5ceCited by top-tier papers12
- Online Bipartite Matching with Advice: Tight Robustness-Consistency Tradeoffs for the Two-Stage ModelBilly Jin, Will MaNeurIPS 2022 · 40 citations
- Learning from a Sample in Online AlgorithmsC. J. Argue, Alan M. Frieze, Anupam Gupta, Christopher SeilerNeurIPS 2022 · 16 citations
- Almost Tight Bounds for Online Facility Location in the Random-Order ModelHaim Kaplan, David Naori, Danny RazSODA 2023 · 8 citations
- Single-Sample and Robust Online Resource AllocationRohan Ghuge, Sahil Singla, Yifan WangSTOC 2025 · 8 citations
- "Who is Next in Line?" On the Significance of Knowing the Arrival Order in Bayesian Online SettingsTomer Ezra, Michal Feldman, Nick Gravin, Zhihao Gavin TangSODA 2023 · 7 citations
Builds on3
- Edge-Weighted Online Bipartite MatchingMatthew Fahrbach, Zhiyi Huang, Runzhou Tao, Morteza ZadimoghaddamFOCS 2020 · 33 citations
- Competitive Analysis with a Sample and the Secretary ProblemHaim Kaplan, David Naori, Danny RazSODA 2020 · 26 citations
- The Two-Sided Game of Googol and Sample-Based Prophet InequalitiesJosé R. Correa, Andrés Cristi, Boris Epstein, José A. SotoSODA 2020 · 16 citations
Related papers
- Single-Sample Prophet Inequalities via Greedy-Ordered SelectionConstantine Caramanis, Paul Dütting, Matthew Faw, Federico Fusco et al.SODA 2022 · 12 citations
- Multiway Online Correlated SelectionGuy Blanc, Moses CharikarFOCS 2021 · 16 citations
- Improved Approximation for Ranking on General GraphsMahsa Derakhshan, Mohammad Roghani, Mohammad Saneian, Tao YuSODA 2026
- Online stochastic matching, poisson arrivals, and the natural linear programZhiyi Huang, Xinkai ShuSTOC 2021 · 22 citations
- Online bipartite matching with imperfect adviceDavin Choo, Themistoklis Gouleakis, Chun Kai Ling, Arnab BhattacharyyaICML 2024 · 7 citations
