Skip to main content
Log in

Almost Stable Matchings by Truncating the Gale–Shapley Algorithm

  • Published:
Algorithmica Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. 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)

    Chapter  Google Scholar 

  2. 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)

    Google Scholar 

  3. Avis, D.: A survey of heuristics for the weighted matching problem. Networks 13(4), 475–493 (1983)

    Article  MATH  MathSciNet  Google Scholar 

  4. 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)

    Chapter  Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Article  MATH  Google Scholar 

  7. Feder, T., Megiddo, N., Plotkin, S.A.: A sublinear parallel algorithm for stable matching. Theor. Comput. Sci. 233(1–2), 297–308 (2000)

    Article  MATH  MathSciNet  Google Scholar 

  8. Fleiner, T.: A fixed-point approach to stable matchings and some applications. Math. Oper. Res. 28(1), 103–126 (2003)

    Article  MATH  MathSciNet  Google Scholar 

  9. Gale, D., Shapley, L.S.: College admissions and the stability of marriage. Am. Math. Mon. 69(1), 9–15 (1962)

    Article  MATH  MathSciNet  Google Scholar 

  10. Gusfield, D., Irving, R.W.: The Stable Marriage Problem: Structure and Algorithms. MIT Press, Cambridge (1989)

    MATH  Google Scholar 

  11. 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

  12. 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)

    Google Scholar 

  13. 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)

  14. 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)

    Chapter  Google Scholar 

  15. Hull, M.E.C.: A parallel view of stable marriages. Inf. Process. Lett. 18(2), 63–66 (1984)

    Article  Google Scholar 

  16. Janson, S., Łuczak, T., Rucinski, A.: Random Graphs. Wiley, New York (2000)

    MATH  Google Scholar 

  17. 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)

    Article  MATH  MathSciNet  Google Scholar 

  18. 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)

    Chapter  Google Scholar 

  19. Knuth, D.E.: Mariages Stables. Les Presses de l’Université de Montréal, Montréal (1976)

    MATH  Google Scholar 

  20. Kuhn, F.: The price of locality: exploring the complexity of distributed coordination primitives. Ph.D. thesis, ETH Zürich (2005)

  21. 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)

    Chapter  Google Scholar 

  22. Linial, N.: Locality in distributed graph algorithms. SIAM J. Comput. 21(1), 193–201 (1992)

    Article  MATH  MathSciNet  Google Scholar 

  23. 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)

    Google Scholar 

  24. 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)

    Chapter  Google Scholar 

  25. Moscibroda, T.: Locality, scheduling, and selfishness: algorithmic foundations of highly decentralized networks. Ph.D. thesis, ETH Zürich (2006)

  26. Naor, M., Stockmeyer, L.: What can be computed locally? SIAM J. Comput. 24(6), 1259–1277 (1995)

    Article  MATH  MathSciNet  Google Scholar 

  27. 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)

    Chapter  Google Scholar 

  28. 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)

    Article  MATH  MathSciNet  Google Scholar 

  29. Quinn, M.J.: A note on two parallel algorithms to solve the stable marriage problem. BIT Numer. Math. 25(3), 473–476 (1985)

    Article  MathSciNet  Google Scholar 

  30. Roth, A.E., Vande Vate, J.H.: Random paths to stability in two-sided matching. Econometrica 58(6), 1475–1480 (1990)

    Article  MATH  MathSciNet  Google Scholar 

  31. Suomela, J.: Survey of local algorithms. http://www.iki.fi/jukka.suomela/local-survey (2009, submitted for publication)

  32. Tseng, S.S.: The average performance of a parallel stable marriage algorithm. BIT Numer. Math. 29(3), 448–456 (1989)

    Article  MATH  MathSciNet  Google Scholar 

  33. Tseng, S.S., Lee, R.C.T.: A parallel algorithm to solve the stable marriage problem. BIT Numer. Math. 24(3), 308–316 (1984)

    Article  MATH  MathSciNet  Google Scholar 

  34. 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)

    Google Scholar 

  35. 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)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Valentin Polishchuk.

Rights and permissions

Reprints 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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-009-9353-9

Keywords

Navigation