skip to main content
research-article
Public Access

Maximum Matching in the Online Batch-arrival Model

Published: 20 July 2020 Publication History

Abstract

Consider a two-stage matching problem, where edges of an input graph are revealed in two stages (batches) and in each stage we have to immediately and irrevocably extend our matching using the edges from that stage. The natural greedy algorithm is half competitive. Even though there is a huge literature on online matching in adversarial vertex arrival model, no positive results were previously known in adversarial edge arrival model.
For two-stage bipartite matching problem, we show that the optimal competitive ratio is exactly 2/3 in both the fractional and the randomized-integral models. Furthermore, our algorithm for fractional bipartite matching is instance optimal, i.e., it achieves the best competitive ratio for any given first stage graph. We also study natural extensions of this problem to general graphs and to s stages and present randomized-integral algorithms with competitive ratio ½ + 2−O(s).
Our algorithms use a novel Instance-Optimal-LP and combine graph decomposition techniques with online primal-dual analysis.

References

[1]
Gagan Aggarwal, Gagan Goel, Chinmay Karande, and Aranyak Mehta. 2011. Online vertex-weighted bipartite matching 8 single-bid budgeted allocations. In Proceedings of the 22nd Annual ACM-SIAM Symposium on Discrete Algorithms. 1253--1264.
[2]
Avrim Blum, Tuomas Sandholm, and Martin Zinkevich. 2006. Online algorithms for market clearing. J. ACM 53, 5 (2006), 845--879.
[3]
Allan Borodin and Ran El-Yaniv. 2005. Online Computation and Competitive Analysis. Cambridge University Press.
[4]
Niv Buchbinder, Kamal Jain, and Joseph Seffi Naor. 2007. Online primal-dual algorithms for maximizing ad-auctions revenue. In European Symposium on Algorithms. Springer, 253--264.
[5]
Nikhil R. Devanur and Thomas P. Hayes. 2009. The adwords problem: Online keyword matching with budgeted bidders under random permutations. In Proceedings of the 10th ACM Conference on Electronic Commerce. ACM, 71--78.
[6]
Nikhil R. Devanur, Kamal Jain, and Robert D. Kleinberg. 2013. Randomized primal-dual analysis of ranking for online bipartite matching. In Proceedings of the 24th Annual ACM-SIAM Symposium on Discrete Algorithms. 101--107.
[7]
Leah Epstein, Asaf Levin, Julián Mestre, and Danny Segev. 2011. Improved approximation guarantees for weighted matching in the semi-streaming model. SIAM J. Discr. Math. 25, 3 (2011), 1251--1265.
[8]
Leah Epstein, Asaf Levin, Danny Segev, and Oren Weimann. 2013. Improved bounds for online preemptive matching. In Proceedings of the 30th International Symposium on Theoretical Aspects of Computer Science. 389--399.
[9]
Joan Feigenbaum, Sampath Kannan, Andrew McGregor, Siddharth Suri, and Jian Zhang. 2005. On graph problems in a semi-streaming model. Theor. Comput. Sci. 348, 2 (2005), 207--216.
[10]
Jon Feldman, Aranyak Mehta, Vahab Mirrokni, and S. Muthukrishnan. 2009. Online stochastic matching: Beating 1-1/e. In Proceedings of the 50th Annual IEEE Symposium on Foundations of Computer Science (FOCS’09). IEEE, 117--126.
[11]
Amos Fiat and Gerhard J. Woeginger. 1998. Online algorithms: The state of the art. Vol. 1442. Springer.
[12]
Buddhima Gamlath, Michael Kapralov, Andreas Maggiori, Ola Svensson, and David Wajc. 2019. Online matching with general arrivals. In Proceedings of the 60th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2019, Baltimore, Maryland, USA, November 9-12, 2019. 26--37.
[13]
Ashish Goel, Michael Kapralov, and Sanjeev Khanna. 2012. On the communication and streaming complexity of maximum bipartite matching. In Proceedings of the 23rd Annual ACM-SIAM Symposium on Discrete Algorithms. SIAM, 468--485.
[14]
Gagan Goel and Aranyak Mehta. 2008. Online budgeted matching in random input models with applications to adwords. In Proceedings of the 19th Annual ACM-SIAM Symposium on Discrete Algorithms. SIAM, 982--991.
[15]
Daniel Golovin, Vineet Goyal, Valentin Polishchuk, R. Ravi, and Mikko Sysikaski. 2015. Improved approximations for two-stage min-cut and shortest path problems under uncertainty. Math. Program. 149, 1–2 (2015), 167--194.
[16]
Guru Prashanth Guruganesh and Sahil Singla. 2017. Online matroid intersection: Beating half for random arrival. In Proceedings of the 19th International Conference on Integer Programming and Combinatorial Optimization (IPCO’17). 241--253.
[17]
Bernhard Haeupler, Vahab S. Mirrokni, and Morteza Zadimoghaddam. 2011. Online stochastic weighted matching: Improved approximation algorithms. In International Workshop on Internet and Network Economics. Springer, 170--181.
[18]
Michael Kapralov. 2013. Better bounds for matchings in the streaming model. In Proceedings of the 24th Annual ACM-SIAM Symposium on Discrete Algorithms. SIAM, 1679--1697.
[19]
Chinmay Karande, Aranyak Mehta, and Pushkar Tripathi. 2011. Online bipartite matching with unknown distributions. In Proceedings of the 43rd Annual ACM Symposium on Theory of Computing. ACM, 587--596.
[20]
Richard M. Karp, Umesh V. Vazirani, and Vijay V. Vazirani. 1990. An optimal algorithm for on-line bipartite matching. In Proceedings of the 22nd Annual ACM Symposium on Theory of Computing. 352--358.
[21]
Christian Konrad, Frédéric Magniez, and Claire Mathieu. 2012. Maximum matching in semi-streaming with few passes. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques. Springer, 231--242.
[22]
Nitish Korula and Martin Pál. 2009. Algorithms for secretary problems on graphs and hypergraphs. In Proceedings of the International Colloquium on Automata, Languages and Programming. Springer, 508--520.
[23]
Euiwoong Lee and Sahil Singla. 2017. Maximum matching in the online batch-arrival model. In Proceedings of the 19th International Conference, Integer Programming and Combinatorial Optimization (IPCO’17). 355--367.
[24]
László Lovász and Michael D. Plummer. 1986. Matching theory. Ann. Discr. Math 29 (1986).
[25]
Mohammad Mahdian and Qiqi Yan. 2011. Online bipartite matching with random arrivals: an approach based on strongly factor-revealing LPs. In Proceedings of the 43rd Annual ACM Symposium on Theory of Computing. 597--606.
[26]
Vahideh H. Manshadi, Shayan Oveis Gharan, and Amin Saberi. 2012. Online stochastic matching: Online actions based on offline statistics. Math. Operat. Res. 37, 4 (2012), 559--573.
[27]
Aranyak Mehta. 2012. Online matching and ad allocation. Theor. Comput. Sci. 8, 4 (2012), 265--368.
[28]
Aranyak Mehta and Debmalya Panigrahi. 2012. Online matching with stochastic rewards. In Proceedings of the 53rd Annual IEEE Symposium on Foundations of Computer Science (FOCS’12). 728--737.
[29]
Aranyak Mehta, Amin Saberi, Umesh Vazirani, and Vijay Vazirani. 2007. Adwords and generalized online matching. J. ACM 54, 5 (2007), 22.
[30]
Aranyak Mehta, Bo Waggoner, and Morteza Zadimoghaddam. 2015. Online stochastic matching with unequal probabilities. In Proceedings of the 26th Annual ACM-SIAM Symposium on Discrete Algorithms. SIAM, 1388--1404.
[31]
Chaitanya Swamy and David B. Shmoys. 2006. Approximation algorithms for 2-stage stochastic optimization problems. ACM SIGACT News 37, 1 (2006), 33--46.
[32]
Vijay V. Vazirani. 2013. Approximation Algorithms. Springer Science 8 Business Media.
[33]
Yajun Wang and Sam Chiu-wai Wong. 2015. Two-sided online bipartite matching and vertex cover: Beating the greedy algorithm. In Proceedings of the International Colloquium on Automata, Languages, and Programming. Springer, 1070--1081.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Algorithms
ACM Transactions on Algorithms  Volume 16, Issue 4
October 2020
404 pages
ISSN:1549-6325
EISSN:1549-6333
DOI:10.1145/3407674
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 20 July 2020
Accepted: 01 May 2020
Revised: 01 January 2020
Received: 01 January 2019
Published in TALG Volume 16, Issue 4

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Edmonds-Gallai decomposition
  2. OnlineAlgorithms
  3. competitive ratio
  4. matching
  5. primal-dual analysis
  6. semi-streaming

Qualifiers

  • Research-article
  • Research
  • Refereed

Funding Sources

  • NSF
  • Samsung Scholarship and Simons Award
  • CMU Presidential Fellowship
  • Schmidt Foundation

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)227
  • Downloads (Last 6 weeks)22
Reflects downloads up to 05 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format.

HTML Format

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media