Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

An Experimental Study of Algorithms for Online Bipartite Matching

Published: 13 March 2020 Publication History
  • Get Citation Alerts
  • Abstract

    We perform an experimental study of algorithms for online bipartite matching under the known i.i.d input model with integral types. In the last decade, there has been substantial effort in designing complex algorithms to improve worst-case approximation ratios. Our goal is to determine how these algorithms perform on more practical instances rather than worst-case instances. In particular, we are interested in whether the ranking of the algorithms by their worst-case performance is consistent with the ranking of the algorithms by their average-case/practical performance. We are also interested in whether preprocessing times and implementation difficulties that are introduced by these algorithms are justified in practice. To that end, we evaluate these algorithms on different random inputs as well as real-life instances obtained from publicly available repositories. We compare these algorithms against several simple greedy-style algorithms. Most of the complex algorithms in the literature are presented as being non-greedy (i.e., an algorithm can intentionally skip matching a node that has available neighbors) to simplify the analysis. Every such algorithm can be turned into a greedy one without hurting its worst-case performance. On our benchmarks, non-greedy versions of these algorithms perform much worse than their greedy versions. Greedy versions perform about as well as the simplest greedy algorithm by itself. This, together with our other findings, suggests that simplest greedy algorithms are competitive with the state-of-the-art worst-case algorithms for online bipartite matching on many average-case and practical input families. Greediness is by far the most important property of online algorithms for bipartite matching.

    References

    [1]
    [n.d.]. GNU Linear Programming Kit, Version 4.32. Retrieved May 11, 2018 from http://www.gnu.org/software/glpk/glpk.htm
    [2]
    Denis Pankratov, Allan Borodin, and Christodoulos Karavasilis. [n.d.]. Online Bipartite Matching Library. Retrieved August 8, 2018 from https://users.encs.concordia.ca/∼denisp/online-bm-lib.tar.gz.
    [3]
    Bahman Bahmani and Michael Kapralov. 2010. Improved bounds for online stochastic matching. In Proc. of ESA. 170--181.
    [4]
    Yonatan Bilu and Nathan Linial. 2012. Are stable instances easy? Combinatorics, Probability 8 Computing 21, 5 (2012), 643--660.
    [5]
    A. Borodin, C. Karavasilis, and D. Pankratov. 2018. Greedy bipartite matching in random type Poisson arrival model. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX/RANDOM 2018. 5:1--5:15.
    [6]
    Allan Borodin, Denis Pankratov, and Amirali Salehi-Abari. 2018. On conceptually simple algorithms for variants of online bipartite matching. In Approximation and Online Algorithms, Roberto Solis-Oba and Rudolf Fleischer (Eds.). Springer International Publishing, 253--268.
    [7]
    Joan Boyar, Lene M. Favrholdt, Christian Kudahl, Kim S. Larsen, and Jesper W. Mikkelsen. [n.d.]. Online algorithms with advice: A survey. ACM Comput. Surv. 50, 2 ([n. d.]), 19:1--19:34.
    [8]
    Brian Brubach, Karthik Abinav Sankararaman, Aravind Srinivasan, and Pan Xu. 2016. New algorithms, better bounds, and a novel model for online stochastic matching. In Proc. of ESA. 24:1--24:16.
    [9]
    Boris V. Cherkassky, Andrew V. Goldberg, Joao C. Setubal, and Jorge Stolfi. 1998. Augment or push: A computational study of bipartite matching and unit-capacity flow algorithms. Journal of Experimental Algorithmics 3, 8 (1998).
    [10]
    Nikhil R. Devanur, Kamal Jain, and Robert D. Kleinberg. 2013. Randomized primal-dual analysis of RANKING for online bipartite matching. In Proc. of SODA. 101--107.
    [11]
    Christoph Dürr, Christian Konrad, and Marc Renault. 2016. On the power of advice and randomization for online bipartite matching. In Proc. of ESA. 37:1--37:16.
    [12]
    Jon Feldman, Aranyak Mehta, Vahab S. Mirrokni, and S. Muthukrishnan. 2009. Online stochastic matching: Beating 1-1/e. In FOCS 2009. 117--126.
    [13]
    Rajiv Gandhi, Samir Khuller, Srinivasan Parthasarathy, and Aravind Srinivasan. 2006. Dependent rounding and its applications to approximation algorithms. Journal of the ACM 53, 3 (May 2006), 324--360.
    [14]
    Gagan Goel and Aranyak Mehta. 2008. Online budgeted matching in random input models with applications to adwords. In Proc. of SODA. 982--991.
    [15]
    Patrick Jaillet and Xin Lu. 2014. Online stochastic matching: New algorithms with better bounds. Mathematics of Operations Research 39, 3 (2014), 624--646.
    [16]
    Richard M. Karp and Michael Sipser. 1981. Maximum matchings in sparse random graphs. In 22nd Annual Symposium on Foundations of Computer Science, 1981. 364--375.
    [17]
    R. M. Karp, U. V. Vazirani, and V. V. Vazirani. 1990. An optimal algorithm for on-line bipartite matching. In Proc. of STOC. 352--358.
    [18]
    Johannes Langguth, Fredrik Manne, and Peter Sanders. 2010. Heuristic initialization for bipartite matching problems. ACM Journal of Experimental Algorithmics 15 (2010).
    [19]
    Jacob Magun. 1998. Greedy matching algorithms, an experimental study. ACM Journal of Experimental Algorithms 3 (1998).
    [20]
    Mohammad Mahdian and Qiqi Yan. 2011. Online bipartite matching with random arrivals: An approach based on strongly factor-revealing LPs. In Proc. of STOC. 597--606.
    [21]
    Vahideh H. Manshadi, Shayan Oveis Gharan, and Amin Saberi. 2011. Online stochastic matching: Online actions based on offline statistics. In Proc. of SODA. 1285--1294.
    [22]
    A. Mastin and P. Jaillet. 2013. Greedy online bipartite matching on random graphs. ArXiv e-prints (July 2013). arxiv:cs.DS/1307.2536
    [23]
    A. Mehta. 2012. Online matching and ad allocation. Theoretical Computer Science 8, 4 (2012), 265--368,
    [24]
    Molloy Michael and Reed Bruce. 1995. A critical point for random graphs with a given degree sequence. Random Structures 8 Algorithms 6, 2--3 (1995), 161--180. arXiv:https://onlinelibrary.wiley.com/doi/pdf/10.1002/rsa.3240060204.
    [25]
    Mark E. J. Newman, Duncan J. Watts, and Steven H. Strogatz. 2002. Random graph models of social networks. Proceedings of the National Academy of Sciences USA 99, Suppl 1 (2002), 2566--2572.
    [26]
    Nicolas Pena and Allan Borodin. 2019. On extensions of the deterministic online model for bipartite matching and max-sat. Theoretical Computer Science 770 (2019), 1--24.
    [27]
    Ryan A. Rossi and Nesreen K. Ahmed. 2015. The network data repository with interactive graph analytics and visualization. In Proceedings of the 29th AAAI Conference on Artificial Intelligence. http://networkrepository.com.
    [28]
    Alvin E. Roth, Tayfun Sönmez, and M. Utku Ünver. 2007. Efficient kidney exchange: Coincidence of wants in markets with compatibility-based preferences. American Economic Review 97, 3 (June 2007), 828--851.
    [29]
    Daniel A. Spielman and Shang-Hua Teng. 2009. Smoothed analysis: An attempt to explain the behavior of algorithms in practice. Communications of the ACM 52, 10 (2009), 76--84.

    Cited By

    View all
    • (2024)Max-min greedy matching problem: Hardness for the adversary and fractional variantTheoretical Computer Science10.1016/j.tcs.2023.114329986(114329)Online publication date: Feb-2024
    • (2023)Continuous Similarity Search for Dynamic Text StreamsIEICE Transactions on Information and Systems10.1587/transinf.2022EDP7229E106.D:12(2026-2035)Online publication date: 1-Dec-2023
    • (2023)Fairness Maximization among Offline Agents in Online-Matching MarketsACM Transactions on Economics and Computation10.1145/356970510:4(1-27)Online publication date: 5-Apr-2023
    • Show More Cited By

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Journal of Experimental Algorithmics
    ACM Journal of Experimental Algorithmics  Volume 25, Issue
    Special Issue ALENEX 2018 and Regular Papers
    2020
    313 pages
    ISSN:1084-6654
    EISSN:1084-6654
    DOI:10.1145/3388470
    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: 13 March 2020
    Accepted: 01 October 2019
    Revised: 01 September 2019
    Received: 01 November 2018
    Published in JEA Volume 25

    Author Tags

    1. Bipartite graphs
    2. bipartite matching
    3. greedy algorithms
    4. stochastic input models

    Qualifiers

    • Research-article
    • Research
    • Refereed

    Funding Sources

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)60
    • Downloads (Last 6 weeks)2
    Reflects downloads up to 28 Jul 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Max-min greedy matching problem: Hardness for the adversary and fractional variantTheoretical Computer Science10.1016/j.tcs.2023.114329986(114329)Online publication date: Feb-2024
    • (2023)Continuous Similarity Search for Dynamic Text StreamsIEICE Transactions on Information and Systems10.1587/transinf.2022EDP7229E106.D:12(2026-2035)Online publication date: 1-Dec-2023
    • (2023)Fairness Maximization among Offline Agents in Online-Matching MarketsACM Transactions on Economics and Computation10.1145/356970510:4(1-27)Online publication date: 5-Apr-2023
    • (2023)Online Bipartite Matching for HAP Access in Space-Air-Ground Integrated Networks using Graph Neural Network-Enhanced Reinforcement Learning2023 IEEE International Conference on Communications Workshops (ICC Workshops)10.1109/ICCWorkshops57953.2023.10283750(782-787)Online publication date: 28-May-2023
    • (2023)Max-Min Greedy Matching Problem: Hardness for the Adversary and Fractional VariantFrontiers of Algorithmics10.1007/978-3-031-39344-0_7(85-104)Online publication date: 14-Aug-2023
    • (2022)Learn from history for online bipartite matchingJournal of Combinatorial Optimization10.1007/s10878-022-00916-444:5(3611-3640)Online publication date: 1-Dec-2022

    View Options

    Get Access

    Login options

    Full Access

    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

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media