Unbalanced Random Matching Markets with Partial Preferences
Abstract
Properties of stable matchings in the popular random-matching-market model have been studied for over 50 years. In a random matching market, each agent has complete preferences drawn uniformly and independently at random. Wilson (1972), Knuth (1976) and Pittel (1989) proved that in balanced random matching markets, the proposers are matched to their th choice on average. In this paper, we consider competitive markets with jobs and candidates, and partial lists where each agent only ranks their top choices. Despite the long history of the problem, the following fundamental question remains unanswered for these generalized markets: what is the tight threshold on list length that results in a perfect stable matching with high probability? In this paper, we answer this question exactly – we prove a sharp threshold on the existence of perfect stable matchings when . That is, we show that if , then no stable matching matches all jobs; moreover, if , then all jobs are matched in every stable matching with high probability. This bound improves and generalizes recent results by Kanoria, Min and Qian (2021).
Furthermore, we extend the line of work studying the effect of imbalance on the expected rank of the proposers (termed the “stark effect of competition”). We establish the regime in unbalanced markets that forces this stark effect to take shape in markets with partial preferences.
Keywords and phrases:
stable matching, probabilistic method, Gale-Shapley algorithmCategory:
Track A: Algorithms, Complexity and GamesFunding:
Aditya Potukuchi: Research supported by an NSERC Discovery Grant.Copyright and License:
![[Uncaptioned image]](x1.png)
2012 ACM Subject Classification:
Theory of computation Randomness, geometry and discrete structuresAcknowledgements:
We thank anonymous reviewers for their valuable feedback to help improve this paper.Editors:
Keren Censor-Hillel, Fabrizio Grandoni, Joël Ouaknine, and Gabriele PuppisSeries and Publisher:

