
TL;DR
This paper investigates the properties of stable partitions in the random stable roommates problem, revealing growth rates and probabilities related to odd cycles, stable matchings, and blocking pairs as the number of members increases.
Contribution
It provides asymptotic estimates for the expected number of stable partitions with odd cycles and related structural properties in the random stable roommates problem.
Findings
Expected number of stable partitions with odd cycles grows as n^{1/4}
Fraction of members with multiple predecessors is of order n^{-1/4}
Largest stable matching size is approximately n/2 minus a term of order n^{1/4}
Abstract
The stable roommates problem does not necessarily have a solution, i.e. a stable matching. We had found that, for the uniformly random instance, the expected number of solutions converges to as , the number of members, grows, and with Rob Irving we proved that the limiting probability of solvability is , at most. Stephan Mertens's extensive numerics compelled him to conjecture that this probability is of order . Jimmy Tan introduced a notion of a stable cyclic partition, and proved existence of such a partition for every system of members' preferences, discovering that presence of odd cycles in a stable partition is equivalent to absence of a stable matching. In this paper we show that the expected number of stable partitions with odd cycles grows as . However the standard deviation of that number is of order , too large to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
On random stable partitions
Boris Pittel
Department of Mathematics, The Ohio State University, Columbus, Ohio 43210, USA
Abstract.
The stable roommates problem does not necessarily have a solution, i.e. a stable matching. We had found that, for the uniformly random instance, the expected number of solutions converges to as , the number of members, grows, and with Rob Irving we proved that the limiting probability of solvability is , at most. Stephan Mertens’s extensive numerics compelled him to conjecture that this probability is of order . Jimmy Tan introduced a notion of a stable cyclic partition, and proved existence of such a partition for every system of members’ preferences, discovering that presence of odd cycles in a stable partition is equivalent to absence of a stable matching. In this paper we show that the expected number of stable partitions with odd cycles grows as . However the standard deviation of that number is of order , too large to conclude that the odd cycles exist with high probability (whp). Still, as a byproduct, we show that whp the fraction of members with more than one stable “predecessor” is of order . Furthermore, whp the average rank of a predecessor in every stable partition is of order . The likely size of the largest stable matching is , and the likely number of pairs of unmatched members blocking the optimal complete matching is .
Key words and phrases:
stable matchings, partitions, random preferences, asymptotics
2010 Mathematics Subject Classification:
05C30, 05C80, 05C05, 34E05, 60C05
1. Introduction and main results
A roommates problem instance is specified by an even integer , number of members, and for each ( a permutation of the set in which itself occupies position , (). The permutation forms the preference list of person : if person occupies position in the preference list of person , and each person is a the end of their own preference list. Equivalently, the instance can be specified by the ranking list of each person , defined as the inverse permutation of : if the person is the -th best for person .
For a given roommates instance with members, a stable permutation (cyclic partition) is a permutation of such that:
[TABLE]
Viewing in terms of its cyclic decomposition, we will refer to and as the successor of and the predecessor of in the permutation . Then condition (1) states no person prefers his predecessor to his successor, and condition (2) states that no two mutually-unaligned members prefer each other to their predecessors. Note that equality in condition (1) is possible iff , i.e. either is a fixed point of , or is a transposition in —in this case we say that forms a pair in the partition . Thus inequality (1) is not vacuous iff is in a cycle of length or more, in which case it is strict. Also if is a fixed point, then ; so condition (2) implies that there are no other fixed points, and every prefers his own predecessor to . Intuitively, each member proposes to and holds a proposal from .
Clearly, if a stable partition is such that it has cycles of length only, then is a stable matching. However, while for every even there are instances without a stable matching, Tan [15], who introduced the notion of a cyclic partition , proved that, for every instance of preferences, (1) there is at least one stable permutation; (2) all stable permutations have the same odd cycles (“parties”); (3) replacing each even cycle of a stable permutation by the transpositions , or by the transpositions we get another stable, reduced, permutation; (4) thus a stable matching exists iff there are no odd cycles.
Suppose that the random problem instance, call it , is chosen uniformly at random among all instances. We showed [14] that the expected number of stable matchings is in the limit, implying that the number of stable matchings, if any exist, is bounded in probability. With Robert Irving [7] we proved that the probability that a stable matching exists is at most in the limit. In a pleasing contrast, the stable partitions do not have a fixed point (odd party of size ) with surprisingly high probability \geq 1-O\bigl{(}e^{-\sqrt{n}}\bigr{)}. So while a stable matching may not exist, stable partitions (that exist always) with high probability have no “pariahs”: every member holds a proposal from another member, while his own proposal is accepted by possibly a different member.
Our task is to analyze asymptotic behavior of a series of leading parameters of the family of stable (reduced) partitions for , and we focus on those that have no fixed point. Among those parameters are and , the total number of stable (reduced) partitions and the total number of “parties”, i. e. odd (common to all those partitions) cycles. We will prove, for instance, that
[TABLE]
The fact that \textup{E\/}\bigl{[}\mathcal{S}_{n}\bigr{]}\to\infty, but at a moderate rate, can be charitably viewed as supporting the claim that, in probability, ; if this is the case then with high probability has no stable matching. Numerical experiments conducted by Stephan Mertens [11] made him conjecture that solvability probability goes to zero, as fast as . For a rigorous transition from \textup{E\/}\bigl{[}\mathcal{S}_{n}\bigr{]}\to\infty to , one would normally want to show that \text{Var}(\mathcal{S}_{n})\ll\textup{E\/}^{2}\bigl{[}\mathcal{S}_{n}\bigr{]}. It turns out, however, that is of order , thus exceeding \textup{E\/}^{2}\bigl{[}\mathcal{S}_{n}\bigr{]} by the factor , which invalidates this naive two-moment approach. Can the approach be gainfully modified by narrowing the pool of stable partitions?
A key tool for estimating is an asymptotic formula for the probability that each of two generic (reduced) partitions and (with the same odd parties, of course) are stable. The symmetric difference of the set of matched pairs in and the set of matched pairs in is the edge set of the disjoint even cycles of length , whose edges are the matched pairs in interlacing the matched pairs in . Each such cycle can be viewed as an even rotation in both partitions, so that the pair gives rise to of stable partitions, with being the total number of those even cycles. Define a random graph , where is the set of all stable partitions , and is the set of pairs , each giving rise to a single even cycle. By (5.23), is of order . It turns out that is of order as well. What, if anything, does this fact tell about the likely range of ?
There are two positive results that stem from (5.23)–(5.24). Tan [15], [16] defined a maximum stable matching for an instance as a maximum-size matching which is internally stable, i.e. not blocked by any two members from the agent (vertex) set of . He proved that . It follows from (5.24) that
[TABLE]
for , however slowly. In short, the number of members not in the maximum stable matching is .
Abraham, Biró and Manlove [1] introduced the alternative notion of a “maximally stable” matching, i.e. a matching on that is blocked by the smallest number of pairs, call it , of agents unmatched in . They obtained a two-sided bound for in terms of preference lists lengths and the odd cycles. A cruder version of the ABM upper bound states that , where is the length of the longest preference list. Extending our approach, we will show that for the random instance , with probability , every member’s predecessor is among their best choices. So we can apply the last bound with . Therefore the bound (5.24) together with the ABM bound imply that with high probability there exists a complete matching which is blocked by pairs, a strikingly small number relative to the total number () of potential blocking pairs.
We will also show that with high probability the sum of the ranks of predecessors in every stable partition is asymptotic to ; consequently the worst predecessor’s rank in every stable partition is at least, nearly matching , the likely upper bound.
Here is an application. Suppose we shrink every member’s preference list to their own best choices. If the constrained instance has no fixed point then neither does the full-lists instance. Consider an instance of the stable partition problem chosen uniformly at random among all instances with some acceptable choices for every member. Randomly, and independently, ordering the remaining members for every member, we will get the uniformly random (full-lists) instance . It follows then that if ( resp.) then with high probability stable partitions for have (do not have resp.) a fixed point.
Finally, we use the analysis of to show that the expected fraction of members with multiple stable predecessors is of order .
2. Integral formulas for stability probabilities
At the core of our proofs are two integral formulas, one for the probability that a generic cyclic partition is stable, another for the probability that two generic cyclic partitions are stable.
Lemma 2.1**.**
Let be a permutation of with even cycles of length only, and possibly a single fixed point , i. e. . Let be the set of all elements from the odd cycles of with an exception of the fixed point if it is present. Let be the set of unordered pairs such that or, not exclusively, . Then
[TABLE]
if there is no fixed point , then the third product is replaced by , and by .
If is a matching, we get ([14])
[TABLE]
Proof.
To generate the random instance , introduce an array of the independent random variables (), each distributed uniformly on . Assume that each member ranks the members in increasing order of the variables . Such an ordering is uniform for every , and the orderings by different members are independent. Then
[TABLE]
Indeed, by (1.1), is stable iff
[TABLE]
And, conditioned on the event \bigl{\{}X_{i,\mathbb{\Pi}^{-1}(i)}=x_{i},\,i\in[n]\}, the events above are independent, with (conditional) probabilities , and respectively. Using Fubini’s theorem, we have (2.1). ∎
Like analogous formulas in [13], [14] and [7], this is a non-bipartite counterpart of Knuth’s formula for stable bipartite matchings, [8]. His derivation was based on the inclusion-exclusion method, coupled with ingenious observation that the resulting sum equals the multidimensional integral of a product-type integrand resembling our . Of course, we could get a sum-type formula for \textup{ P\/}\bigl{(}\mathbb{\Pi}\text{ is stable}\bigr{)} by expanding the product in (2.3) and integrating the resulting sum term-wise. Moving in the opposite direction, i.e. starting with an inclusion-exclusion formula for \textup{ P\/}\bigl{(}\mathbb{\Pi}\text{ is stable}\bigr{)}, finding an integral-type representation of the generic summand, and discerning that the sum of the attendant integrands happens to be an expansion of the “out-of-the blue” product in (2.3), would have been very problematic. The identity (2.1) is indispensable for asymptotic estimates, thanks to a simple, but powerful, bound
[TABLE]
For instance, this bound and will almost immediately yield that the stable partitions have no fixed point with probability . We will prove a surprisingly simple, yet qualitatively sharp estimate: uniformly for a fixed-point free partitions ,
[TABLE]
We note that Alcalde [2] defined an exchange stable matching as a matching that, to quote from [10], “admits no exchange-blocking pair, which is a pair of members each of whom prefers the other’s partner in to their own”. Cechlárová and Manlove [4] proved that, in stark contrast with the classic stable roommates model, the problem of determining whether a given instance admits an exchange-stable matching is NP-complete. The interested reader may wish to check that the formula (2.2) continues to hold for . Consequently the expected number of exchange-stable matchings and the expected number of the classic stable matchings are exactly the same, implying that the former is also asymptotic to . Let us call a (fixed-point free) partition exchange stable if no two members prefer each other predecessors to their own predecessors under . What about the partitions that are “doubly-stable”, i.e. stable and exchange stable? It turns out that
[TABLE]
The counterpart of (2.5) is \textup{ P\/}(\mathbb{\Pi})=O\bigl{(}2^{-\frac{n+m}{2}}/(n+m-1)!!\bigr{)}, implying that the expected number of the doubly stable partitions is of order , way down from for the stable partitions.
Continuing, introduce , the sum of the ranks of all predecessors in the preference lists of their successors in a partition . Let .
Lemma 2.2**.**
Suppose is fixed-point free. Then, letting , and ,
[TABLE]
Proof.
First of all, using to denote the indicator of an even , we have
[TABLE]
Here
[TABLE]
Furthermore
[TABLE]
where the second sum accounts for the pairs , . So
[TABLE]
So
[TABLE]
which proves (2.6). ∎
Finally, suppose we have a pair of distinct cyclic partitions, and . Let denote the probability that both and are stable. We assume the two partitions have the same odd cycles, since otherwise the probability is zero. Suppose also there is no fixed point. Let stand for the vertex set of the family of odd cycles, common to both partitions; so for all . The cardinality is even, and and induce a pair of perfect matchings on . Together, and determine a graph G(M_{1},M_{2})=\Bigl{(}\text{Even}_{1,2},E\Bigr{)}, with the edge set formed by the pairs . Each component of is either an edge , or a circuit of even length at least , in which the edges from and alternate. The edge set for all these (alternating) circuits is the symmetric difference .
Lemma 2.3**.**
Let denote the probability that both and are stable. For , let be the set of unordered pairs such or, not exclusively, . Then
[TABLE]
here
[TABLE]
and for every circuit of :
[TABLE]
We omit the proof since it combines the elements of the proof for and of the formula for in the case when and are matchings, given in [14]. A counterpart of the bound (2.4) is
[TABLE]
here , , and runs over . Never mind enormity of ; like (2.4), the bound (2.7) is both simple and instrumental in identifying a relatively small, eminently tractable, part of the integration domain which is “in charge” of the asymptotic behavior of .
Note. The reader interested in our prior work on stable roommates problem ([13], [14] and [7]) will not find the inequalities (2.4) and (2.7) there. Working on this project, we detected a technical, estimational, glitch (see the next Section for details) in [13], equally consequential for analysis in [14] and [7]. Luckily the new bounds (2.4)-(2.7) allow to repair this error and, as an unexpected bonus, to simplify the arguments as well. The analysis in this paper can be viewed, in part, as a close template for the correction of that embarrassing oversight. We emphasize that, fortunately, this correction leaves the ultimate asymptotic results in those references intact.
Proof.
As in the proof of Lemma 2.1, we use the array . By the definition of stability, we have
[TABLE]
Here A_{h}=\bigl{\{}X_{h,\mathbb{\Pi}_{1,2}(h)}<X_{h,\mathbb{\Pi}_{1,2}^{-1}(h)}\bigr{\}}. Furthermore: (1) if , then
[TABLE]
(2) if , then necessarily , and, by stability of ,
[TABLE]
(3) if , then necessarily and, by stability of ,
[TABLE]
Conditioned on the values
[TABLE]
the events , are all independent. And, denoting the characteristic function of a set by , we have ,
[TABLE]
Therefore
[TABLE]
provided that , we have or and , we have or . (The conditional probability is zero otherwise.) Since the edges from form the disjoint alternating circuits of length , the condition means that for every such circuit [with , say], we have
[TABLE]
We may, of course, assume that all these inequalities are strict. Thus there are only two options on the circuit: either or . (In both options, the inequalities alternate.) Application of Fubini’s theorem completes the proof. ∎
3. Estimation tools
To estimate the integrals in Lemma 2.1 and Lemma 2.3 for , we will need the following claim, see [12], [14]:
Lemma 3.1**.**
Let be independent -Uniforms. Let and , so that . Let be the set of lengths of the consecutive subintervals of obtained by selecting, independently and uniformly at random, points in . Then (with standing for the indicator of an event ) the joint density , (), of is given by
[TABLE]
here is the density of .
We will also use the classic identities, Andrews, Askey and Roy [3], Section 1.8:
[TABLE]
The identity/bound (3.1) is useful since the random vector had been well studied. It is known, for instance, that
[TABLE]
where are independent, exponentially distributed, with the same parameter, say. Here is this property at work.
Lemma 3.2**.**
(1) Let . If , . Then
[TABLE]
(2) For even,
[TABLE]
Proof.
Observe that , . Choose
[TABLE]
so that , for sufficiently large. Then, denoting ,
[TABLE]
Since \textup{E\/}\bigl{[}e^{-zW}\bigr{]}<\infty for every , the standard application of Chernoff’s method yields
[TABLE]
Bounding \textup{ P\/}\Bigl{(}\!\mathcal{W}^{(s)}\geq a\nu\Bigr{)} is more problematic since \textup{E\/}\bigl{[}e^{zW^{2}}\bigr{]}=\infty for . Truncation to the rescue! Introduce , ; then
[TABLE]
Further
[TABLE]
So
[TABLE]
Combining this bound with (3.7), we select the best and obtain
[TABLE]
This bound combined with (3.6) prove that
[TABLE]
Since \textup{E\/}\bigl{[}e^{-zW^{s}}\bigr{]}<\infty for all , there is no need for truncation, and we get
[TABLE]
So (3.4) follows. The proof of (3.5) is similar, and we omit it. ∎
Note. In [13] we claimed that the probabilities in Lemma 3.2, for fixed, could be shown to be exponentially small, and used this claim also in [14] and [7], hoping to apply it again in this study. We have realized though that for the right tail of the sums’ distributions we could get only a sub-exponential bound, see (3.8). Fortunately, with the new inequalities (2.4)-(2.7) put to use, the sub-exponential bounds (3.4) and (3.5) are all we need. The interested reader may see for themselves that the resulting proof provides a clear recipe for local changes in [13], [14] and [7], which make the thorny issue of exponential bounds go away completely.
In addition to the bounds (3.4), we will need
[TABLE]
which directly follows from
[TABLE]
4. Estimates of and , ramifications
We need to identify a part of the cube that provides the dominant contribution to the integral in (2.1). This will allow us to estimate, sharply, the expected total length of the odd cycles in the random instance . Many of the intermediate estimates can be traced back to [13], [14] and [7]. We begin with the pair of two new, instrumental, bounds for the products in the integrands expressing and .
In the statement below and elsewhere we will write as a shorthand for “, uniformly over parameters that determine , ”, when the expression for is uncomfortably bulky for an argument of the big O notation. We will also write if .
Lemma 4.1**.**
[TABLE]
here , , and runs through .
Proof.
(1) Using , we have
[TABLE]
Here, using ,
[TABLE]
Analogously, and using ,
[TABLE]
Therefore
[TABLE]
so that
[TABLE]
(2) Let be the perfect matching on , induced by . Then is the set of matched pairs common to and , and is the edge set of the even circuits, of length at least, formed (in alternating fashion) by the matched pairs in and . So is the disjoint union of , the set of pairs .
So, given , ,
[TABLE]
here is the edge set of the odd cycles and the even circuits, formed by and . This exact formula certainly implies that
[TABLE]
Therefore we bound
[TABLE]
Furthermore
[TABLE]
So
[TABLE]
As
[TABLE]
we obtain
[TABLE]
It remains to observe that . ∎
4.1. Bounds for , probability of a fixed point, and the likely
Here are our first applications of Lemma 4.1.
Lemma 4.2**.**
Denoting ,
[TABLE]
Proof.
For the second case, by (2.1) and Lemma 4.1,
[TABLE]
Disregarding the constraint , and using (3.2),we obtain
[TABLE]
If has a fixed point , then using
[TABLE]
we obtain that
[TABLE]
A quick glance at the integrand shows that the dominant contribution to the integral comes from within, say, distance from the integrand’s maximum point
[TABLE]
being the maximum point of . So the above integral is of order
[TABLE]
whence
[TABLE]
∎
Now the total number of permutations of with a fixed point and is at most
[TABLE]
Corollary 4.3**.**
[TABLE]
Proof.
By Lemma 4.1 and the union bound, the probability in question is of order
[TABLE]
∎
Our original proof in [14] was considerably more involved, and reliant on the problematic existence of the exponential bounds, the issue we touched upon in the previous sections, and will stop bringing up in the sequel.
From now on we focus on stable partitions without a fixed point. Here is another low hanging fruit.
Corollary 4.4**.**
Denoting by the set of members in the odd cycles of stable partitions,
[TABLE]
i.e. with super-polynomially high probability (quite surely in terminology of [9]) the total length of all odd cycles is below .
Proof.
Denote . The total number of potential stable partitions with an even is at most
[TABLE]
So, by Lemma 4.1, Stirling formula, and the inequality
[TABLE]
the probability in question is of order
[TABLE]
∎
Focusing on the likely stable partitions, we may and will consider only the permutations without a fixed point and with .
4.2. Sharp estimate of
In steps, we will chop off the peripheral parts of the integration cube till we get to its part narrow enough to allow us to approximate the integrand in the formula (2.1) within factor, so that the accumulative error cost is of order .
Step 1. For the first reduction, we set , and define
[TABLE]
Lemma 4.5**.**
[TABLE]
Proof.
By Lemma 4.1,
[TABLE]
The integrand, write it as , attains its maximum at , and
[TABLE]
Further
[TABLE]
Now, since is concave, we have
[TABLE]
Therefore
[TABLE]
∎
Next, motivated by the inequalities (4.2) and (4.3), we will derive sharp asymptotics, on progressively smaller , for the leading sums, , , and obtain sufficiently strong upper bounds for the secondary sums , and . We will end up with a rather sharp asymptotic formula for on the terminal dominant subset of .
Step 2. With , define . Introduce . Define C_{2}=\Bigl{\{}\mathbb{x}\in C_{1}:t_{1}(\mathbb{u})\leq 1.01\frac{\log^{2}n}{n}\Bigr{\}}, and let be the integral of over . Introduce , the lengths of the consecutive subintervals of obtained by choosing, at random, points in . Applying Lemma 3.1, the identity (3.2) and Lemma 3.2 (1) with , we have
[TABLE]
By the union bound, the expected value is below
[TABLE]
Lemma 4.6**.**
[TABLE]
In addition, since and , it follows from (4.13) that on
[TABLE]
Step 3. With , define . Introduce . Define
[TABLE]
Introduce , the lengths of the consecutive subintervals of in the partition of by the random points. Analogously to Step 2, we have
[TABLE]
Lemma 4.7**.**
[TABLE]
Similarly, with and
[TABLE]
Lemma 4.8**.**
[TABLE]
Combining the estimates (4.10), (4.13), (4.15), we have
Lemma 4.9**.**
*Let be such that . Then *
[TABLE]
where is the integral of over defined by the additional constraints: with , , ,
[TABLE]
The constraint (4.18) involves only . Furthermore, given , the constraint (4.17) imposes the uniform upper bound for the individual components , : no mixing the components , , and , , either. Also, this constraint implies that
[TABLE]
meaning that the constraint is superfluous. Moreover, the inequality (4.19) yields the equality
[TABLE]
that holds uniformly for , with the remainder term , see (4.14). It is the matter of simple algebra to obtain from the constraints on :
Lemma 4.10**.**
Uniformly for and ,
[TABLE]
Thus, introducing , so that as , within the factor the integrand depends on and . Observe also that, on ,
[TABLE]
So denoting \psi_{n}(s)=\tfrac{s^{2}}{2}\bigl{(}1-\tfrac{3}{n}\bigr{)}+\tfrac{s^{4}}{n^{2}}, and applying Lemma 3.1, (3.1), we have: , the integral of over , is given by
[TABLE]
From the step (4) we know that the probability factor is at least . The double integral, denote it , is given by
[TABLE]
The integrand attains its maximum at , so that . and it is easy to show that
[TABLE]
Besides, for . Therefore
[TABLE]
Since , and in (4.21), we have proved
Lemma 4.11**.**
Uniformly for even and with ,
[TABLE]
Consequently, by Lemma 4.9 ,
[TABLE]
Note. The formula (4.22) works for as well, meaning that
[TABLE]
So the expected number of stable matchings tends to as , [13].
4.3. The expectations of the numbers of stable partitions and odd
parties
Theorem 4.12**.**
Let and denote the total number of odd stable partitions , and the total number of odd cycles. Then
[TABLE]
Proof.
For even , let denote the total number of permutations of , having only odd cycles, each of length at least. For even , let denote the total number of permutations of having only odd cycles, each of length , at least; so . Then the total number of permutations of with odd cycles, each of length at least, with elements overall, and even cycles of length only, is . So, by Lemma 4.11, we have
[TABLE]
A standard argument from permutation enumeration shows that
[TABLE]
So, using the saddle-point method (Flajolet and Sedgewick [5]),
[TABLE]
With a bit of work, based on Stirling formula, it follows that
[TABLE]
Combining this formula with (4.25), and choosing , we complete the proof of (4.23).
A bivariate extension of (4.26) is
[TABLE]
Differentiating this identity at , we obtain
[TABLE]
So, analogously to (4.27), we obtain
[TABLE]
Combining this formula with the counterpart of (4.25), i.e. with
[TABLE]
we have (4.24). ∎
Tan [15], [16] defined a maximum stable matching for an instance as a matching of maximum size (number of matched pairs) such that no pair of members, both having a partner in , prefer each other to their partners. In short, no two members assigned in , but not to each other, block . He proved that a maximum stable matching has size , (see also Manlove [10]).
Corollary 4.13**.**
Let denote the size of the maximum stable matching for the random instance . Then
[TABLE]
so that the number of members unassigned in the maximum stable matching is likely to be of order O\bigl{(}n^{1/4}\log^{2}n).
4.4. A “maximally stable” matching in the random instance
For a given set of preferences, Abraham, Biró and Manlove [1] (see also [10]) defined a “maximally stable” matching as a perfect matching on that is blocked by the smallest number of pairs, , of members not matched with each other in . (Two members block if they prefer each other to their partners in .) A weaker corollary of the bound in [1] states that , where is the number of odd parties (common to all stable partitions for ) and is the length of the longest preference list.
Once we estimate , defined as the largest rank of a predecessor in the uniformly random instance , we will be able to apply the ABM inequality via replacing with .
For a stable (without a fixed point), introduce . Intuitively, controls the worst predecessor’s rank. From Lemma 4.9, and the proof of Theorem 4.12, it follows that
[TABLE]
A bit more generally, for every ,
[TABLE]
Denoting , let . Since are independent -Uniforms, we have . Let ; by the classic (Chernoff) bound for the tails of the binomial distribution,
[TABLE]
So, if is large enough. Invoking (4.29), we have then
[TABLE]
Thus
Lemma 4.14**.**
For arbitrarily small, quite surely is of order .
Combining Lemma 4.14 with (4.24) in Theorem 4.12, we have proved
Corollary 4.15**.**
With high probability, there exists a perfect matching which is blocked by at most unmatched pairs.
4.5. Likely range of in a stable, fixed-point free, partition
In Lemma 2.6 we proved that the probability that is stable and the total rank of all predecessors equals , necessarily exceeding , is given by
[TABLE]
where and .
Theorem 4.16**.**
For ,
[TABLE]
Proof.
Predictably, we will prove the claim via the union bound, i.e. summing the bounds of the respective probabilities for the individual partitions. It suffices then to consider the partitions with .
First of all, since in (4.30) is a polynomial of with non-negative coefficients, we have a Chernoff-type bound: for ,
[TABLE]
The integrand is, at most,
[TABLE]
(), see Lemma 4.1. Therefore the proof of Lemma 4.9 delivers, with only notational modification, that
[TABLE]
Here is the integral of \inf_{z\geq 1}\Bigl{[}z^{-\bar{k}}F(\mathbb{x},z)\Bigr{]} over , defined by the additional constraints: with , (,
[TABLE]
Instead of looking for the best where attains, or is close to, its infimum, we confine ourselves to a sub-optimal (i.e. dependent on only), which makes suitably small for all . Consider ; as we shall see shortly, the minimum point of an auxiliary bound for the integrand does satisfy this constraint.
Using , the constraints (4.32), (4.33) and , we have
[TABLE]
therefore
[TABLE]
So, applying the identity (3.2),
[TABLE]
Let us use (4.34) to prove that
[TABLE]
As a function of , is convex, and has its absolute minimum at
[TABLE]
This decreasing function of is “Chernoff-admissible” when is such that . Let be the smaller root of the (quadratic) equation :
[TABLE]
Thus our best hope is a function
[TABLE]
(i) . Here , the maximum point of
[TABLE]
So, arguing as in the proof of Lemma 4.5,
[TABLE]
(ii) . Let . Since , we have
[TABLE]
By the second formula, we have for , i.e. is concave. By the first formula, we have
[TABLE]
Thus is attained at a unique point ; in particular, . Since , it follows – via Taylor’s approximation of at – that . Therefore, similarly to (4.36), we obtain
[TABLE]
This bound together with (4.36) imply (4.35), which in combination with (4.31) deliver
[TABLE]
As in the proof of Corollary 4.4, it follows that
[TABLE]
Similarly
[TABLE]
∎
5. \textup{E\/}\bigl{[}\mathcal{S}_{n}^{2}\bigr{]} and the expected number of members with multiple stable
predecessors
First of all
[TABLE]
where is the probability that and are both stable. By Lemma 2.3,
[TABLE]
where , , , if , and for every circuit , (), formed by alternating pairs matched either in or , we have :
[TABLE]
Let be the total number of these circuits, and 2\nu\!=\!2\nu(\mathbb{\Pi}_{1},$$\mathbb{\Pi}_{2}), be their total length. Obviously, there are ways to select one of two “alternation” sequences described in (5.2) for each of the circuits. Whatever the choice, there are exactly vertices , on those circuits, where and vertices where . Let and denote the correspondent subsets, . So
[TABLE]
. The individual contributions of these choices of the inequalities along the circuits to the integral in (5.1) are all the same. This means that equals the RHS integral in (5.1), with inequalities (5.3) instead of (5.2), times .
As in the previous section, we need first to identify the subrange of that provides an asymptotically dominant contribution to the integral, and second to find a sharp approximation for that contribution. Like Theorem 4.12, the key instrument is the bound for the double-indexed product in the definition of proved in Lemma 4.1:
[TABLE]
Here are subject to the constraints (5.3). To make use of this bound, we change the variables of integration:
[TABLE]
Here , such that if , and the Jacobian equals . Furthermore, switching to and introducing
[TABLE]
we obtain
[TABLE]
Notice that
[TABLE]
In full analogy with the case of \textup{E\/}\bigl{[}\mathcal{O}_{n}\bigr{]}, the bound (5.4) and the identity (5.7) will allow us to shrink, in several steps, the range of to a core range, on which the integrand can be sharply approximated.
(1) Recall that we consider the partitions with the total length of all odd cycles . Our first step is to dispense with the pairs of the partitions such that .
Lemma 5.1**.**
[TABLE]
Proof.
By the equations (5.4) and (5.7), and the identity (3.2), we have
[TABLE]
Expanding and using again, term-wise, (3.2), we obtain
[TABLE]
For this sum was estimated in [14]. For our case the estimate from [14] becomes
[TABLE]
Furthermore, the number of ordered pairs with parameters , and is
[TABLE]
here, as we recall, is the total number of permutations of with only odd cycles of length or more, and is the total number of circuit partitions of with circuits, each of even length at least. The factor counts the total number of ways to assign, in the alternating fashion, the edges of the circuits to the matching sets of and . Clearly then, is the total number of permutations of with only even cycles, of length at least. We add that is the total number of ways to form the matched pairs out of elements outside the circuits, i.e. the pairs common to and .
So, by (5.10), (5.11) and (5.12), we obtain
[TABLE]
Now , and from [14] (Appendix) it follows that
[TABLE]
Also
[TABLE]
So the bound (5.13) yields
[TABLE]
since in the -sum the terms decrease with . Applying Stirling formula for the two factorials and using in the expansions of , , we transform this bound into
[TABLE]
∎
From now on we will consider only admissible pairs , i.e. those satisfying and .
(2) For the admissible pairs , we can discard large parts of the ’s range, like we did for individual partitions in the case of \textup{E\/}\bigl{[}\mathcal{S}_{n}\bigr{]}.
For a generic set of with , we define
[TABLE]
Lemma 5.2**.**
Introducing , and \mathcal{C}_{1}=\Bigl{\{}\mathbb{x},\mathbb{y}:\sum_{i\in[n]}(x_{i}\lor y_{i})\leq s_{n}\Bigr{\}}, we have
[TABLE]
Proof.
We already observed, (5.8), that . So, similarly to (5.9)-(5.10) we have:
[TABLE]
(Relaxing the constraint on to we get back to (5.10).) The last integrand attains its maximum at
[TABLE]
which is below if . Let and denote the sub-sums of the sum above, for and respectively. Then, expanding integration to , we obtain
[TABLE]
since , the ratio of the consecutive terms in the sum is below . Droping in the denominator and using the Stirling formula for the other factorials, we simplify the bound to
[TABLE]
The bound is smaller than the bound (5.11) for the full sum of by the factor . Turn to . This time the bottom integral over in (5.16) is small, compared to the integral over all , because for the maximum point of the integrand is at distance , at least, from the interval . More precisely, using the argument in the proof of Lemma 4.5, we have
[TABLE]
Therefore
[TABLE]
Combining (5.17), (5.18) and (5.11) we transform the inequality (5.16) into
[TABLE]
So, like the part (1) in the proof of Lemma 5.1,
[TABLE]
∎
We need some additional reduction of the last range . The bound (5.4) will continue to be the key tool, until the resulting range is narrow enough to permit a sufficiently sharp bound of the double product
[TABLE]
in (5.1). Define and as the vertex set of all odd cycles and even cycles, of length or more, and the vertex set of the edges common to both partitions, respectively. So , and . Arguing as in the proof of Lemma 4.1, but retaining more terms, we have
[TABLE]
Thus we have to find sharp approximations of the three explicit sums and to establish the bounds of the remainders for almost all . With those approximations at hand we will obtain an explicit upper bound for \textup{E\/}\bigl{[}(\mathcal{S}_{n})_{2}\bigr{]}. For brevity will not present a proof of a matching lower bound.
Lemma 5.3**.**
Define , where , for , and for . Define . For
[TABLE]
we have
[TABLE]
Proof.
Introduce , the intervals lengths in the random partition of by the random points. Analogously to (5.9), but using the sharper inequality in Lemma 3.1, (3.1), we have: with ,
[TABLE]
Arguing as in (4.12), the expectation factor is less than
[TABLE]
The integral is less than
[TABLE]
Here the double integral equals
[TABLE]
So
[TABLE]
Therefore
[TABLE]
The summand is similar to the summand defined in (5.10). Closely following the derivation of the bound for in [14], we obtain
[TABLE]
compare to (5.11). The last two bounds complete the proof. ∎
On we have
[TABLE]
and on
[TABLE]
Since , we have then the counterparts of the bounds in (4.14). Namely, on ,
[TABLE]
(4) With , define for , . Introduce , and the set of all such that
[TABLE]
Lemma 5.4**.**
For , let \mathcal{C}_{3}=\bigl{\{}(\mathbb{x},\mathbb{y})\in\mathcal{C}_{2}:\mathbb{v}^{\prime}\in V\bigr{\}}. Then
[TABLE]
Proof.
Introduce
[TABLE]
Then with ,
[TABLE]
Now the integrand depends on only through . So, introducing the random intervals forming the partition of , we obtain
[TABLE]
The probability is of order , and the integral equals the bottom -dimensional integral in (5.9). Jointly with (5.10) and (5.11) this proves the claim. ∎
Finally, introduce ; (here, of course, ).
Lemma 5.5**.**
For , let
[TABLE]
Then
[TABLE]
The proof is a copy of the previous argument.
The Lemmas 5.2, 5.3, 5.4 and 5.5 imply
Lemma 5.6**.**
For every admissible pair ,
[TABLE]
Here is the integral of over
[TABLE]
defined by the additional constraints: denoting ,
[TABLE]
The constraint (5.25) involves only , and the constraint (5.24) imposes the bound for the individual components and . Since , the latter implies that
[TABLE]
obviating the constraint . On the inequality (5.21) can be drastically simplified. First of all, the bottom part of the bound (5.21) is
[TABLE]
Second,
[TABLE]
and \xi=\xi_{1}\bigl{(}1+O(n^{-1}\log^{2}n)\bigr{)}. In addition, |\mathcal{M}|=n\bigl{(}1+O(n^{-1/2}\log n)\bigr{)}. Therefore (5.21) becomes
[TABLE]
Lemma 5.7**.**
[TABLE]
The proof, of course, is based on the description of , and it runs along the familiar lines of our preceding proofs; in particular, see the proof of Lemma 5.4. We omit the details. Furthermore, by the asymptotic formula for from [14] (3.60), we have
[TABLE]
So, by Lemma 5.7,
[TABLE]
Therefore, within the factor ,
[TABLE]
[TABLE]
cf. (5.13). The sum over is , see (5.14). So the sum over is asymptotic to
[TABLE]
Thus, since , the -term in the resulting sum is (within a factor )
[TABLE]
So
[TABLE]
Thus, since is of order , we have
Theorem 5.8**.**
\textup{E\/}\bigl{[}\mathcal{S}_{n}^{2}\bigr{]}\lesssim cn^{3/4}.
With extra work, we could have proved that \textup{E\/}\bigl{[}\mathcal{S}_{n}^{2}\bigr{]}\gtrsim cn^{3/4}, as well. Since \textup{E\/}\bigl{[}\mathcal{S}_{n}^{2}\bigr{]}\gg\textup{E\/}^{2}[\mathcal{S}_{n}], we cannot deduce that in probability, even though . We firmly believe that the argument itself may help to define a subset of stable partitions for which the two-moments approach will work just fine. For now we are content to use the techniques above to prove a result that would have been out of reach if not for the analysis of \textup{E\/}\bigl{[}\mathcal{S}_{n}^{2}].
Theorem 5.9**.**
Let denote the fraction of members that have more than one stable predecessor. Then , so that with high probability almost all members have a unique stable predecessor.
Proof.
It suffices to consider the members outside the odd cycles. If any such member has some two stable partners, it belongs to a cycle of even length formed by the alternating pairs matched in the corresponding stable partitions and . Notice that selecting every other edge of those cycles, we get a stable partition. Therefore, without loss of generality we can assume that and form a unique cycle of even length . It follows that , the total number of members with at least two stable partners, is below the total length of the single cycles formed by these special pairs of stable partitions and . The bound does look crude, but it works.
To bound the total expected length of those cycles, we need to estimate . For those pairs we have , and . Therefore
[TABLE]
∎
Acknowledgment. Almost thirty years ago Don Knuth introduced me to his ground-breaking work on random stable marriages. Don’s ideas and techniques have been a source of inspiration for me ever since. The masterful book by Dan Gusfield and Rob Irving encouraged me to continue working on stable matchings. I am very grateful to Rob for the chance to work with him on the stable roommates problem back in , and for his encouragement these last months. Itai Ashlagi, Peter Biró, Jennifer Chayes, Gil Kalai, Yash Kanoria, Jacob Leshno and the recent monograph by David Manlove made me aware of a significant progress in theory and applications of two/one–sided stable matchings. I thank the organizers for a valuable opportunity to participate in MATCH-UP 2017 Conference.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] D. J. Abraham, P. Biró and D. F. Manlove, “Almost stable” matchings in the roommates problem , Proceedings of WAOA ’05: the 3rd Workshop on Approximation and Online Algorithms, Lecture Notes in Computer Science, 3879 (2006) 1–14.
- 2[2] J. Alcalde, Exchange-proofness or divorce proofness? Stability in one-sided matching markets , Economic Design 1 (1995) 275–287.
- 3[3] G. E. Andrews, R. Askey and R. Roy, Special Functions , Cambridge University Press (1999).
- 4[4] K. Cechlárová and D. F. Manlove, The exchange-stable marriage problem , Disc. Appl. Math. 152 (2005) 109–122.
- 5[5] P. Flajolet and R. Sedgewick, Analytic Combinatorics , Cambridge University Press (2009).
- 6[6] D. Gusfield and R. W. Irving, The Stable Marriage Problem, Structure and Algorithms , The MIT Press (1989).
- 7[7] R. W. Irving and B. Pittel, An upper bound for the solvability probability of a random stable roommates instance , 5 (1994) 465–486.
- 8[8] D. E. Knuth, Stable marriage and its relation to other combinatorial problems: an introduction to the mathematical analysis of algorithms , CRM Proceedings and Lecture notes (1996).
