Abstract
In the classical secretary problem, multiple secretaries arrive one at a time to compete for a single position, and the goal is to choose the best secretary to the job while knowing the candidate’s quality only with respect to the preceding candidates. In this paper we define and study a new variant of the secretary problem, in which there are multiple jobs. The applicants are ranked relatively upon arrival as usual, and, in addition, we assume that the jobs are also ranked. The main conceptual novelty in our model is that we evaluate a matching using the notion of blocking pairs from Gale and Shapley’s stable matching theory. Specifically, our goal is to maximize the number of matched jobs (or applicants) that do not take part in a blocking pair. We study the cases where applicants arrive randomly or in adversarial order, and provide upper and lower bounds on the quality of the possible assignment assuming all jobs and applicants are totally ordered. Among other results, we show that when arrival is uniformly random, a constant fraction of the jobs can be satisfied in expectation, or a constant fraction of the applicants, but not a constant fraction of the matched pairs.
Similar content being viewed by others
Notes
This assumption may be appropriate in some cases (e.g., the taxi dispatch example above), and overly simplistic in other cases. But then again, simplification is a standard tool when coping with problems. Indeed, even in the original secretary problem, we make the dubious simplifying assumption that the compatibility of people to a job can be linearly ordered.
To see why this holds, consider an instance with 2n applicants and 2n jobs and suppose that the algorithm is provided with additional information so that upon arrival of the applicant whose ranking is \(1 \le i \le 2 n\), the algorithm is reported that its ranking is either \(2 \lceil i/2 \rceil - 1\) or \(2 \lceil i/2 \rceil \). In this (clearly easier) case, the algorithm is left with n (independent) binary decisions, hence the problem reduces to correctly guessing the outcome of n (unbiased) coin tosses.
Such services for matching professional companions for the elderly are popular in some countries.
Note that these are absolute numbers, whereas the table shows approximation ratios.
Throughout, the terms weak and strong refer to the preference order \(\succ \) in the natural manner.
References
Abraham, D.J., Biró, P., Manlove, D.: “Almost stable” matchings in the roommates problem. In: Proceedings of Approximation and Online Algorithms, Third International Workshop (WAOA), pp. 1–14 (2005)
Aggarwal, G., Goel, G., Karande, C., Mehta, A.: Online vertex-weighted bipartite matching and single-bid budgeted allocations. In: Proceedings of the Twenty-second Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 1253–1264 (2011)
Ashlagi, I., Burq, M., Jaillet, P., Manshadi, V.H.: On matching and thickness in heterogeneous dynamic markets. In: Proceedings of the 2016 ACM Conference on Economics and Computation (EC), p. 765 (2016)
Ashlagi, I., Kanoria, Y., Leshno, J.D.: Unbalanced random matching markets: the stark effect of competition. J. Polit. Econ. 125, 69–98 (2016)
Babaioff, M., Immorlica, N., Kleinberg, R.: Matroids, secretary problems, and online mechanisms. In: Proceedings of the Eighteenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 434–443 (2007)
Baccara, M., Lee, S., Yariv, L.: Optimal dynamic matching. Available at SSRN: http://ssrn.com/abstract=2641670, (2015)
Birnbaum, B.E., Mathieu, C.: On-line bipartite matching made simple. SIGACT News 39(1), 80–87 (2008)
Chen, N., Hoefer, M., Künnemann, M., Lin, C., Miao, P.: Secretary markets with local information. In: Proceedings of Automata, Languages, and Programming—42nd International Colloquium (ICALP), pp. 552–563 (2015)
Cheng, C.T.: On the stable matchings that can be reached when the agents go marching in one by one. SIAM J. Discrete Math. 30(4), 2047–2063 (2016)
Devanur, N.R., Jain, K., Kleinberg, R.D.: Randomized primal-dual analysis of RANKING for online bipartite matching. In: Proceedings of the Twenty-Fourth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 101–107 (2013)
Dinitz, M.: Recent advances on the matroid secretary problem. ACM SIGACT News 44(2), 126–142 (2013)
Emek, Y., Kutten, S., Wattenhofer, R.: Online matching: haste makes waste! In: Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing (STOC), pp. 333–344 (2016)
Eriksson, K., Häggström, O.: Instability of matchings in decentralized markets with various preference structures. Int. J. Game Theory 36(3), 409–420 (2008)
Feldman, M., Svensson, O., Zenklusen, R.: A simple o(log log(rank))-competitive algorithm for the matroid secretary problem. In: Proceedings of the Twenty-sixth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 1189–1201 (2015)
Ferguson, T.S.: Who solved the secretary problem? Stat. Sci. 4(3), 282–296 (1989)
Gale, D., Shapley, L.S.: College admissions and the stability of marriage. Am. Math. Mon. 69, 9–15 (1962)
Gardner, M.: New Mathematical Diversions from Scientific American, chapter 3, problem 3. Simon and Schuster, 1966. Reprint of the original column published in February 1960 with additional comments
Goel, G., Mehta, A.: Online budgeted matching in random input models with applications to adwords. In: Proceedings of the Nineteenth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 982–991 (2008)
Gusfield, D., Irving, R.W.: The Stable Marriage Problem: Structure and Algorithms. MIT Press, Cambridge (1989)
Hassidim, A., Mansour, Y., Vardi, S.: Local computation mechanism design. ACM Trans. Econ. Comput. 4(4), 21:1–21:24 (2016)
Karp, R.M., Vazirani, U.V., Vazirani, V.V.: An optimal algorithm for on-line bipartite matching. In: Proceedings of the Twenty-second Annual ACM Symposium on Theory of Computing (STOC), pp. 352–358 (1990)
Kesselheim, T., Radke, K., Tönnis, A., Vöcking, B.: An optimal online algorithm for weighted bipartite matching and extensions to combinatorial auctions. In: Proceedings of the 21st Annual European Symposium on Algorithms (ESA), pp. 589–600 (2013)
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)
Korula, N., Pál, M.: Algorithms for secretary problems on graphs and hypergraphs. In: Automata, Languages and Programming, 36th Internatilonal Colloquium, ICALP 2009, Rhodes, Greece, July 5-12, 2009, Proceedings, Part II, pp. 508–520 (2009)
Lachish, O.: O(log log rank) competitive ratio for the matroid secretary problem. In: Proceedings of the 55th IEEE Annual Symposium on Foundations of Computer Science (FOCS), pp. 326–335 (2014)
Ma, J.: On randomized matching mechanisms. Econ. Theory 8(2), 377–381 (1996)
Miyazaki, S.: On the advice complexity of online bipartite matching and online stable marriage. Inf. Process. Lett. 114(12), 714–717 (2014)
Naor, J., Wajc, D.: Near-optimum online ad allocation for targeted advertising. In: Proceedings of the Sixteenth ACM Conference on Economics and Computation (EC), pp. 131–148 (2015)
Ostrovsky, R., Rosenbaum, W.: Fast distributed almost stable matchings. In: Proceedings of the 2015 ACM Symposium on Principles of Distributed Computing (PODC), pp. 101–108 (2015)
Roth, A.E.: New physicians: a natural experiment in market organization. Science 250(4987), 1524–1528 (1990)
Rubinstein, A.: Beyond matroids: Secretary problem and prophet inequality with general constraints. In: Proceedings of the Forty-eighth Annual ACM Symposium on Theory of Computing (STOC), pp. 324–332 (2016)
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Y. Babichenko was supported by the Israel Science Foundation Grant Number 2021296.
The work of Y. Emek was supported in part by an Israeli Science Foundation Grant Number 1016/17 and by grants from the Bernard M. Gordon Center for Systems Engineering and the Center for Security Science and Technology at the Technion.
The work of M. Feldman was partially supported by the European Research Council under the European Union’s Seventh Framework Programme (FP7/2007-2013)/ERC grant agreement number 337122.
The work of B. Patt-Shamir was supported in part by the Israel Science Foundation Grant Number 1444/14.
R. Smorodinsky was supported by GIF research Grant No. I-1419-118.4/2017, Technion VPR grants, the Bernard M. Gordon Center for Systems Engineering at the Technion, and the TASP Center at the Technion.
Appendices
Appendix
Additional Proofs
Proof of Observation 2.6
Fix \(q = \lceil k/\ell \rceil \) and observe that for every \(r \le \ell \), we have
It follows that
and
By taking \(c \ge 3\) so that \(r \le \ell \le k/3\), we ensure that
thus
where the second transition follows by taking \(c \ge 2.54\) so that \(2/\ell \le 0.79\). Therefore,
which establishes the assertion as \(e^{-4/5} - e^{-1} \approx 1/12.28\). \(\square \)
Proof of Observation 3.4
Recall the classical secretary problem in which \(\mathtt {DM}\) has to stop upon the arrival of some x and the objective is to maximize the probability that x is the most preferred boy. The optimal strategy in the secretary problem is to wait until time \(k\approx \tfrac{1}{e} n\), and then stop upon the first arrival of a boy who is more preferred than all of the previous boys. The probability of success converges to \(\tfrac{1}{e}\), as n grows.
From the solution to the secretary problem we device a matching strategy as follows: in the first \(k=\lfloor \tfrac{1}{e} n\rfloor \) steps, match the boys with arbitrary girls who are neither the most preferred nor the least preferred girl. Continue in the same manner while reserving the most and least preferred girls for the first arrivals of boys who are either more preferred or less preferred than all previous boys. Upon the first arrival of a boy x who is more preferred than all previous boys, match x with the most preferred girl. Similarly, match the first boy who is less preferred than all previous boys with the least preferred girl. At times \(n-1\) and n match the arriving boys arbitrarily.
In any matching in which the most (resp. least) preferred boy and girl are matched together, they form a satisfied pair; therefore, by the guarantee of the secretary problem solution and the additivity of expectation, the proposed algorithm guarantees an expected number of \(\frac{2}{e} -o(1)\) satisfied pairs. \(\square \)
Rights and permissions
About this article
Cite this article
Babichenko, Y., Emek, Y., Feldman, M. et al. Stable Secretaries. Algorithmica 81, 3136–3161 (2019). https://doi.org/10.1007/s00453-019-00569-6
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-019-00569-6