1 Introduction
The stable matching problem is a classic problem in computer science, economics and mathematics. In the standard and perhaps antiquated description of the problem as the “stable marriage problem”, the market instance consists of men and women and
a complete preference ordering of size for each, where every man ranks all the women and vice versa. A matching is considered to be stable if no pair of agents would prefer to break off from their current match and match with each other instead. Stability has proved to be an extremely robust notion in the success of centralized two-sided matching markets [26]. The deferred-acceptance (DA) algorithm by Gale and Shapley [9] to compute stable matchings has proved extremely influential and has since been used in many real-life matching markets such as matching doctors to hospitals, students to schools, and applicants to jobs; see for example [27, 1, 2, 8].
Initiated by [28, 17], there has been over 50 years of fascinating research to understand the properties of stable matchings in random-matching markets, where the preferences of the agents are generated uniformly and independently at random.
Typically, the markets studied are
balanced (equal number of agents on both sides) with complete preference lists.
The early results [28, 17, 23] were primarily motivated by the average complexity of the aforementioned DA algorithm. In the process, they uncovered a glimpse into other interesting market phenomena. For instance, if there are candidates applying to jobs, the average candidate is matched to their th preferred job whereas the average job is matched to its th preferred candidate. This quantifies and highlights the stark (and from a real-world perspective, rather untenable) advantage of the candidates over the jobs.
It turns out that this advantage is an artifact of the (unrealistic in some labour markets) assumption of having an equal number of jobs and candidates. Indeed, a particularly remarkable result by [5] shows that having even one extra candidate (i.e., candidates and jobs) reverses the situation entirely. The average matched candidate gets their th preferred job and the average job is matched to their th preferred candidate – as if the jobs were “applying” to the candidates. In general, [5] show that if there were candidates, then the average (matched) candidate gets assigned to their th preferred job. This was dubbed the “stark effect of competition”.
Of course, all of the discussion above assumes that each candidate is required to submit a full ranking of every job. This is infeasible even in mildly-large labor markets such as the National Residency Matching Program (NRMP), college admissions, and school choice (which all rely on the DA algorithm) where there are more than jobs (“positions”). In fact, the NRMP allows each candidate to only provide their top choices.111Candidates submit ranks for free; each additional rank costs $30 up to a maximum of [22]. The efficiency of these labor markets are measured by the number of positions filled (every year the NRMP publishes its “fill rate”). Thus, from the point of view of having every position filled, a fundamental market-design question is:
If each candidate and job only rank only their top choices (uniformly and independently at random), how big does have to be to ensure that all jobs are matched?
Given that the DA algorithm has been in use for over 70 years, first adopted by NRMP in 1952, it is surprising that this natural question has not been answered.
1.1 Our Results
Our main result answers this question. We say that a stable matching is perfect if every job is matched. We tightly characterize the existence of perfect stable matchings in random matching markets with imbalance and partial preferences.
Theorem (Informal Statement of Theorem 6).
Consider a matching market with jobs and candidates where , and each candidate has a uniform-random preference list of length . Then, there is a threshold such that,
-
if , then all stable matchings are perfect with high probability, and
-
if , then no stable matching is perfect with high probability.
Before we proceed, lets put this in context with respect to recent NRMP data. In , there were about registered applicants, and about positions. So going by the prediction of the above theorem with , to ensure that all positions are filled, each applicant should submit their top preferences. Admittedly there are many factors and decades of refinement that determine the details of systems such as medical residency programs. However this back-of-the-envelope calculation, though admittedly fortuitous, does seem to offer a theoretical explanation as to why (a) the NRMP settled on soliciting about preferences over time, and (b) it is able to successfully fill most positions.
To motivate our second result, we refocus on the aforementioned “stark effect of competition” [5]. It turns out that this stark effect is not observed in many real-life datasets. Kanoria et al [15] proposed that this phenomenon is a consequence of the fact that in these settings, the applicants typically apply to a small subset of the jobs. However, this explanation only holds for a restricted parameter range (when and ). We show a general lower bound on the rank that the average (matched) candidates can obtain.
Theorem (Informal Statement of Theorem 12).
Consider a stable matching market with candidates, jobs and uniform-random preference lists of length where and . Let denote the expected rank of the best-possible stable partner each candidate can obtain. Then we have .
To put this result in context, we compare it with the general economic insight in [15] that a matching market exhibits a significant short-side advantage if and only if the number of short side agents who remain unmatched is smaller than the market imbalance. Note that while it is not a priori known how many agents will end up being unmatched, Theorem 12 provides a more complete picture in terms of known market parameters (, and ). In particular, it shows that the stark effect of competition is likely to take shape when the imbalance .
One final point worth noting, is that the characteristics of random matching markets seem to hold when preferences between the candidates are correlated. In particular, [4] show that even when the preferences are tiered (based on public scores), the average ranks observed in random markets continue to hold up to constants. This further provides further explanation for why random matching markets have served as a yardstick for understanding and guiding market-design over many decades [17, 16, 24, 15, 5, 6].
1.2 Background and Prior Work
Let us first review the deferred-acceptance algorithm [20, 9]. Given the preference lists of each candidate and job, consider the following procedure in which the candidates “propose” to jobs on their list. At each point, a candidate without a potential match (chosen arbitrarily) proposes to the highest job on their list that they have not been rejected by yet. On receiving a proposal from a candidate , a job becomes potentially matched to if is the highest ranked among the candidates that have proposed to so far, otherwise rejects . The process goes on until every candidate has either been rejected by every job on their list, or has a potential match. At the end, the potential matches are final.
The DA algorithm has some interesting properties that those unfamiliar may find surprising: (a) it always find a stable matching, and (b) this stable matching results in the best-possible stable partner for all candidates, and the worst-possible stable partner for the jobs. Beyond algorithmic applications, these properties also make DA an important tool in the study of random instances.
The DA algorithm readily generalizes to partial preferences [12]. Notice that if the preference list length is too small, some candidates/jobs may remain unmatched. Remarkably, the set of unmatched agents stays the same in every stable matching (this is referred to as the Lone Wolf Theorem [21]). Thus, if a perfect stable matching exists, then all stable matchings are perfect.
1.3 Model and Discussion
Before we proceed, we formally define the model. Consider a two-sided matching instance with candidates and jobs, where . An edge between a candidate and job occurs independently with probability (thus the resulting graph is a bipartite Erdös-Rényi graph graph). Each candidate and job have random ranking over their neighbors, chosen uniformly and independently. So for example, is the random stable matching instance with complete preference lists. We abuse notation and use to refer both to the stable matching instance (graph and rankings) and the graph itself.
We refer to as the degree of the underlying random graph. One may easily deduce that for a perfect stable matching, it must hold that , since otherwise, has no perfect matching with high probability. As noted before, we show that critical threshold for perfect stable matchings is a bit higher, .
The DA algorithm also naturally motivates another distribution over random stable matching instances, where each candidate chooses a set of (chosen in advance) jobs along with a uniform ranking independently, and each job ranks the candidates uniformly and independently. This is the model used in past work on partial preferences [13, 14, 15]. We use to denote this model, and to denote the analogous model in which the jobs choose their top candidates independently.
As one might expect, the above models are closely related to each other in the sense that some results (particularly, the type we are interested in) often translate between them when . Indeed, we prove that in this regime, a random instance from one of these models can be “sandwiched” using instances of another model that are close enough; see Lemma 4.
Discussion on Theorem 6
For balanced markets (when ), the best-known bound for the threshold for the existence of perfect stable matchings was studied by Pittel [24] in the context of the maximum number of proposals any agent makes in a balanced market with complete preferences, which is proved to be . A note at the end of [24] mentions that the sharp threshold of may be recovered from the results of [25]. However, we are unaware of a self-contained proof of this fact. Thus, our analysis serves as a new combinatorial understanding of the threshold for balanced markets.
The threshold for unbalanced markets was studied by [15], who prove (among other closely related results), the following:
-
If and , then no perfect stable matching exists w.h.p., and,
-
If and , and , all stable matchings are perfect w.h.p.
We improve these results in two significant ways. First, Theorem 6 captures the correct dependence on the imbalance . In particular, when , both the above bounds on are not tight, and the right threshold, as given by Theorem 6 is . Second, we provide a new and (in our opinion) significantly simpler analysis framework which can be leveraged to establish other properties of interest in these markets. An interesting empirical observation made in [15] is that constants hidden in their bounds are much smaller than as the imbalance gets larger. Thus, the bound in Theorem 6 formally captures this empirical observation.
Discussion on Theorem 12
As mentioned earlier, [5] analyze the effect of competition in stable matching instances with complete preferences, that is, .
More recently, [15] focused on the effect of competition as the degree becomes smaller. In particular, they study stable matching instances with polynomially small imbalance, that is, , and show the following dichotomy: (a) when , both candidates and jobs are matched to the -ranked partner on average and thus there is no effect of competition, and (b) when , there is a stark effect of competition – the candidates are matched to their th ranked job and the jobs to their th ranked candidate (in expectation).
The lower bound of is better than the one in Theorem 12 when . Interestingly enough, the regime that they work in, and , reflects this and the competition in this regime plays a negligible role. Theorem 12 improves their lower bound of for larger imbalance. It would be a natural guess that is where the “stark effect of competition” phenomenon starts to take shape. So, we conjecture that the bound in Theorem 12 is tight when .
1.4 Technical Contributions
We develop the following technical tools in our analysis.
First, we compare the proposals in the DA algorithm to a balls-in-bins process. This comparison itself is not new: analyzing the DA as a balls-and-bins or coupon-collector game dates back to the original papers by [28, 17]. We add to this approach by providing some general bounds using simple methods that could simplify similar proofs in the future.
Second, our methods are simple, streamlined, and provide a new analysis framework for this model. To establish whether or not a stable matching exists, we look at which of the two competing forces in the DA algorithm occurs first: each of the jobs receiving a proposal or candidates exhausting all of their proposals. We analyze this competition by defining a simple probabilistic game on the “rejection chains” in the DA algorithm. The methods in [15] also study rejection chains, but at a conceptual level, understanding the competing forces seems to offer a fundamentally different approach. For instance, the analysis in [15] requires a bound on the total number of proposals made in the DA algorithm. The aforementioned game lets us circumvent this and isolate the event of interest (the existence of a perfect stable matching).
Finally, we study three closely related random models: the symmetric case which is arguably the most natural to state as it is independent of which side of the market proposes, and the asymmetric models and in which the candidates and jobs choose preference lists of length respectively. Switching between these models helps analyze the problem from both sides: in particular, we analyze the candidate-proposing DA on and the job-proposing DA on . We combine these results to obtain a bound for using a “sandwiching lemma” (Lemma 4). We believe that this approach of analyzing the DA on different random stable-matching instances provides new insights as past work has only studied the instance .
1.5 Additional Related Work
The original DA algorithm [9] was extended to the imbalanced case by McVitie and Wilson [20], and to the case of partial preferences by Gusfield and Irving [12]. Stable matchings have since been extensively studied over 60 years with several books on the topic; we refer to the readers to [18]. We mention closely related results below. For a more comprehensive survey on the history and results on random matching markets, see [19].
Wilson [28] and Knuth [17] reduce the problem of running deferred acceptance in random balanced matching markets with complete lists, , to the coupon-collector problem and use it to compute its average complexity. This technique is used in various works (including this paper), e.g. [15, 4, 5]. [29] showed that the expected number of proposals in the candidate-proposing DA is at most . Knuth [17] improved this upper bound to and proved a matching lower bound of . Thus, the candidates side are matched to their th ranked partner in expectation. In contrast, Pittel [23] showed that the receiving side is a lot worse and is matched to their th partner in expectation.
The model of partial preferences was first considered in [13, 14], who assume that the proposing side has preference lists consisting of only jobs (drawn independently at random using an arbitrary distribution). They use the algorithm to enumerate all stable partners of an agent (by breaking matches and continually running deferred acceptance) originally suggested by McVittie [21] and Gusfield [11]. In this paper, we use the simplified version by [16]. This technique is used in [13, 14, 5] to show that the number of candidates with more than one stable partner is a vanishingly small fraction, the phenomenon referred to as “core convergence.”
1.6 Organization
2 Preliminaries
In this section, we formally present our model, the DA algorithm and other definitions and notations used in the rest of the paper.
Stable Matchings
Consider a stable matching instance with candidates and jobs . Without loss of generality assume that . Each candidate has a (partial) preference list of length over a subset of jobs ranking them from the most to least preferred. Similarly, each job has a (partial) preference list of length over a subset of candidates ranking them from most to least preferred. Consider the undirected bipartite graph on where the edge is present if appears on ’s preference list and vice versa. Let to denote the list of the candidate in . We define for jobs analogously.
For stable matching instances and on , we say that if for each candidate , we have that and the first elements and their order in is the same as in . Moreover, for every job , the relative ranking of the candidates in remains the same. Similarly, we say that if the same holds for every .
A matching is a set of vertex-disjoint edges in . A matching is perfect if each job is an endpoint of some edge in . For simplicity, we let denote a candidate ’s match in (let if is unmatched). We define similarly for a job . A matching is stable if there exists no blocking pair with respect to . A pair where and is a blocking pair with respect to the matching if any one of the following conditions hold: (a) prefers to and prefers to , (b) prefers to , and (c) prefers to .
Deferred-Acceptance Algorithm
We describe the candidate-proposing deferred-acceptance (CPDA) algorithm in Algorithm 1. The job-proposing DA (JPDA) is analogous.
Let be the set of unmatched candidates. Let be the set of candidates who have exhausted their preference list, that is, have been rejected by all jobs on their preference list.
We use the following properties of the CPDA algorithm.
Theorem 1 ([9, 20]).
The CPDA algorithm has the following properties:
-
1.
It outputs a stable matching . The matching is candidate optimal, that is, each candidate is matched to their best-possible stable match. Moreover, is job pessimal, that is, each job is matched to their worst-possible stable match.
-
2.
The matching is independent of the order of the proposals. Moreover, the same proposals are made during the algorithm, regardless of which candidate is chosen to propose at each step.
-
3.
(Lone Wolf Theorem) The candidates and jobs that are unmatched in do not have any possible stable partner. That is, the set of unmatched agents is the same across all stable matchings.
Algorithm Terminology
Let the current time step of the CPDA algorithm be the number of proposals made so far. Since the next proposal is always from a currently unmatched candidate with the lowest index, a candidate keeps proposing until either they are matched or exhaust their preference list. Moreover, if the th proposal results in a rejection of a candidate (either because made the proposal, or because the th proposal causes a previously-matched to become unmatched) the next proposal is always from . This sequence of proposals is termed as a rejection chain in the literature, defined more formally below.
Definition 2 (Rejection Chain).
Fix any time step in CPDA (Algorithm 1) and let be the next candidate in line to propose. The rejection chain starting at time step is empty if has been rejected by all jobs on their preference list. Otherwise, let be the job proposes to next.
-
If is currently unmatched, then .
-
Otherwise, if prefers to , then .
-
Otherwise, if prefers to , then .
We use the following two observations about rejection chains in our analysis.
Observation 3.
Consider the rejection chain at time step defined in Definition 2.
-
1.
terminates when either previously unmatched job receives a proposal and thus will remain matched till the end, or a candidate is rejected by all jobs on their preference list and thus will remain unmatched till the end.
-
2.
In a rejection chain, if contiguous proposals result in a rejection, then some candidate must have been rejected times and must remain unmatched.
Deferred Acceptance on Random Instances
We recall the random stable matching instance defined in Section 1. In this instance, there are candidates and jobs. The underlying graph is a Erdös-Rényi graph . Thus, an edge between a candidate and job occurs with independent probability . Moreover, each candidate and job have a random ranking over their neighbors, chosen uniformly and independently. The stable matching instance refers to the graph and the preferences over the edges.
Let us define two other related models of random stable matching instances. Let us define to denote a stable matching instance with jobs, candidates, and each candidates chooses a preference list of jobs uniformly and independently. This is the model in [15].
Similarly, we also define where each job chooses a preference list of candidates uniformly and independently.
We analyze the CPDA algorithm on and the JPDA algorithm on . To obtain the final result on the symmetric stable matching instance , we relate all three random instances using the following “sandwiching” lemma.
Lemma 4.
(Sandwiching Lemma) For every , there is a joint distribution such that with probability at least , we have
The same claim also holds for .
Since we (eventually) analyze the DA algorithm on a random instance , we reveal the next job in the list of candidate when they are called up to propose, uniformly among all jobs that have not already rejected . We also reveal ’s relative ranking among all the proposals received by (including from ) when proposes to .
2.1 Probability Game
Define a multi-round probabilistic game as follows. In each round, there are three events that can occur: (Good), (Bad), and (Neutral). Given an input parameter , for each round, conditioned on the events in previous rounds, define , and . The game is won if occurs. The game is lost if occurs times in a row.
Let denote the probability of winning this game. Then, we prove the following.
Lemma 5.
Proof.
Suppose the game is played for rounds, and let denote the random sequence of events that occur. Consider a new game that is the same as the original except now , and let denote the random sequence of events that occur when the new game is played for rounds. Let be the winning probability in the new game. Through a coupling argument, we first show that .
Given the sequence , we create a sequence as follows. For , as long as the game does not end in a loss at rounds, do:
-
if , then ,
-
if , then ,
-
if , then with probability and otherwise. Here .
Note that whenever ends in a loss (event occurs times in a row), then also ends in a loss. Thus, .
Finally, we finish the proof of the lemma by using the following recurrence.
So we have
We say an event occurs with high probability if .
3 Sharp Threshold for Perfect Stable Matchings
In this section, we formally state and prove our main theorem.
Theorem 6.
Consider a stable matching instance where and . Then, for each ,
-
1.
if , then w.h.p, all stable matchings are perfect, and
-
2.
if , then w.h.p, no stable matching is perfect.
That is, we prove tight upper and lower bounds on the degree that determines whether or not a stable matching exists in a random matching market with imbalance and average degree . As alluded to earlier, we prove the lower bound on , and upper bound on .
Lemma 7.
For any , if , then
Lemma 8.
For any , if , then
We prove Lemmas 7 and 8 in Section 3.2 and Section 3.3 respectively. Using them, we finish the proof of Theorem 6 below.
Proof of Theorem 6.
Let us denote and . Observe that for .
Denote , and . For the proof of part 1, it suffices to prove the same statement for . Indeed, since by Lemma 4, there is a joint distribution such that with probability at least . By part 2 of Theorem 1, we have that if the CPDA algorithm on does not give a perfect stable matching, then it does not give one even in .
The proof of part 2 proceeds in a similar fashion, using
3.1 High-level Overview
We first describe the high-level idea of the upper and lower bound proofs for the balanced case () to give some intuition.
Lower bound
To show that a perfect stable matching does not exist when the average degree in , we analyze the proposals when the CPDA algorithm is run on the random instance . Thus, each candidate has a preference list of length . Notice that in the CPDA, as soon as all jobs receive even a single proposal, the final matching must be perfect. This is because jobs only upgrade their potential matches as the algorithm proceeds. On the other hand, a candidate remains unmatched if has been rejected by all jobs on their preference list. Thus, to show that a perfect stable matching does not exist, we show that some candidate exhausts all of their proposals before all jobs receive a proposal. We model this using the probability game from Section 2.1. Finally, we set the probabilities in the game using a careful coupling between CPDA and a balls-in-bins process.
This proof naturally extends to the unbalanced case: we simply analyze the probability that candidates exhaust all of their proposals before all jobs receive a proposal.
Upper bound
To show that a perfect stable matching exists when the average degree in , we analyze the proposals in the JPDA algorithm on the random instance . Thus, each job has a preference list of length . To prove that each job gets matched, we look at all the proposals made by the last job in JPDA and compute the probability that gets rejected from all candidates on its list and show that it is small. For a single proposal from to a candidate to be successful, not only must accept it but the resulting rejection chain must not knock off. We use the probability game to compute the probability of the latter.
3.2 Lower Bound on Threshold
Next, we prove the lower bound for any formally.
Proof of Lemma 7.
Let be small enough that . We split the analysis into whether is larger or smaller than .
Case 1: .
Let denote the event that has a perfect stable matching. Recall that in , each candidate has a preference list of length . We consider the CPDA procedure in Algorithm 1 on . We define an extended process in the algorithm where there are real candidates and “fake” candidates and jobs. Recall that we assume that there is some predetermined order on the candidates and the unmatched candidate with the least index is next in line to propose.
Fix , for . Suppose proposals have been made. We consider the rejection chain as defined in Definition 2. In particular, consider the proposal made by candidate at step . We have the following cases: (a) the proposal goes to an unmatched job and is accepted, (b) the proposal goes a matched job and is rejected, and (c) the proposal goes to a matched job, is accepted, which causes its previous match now to be free. By Observation 3, ends when either a proposal goes to an unmatched job, or when some candidate exhausts all their proposals (and thus remains unmatched).
Let us define the following events and then bound their probabilities.
-
Let be the event that CPDA finds a (potential) matching of size before candidates have exhausted all of their proposals.222Note that a potential matching of size is found as soon as jobs have received a proposal from some candidate (not necessarily their final match).
-
Let be the event that every job gets a proposal from a candidate in at most rounds.
-
Let be the event that after rounds, the probability that the next proposal from a candidate is accepted is greater than .
-
Let be the event that the number of unmatched jobs at rounds is at least .
Then,
(1) |
As there are real candidates and jobs, there is no perfect stable matching if more than candidates end up with all of their proposals rejected before all jobs receive even a single proposal. We have the following claim whose proof is omitted.
Claim 9.
The following inequalities hold:
-
1.
.
-
2.
.
-
3.
We finish the proof as follows. Let . Conditioned on , the next proposal is rejected with probability at least . Conditioned on , let be the probability of the next proposal goes to an unmatched job. By Observation 3 (1) the number of unmatched jobs stays the same during all proposals that occur within the rejection chain . By Observation 3 (2), any time there are rejects in a row in , some candidate must have exhausted all of their proposals.
Now, we use the probability game from Section 2.1 with . Using Lemma 5 and the fact that is the probability that every subsequent rejection chain ends in a new job getting matched, we get the following:
In the last inequality, we used the fact that , and that . So, with probability at least the next rejection chains end in an additional unmatched candidate. Therefore,
(2) |
Finally, substituting and , and plugging in the bounds from Claim 9 and Inequality (2) into the expression in Inequality (1), we get
Case 2: .
We repeat a similar argument as before using the extended JPDA, setting for some small . As before, we have:
-
Let be the event that JPDA finds a (potential) matching of size before any job has run out of proposals.333Note that a potential matching of size is found as soon as jobs have received a proposal from some candidate (not necessarily their final match).
-
Let be the event that after rounds, the probability that the next proposal to a candidate is accepted is greater than .
-
Let be the event that there are fewer than unmatched candidates at rounds.
We have
Similar to Claim 9, we have the following claim:
Claim 10.
The following inequalities hold:
-
1.
.
-
2.
.
We finish the argument as follows: Conditioned on , there are at least unmatched jobs at this point. Conditioned on , the probability that the next job runs out of proposals without matching to a candidate is at least . So, the probability that at least one job runs out of proposals in the next rejection chains is at least .
3.3 Upper Bound on Threshold
Below, we prove a tight upper bound on the threshold.
Proof of Lemma 8.
Suppose . Consider the JPDA algorithm (analogous to Algorithm 1). Fix a job , and let us place it in the last place in our predetermined order for the JPDA algorithm – that is, is the last job that has not yet proposed to any candidate on their list. Let be the number of proposals at the moment starts proposing. Let (the random candidate) be ’s next proposal and be the random variable denoting the number of proposals has received so far. We have that . Observe that ’s proposal to is successful if the following two events occur:
-
1.
accepts ’s proposal, and
-
2.
the resulting rejection chain does not end with getting unmatched.
The first event occurs with probability .
To bound the probability of the second event, we analyze the proposals in using the probability game from Section 2.1. In the particular, consider the probability game with parameter . Let be the event that gets unmatched because another job proposes to in . Then, because the probability that is next on preference list is at most and must prefer to the proposals it already has received. Let be the event that the rejection chain ends without getting kicked off from in . This occurs if ends in a new candidate getting matched. Thus .
Then, corresponds to the probability that does not end up being matched to at the end of , and by Lemma 5 we have,
(3) |
Thus, the probability that ’s proposal to is successful is at least
Here denotes the final number of proposals (at the end of JPDA) and is the number of proposals at the time started proposing.
Finally, the probability that remains unmatched at the end of JPDA is the probability that all of ’s proposals fail. This occurs with probability
(4) |
Here, the inequality in step 4 follows from the following claim whose proof is omitted.
Claim 11.
4 Effect of Competition
In this section, we prove a lower bound on the expected ranks of the candidates and the number of proposals in CPDA in an unbalanced random matching market with imbalance . In particular, we prove the following.
Theorem 12.
Consider a stable matching instance where and . Let denote the expected rank of the best-possible stable partner each candidate can obtain. Then we have the following inequalities
-
1.
,
-
2.
if , then .
Proof of Theorem 12.
Lemma 13 ([7]).
Fix a job and for any preference list of job and index , let denote the preference list truncated at index . Then, job has a stable partner of rank better than if and only if is matched in CPDA even if truncates their list after rank .
We fix a candidate . Let be the random variable that represents ’s highest-rank stable partner (among all stable matchings). Let be the highest rank offer receives if in the JPDA algorithm keeps rejecting all proposals (and we keep running JPDA). Lemma 13 gives us that . Let be the random variable representing the number of proposals received by during this algorithm where rejects all proposals.
Let us compare the JPDA process to a random balls-in-bins process. Assume that there are bins (one for each candidate). Suppose balls are being thrown uniformly and independently in the bins. Fix a bin and let be the number of balls in at the time that exactly bins are occupied. Let be the number of balls thrown at this point. We show that this process stochastically dominates JPDA as follows.
Lemma 14.
There is a coupling between the JPDA algorithm and the balls-in-bins process so that , and .
Proof.
We abuse notation and use to denote both the set of bins and the set of candidates. Consider the following coupling between the processes of JPDA and balls-in-bins.
Suppose at a point in the JPDA algorithm, a job is required to make a (random) proposal, and so far, is the set of candidates that has already proposed to. We keep throwing balls-into-bins uniformly at random until we hit a bin . We assign as the next proposal of . Thus the distribution of the next proposal of is uniform on .
Let and denote the number of proposals made and number of balls thrown in the above algorithm respectively. Fix any , and let and denote the number of proposals received by the candidate and the number of balls in the bin respectively. We finish the proof by noting that the set of bins occupied is a superset of the set of candidates who received proposals (the algorithm could end earlier than the balls-in-bins process, where we have unlimited balls). Also, for the above process, and . As an immediate consequence, using symmetry, we have
Since has jobs on their list, the expected highest rank proposal they receive is
So the expected rank of the highest ranked stable match of every candidate is at least . Therefore, the expected number of proposals in the CPDA algorithm is at least .
The proof is completed by the following proposition, whose proof is identical the proof of to Claim 11 and so we omit it.
Proposition 15.
.
References
- [1] Atila Abdulkadiroğlu, Parag A Pathak, and Alvin E Roth. The new york city high school match. American Economic Review, 95(2):364–367, 2005.
- [2] Atila Abdulkadiroğlu, Parag A Pathak, Alvin E Roth, and Tayfun Sönmez. The boston public school match. American Economic Review, 95(2):368–371, 2005.
- [3] Ishan Agarwal and Richard Cole. Stable matching: Choosing which proposals to make, 2023. arXiv:2204.04162.
- [4] Itai Ashlagi, Mark Braverman, Amin Saberi, Clayton Thomas, and Geng Zhao. Tiered Random Matching Markets: Rank Is Proportional to Popularity. In James R. Lee, editor, 12th Innovations in Theoretical Computer Science Conference (ITCS 2021), volume 185 of Leibniz International Proceedings in Informatics (LIPIcs), pages 46:1–46:16, Dagstuhl, Germany, 2021. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ITCS.2021.46.
- [5] Itai Ashlagi, Yash Kanoria, and Jacob D Leshno. Unbalanced random matching markets: The stark effect of competition. Journal of Political Economy, 125(1):69–98, 2017.
- [6] Itai Ashlagi and Afshin Nikzad. What matters in school choice tie-breakings? how competition guides design. In Proceedings of the 2016 ACM Conference on Economics and Computation, pages 767–768, 2016. doi:10.1145/2940716.2940762.
- [7] Linda Cai and Clayton Thomas. The short-side advantage in random matching markets. In Symposium on Simplicity in Algorithms (SOSA), pages 257–267. SIAM, 2022. doi:10.1137/1.9781611977066.19.
- [8] Jose Correa, Rafael Epstein, Juan Escobar, Ignacio Rios, Bastian Bahamondes, Carlos Bonet, Natalie Epstein, Nicolas Aramayo, Martin Castillo, Andres Cristi, et al. School choice in chile. In Proceedings of the 2019 ACM Conference on Economics and Computation, pages 325–343, 2019.
- [9] David Gale and Lloyd S Shapley. College admissions and the stability of marriage. The American mathematical monthly, 69(1):9–15, 1962.
- [10] Hugo Gimbert, Claire Mathieu, and Simon Mauras. Two-sided matching markets with strongly correlated preferences. In Fundamentals of Computation Theory: 23rd International Symposium, FCT 2021, Athens, Greece, September 12–15, 2021, Proceedings 23, pages 3–17. Springer, 2021. doi:10.1007/978-3-030-86593-1_1.
- [11] Dan Gusfield. Three fast algorithms for four problems in stable marriage. SIAM Journal on Computing, 16(1):111–128, 1987. doi:10.1137/0216010.
- [12] Dan Gusfield and Robert W Irving. The stable marriage problem: structure and algorithms. MIT press, 1989.
- [13] N Immoralica. Marriage, honesty, and stability. In Proceedings of the 16th annual ACM-SIAM symposium on Discrete algorithms, 2005, pages 53–62, 2005.
- [14] Nicole Immorlica and Mohammad Mahdian. Incentives in large random two-sided markets. ACM Transactions on Economics and Computation (TEAC), 3(3):1–25, 2015. doi:10.1145/2656202.
- [15] Yash Kanoria, Seungki Min, and Pengyu Qian. In which matching markets does the short side enjoy an advantage? In Proceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms, pages 1374–1386, 2021. doi:10.1137/1.9781611976465.83.
- [16] Donald E Knuth, Rajeev Motwani, and Boris Pittel. Stable husbands. Random Structures & Algorithms, 1(1):1–14, 1990. doi:10.1002/RSA.3240010102.
- [17] Donald Ervin Knuth. Mariages stables et leurs relations avec d’autres problèmes combinatoires: introduction à l’analyse mathématique des algorithmes. Les Presses de l’Universite de Montreal, 1976.
- [18] David Manlove. Algorithmics of matching under preferences, volume 2. World Scientific, 2013. doi:10.1142/8591.
- [19] Simon Mauras. Analysis of random models for stable matchings. PhD thesis, Université Paris Cité, 2021.
- [20] David G McVitie and Leslie B Wilson. Stable marriage assignment for unequal sets. BIT Numerical Mathematics, 10(3):295–309, 1970.
- [21] David G McVitie and Leslie B Wilson. The stable marriage problem. Communications of the ACM, 14(7):486–490, 1971. doi:10.1145/362619.362631.
- [22] NRMP. How many programs can I rank? — nrmp.org. https://www.nrmp.org/help/item/how-many-programs-can-i-rank/#, 2024. [Accessed 09-02-2025].
- [23] Boris Pittel. The average number of stable matchings. SIAM Journal on Discrete Mathematics, 2(4):530–549, 1989. doi:10.1137/0402048.
- [24] Boris Pittel. On likely solutions of a stable marriage problem. The Annals of Applied Probability, 2(2):358–401, 1992.
- [25] Boris Pittel. The" stable roommates" problem with random preferences. The Annals of Probability, 21(3):1441–1477, 1993.
- [26] Alvin E Roth. The economist as engineer: Game theory, experimentation, and computation as tools for design economics. Econometrica, 70(4):1341–1378, 2002.
- [27] Alvin E Roth and Elliott Peranson. The redesign of the matching market for american physicians: Some engineering aspects of economic design. American economic review, 89(4):748–780, 1999.
- [28] LB Wilson. An analysis of the stable marriage assignment algorithm. BIT Numerical Mathematics, 12(4):569–575, 1972.
- [29] Leslie B. Wilson. An analysis of the stable marriage assignment algorithm. BIT Numerical Mathematics, 12:569–575, 1972.