Mechanism description
We first introduce the standard DA, which is a component of our mechanism. A standard market is a tuple \((S,C,\succ _S,\succ _C, q_C)\), whose definition resembles a market with ratio constraints. The only difference is that its constraints are given as a profile of maximum quotas: \(q_C = (q_c)_{c\in C}\). Matching \(\dot{X}\) is school-feasible if for all \(c\in C\), \(|\dot{X}_c|\le q_c\) holds. The standard DA is defined as follows:
Mechanism 1
(Standard DA)
Step 1Each studentsapplies to her favorite school according to\(\succ _s\)from the schools that did not reject her so far.
Step 2Each schoolcprovisionally accepts the top\(q_c\)students from the applying students based on\(\succ _c\)and rejects the rest of them (no distinction between newly applying students and already provisionally accepted students).
Step 3If no student is rejected, return the current matching. Otherwise, go toStep 1.
Informally, quota reduction deferred acceptance (QRDA) produces an initial standard market from a market with ratio constraints, and then, at each stage, iteratively (i) applies DA on the standard market and (ii) restricts the constraints on this market (i.e., reduces the maximum quotas), until the matching returned by DA is also feasible with respect to the ratio constraints.
To determine the initial standard market, we use \(q_{max}\), which is the largest value that satisfies the following equation:
$$\begin{aligned} \alpha \cdot q_{max} \le \left\lfloor \dfrac{n-q_{max}}{m-1}\right\rfloor . \end{aligned}$$
(1)
Indeed, note that if t (\(> q_{max}\)) students are assigned to c, a school that is assigned at most \(t' = \left\lfloor (n-t)/(m-1) \right\rfloor\) students exists. Since \(q_{max}\) is the largest value satisfying Eq. (1), \(t'/t < \alpha\) holds. Thus, no matching is feasible where t students are assigned to c, i.e., in a feasible matching, a school accepts at most \(q_{max}\) students.
Which maximum quota is reduced at each stage is defined by \(\sigma\), the sequence of schools based on the round-robin order \(c_1, c_2, \ldots , c_m\). Let \(\sigma (k)\) denote the k-th school in \(\sigma\), i.e., \(\sigma (k)=c_j\), where \(j= 1+ (k-1 \mod m)\). For simplicity, we assume \(\sigma\) is based on a fixed round-robin order, but all our results hold for any balanced sequence \(\sigma\), i.e., for each \(\ell \in {\mathbb {N}}_0\), \(\sigma (m\ell +1), \sigma (m\ell +2), \ldots , \sigma (m\ell +m)\) is a permutation of \(c_1, c_2, \ldots , c_m\). Furthermore, this requirement is crucial to guarantee the strategyproofness of QRDA as Example 3 later demonstrates.
QRDA is defined with respect to a specific quota reduction sequence \(\sigma\). However, in the following, we assume that \(\sigma\) is the round-robin order \(c_1, c_2, \ldots , c_m\), and we only specify \(\sigma\) when necessary. The formal definition of QRDA is given in Mechanism 2. We denote by \(q^k_c\) the quota of school c at stage k of QRDA.
Mechanism 2
(Quota reduction deferred acceptance (QRDA))
Initialization:
For all\(c\in C\), \(q^1_c \leftarrow q_{max}\), \(k \leftarrow 1\).
Stagek (\(\ge 1\)):
Step 1Run the standard DA in market\((S,C,\succ _S,\succ _C,q_C^k)\)and obtain matching\(\dot{X}^k\).
Step 2If\(\dot{X}^k\)is school-feasible, then return\(\dot{X}^k\).
Step 3Otherwise, for school\(c' = \sigma (k)\), \({q^{k+1}_{c'} \leftarrow q^{k}_{c'} -1}\), and forc (\(\ne c'\)), \(q^{k+1}_{c} \leftarrow q^{k}_{c}\). Go toStage\(k+1\).
We illustrate the QRDA’s execution in Example 1. We choose \(q_{max}=2\) such that Eq. (1) is satisfied. In stage 1, \(s_1\) and \(s_2\) are assigned to \(c_2\), and \(s_3\) and \(s_4\) are assigned to \(c_3\). This matching is not feasible. Thus, in stage 2, the quota of \(c_1\) is decreased but the obtained matching is identical. In stage 3, the quota of \(c_2\) is decreased. Then \(s_3\) is assigned to \(c_1\), \(s_2\) is assigned to \(c_2\), and \(s_1\) and \(s_4\) are assigned to \(c_3\). This matching is feasible and fair.
Mechanism properties
In this subsection, we analyze the properties that QRDA satisfies starting with feasibility and fairness.
Theorem 3
QRDA returns a feasible and fair matching.
Proof
QRDA terminates when it obtains a feasible matching. As mentioned in Sect. 2, recall that in the most balanced matching, the most popular school has \(\lceil n / m \rceil\) students and the least popular school \(\lfloor n / m \rfloor\). Assume QRDA continues to reduce the maximum quotas of the schools without obtaining a feasible matching. Eventually, since the average number of students per school is n/m and the sequence \(\sigma\) is balanced, there will be stage k such that the following conditions hold: \(\sum _{c \in C} q^{k}_c = n\) and for all \(c \in C\), \(\lfloor n / m \rfloor \le q_c \le \lceil n / m \rceil\). In this stage k, the provisional matching of QRDA, \(\dot{X}\), satisfies \(r(\dot{X}) =\lfloor n / m \rfloor \,/\,\lceil n / m \rceil \ge \alpha\), and thus, \(\dot{X}\) is feasible. Therefore, QRDA must terminate before k, i.e., QRDA terminates at stage \(k'\) (\(\le k\)). Hence, \(\dot{X}^{k'}\) is identical to the matching obtained by the standard DA for the market \((S, C, \succ _S, \succ _C, q^{k'}_C)\). Since DA is fair [16], \(\dot{X}^{k'}\) must be fair. \(\square\)
From the Proof of Theorem 3, we can show the following useful lemma.
Lemma 1
During the QRDA’s execution, the maximum quota of any school is at least\(\lfloor n / m \rfloor\).
Proof
As indicated in the Proof of Theorem 3, QRDA must terminate at stage \(k'\) (\(\le k\)). Since QRDA decreases quotas and, at stage k, \(\lfloor n / m \rfloor \le q_c \le \lceil n / m \rceil\) for any \(c \in C\), school quotas are always at least \(\lfloor n / m \rfloor\) while running QRDA. \(\square\)
QRDA’s strategyproofness is not trivial at all. Since schools’ quotas are decreasing, a student might have an incentive to terminate the mechanism early to secure the seat in a school, which might not be available in later stages.
Moreover, when considering more general constraints (non M-convex), iterative DA mechanisms do not automatically inherit DA’s strategyproofness, even with a balanced quota reduction sequence. For illustration, consider an iterative DA mechanism in Example 2, where initial quotas are equal to the largest number of students in a school in any feasible matching and the quota reduction sequence is balanced.
Example 2
\(S = \{s_1, s_2, s_3, s_4, s_5, s_6\}\), \(C = \{c_1, c_2, c_3\}\), \(\sigma : c_1, c_2, c_3\) and feasible vectors are \(\{(3, 1, 2), (2, 2, 2)\}\). Preferences of students and schools are as follows:
$$\begin{aligned} \begin{array}{r} s_1, s_2 : c_1 \succ c_{2} \succ c_{3} \\ s_3 : c_{2} \succ c_{3} \succ c_{1} \\ s_4, s_5, s_6 : c_{3} \succ c_{1} \succ c_{2} \end{array} \quad \begin{array}{c} c_{1},c_{2},c_{3} : s_{1} \succ s_{2} \succ s_{3} \succ s_{4} \succ s_5 \succ s_6 \end{array} \end{aligned}$$
The initial maximum quotas are \(q^1_C = (3, 3, 3)\). In stage 1, all students are assigned to their favorite school, and the matching is not feasible. The mechanism proceeds by reducing by one the quota of schools \(c_1\) and \(c_2\) in stage 2 and 3 respectively, and the matching remains the same. In stage 4, the quota of school \(c_3\) is decreased by one. Student \(s_6\) is rejected and then applies to \(c_1\) which also rejects her. Hence, \(s_6\) is assigned to \(c_2\), and the matching becomes feasible. However, if \(s_6\) misreports her preference with \(\succ '_{s_6}\) such that \(c_1\) is her favorite school, \(s_6\) is assigned to \(c_1\) at stage 1 and the matching is feasible. Thus, \(s_6\) can successfully manipulate the mechanism.
To show that no student can manipulate in QRDA under ratio constraints, we utilize several properties. Recall that school c is strictly maximum if any other school has strictly less students than c, and strictly minimum if any other school has strictly more students than c.
Lemma 2
Assume in stagekof QRDA that obtained matching\(\dot{X}^k\)is not feasible, and school\(c'\)is strictly maximum, i.e., for allc (\(\ne c'\)), \(|\dot{X}^{k}_{c'}| > |\dot{X}^{k}_{c}|\)holds. Lettdenote\(|\dot{X}^{k}_{c'}|-1\). In stage\(k+1\), if the number of students assigned to\(c'\)is decreased (due to the reduction of\(q_{c'}\)) tot, and the number of students assigned to another school\(c''\)is increased, i.e., \(|\dot{X}^{k+1}_{c''}|=|\dot{X}^k_{c''}|+1\), then one of the following two cases must be true:
- (a)
\(|\dot{X}^{k+1}_{c''}|=t+1\)holds, and\(c''\)is strictly maximum.
- (b)
\(|\dot{X}^{k+1}_{c''}|\le t\)holds, and for each schoolc, the number of assigned students is at mostt.
Proof
If the number of students assigned to \(c''\) in stage k is t, then the first condition of case (a) holds. Furthermore, for each school c (\(\ne c', c''\)), \(|\dot{X}^{k+1}_{c}|= |\dot{X}^{k}_{c}| < t+1\) holds. Thus, \(c''\) is strictly maximum. If the number of students assigned to \(c''\) in stage k is strictly smaller than t, then the first condition of case (b) holds. For each school c (\(\ne c', c''\)), \(|\dot{X}^{k+1}_{c}|= |\dot{X}^{k}_{c}| < t+1\) holds. \(\square\)
When analyzing the effect of manipulations of student s in stage k, it is convenient to assume in stage k (and thereafter) that a matching is obtained as follows. First, all students except s are provisionally matched to schools by DA with respect to \(q^k_C\). Continue the DA procedure by adding s to the current provisional matching. The matching obtained in this way is identical to the matching obtained by applying DA when all the students enter the market simultaneously [11]. If the matching satisfies the ratio constraints, QRDA terminates. Otherwise, the quota of school \(c=\sigma (k)\) is reduced and the mechanism proceeds to stage \(k+1\). In the current provisional matching, if school c accepts \(q^k_c\) students, the least preferred student \(s'\) is rejected. Then \(s'\) applies to the next school, and so on. Otherwise, the quota of school \(c=\sigma (k+1)\) is reduced, and the mechanism proceeds to stage \(k+2\), and so forth.
In the above procedure, when s enters the market, she first applies to some school c. If c accepts all the students applying to it, then the current stage terminates. Otherwise, c rejects one student, \(s'\) (\(s'\) can be s or another student), who applies to the next school, and so on. We call such a sequence of applications and rejections a rejection chain. More formally, let \({\mathcal {C}}_s= (c, c', \ldots , c'')\) be a partial order over S, denoting the order in which student s is going to apply, i.e., s applies first to c; if rejected, she applies to \(c'\), and so on. \({\mathcal {C}}_s\) is called a scenario, and does not need to be exhaustive. Assume s enters the market with scenario \({\mathcal {C}}_s\). Define \({\mathcal {R}}({\mathcal {C}}_s)\) as the rejection chain of \({\mathcal {C}}_s\). It starts when s applies to the first school in \({\mathcal {C}}_s\) and describes the sequence of applications and rejections until s is rejected by the last school in \({\mathcal {C}}_s\), or the mechanism terminates. Table 1 shows an example of a rejection chain.
Table 1 Example of rejection chain Another useful lemma to prove QRDA’s strategyproofness is the Scenario Lemma. This lemma is inspired by the original Scenario Lemma [11], which is only proved for the standard DA and does not trivially extend to QRDA.
Lemma 3
(Scenario Lemma) Consider two scenarios, \({\mathcal {C}}_s\)and\({\mathcal {C}}'_s\), of studentsstarting from the same stage of QRDA. If (1) each school that appears in\({\mathcal {C}}'_s\)also appears in\({\mathcal {C}}_s\)(the order of appearance is irrelevant), (2) studentsapplies to all the schools in\({\mathcal {C}}_s\), and (3) all the actions of\({\mathcal {R}}({\mathcal {C}}'_s)\)happen in the same stage, then all the actions in\({\mathcal {R}}({\mathcal {C}}'_s)\)also happen in\({\mathcal {R}}({\mathcal {C}}_s)\).
Proof
The first action in \({\mathcal {R}}({\mathcal {C}}'_s)\) is “student s applies to school c,” where c is the first school that appears in \({\mathcal {C}}'_s\). Since c also appears in \({\mathcal {C}}_s\), and s applies to all the schools in \({\mathcal {C}}_s\), \({\mathcal {R}}({\mathcal {C}}_s)\) also includes this action. For an inductive step, assume the first \(i-1\) actions in \({\mathcal {R}}({\mathcal {C}}'_s)\) also happen in \({\mathcal {R}}({\mathcal {C}}_s)\), and consider the i-th action of \({\mathcal {R}}({\mathcal {C}}'_s)\). The i-th action in \({\mathcal {R}}({\mathcal {C}}'_s)\) must be either (i) “student \(s'\) applies to school \(c'\)” or (ii) “school \(c'\) rejects student \(s'\).”
In case (i) with \(s'=s\), since school \(c'\) must appear in \({\mathcal {C}}_s\) and s applies to all the schools in \({\mathcal {C}}_s\), \({\mathcal {R}}({\mathcal {C}}_s)\) also includes this action. In case (i) with \(s'\not = s\), there must be a previous action, “school \(c''\) rejects student \(s'\),” in \({\mathcal {R}}({\mathcal {C}}'_s)\). From the inductive assumption, this action also happens in \({\mathcal {R}}({\mathcal {C}}_s)\). Thus, the action “student \(s'\) applies to school \(c'\)” also happens in \({\mathcal {R}}({\mathcal {C}}_s)\).
In case (ii), let \(S'_{c'}\) be the set of students who applied to \(c'\) before the i-th action in \({\mathcal {R}}({\mathcal {C}}'_s)\), and let \(S_{c'}\) be the set of all the students applying to \(c'\) until all actions in \({\mathcal {R}}({\mathcal {C}}_s)\) are executed. Here, \(S'_{c'}\subseteq S_{c'}\) holds since every application before the i-th action in \({\mathcal {R}}({\mathcal {C}}'_s)\) also appears in \({\mathcal {R}}({\mathcal {C}}_s)\). Since in the i-th action of \({\mathcal {R}}({\mathcal {C}}'_s)\), \(s'\) is rejected by school \(c'\), she is not among \(c'\)’s favorite \(q^k_{c'}\) students in set \(S'_{c'}\). Since the quotas of schools are non-increasing as QRDA continues, in some stage \(k'\) (\(\ge k\)), student \(s'\) must not be among the favorite \(q^{k'}_{c'}\) students in \(S_{c'}\). Thus, the action “school \(c'\) rejects student \(s'\)” eventually occurs in \({\mathcal {R}}({\mathcal {C}}_s)\). \(\square\)
Now we are ready to prove our main theorem.
Theorem 4
QRDA is strategyproof.
Proof
Assume student s is assigned to a better school when she misreports. Without loss of generality, we assume her true preference is \(c_1\succ _s c_2\succ _s\cdots \succ _s c_m\), and s is assigned to school \(c_j\) in stage k when misreporting while assigned to \(c_i\) in stage \(k'\) under her true preference, where \(c_j \succ _s c_i\).
First, we show that if \(k' \le k\), student s cannot benefit from misreporting. The standard DA satisfies a property called resource monotonicity, i.e., DA’s outcome is weakly less preferred by each student if the quotas decrease [12]. It implies that when student s truthfully report her preference in both stages k and \(k'\), her assignment is (weakly) worse in k than in \(k'\). Furthermore, it is known that DA is strategyproof [11, 38]. Hence, in stage k, student s’s assignment is worse when she misreports than when she truthfully reports. Therefore, s’s assignment is (weakly) worse when she misreports in k than when she truthfully reports in \(k'\), and thus, s cannot benefit from misreporting if \(k' \le k\). Hence, in the following, \(k < k'\) holds.
Let \({\mathcal {C}}_s\) be \((c_1,c_2,\ldots ,c_{i-1})\), which is based on the true preference of s and truncated before \(c_i\). Then the last action in \({\mathcal {R}}({\mathcal {C}}_s)\) must be “school \(c_{i-1}\) rejects student s.” On the other hand, let \({\mathcal {C}}'_s\) be a sequence of schools to which s applies when s misreports, in which the last school is \(c_j\). For \({\mathcal {C}}'_s\), the following two cases are possible: (i) \(c_j\) is the least preferred school for s within \({\mathcal {C}}'_s\) based on her true preference \(\succ _s\) or (ii) \({\mathcal {C}}'_s\) contains at least one school that is less desired than \(c_j\) based on \(\succ _s\).
In case (i), each school c that appears in \({\mathcal {C}}'_s\) also appears in \({\mathcal {C}}_s\). Thus, we can apply Lemma 3. Let \(\dot{X}\) denote the set of contracts obtained by assigning all students except s by DA with respect to \(q^k_C\). Assume that when s enters the market with \({\mathcal {C}}_s\), she is assigned to school \(c'\) (\(\ne c_j\)) and infeasible matching \(\dot{X}^k\) is obtained. When s enters the market with \({\mathcal {C}}'_s\), she is assigned to \(c_j\) and feasible matching \(\ddot{X}^k\) is obtained. From these facts, at least one of the following four cases (which are not necessarily mutually exclusive) must be true:
- (1)
\(c_j\) is strictly minimum in \(\dot{X}\), i.e., \(|\dot{X}_{c_j}|<|\dot{X}_{c}|\) holds for each c (\(\ne c_j\)).
- (2)
\(|\dot{X}_{c_j}|=q^k_{c_j}\) and a student is rejected when student s applies to school \(c_j\) in scenario \({\mathcal {C}}'_s\). Then student \(s'\) (\(\ne s\)) is eventually assigned to \(c''\) (\(\ne c_j\)), such that \(c''\) is strictly minimum in \(\dot{X}\).
- (3)
\(c'\) is strictly maximum in \(\dot{X}^k\), i.e., \(|\dot{X}^k_{c'}|= |\dot{X}_{c'}|+1 > |\dot{X}^k_c| = |\dot{X}_c|\) holds for each c (\(\ne c'\)).
- (4)
\(|\dot{X}_{c'}|=q^k_{c'}\) and a student is rejected when s applies to school \(c'\) in scenario \({\mathcal {C}}_s\). Then student \(s''\) (\(\ne s\)) is eventually assigned to \(\tilde{c}\) (\(\ne c'\)), such that \(\tilde{c}\) is strictly maximum in \(\dot{X}^k\), i.e., \(|\dot{X}^k_{\tilde{c}}|= |\dot{X}_{\tilde{c}}|+1 > |\dot{X}^k_c| = |\dot{X}_c|\) holds for each c (\(\ne \tilde{c}\)).
For case (1), the last action in \({\mathcal {R}}({\mathcal {C}}'_s)\) must be “student s applies to school \(c_j\),” which also appears in \({\mathcal {R}}({\mathcal {C}}_s)\). Assume this action occurs in stage \(k''\) (\(\le k'\)).
Since \(c_j\) is strictly minimum in \(\dot{X}\), we obtain \(|\dot{X}_{c_j}| < \lfloor n/m \rfloor\) for the following reason. Let u denote \(|\dot{X}_{c_j}|\). Then for each school c (\(\ne c_j\)), \(|\dot{X}_{c}| \ge u+1\) holds. Since the total number of students in \(\dot{X}\) is \(n-1\), and there are \(m-1\) schools except \(c_j\), we obtain \((u+1)(m-1) + u \le n-1\). By transforming this formula, we obtain \(u \le n/m -1\). Since \(n/m -1 < \lfloor n/m \rfloor\) holds, we obtain \(u < \lfloor n/m \rfloor\).
From Lemma 1, since the maximum quota of each school is at least \(\lfloor n/m \rfloor\), \(c_j\) can accept another student. As the mechanism continues, the quotas are decreased according to the sequence \(\sigma\), based on the round-robin order \(c_1, c_2,\ldots ,c_m\). It implies that the number of students assigned to the most popular school in each stage never increases. Thus, when \(c_j\) accepts another student, the obtained matching is feasible, and the mechanism terminates. Therefore, in stage \(k''\), the mechanism terminates when s applies to \(c_j\). However, this contradicts our assumption that the last action in \({\mathcal {R}}({\mathcal {C}}_s)\) is “student s is rejected by school \(c_{i-1}\).”
For case (2), we can use a similar argument as case (1) and show that the mechanism terminates with a feasible matching in \({\mathcal {R}}({\mathcal {C}}_s)\), which contradicts our assumption.
In the rest of this proof, we assume cases (1) and (2) do not occur. For case (3), let t denote \(|\dot{X}_{c'}|\). Since \(\dot{X}^k\) is not feasible and \(\ddot{X}^k\) is feasible, if the number of students of the most popular school becomes \(t+1\), then the matching becomes infeasible. If the number of students of that school is at most t, then the matching becomes feasible. Assume the last action in \({\mathcal {R}}({\mathcal {C}}'_s)\) is “student \(s'\) applies to school \(c_\ell\),” such that \(|\ddot{X}^k_{c_\ell }| =|\dot{X}_{c_\ell }|+1\) holds. Since \(\ddot{X}^k\) is feasible, \(|\ddot{X}^k_{c_\ell }|=|\dot{X}_{c_\ell }|+1\le t\) must hold. According to Lemma 3, action “student \(s'\) applies to school \(c_\ell\)” also appears in \({\mathcal {R}} ({\mathcal {C}}_s)\). Assume this action happens in stage \(k''\) (\(\le k'\)).
Then from Lemma 2, case (a) continues to hold until stage \(k''\) in \({\mathcal {R}}({\mathcal {C}}_s)\). Otherwise, case (b) holds and the number of assigned students for each school becomes at most t. Then the matching becomes feasible, and the mechanism terminates. Thus, the number of assigned students of \(c_{\ell }\) remains \(|\dot{X}_{c_\ell }|<t\). At stage \(k''\) in \({\mathcal {R}}({\mathcal {C}}_s)\), case (b) must hold. Recall that quotas are decreased according to \(\sigma\). Then, the quota of \(c_{\ell }\) must be at least t, since before stage \(k''\), there exists a school with \(t+1\) students. Thus, when \(s'\) applies to school \(c_\ell\), an available seat exists in \(c_\ell\), and \(s'\) will be accepted. Furthermore, every school accepts at most t students. Thus, the obtained matching is feasible, and the mechanism terminates. This contradicts the assumption that the last action in \({\mathcal {R}}({\mathcal {C}}_s)\) is “school \(c_{i-1}\) rejects student s.”
For case (4), we can use a similar argument as case (3) and show that the mechanism terminates with a feasible matching in \({\mathcal {R}}({\mathcal {C}}_s)\), which contradicts our assumption.
Furthermore, for case (ii), we can create a new scenario \({\mathcal {C}}''_s\) by removing all the schools that are less desired than \(c_j\) based on \(\succ _s\) from \({\mathcal {C}}'_s\). Then if s is assigned to \(c_j\) in \({\mathcal {R}}({\mathcal {C}}''_s)\), we obtain the same contradiction as case (i) by comparing \({\mathcal {R}}({\mathcal {C}}''_s)\) and \({\mathcal {R}} ({\mathcal {C}}_s)\). Thus, action “school \(c_j\) rejects student s” must appear in \({\mathcal {R}}({\mathcal {C}}''_s)\). Then by Lemma 3, this action also appears in \({\mathcal {R}} ({\mathcal {C}}'_s)\), but this is also a contradiction. \(\square\)
QRDA’s strategyproofness heavily relies on the fact that \(\sigma\) is balanced. Indeed, if \(\sigma\) is not balanced, QRDA is not strategyproof as Example 3 demonstrates.
Example 3
\(S = \{s_1, s_2, s_3, s_4, s_5, s_6, s_7, s_8, s_9\}\), \(C = \{c_1, c_2, c_3\}\), \(\alpha = 1/4\) and \(\sigma : c_2, c_2, c_1\). Preferences of students and schools are as follows:
$$\begin{aligned} \begin{array}{r} s_1 , s_2 , s_3 , s_4 , s_5 : c_1 \succ c_{2} \succ c_{3} \\ s_6, s_7, s_8 : c_2 \succ c_3 \succ c_1 \\ s_9 : c_3 \succ c_1 \succ c_2 \end{array} \quad \begin{array}{l} c_{1}, c_2, c_3 : s_1 \succ s_2 \succ s_3 \succ s_4 \succ s_6 \succ s_7 \succ s_8 \succ s_9 \succ s_5 \end{array} \end{aligned}$$
QRDA sets \(q^1_C = (5, 5, 5)\), which satisfies Eq. (1). In stage 1, each student is assigned to her favorite school but this matching is not feasible. Then, in each of the two following stages, the quota of \(c_2\) is decreased by one but the matching remains the same. In stage 4, the quota of \(c_1\) is decreased by one and \(s_5\) is rejected. Next, she applies to \(c_2\), which also rejects her, and she is finally assigned to \(c_3\). The corresponding matching is feasible:
$$\begin{aligned} \left( \begin{array}{ccc} c_1 & c_2 & c_3 \\ \{s_1,s_2,s_3,s_4\} & \{s_6, s_7, s_8\} & \{s_5, s_9\} \\ \end{array}\right) . \end{aligned}$$
However, if student \(s_5\) misreports with preference \(\succ '_{s_5}\) such that \(c_2\) is her favorite school, QRDA stops with a feasible matching at stage 1:
$$\begin{aligned} \left( \begin{array}{ccc} c_1 & c_2 & c_3 \\ \{s_1,s_2,s_3,s_4\} & \{s_5, s_6, s_7, s_8\} & \{s_9\} \\ \end{array}\right) . \end{aligned}$$
Student \(s_5\) manipulated the mechanism to get a better result \((s_5, c_2)\).
Furthermore, if \(\sigma\) is not balanced, the matching obtained by QRDA could not be feasible since we assume that all students must be assigned somewhere.
A question that naturally arises is whether a group of students can manipulate QRDA. It is known that DA is not group strategyproof in the strong sense, and thus it extends to QRDA. However, DA is weakly group strategyproof [6], and thus a legitimate question is whether QRDA inherits this property. To show that QRDA is weakly group strategyproof, we first show that QRDA satisfies weak non-bossiness and weak Maskin monotonicity. Notice first that DA is both weakly non-bossyFootnote 4 [6] and weakly Maskin monotone [29]. We first show that QRDA is weakly non-bossy.
Lemma 4
QRDA is weakly non-bossy.
Proof
For a profile \(\succ _S\), we write \(\varphi (\succ _S)\) the matching returned by QRDA on profile \(\succ _S\), and \(\varphi ^k(\succ _S)\) the (maybe not feasible) matching returned by QRDA on \(\succ _S\) at some stage k.
By contradiction assume profile \(\succ _S\), student s and preference \(\succ _s'\) which is an upper-contour-set preserving transformation of \(\succ _s\) at \(\varphi _s(\succ _S)\) exist such that \(\varphi _s(\succ '_s, \succ _{S\setminus \{s\}}) = \varphi _s(\succ _S)\), but student \(s'\) exists such that \(\varphi _{s'}(\succ '_{s}, \succ _{S\setminus \{s\}}) \ne \varphi _{s'}(\succ _S)\). Assume also that QRDA terminates at stage k with \(\succ _S\), and at stage \(k'\) with \(\succ '_S=(\succ '_s, \succ _{S\setminus \{s\}})\). Then we consider three cases:
- \(k'=k\):
QRDA finishes at the same stage with \(\succ _S\) or \(\succ '_S\), but then it contradicts the fact that DA is weakly non-bossy.
- \(k' < k\):
QRDA finishes earlier with \(\succ '_S\). By strategyproofness of QRDA, it holds \(\varphi _s^{k}(\succ _S) \succeq _s \varphi _s^{k'}(\succ '_S)\). Since \(\succ '_s\) is an upper-contour-set preserving transformation of \(\succ _s\) at \(\varphi ^k_s(\succ _S)\), it implies that \(\varphi _s^{k}(\succ _S) \succeq '_s \varphi _s^{k'}(\succ '_S)\). However, if \(\varphi _s^{k}(\succ _S) \succ '_s \varphi _s^{k'}(\succ '_S)\), then preference \(\succ _s\) is a manipulation for student s when assuming that \(\succ '_s\) is sincere; hence \(\varphi _s^{k}(\succ _S) =\varphi _s^{k'}(\succ '_S)\). Thus \(\succ '_s\) is also an upper-contour-set preserving transformation of \(\succ _s\) at \(\varphi ^{k'}_s(\succ '_S)\), and equivalently, \(\succ _s\) is an upper-contour-set preserving transformation of \(\succ '_s\) at \(\varphi ^{k'}_s(\succ '_S)\). With a similar argument as above, at stage \(k'\), by strategyproofness of DA, it holds \(\varphi _s^{k'}(\succ '_S) = \varphi _s^{k'}(\succ _S)\). Thus, because DA is weakly non-bossy and \(\varphi _s^{k'}(\succ '_S) =\varphi _s^{k'}(\succ _S)\), it holds that \(\varphi ^{k'}(\succ '_S) =\varphi ^{k'}(\succ _S)\). Thus \(\varphi ^{k'}(\succ _S)\) is feasible at stage \(k'\), and QRDA should terminate at stage \(k'\) on profile \(\succ _S\), which is a contradiction.
- \(k' > k\):
QRDA finishes later with \(\succ '_S\). First, at stage k, by strategyproofness of DA, it holds \(\varphi _s^{k} (\succ _S) \succeq _s \varphi _s^{k}(\succ '_S)\). Since \(\succ '_s\) is an upper-contour-set preserving transformation of \(\succ _s\) at \(\varphi ^k_s(\succ _S)\), it implies that \(\varphi _s^{k}(\succ _S) \succeq '_s \varphi _s^{k}(\succ '_S)\). However, if \(\varphi _s^{k}(\succ _S) \succ '_s \varphi _s^{k}(\succ '_S)\), then preference \(\succ _s\) is a manipulation for student s when assuming that \(\succ '_s\) is sincere; hence \(\varphi _s^{k}(\succ _S) =\varphi _s^{k}(\succ '_S)\). It holds that \(\varphi ^{k}(\succ '_S) =\varphi ^{k}(\succ _S)\) because DA is weakly non-bossy and \(\varphi _s^{k}(\succ '_S) = \varphi _s^{k}(\succ _S)\). Thus \({\varphi ^{k}(\succ '_S)}\) is feasible at stage k, and QRDA should terminates at stage k on profile \(\succ '_S\), which is a contradiction.
\(\square\)
Before showing that QRDA is weakly Maskin monotone, we prove the following property concerning DA when the preferences are monotonically transformed. Given a profile \(\succ _S\), let \(\varphi ^{D}(\succ _S)\) denote the matching returned by DA on \(\succ _S\), and then \(\varphi ^{D}_s(\succ _S)\) denote the assignment of a specific student s.
Lemma 5
For any preference profiles\(\succ _S\)and\(\succ '_S\)such that\(\succ '_S\)is a monotonic transformation of\(\succ _S\)at\(\varphi ^{D}_s(\succ _S)\), the number of students in each school is the same in\(\varphi ^{D}(\succ _S)\)and\(\varphi ^{D}(\succ '_S)\).
Proof
We prove this claim in the case when only one student transforms her preference. By recursion, the argument adapts to the general case.
Consider preference profiles \(\succ _S\) and \(\succ '_S=(\succ '_s, \succ _{S\setminus \{s\}})\) such that \(\succ _s'\) is a monotonic transformation of \(\succ _s\) at \(\varphi ^{D}_s(\succ _S)\). Now consider two scenarios when student s is added last in the market, scenario \(C_s\) with preference \(\succ _S\) and scenario \(C'_s\) with preference \(\succ '_S\). Since \(\succ _s'\) is a monotonic transformation of \(\succ _s\) at \(\varphi ^{D}_s(\succ _S)\), we can apply the Scenario lemma for DA [11], and thus all actions that happen with \(C'_s\) also happen with \(C_s\). In particular, consider school \(c'\) which is the last school that finally gains one student when s is added in the market. Then, in scenario \(C_s\), the action “school \(c'\) accepts an additional student” also happens and then DA terminates after this action. It implies that the number of students in each school is the same in both scenarios. \(\square\)
Lemma 6
QRDA is weakly Maskin monotone.
Proof
For a profile \(\succ _S\), we write \(\varphi (\succ _S)\) for the matching returned by QRDA on profile \(\succ _S\), and \(\varphi ^k(\succ _S)\) the (maybe not feasible) matching returned by QRDA on \(\succ _S\) at some stage k.
By contradiction assume profile \(\succ _S\) and profile \(\succ '_S\) which is a monotonic transformation of \(\succ _S\) at \(\varphi (\succ _S)\) exist such that \(\varphi _s(\succ _S) \succ '_s \varphi _s(\succ '_S)\) for some student s. Assume also that QRDA terminates at stage k with \(\succ _S\), and at stage \(k'\) with \(\succ '_S\). Then we consider three cases:
- \(k'=k\):
QRDA finishes at the same stage with \(\succ _S\) or \(\succ '_S\), but then it contradicts the fact that DA is weakly Maskin monotone.
- \(k'<k\):
QRDA finishes earlier with \(\succ '_S\). At stage k, by weak Maskin monotonicity of DA, \(\varphi _s^k(\succ '_S) \succeq '_s \varphi _s^k(\succ _S)\) holds for all \(s \in S\). Furthermore, by resource monotonicity of DA, \(\varphi _s^{k'}(\succ '_S) \succeq '_s \varphi _s^k(\succ '_S)\) holds for all \(s \in S\). It implies that \({\varphi _s^{k'}(\succ '_S) \succeq '_s \varphi _s^k(\succ _S)}\) holds for all \(s\in S\), which contradicts the fact that student s exists such that \(\varphi _s(\succ _S) \succ '_s \varphi _s(\succ '_S)\).
- \(k'>k\):
QRDA finishes later with \(\succ '_S\). Recall that \(\succ '_S\) is a monotonic transformation of \(\succ _S\) at \(\varphi (\succ _S)\). Then, with Lemma 5 at stage k, it holds that the number of students in each school is the same in matching \(\varphi ^k(\succ _S)\) and \(\varphi ^k(\succ '_S)\), which implies that the ratio is the same in both matching. It contradicts the fact QRDA finishes at stage \(k'\) (\(>k\)) on profile \(\succ '_S\). \(\square\)
Now we prove that QRDA is weakly group strategyproof by using Barberà et al. [6]’s result. In addition to weak non-bossiness, weak Maskin monotonicity, and strategyproofness, this result requires an additional constraint on the richness of the preference domain. Intuitively, a preference domain is said to be rich if for any two admissible preferences, an admissible preference that is “between” these two preferences exists, i.e., a preference exists that combines the two preferences’ properties in a specific way. Since we only require each preference to be a strict and complete order over C, this richness condition is trivially satisfied.
Theorem 5
QRDA is weakly group strategyproof.
Proof
Barberà et al. [6] show that a mechanism that is based on a rich domain, strategyproof, weakly Maskin monotone, and weakly non-bossy is also weakly group strategyproof.Footnote 5 As the authors mentioned, this result applies to the many-to-one matching model. Moreover, their model can take any feasibility constraints into account, and hence, the ratio constraints as well. \(\square\)
Concerning efficiency, it is known that DA is not strongly Pareto optimal and this result extends to QRDA. Indeed, recall that, in Example 1, QRDA returns the following matching:
$$\begin{aligned} \left( \begin{array}{ccc} c_1 & c_2 & c_3\\ \{s_2\} & \{s_3\} & \{s_1, s_4\} \\ \end{array}\right) . \end{aligned}$$
This matching is weakly dominated by the matching:
$$\begin{aligned} \left( \begin{array}{ccc} c_1 & c_2 & c_3\\ \{s_2\} & \{s_1, s_3\} & \{s_4\} \\ \end{array}\right) . \end{aligned}$$
Hence, QRDA is not strongly Pareto optimal. However, QRDA inherits weak Pareto optimality from DA.
Theorem 6
QRDA is weakly Pareto optimal.
Proof
Let \(\ddot{X}\) denote a matching obtained by QRDA. We assume to the contrary that a matching \(\dot{X}\) exists such that \(\dot{X}_s \succ _s \ddot{X}_s\) for all \(s \in S\).
First we consider that \(\alpha =0\). All students are accepted to their first choice in \(\ddot{X}\) and no matching can strongly dominate \(\ddot{X}\).
The other case is that \(\alpha \not = 0\) (\(0<\alpha \le 1\)), i.e., \(|\dot{X}_c| \ge 1\) and \(|\ddot{X}_c| \ge 1\) for all \(c \in C\). As every student must be allocated to a school, the last action of QRDA must be “student \(s'\) applies to school \(c'\)” (no student is rejected after this action). Here QRDA terminates and returns the matching \(\ddot{X}\). This implies that the number of provisionally accepted students in school \(c'\) is less than its artificial maximum quota while running QRDA, i.e., no student is rejected by\(c'\)in QRDA. Let \(S'\) be the set of students assigned to \(c'\) in \(\dot{X}\) and it is true that \(|S'|>0\) since \(|\dot{X}_c| \ge 1\). As mentioned in our assumption, \(\dot{X}_s \succ _{s} \ddot{X}_s\) also holds for each student s in \(S'\), that is, all students in \(S'\) prefer school \(c'\) over their assignments in matching \(\ddot{X}\). In QRDA, however, the students in \(S'\) must apply to school \(c'\) before applying to their assigned schools, which implies that all students in \(S'\) are rejected by school \(c'\) in QRDA. This is a contradiction because school \(c'\) rejects no student in QRDA. Hence, no matching strongly dominates \(\ddot{X}\). \(\square\)
An important property of DA is that no strategyproof mechanism exists that dominates DA [1]. However, this result has only been proved in the general two-sided matching framework, where unacceptable students/schools are allowed. Since it is a negative result, it does not trivially extend to our setting.Footnote 6 We show that this property holds for DA even when all students/schools are acceptable and all students have to be matched. First we prove the following property concerning the matchings that weakly dominate the matching returned by DA.
Lemma 7
Let\(\dot{X}\)be a matching that weakly dominates the matching returned by DA which we denote\(\ddot{X}\), and let\(S' = \{s \in S \mid \dot{X}_s \succ _s \ddot{X}_s \}\). Then a permutation\(\mu\)of\(S'\)exists such that for all\(s \in S'\), \(\dot{X}_s =\ddot{X}_{\mu (s)}\).
Proof
Consider preference profile \(\succ _S\), matching \(\dot{X}\) that weakly dominates matching \(\ddot{X}\) which is returned by DA on \(\succ _S\), and \(S' = \{s \in S \mid \dot{X}_s \succ _s \ddot{X}_s \}\). Assume that no permutation \(\mu\) of \(S'\) exists such that for all \(s \in S'\), \(\dot{X}_s = \ddot{X}_{\mu (s)}\). It implies that a school exists, denoted by \(c' \in C\), that gains one (or more) student from \(\ddot{X}\) to \(\dot{X}\), and let \(s^{\star }\) denote such a student. Therefore, the matching \(\ddot{X} \setminus \ddot{X}_{s^{\star }} \cup \{(s^{\star },c')\}\) is feasible, which means that \(s^{\star }\) claims an empty seat in \(c'\) in matching \(\ddot{X}\). Thus \(\ddot{X}\) is not stable, which contradicts the fact that DA returns a stable matching. \(\square\)
Informally, this property means that students can only improve from the matching returned by DA by trading schools in cycles among them. Given a permutation \(\mu\) of a set of student \(S' \subseteq S\), we denote by trading cycle any of the disjoint cycles that compose \(\mu\), in the fashion of the Top Trading Cycle mechanism [40].
Now we can show the desired property for DA.
Lemma 8
No strategyproof mechanism exists that dominates DA even when all students/schools are acceptable and all students have to be matched.
Proof
Assume that a strategyproof mechanism \(\psi\) dominates DA. It implies that a profile \(\succ _S\) exists such that the matching \(\dot{X}\) returned by \(\psi\), weakly dominates the matching \(\ddot{X}\) returned by DA, i.e., for all \(s\in S\), \(\dot{X}_s \succeq _s \ddot{X}_s\) and for some \(s \in S\), \(\dot{X}_s \succ _s \ddot{X}_s\). Consider student \(s^{\star } \in S\) such that \(\dot{X}_{s^{\star }} \succ _{s^{\star }} \ddot{X}_{s^{\star }}\), and let \(c^{\star }\) denote the school to which \(s^{\star }\) is assigned in \(\ddot{X}\). Lemma 7 implies that \(s^{\star }\) belongs to a trading cycle from matching \(\ddot{X}\) to \(\dot{X}\). We denote \(c^{\ell }\) the last school which accepts a student under the alternative DA when \(s^{\star }\) is added after all other students. During the process of DA, \(c^{\ell }\) rejects no student and thus \(\ddot{X}_s \succeq _s c^{\ell }\) holds for all \(s \in S\). It implies that \(s^{\star }\) is not assigned to \(c^{\ell }\) in \(\ddot{X}\), otherwise \(s^{\star }\) cannot trade her school since no student is willing to join \(c^{\ell }\), and thus \(\ddot{X}_{s^{\star }} \succ _{s^{\star }} c^{\ell }\).
Now consider the preference \(\succ '_{s^{\star }}\) which is similar to \(\succ _{s^{\star }}\) with the only difference that the positions of schools \(c^{\star }\) and \(c^{\ell }\) are exchanged. We denote \(\ddot{X}'\) (resp \(\dot{X}'\)) the matching returned by DA (resp. \(\psi\)) under profile \(\succ '_S = (\succ '_{s^{\star }}, \succ _{S\setminus \{s^{\star }\}})\). Consider the alternative DA when student \(s^{\star }\) is added to the market after all other students and notice that before adding \(s^{\star }\) to the market, school \(c^{\ell }\) has an available seat. Then, when \(s^{\star }\) is added with preference \(\succ '_{s^{\star }}\), the process of DA is the same as when \(s^{\star }\) is added with preference \(\succ _{s^{\star }}\), until \(s^{\star }\) applies to \(c^{\ell }\) (instead of \(c^{\star }\)) and is accepted. After \(s^{\star }\) is accepted in \(c^{\ell }\) under preference \(\succ '_{s^\star }\), DA terminates, but when \(s^{\star }\) is accepted in \(c^{\star }\) under preference \(\succ _{s^\star }\), it occurs a rejection chain which ends when school \(c^{\ell }\) accepts a student. It implies that for all \(s\in S \setminus \{s^{\star }\}\), \(\ddot{X}'_s \succeq _s \ddot{X}_s\), and then \(\ddot{X}'_s \succeq _s c^{\ell }\). Then, under profile \(\succ '_S\), \(s^{\star }\) cannot trade her school since no student is willing to join \(c^{\ell }\), and thus \(s^{\star }\) is assigned to \(c^{\ell }\) also in \(\dot{X}'\). However, if the true preference of student \(s^{\star }\) is \(\succ '_{s^{\star }}\), she can misreport with \(\succ _{s^{\star }}\) and improve her school under mechanism \(\psi\), from \(c^{\ell }\) to \(c^{\star }\), which contradicts the fact that \(\psi\) is strategyproof. \(\square\)
We can now consider whether QRDA inherits this property. The following theorem shows indeed that, for any balanced \(\sigma\), no strategyproof mechanism exists that dominates \(\hbox {QRDA}^{\sigma }\), where \(\hbox {QRDA}^{\sigma }\) is the QRDA mechanism defined by the quota reduction sequence \(\sigma\). The proof follows a similar flow as the proof for Lemma 8.
Theorem 7
Given a balanced\(\sigma\), no strategyproof mechanism exists that dominates\(\hbox {QRDA}^{\sigma }\).
Proof
Given a balanced quota reduction sequence \(\sigma\), assume that a strategyproof mechanism \(\psi\) exists that dominates \(\hbox {QRDA}^{\sigma }\). It implies that a profile \(\succ _S\) exists such that the matching \(\dot{X}\) returned by \(\psi\), weakly dominates the matching \(\ddot{X}\) returned by \(\hbox {QRDA}^{\sigma }\), i.e., for all \(s\in S\), \(\dot{X}_s \succeq _s \ddot{X}_s\) and for some \(s \in S\), \(\dot{X}_s \succ _s \ddot{X}_s\). Assume that \(\hbox {QRDA}^{\sigma }\) terminates at stage k and consider student \(s^{\star } \in S\) such that \(\dot{X}_{s^{\star }} \succ _{s^{\star }} \ddot{X}_{s^{\star }}\). Let \(c^{\star }\) denote the school to which \(s^{\star }\) is assigned in \(\ddot{X}\). Since \(\ddot{X}\) is returned by DA at stage k, Lemma 7 implies that \(s^{\star }\) belongs to some trading cycle from matching \(\ddot{X}\) to \(\dot{X}\). We denote \(c^{\ell }\) the last school which accepts a student at stage k of \(\hbox {QRDA}^{\sigma }\). During stage k, \(c^{\ell }\) rejects no students and then \(\ddot{X}_s \succeq _s c^{\ell }\) holds for all \(s \in S\). It implies that \(s^{\star }\) is not assigned to \(c^{\ell }\) in \(\ddot{X}\), otherwise \(s^{\star }\) cannot participate in any trading cycle since no student is willing to join \(c^{\ell }\), and thus \(\ddot{X}_{s^{\star }} \succ _{s^{\star }} c^{\ell }\).
Now consider the preference \(\succ '_{s^{\star }}\) which is similar to \(\succ _{s^{\star }}\) with the only difference that the positions of schools \(c^{\star }\) and \(c^{\ell }\) are exchanged. We denote \(\ddot{X}'\) (resp \(\dot{X}'\)) the matching returned by \(\hbox {QRDA}^{\sigma }\) (resp. \(\psi\)) under profile \(\succ '_S =(\succ '_{s^{\star }}, \succ _{S\setminus \{s^{\star }\}})\). Notice that profile under \(\succ '_S\), \(\hbox {QRDA}^{\sigma }\) may terminate at a stage different from stage k. However, we first focus on stage k. At stage k, consider the alternative DA when \(s^{\star }\) is added to the market after all other students with preference \(\succ _{s^{\star }}\), and then matching \(\ddot{X}\) is returned, or with preference \(\succ '_{s^{\star }}\), and then some matching denoted by \(\tilde{X}'\) is returned, which may be different from \(\ddot{X}'\). In both cases, before adding \(s^{\star }\), school \(c^{\ell }\) has an available seat. Then, when \(s^{\star }\) is added with preference \(\succ '_{s^{\star }}\), the process of DA is the same as when \(s^{\star }\) is added with preference \(\succ _{s^{\star }}\), until \(s^{\star }\) applies to \(c^{\ell }\) (instead of \(c^{\star }\)) and is accepted. When \(s^{\star }\) is accepted in \(c^{\ell }\) under preference \(\succ '_{s^\star }\), DA terminates with matching \(\tilde{X}'\), but when \(s^{\star }\) is accepted in \(c^{\star }\) under preference \(\succ _{s^\star }\), it occurs a rejection chain which ends when school \(c^{\ell }\) accepts a student. It implies that (a) for all \(s\in S \setminus \{s^{\star }\}\), \(\tilde{X}'_s \succeq _s \ddot{X}_s\) holds; and (b) matching \(\tilde{X}'\) and \(\ddot{X}\) have the same number of students in each school, and thus under profile \(\succ '_{S}\), \(\hbox {QRDA}^{\sigma }\) terminates at stage k or earlier. Resource monotonicity of DA implies that for all \(s\in S\), \(\ddot{X}'_s \succeq _s \tilde{X}_s\). In particular \(\ddot{X}'_{s^{\star }} \succeq _{s^{\star }} \tilde{X}_{s^{\star }}\) and with strategyproofness of \(\hbox {QRDA}^{\sigma }\), student \(s^{\star }\) is also assigned to \(c^{\ell }\) by \(\hbox {QRDA}^{\sigma }\) under profile \(\succ '_S\). Moreover, resource monotonicity and relation (a) imply that for all \(s\in S \setminus \{s^{\star }\}\), \(\ddot{X}'_s \succeq _s \ddot{X}_s\), and in particular, \(\ddot{X}'_s \succeq _s c^{\ell }\). Thus, under profile \(\succ '_S\), \(s^{\star }\) cannot participate in any trading cycles since no student is willing to join \(c^{\ell }\), and thus \(s^{\star }\) is assigned to \(c^{\ell }\) also in \(\dot{X}'\). Thus, when \(s^{\star }\)’s true preference is \(\succ '_{s^{\star }}\), \(s^{\star }\) can misreport with \(\succ _{s^{\star }}\) and improve her school, from \(c^{\ell }\) to \(c^{\star }\), which contradicts the fact that \(\psi\) is strategyproof. \(\square\)
Finally, we examine the time complexity of QRDA. We assume an alternative DA’s execution in each stage used in the proof of Theorem 4: for stage k, instead of running DA from scratch, we start from the matching obtained in stage \(k-1\), and continue the execution when a student is rejected.
Theorem 8
The time complexity of QRDA isO(mn).
Proof
QRDA repeatedly applies the standard DA. Since a student is rejected by each school at most once, each step in DA is executed at most mn times in total. Additionally, school-feasibility can be checked in constant time. Thus, the time complexity of QRDA is O(mn). \(\square\)
Comparison with baseline mechanism
To the best of our knowledge, no mechanism exists that is fair, strategyproof, and can handle ratio constraints. One way to handle ratio constraints is to use an indirect approach, i.e., to transform ratio constraints into other types of constraints by sacrificing flexibility to some extent. In this subsection, we present an indirect approach in which ratio constraints are transformed into standard maximum quotas, i.e., artificial maximum quotas are defined such that the obtained matching by the standard DA is guaranteed to satisfy the ratio constraints. Such a mechanism is called artificial cap deferred acceptance (ACDA). ACDA is used in Japanese medical resident matching programs [25] to handle regional maximum quotas as well as a baseline mechanism in many works related to distributional constraints [15, 17, 18].
Without loss of generality, assume \(q_{c_1} \le q_{c_2} \le \cdots \le q_{c_m}\) holds. The following lemma holds:
Lemma 9
The matching obtained by the standard DA satisfies the ratio constraints\(\alpha\)if\(q_C\)satisfies the following condition:
$$\begin{aligned} \alpha \le \dfrac{n - \sum _{i=2}^{m} q_{c_i}}{q_{c_m}}. \end{aligned}$$
(2)
Proof
Assume matching \(\ddot{X}\) is obtained in the following method. We first assign \(q_{c_m}\) students to \(c_m\), \(q_{c_{m-1}}\) students to \(c_{m-1}\), and so on. Finally, \(n - \sum _{i=2}^{m} q_{c_i}\) students are assigned to \(c_1\) (or no student is assigned to \(c_1\) if \(n-\sum _{i=2}^{m} q_{c_i}\) is negative). Then for any matching \(\dot{X}\) that is school-feasible in a standard market with quotas \(q_C\), \(r(\dot{X}) \ge r(\ddot{X})\) holds. From Eq. (2), \(r(\ddot{X}) \ge \alpha\) holds. Thus, \(r(\dot{X}) \ge \alpha\) holds. \(\square\)
If we knew beforehand which schools are popular/unpopular, we might be able to find \(q_C\) that satisfies Eq. (2) to maximize the student welfare. Otherwise, one simple and reasonable way for finding appropriate \(q_C\) is using a quota reduction sequence, \(\sigma\). Similarly to QRDA, ACDA is defined given a specific sequence \(\sigma\), denoted by \(\hbox {ACDA}^{\sigma }\). When not specified otherwise, we assume that \(\sigma\) is the round-robin order \(c_1, c_2, \ldots , c_m\). Similarly, we denote by \(q^k_c\) the quota of school c at stage k of ACDA. ACDA is defined as follows:
Mechanism 3
(Artificial cap deferred acceptance (ACDA))
Initialization:
For all\(c\in C\), \(q^1_c \leftarrow q_{max}\), \(k \leftarrow 1\).
Stagek (\(\ge 1\)):
Step 1If\(q^k_C\)satisfies Eq. (2), then run the standard DA in market\((S,C,\succ _S\), \(\succ _C,q_C^k)\)and return the obtained matching.
Step 2Otherwise, for school\(c' = \sigma (k)\), \(q^{k+1}_{c'} \leftarrow q^{k}_{c'} -1\), and forc (\(\ne c'\)), \(q^{k+1}_{c} \leftarrow q^{k}_{c}\). Go toStage\(k+1\).
Theorem 9
ACDA is strategyproof and returns a feasible and fair matching.
Proof
ACDA terminates when Eq. (2) holds. Assume ACDA continues to reduce the maximum quotas since Eq. (2) does not hold. Similarly to the Proof of Theorem 3, eventually, there will be stage k such that the following conditions hold: \(\sum _{c \in C} q^k_c = n\) and for all \(c \in C\), \(\lfloor n / m \rfloor \le q_c \le \lceil n / m \rceil\). In this case, \(n - \sum _{i=2}^{m} q_{c_i}= \lfloor n / m \rfloor\), and \(q_{c_m} = \lceil n / m \rceil\). Thus, Eq. (2) holds. Then ACDA must terminate at stage \(k'\) (\(\le k\)) and the obtained matching satisfies the ratio constraints. The result is identical to the matching obtained by the standard DA for the market \((S, C, \succ _S, \succ _C, q^{k'}_C)\). Since DA is fair [16], ACDA is also guaranteed to be fair. Furthermore, since stage k where ACDA terminates is determined independently from \(\succ _S\) and the standard DA is strategyproof, ACDA is also strategyproof. \(\square\)
Theorem 10
Given a balanced\(\sigma\), all students weakly prefer the matching obtained by\(\hbox {QRDA}^{\sigma }\)over that of\(\hbox {ACDA}^{\sigma }\).
Proof
If ACDA terminates at stage k, the matching obtained by the standard DA for the market \((S, C, \succ _S, \succ _C,\)\(q^k_C)\) satisfies the ratio constraints. Since ACDA and QRDA use the same quota reduction sequence \(\sigma\), QRDA also terminates if it reaches stage k. Thus, QRDA must terminate at stage \(k'\) (\(\le k\)), i.e., QRDA terminates until stage k at the latest. Since we have \(q_c^{k'} \ge q_c^k\) for any \(c \in C\) and DA satisfies resource monotonicity, as described in the second paragraph of the Proof of Theorem 4, each student weakly prefers the matching obtained by QRDA over that of ACDA. \(\square\)
Since QRDA always obtains a (weakly) better matching for students than ACDA, it is natural to assume that QRDA will be less wasteful than ACDA, i.e., more students claim empty seats in ACDA compared to QRDA. However, we cannot guarantee this property as Theorem 11 holds. For its proof, we use the following example:
Example 4
\(S=\{s_1,s_2,s_3,s_4,s_5\}\), \(C=\{c_1,c_2,c_3,c_4\}\), \(\alpha =1/2\). Preferences of students and schools are as follows:
$$\begin{aligned} \begin{array}{r} s_1 : c_{1} \succ c_{4} \succ c_{2} \succ c_{3} \\ s_2 : c_{2} \succ c_{3} \succ c_{1} \succ c_{4} \\ s_3 : c_{4} \succ c_{1} \succ c_{3} \succ c_{2} \\ s_4, s_5 : c_{1} \succ c_{2} \succ c_{3} \succ c_{4} \end{array} \quad \begin{array}{c} c_{1} : s_{2} \succ s_{3} \succ s_{1} \succ s_4 \succ s_5 \\ c_{2} : s_{3} \succ s_{4} \succ s_{5} \succ s_1 \succ s_2 \\ c_{3} : s_{1} \succ s_{5} \succ s_{4} \succ s_2 \succ s_3 \\ c_{4} : s_{5} \succ s_{2} \succ s_{4} \succ s_3 \succ s_1 \\ \end{array} \end{aligned}$$
Theorem 11
Given a balanced\(\sigma\), a case exists where the number of students who claim empty seats in\(\hbox {QRDA}^{\sigma }\)is larger than that of\(\hbox {ACDA}^{\sigma }\).
Proof
Consider Example 4 and the sequence \(\sigma\) based on the round-robin order \(c_1, c_2, \ldots , c_m\). QRDA sets \(q_{max}=2\), which satisfies Eq. (1). In stage 1, \(s_1\) and \(s_4\) are assigned to \(c_1\), \(s_2\) and \(s_5\) are assigned to \(c_2\), and \(s_3\) is assigned to \(c_4\). Since no student is assigned to \(c_3\), this matching is not school-feasible. Thus, \(q_{c_1}\) is reduced by one. Then in stage 2, the obtained feasible matching is as follows:
$$\begin{aligned} \left( \begin{array}{cccc} c_1 & c_2 & c_3 & c_4 \\ \{s_1\} & \{s_4, s_5\} & \{s_2\} & \{s_3\} \\ \end{array}\right) . \end{aligned}$$
Here students \(s_4\) and \(s_5\) claims an empty seat in school \(c_1\). The number of students who claim empty seats in QRDA\(^\sigma\) is two.
On the other hand, in ACDA\(^\sigma\), the maximum quotas of \(c_1, c_2\), \(c_3\) are set to one, and \(c_4\) is set to two. The obtained matching is as follows:
$$\begin{aligned} \left( \begin{array}{cccc} c_1 & c_2 & c_3 & c_4 \\ \{s_2\} & \{s_4\} & \{s_5\} & \{s_1, s_3\} \\ \end{array}\right) . \end{aligned}$$
Here only student \(s_1\) claims an empty seat (in school \(c_1\)). Other students, for example, \(s_3\), can no longer claim an empty seat since by moving her from \(c_2\), the obtained matching is not school-feasible. By permutation of the schools, the proof adapts to any other sequence \(\sigma\). \(\square\)
This result is slightly in favor of ACDA because claiming more seats leads to the wasteful matching and implies that QRDA has still room for improvement by mitigating students’ claim, but it is counterbalanced by the fact that when ACDA returns a nonwasteful matching, QRDA returns the same matching, which is shown by Theorem 12.
Theorem 12
Given a balanced\(\sigma\), when\(\hbox {ACDA}^{\sigma }\)returns a nonwasteful matching, \(\hbox {QRDA}^{\sigma }\)and\(\hbox {ACDA}^{\sigma }\)return the same matching.
Proof
In market \((S, C,\succ _S , \succ _C , \alpha )\) with sequence \(\sigma\), assume that \(\hbox {QRDA}^{\sigma }\) returns matching \(\ddot{X}\) and that \(\hbox {ACDA}^{\sigma }\) returns matching \(\dot{X}\) which differs from \(\ddot{X}\). By contradiction assume also that \(\dot{X}\) contains no claiming student. Given a matching \(X'\), let \(X'_{min}\) (resp. \(X'_{max}\)) denote the set of contracts of a school with a minimum (resp. maximum) number of students in \(X'\).
Consider the procedure which starts with matching \(\ddot{X}\) and keeps on applying the stages of \(\hbox {QRDA}^{\sigma }\), i.e., reducing quotas and applying DA (even though \(\ddot{X}\) is feasible) until the quotas reach the same quotas as in \(\hbox {ACDA}^{\sigma }\) and the procedure returns \(\dot{X}\). Notice that, since \(\hbox {QRDA}^{\sigma }\) finishes at an earlier stage than \(\hbox {ACDA}^{\sigma }\), \(|\ddot{X}_{max}| \ge |\dot{X}_{max}|\) and \(|\ddot{X}_{min}| \le |\dot{X}_{min}|\) hold, and moreover, in any matching returned during this procedure, each school has at least \(|\ddot{X}_{min}|\) students, and at most \(|\ddot{X}_{max}|\) students. During this procedure, since \(\dot{X}\) differs from \(\ddot{X}\), some rejection chains must occur, and consider the last rejection chain, denoted by r, that occurs. We prove that one student involved in the rejection chain r is a claiming student in \(\dot{X}\), by considering three cases: (i) \(|\ddot{X}_{max}| >|\dot{X}_{max}|\), (ii) \(|\ddot{X}_{min}| < |\dot{X}_{min}|\), and (iii) \(|\ddot{X}_{max}| = |\dot{X}_{max}|\) and \(|\ddot{X}_{min}| =|\dot{X}_{min}|\).
- (i)
Consider the last rejection in rejection chain r, and consider \(s^r\), the student rejected from a school \(c^r\) and accepted in a school \(c^a\) in this last rejection. Since \(|\ddot{X}_{max}| > |\dot{X}_{max}|\), it holds \(|\dot{X}_{c^r}| \le |\ddot{X}_{max}|-1\). Moreover, since school \(c^a\) accepts an additional student, it holds \({|\dot{X}_{c^a}| \ge |\ddot{X}_{min}|+1}\). Therefore, since \(\dot{X}\) is feasible, the matching \((\dot{X} \setminus \{(s^r, c^a)\}) \cup \{(s^r, c^r)\}\) is also feasible. Thus \(s^r\) claims a seat in school \(c^r\) in matching \(\dot{X}\), which is a contradiction.
- (ii)
Consider the first rejection in rejection chain r, and consider \(s^r\), the student rejected from a school \(c^r\) and accepted in a school \(c^a\) in this first rejection. Since \(|\ddot{X}_{min}| < |\dot{X}_{min}|\), it holds \(|\dot{X}_{c^a}| \ge |\ddot{X}_{min}|+1\). Moreover, since school \(c^r\) rejection is due to its quota being reduced, it holds \({|\dot{X}_{c^r}| \le |\ddot{X}_{max}|-1}\). Therefore, since \(\dot{X}\) is feasible, the matching \((\dot{X} \setminus \{(s^r, c^a)\}) \cup \{(s^r, c^r)\}\) is also feasible. Thus \(s^r\) claims a seat in school \(c^r\) in matching \(\dot{X}\), which is a contradiction.
- (iii)
In this case, it could be that neither the first nor the last rejection in rejection chain r concerns a claiming student in \(\dot{X}\). Then we have a closer look to rejection chain r. Rejection chain r starts by a quota reduction of a school, denoted by \(c^r\), which rejects a student, \(s^r\), which is then assigned to a school, \(c^a\), in \(\dot{X}\). If school \(c^a\) is not minimum in \(\dot{X}\), it holds \(|\dot{X}_{c^a}| \ge |\ddot{X}_{min}|+1\), and similarly to case (ii), \(s^r\) claims a seat in school \(c^r\) in \(\dot{X}\). Assume that \(c^a\) is minimum in \(\dot{X}\). Since \(|\ddot{X}_{min}| = |\dot{X}_{min}|\), when school \(c^a\) accepts student \(s^r\), \(c^a\) also rejects another student, otherwise \(c^a\) cannot be minimum in \(\dot{X}\). From school \(c^a\), rejection chain r continues and eventually ends when a school, \(c^l\), accepts an additional student (without rejecting one) and then \(|\dot{X}_{c^l}| > |\ddot{X}_{min}| = |\dot{X}_{min}| =|\dot{X}_{c^a}|\). Thus, excluding student \(s^r\), rejection chain r must include a student, \(s'\), who is rejected from a school, \(c'\) (which may be \(c^a\)), and finally (maybe after several rejections) accepted to a school, \(c''\) (which may be \(c^l\)), such that \(|\dot{X}_{c'}| < |\dot{X}_{c''}|\). Thus it holds that \(|\dot{X}_{c'}| \le |\dot{X}_{max}|-1\), and that \(|\dot{X}_{c''}| \ge |\dot{X}_{min}| +1\). Therefore, since \(\dot{X}\) is feasible, the matching \((\dot{X} \setminus \{(s', c'')\}) \cup \{(s', c')\}\) is feasible and \(s'\) claims a seat in school \(c'\) in matching \(\dot{X}\).
\(\square\)