Abstract
We show that the ratio of matched individuals to blocking pairs grows linearly with the number of propose–accept rounds executed by the Gale–Shapley algorithm for the stable marriage problem. Consequently, the participants can arrive at an almost stable matching even without full information about the problem instance; for each participant, knowing only its local neighbourhood is enough. In distributed-systems parlance, this means that if each person has only a constant number of acceptable partners, an almost stable matching emerges after a constant number of synchronous communication rounds.
We apply our results to give a distributed (2+ε)-approximation algorithm for maximum-weight matching in bicoloured graphs and a centralised randomised constant-time approximation scheme for estimating the size of a stable matching.
Similar content being viewed by others
References
Abraham, D.J., Biró, P., Manlove, D.F.: “Almost stable” matchings in the roommates problem. In: Proc. of the 3rd Workshop on Approximation and Online Algorithms (WAOA), Palma de Mallorca, Spain, October 2005. Lecture Notes in Computer Science, vol. 3879, pp. 1–14. Springer, Berlin (2006)
Angluin, D.: Local and global properties in networks of processors. In: Proc. of the 12th Annual ACM Symposium on Theory of Computing (STOC), Los Angeles, CA, USA, April 1980, pp. 82–93. ACM Press, New York (1980)
Avis, D.: A survey of heuristics for the weighted matching problem. Networks 13(4), 475–493 (1983)
Biró, P., Manlove, D.F., Mittal, S.: Size versus stability in the marriage problem. In: Proc. of the 6th Workshop on Approximation and Online Algorithms (WAOA), Karlsruhe, Germany, September 2008. Lecture Notes in Computer Science, vol. 5426, pp. 15–28. Springer, Berlin (2009)
Czygrinow, A., Hańćkowiak, M., Wawrzyniak, W.: Fast distributed approximations in planar graphs. In: Proc. of the 22nd International Symposium on Distributed Computing (DISC), Arcachon, France, September 2008. Lecture Notes in Computer Science, vol. 5218, pp. 78–92. Springer, Berlin (2008)
Eriksson, K., Häggström, O.: Instability of matchings in decentralized markets with various preference structures. Int. J. Game Theory 36(3–4), 409–420 (2008)
Feder, T., Megiddo, N., Plotkin, S.A.: A sublinear parallel algorithm for stable matching. Theor. Comput. Sci. 233(1–2), 297–308 (2000)
Fleiner, T.: A fixed-point approach to stable matchings and some applications. Math. Oper. Res. 28(1), 103–126 (2003)
Gale, D., Shapley, L.S.: College admissions and the stability of marriage. Am. Math. Mon. 69(1), 9–15 (1962)
Gusfield, D., Irving, R.W.: The Stable Marriage Problem: Structure and Algorithms. MIT Press, Cambridge (1989)
Halldórsson, M.M., Irving, R.W., Iwama, K., Manlove, D.F. (eds): MATCH-UP: matching under preferences—algorithms and complexity. Satellite workshop of ICALP 2008, July 2008
Hańćkowiak, M., Karoński, M., Panconesi, A.: On the distributed complexity of computing maximal matchings. In: Proc. of the 9th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), San Francisco, CA, USA, January 1998, pp. 219–225. Society for Industrial and Applied Mathematics, Philadelphia (1998)
Hassinen, M., Kaasinen, J., Kranakis, E., Polishchuk, V., Suomela, J., Wiese, A.: Analysing local algorithms in location-aware quasi unit-disk graphs (2009, submitted for publication)
Hoepman, J.-H., Kutten, S., Lotker, Z.: Efficient distributed weighted matchings on trees. In: Proc. of the 13th International Colloquium on Structural Information and Communication Complexity (SIROCCO), Chester, UK, July 2006. Lecture Notes in Computer Science, vol. 4056, pp. 115–129. Springer, Berlin (2006)
Hull, M.E.C.: A parallel view of stable marriages. Inf. Process. Lett. 18(2), 63–66 (1984)
Janson, S., Łuczak, T., Rucinski, A.: Random Graphs. Wiley, New York (2000)
Khuller, S., Mitchell, S.G., Vazirani, V.V.: On-line algorithms for weighted bipartite matching and stable marriages. Theor. Comput. Sci. 127(2), 255–267 (1994)
Kipnis, A., Patt-Shamir, B.: A note on distributed stable matching. In: Proc. of the 29th IEEE International Conference on Distributed Computing Systems (ICDCS), pp. 466–473. Montreal, QC, Canada, June 2009. IEEE Computer Society, Los Alamitos (2009)
Knuth, D.E.: Mariages Stables. Les Presses de l’Université de Montréal, Montréal (1976)
Kuhn, F.: The price of locality: exploring the complexity of distributed coordination primitives. Ph.D. thesis, ETH Zürich (2005)
Kuhn, F., Moscibroda, T., Wattenhofer, R.: The price of being near-sighted. In: Proc. of the 17th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), Miami, FL, USA, January 2006, pp. 980–989. ACM, New York (2006)
Linial, N.: Locality in distributed graph algorithms. SIAM J. Comput. 21(1), 193–201 (1992)
Lu, E., Zheng, S.Q.: A parallel iterative improvement stable matching algorithm. In: Proc. of the 10th International Conference on High Performance Computing (HiPC), Hyderabad, India, December 2003. Lecture Notes in Computer Science, vol. 2913, pp. 55–65. Springer, Berlin (2003)
Mayer, A., Naor, M., Stockmeyer, L.: Local computations on static and dynamic graphs. In: Proc. of the 3rd Israel Symposium on the Theory of Computing and Systems (ISTCS), Tel Aviv, Israel, January 1995, pp. 268–278. IEEE, Piscataway (1995)
Moscibroda, T.: Locality, scheduling, and selfishness: algorithmic foundations of highly decentralized networks. Ph.D. thesis, ETH Zürich (2006)
Naor, M., Stockmeyer, L.: What can be computed locally? SIAM J. Comput. 24(6), 1259–1277 (1995)
Nguyen, H.N., Onak, K.: Constant-time approximation algorithms via local improvements. In: Proc. of the 49th Annual IEEE Symposium on Foundations of Computer Science (FOCS), Philadelphia, PA, USA, October 2008, pp. 327–336. IEEE Computer Society, Los Alamitos (2008)
Parnas, M., Ron, D.: Approximating the minimum vertex cover in sublinear time and a connection to distributed algorithms. Theor. Comput. Sci. 381(1–3), 183–196 (2007)
Quinn, M.J.: A note on two parallel algorithms to solve the stable marriage problem. BIT Numer. Math. 25(3), 473–476 (1985)
Roth, A.E., Vande Vate, J.H.: Random paths to stability in two-sided matching. Econometrica 58(6), 1475–1480 (1990)
Suomela, J.: Survey of local algorithms. http://www.iki.fi/jukka.suomela/local-survey (2009, submitted for publication)
Tseng, S.S.: The average performance of a parallel stable marriage algorithm. BIT Numer. Math. 29(3), 448–456 (1989)
Tseng, S.S., Lee, R.C.T.: A parallel algorithm to solve the stable marriage problem. BIT Numer. Math. 24(3), 308–316 (1984)
Wattenhofer, M., Wattenhofer, R.: Distributed weighted matching. In: Proc. of the 18th International Symposium on Distributed Computing (DISC), Amsterdam, The Netherlands, October 2004. Lecture Notes in Computer Science, vol. 3274, pp. 335–348. Springer, Berlin (2004)
Wiese, A., Kranakis, E.: Local maximal matching and local 2-approximation for vertex cover in UDGs. In: Proc. of the 7th International Conference on Ad-Hoc Networks & Wireless (AdHoc-NOW), Sophia Antipolis, France, September 2008. Lecture Notes in Computer Science, vol. 5198, pp. 1–14. Springer, Berlin (2008)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Floréen, P., Kaski, P., Polishchuk, V. et al. Almost Stable Matchings by Truncating the Gale–Shapley Algorithm. Algorithmica 58, 102–118 (2010). https://doi.org/10.1007/s00453-009-9353-9
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-009-9353-9