22institutetext: Data 61, CSIRO, Australia 33institutetext: TU Berlin, Germany
From Matching with Diversity Constraints to Matching with Regional Quotas
Abstract
In the past few years, several new matching models have been proposed and studied that take into account complex distributional constraints. Relevant lines of work include (1) school choice with diversity constraints where students have (possibly overlapping) types and (2) hospital-doctor matching where various regional quotas are imposed. In this paper, we present a polynomial-time reduction to transform an instance of (1) to an instance of (2) and we show how the feasibility and stability of corresponding matchings are preserved under the reduction. Our reduction provides a formal connection between two important strands of work on matching with distributional constraints. We then apply the reduction in two ways. Firstly, we show that it is NP-complete to check whether a feasible and stable outcome for (1) exists. Due to our reduction, these NP-completeness results carry over to setting (2). In view of this, we help unify some of the results that have been presented in the literature. Secondly, if we have positive results for (2), then we have corresponding results for (1). One key conclusion of our results is that further developments on axiomatic and algorithmic aspects of hospital-doctor matching with regional quotas will result in corresponding results for school choice with diversity constraints.
1 Introduction
Real-life matching markets are often associated with various distributional constraints. In view of these constraints, there is a growing literature on matching markets that models and deals with such constraints. There are at least two distinct research directions in this growing literature.
The first one is school choice with diversity constraints, studied intensely in the controlled school choice problem, in which students have types such as race, gender, or socio-economic status. Each school is endowed with a lower and an upper quota for each distinct type. Such type-specific quotas are taken into account while determining the outcome. For example, a school may impose a target lower quota for accepting students from some disadvantaged group. The seeds for considering models where students may be of different types were already sown in the seminal paper on school choice (Abdulkadiroğlu and Sönmez, 2003). Since the publication of the paper, there have been significant developments on work concerning fairness requirement and algorithm design (Abdulkadiroğlu, 2005; Kojima, 2012; Hafalir et al., 2013; Ehlers et al., 2014). The most general model in the line of work is school choice with overlapping types where students can belong to multiple types (Kurata et al., 2017). To overcome the non-existence of feasible and stable outcomes, type-specific quotas of schools may be viewed as soft requirements (Ehlers et al., 2014; Kurata et al., 2017).
Another research direction arises in the context of hospitals and doctors matching with a restriction on the number of doctors that are allowed to be matched to certain subsets of hospitals. This form of distributional constraints can be modeled as hospital-doctor matching with regional quotas, in which doctors are matched to hospitals, hospitals are associated with regions, and both hospitals and regions are subject to quotas. For example, an upper quota may be imposed on urban regions with several hospitals to ensure that enough doctors are hired in rural regions (Kamada and Kojima, 2015, 2017a). Individual minimum quotas are studied in school admissions, motivated by the fact that each school may require a minimum number of students to operate (Biró et al., 2010; Fragiadakis et al., 2016). Under general regional quotas, the set of stable outcomes may be empty (Kamada and Kojima, 2017a, b) and it is NP-complete to check whether there exists a feasible outcome (Goto et al., 2014, 2016). Due to these negative results, most work concentrate on special cases with restrictions on the structure of regions for which they proposed algorithms (Kamada and Kojima, 2012, 2015; Goto et al., 2014, 2015, 2016).
Although both lines of work have progressed in the past few years, their development has been generally distinct from each other. Since each of the lines of work stems from different real-life requirements, there has not been much work on identifying formal connections between different new models. In particular, several influential papers mention that one setting is different from the other. For example, Hafalir et al. (2013) note in their seminal paper on school choice with diversity constraints that
“Kamada and Kojima (2011) study the Japanese Residency Matching Program, where there are quotas (regional caps) on the number of residents that each region can admit. […] Although the idea of their paper is similar to ours, the setups are completely different (for instance, there are no doctor types in their model) as are the suggested solutions.”
And Goto et al. (2016) remark in their paper on matching with regional minimum and maximum quotas that
“However, models and theoretical properties in a controlled school choice program setting are quite different from the setting used in our paper.”
The remarks were made because the two models address different concerns and intuitively appear different as well. In this paper, however, we demonstrate that although the two setups discussed above seem different, there are strong mathematical connections between them. Identifying formal connections between matching models have several advantages (1) they help unify the literature, and (2) they provide an efficient route to translate results from one model to another. In fact, one of the major success stories of matching markets has been the identification of general structure over the preferences of hospitals that guarantees the existence of stable matchings (Hatfield and Milgrom, 2005; Hatfield and Kojima, 2008).
Contributions
In this paper, we present a polynomial-time reduction to transform an instance of (1) school choice with diversity constraints into an instance of (2) hospital-doctor matching with regional quotas. We show how the feasibility and stability of corresponding matchings are preserved under the reduction. Then we apply the reduction in two ways as described in Figure 1. First, we study the complexity issues on computing a feasible and stable outcome. We prove that it is NP-complete to check the existence of feasible and stable outcomes for (1). Our reduction implies that these complexity results hold for (2) as well. In view of this, we help unify some of the results that have been presented in the literature. Second, if we have positive results, such as polynomial-time algorithms that guarantee the existence of some weakly stable outcomes for the model with regional quotas, then we have corresponding results for school choice with diversity constraints. One key conclusion of our results is that further developments on axiomatic and algorithmic aspects of hospital-doctor matching with regional quotas will result in corresponding results in school choice with diversity constraints. In addition, we consider how to convert regional minimum quotas into regional maximum quotas and we show the difference between regional minimum quotas and regional maximum quotas.
2 Model
School choice
An instance of the basic school choice problem consists of a tuple .
There is a set of students and a set of schools . Each school has a capacity and let be a capacity vector consisting of all schools’ capacities.
Each contract is a student-school pair indicating that student is matched with school . Let denote the set of available contracts. For any , denote as the set of contracts involving student and as the set of contracts involving school in .
Each student has a strict preference ordering over where denotes the option of being unmatched for student . A contract is acceptable to student if holds. The preference profile of all students is denoted by . Each school has a strict priority ordering over , where represents the option of leaving a seat vacant for school . A contract is acceptable to school if holds. Let denote the priority profile of all schools. Given any two preference (or priority) orderings and , we say preference (or priority) ordering is consistent with preference (or priority) ordering if for any two contracts , when holds, it implies .
An outcome (or a matching) is a subset of . Denote as the set of students matched to school and as the set of schools matched to student in the outcome . An outcome is feasible for if i) for each student , ii) for each school . A feasible outcome is individually rational if each contract is acceptable to both student and school .
A mechanism is a function that takes an instance as input and returns a matching as an outcome. A mechanism is strategy-proof for students if any student cannot be admitted to a better school by misreporting his preference.
School choice with diversity constraints
An instance of school choice with diversity constraints is an extension of school choice problem, denoted by a tuple ,,,,,,, ,,.
Let be the type space with . A type vector of student consists of ’s and ’s such that if student belongs to type and otherwise. Let be the type matrix of all students’ type vectors. Let be a vector of school ’s type-specific maximum quotas where is school ’s maximum quota for type . Similarly, is a vector of school ’s type-specific minimum quotas. Let and be two matrices consisting of all schools’ type-specific maximum vectors and minimum vectors respectively.
For any two vectors consisting of non-negative integers and we compare them in the following way: i) if for each and ii) if for each . An outcome is feasible for with diversity constraints if it is feasible for and it respects diversity constraints, i.e., for each school , we have .
The following definition is a natural extension of classical stability concept by Roth (1985) to the setting of diversity constraints.
Definition 1 (Stability)
Given a feasible outcome for instance with diversity constraints, a student and a school with will form a blocking pair if and there exists a set of students such that i) for each student , we have and ii) the new outcome is feasible for instance . A feasible outcome is stable if it is individually rational and it admits no blocking pair.
Definition 1 states that given a feasible outcome , student and school will form a blocking pair if student prefers school to his current assignment (which could be empty if ), and there exists a set of students (which could be empty) that are matched to school in the outcome such that i) each student has lower priority than student and ii) school could admit student by (possibly) removing the set of students .
We can decompose the blocking pair in Definition 1 into two cases: when the set of students is non-empty, we say student has justified envy towards students and a feasible outcome is fair if admits no justified envy. If the set of students is empty, then we say the outcome is wasteful. Alternatively, a feasible outcome is stable if it is individually rational, fair and non-wasteful.
Hospital-doctor matching
An instance of hospital-doctor matching is isomorphic to an instance of basic school choice problem, denoted by a tuple .
Let denote a set of doctors and denote a set of hospitals. Let be the vector consisting of each hospital’s capacity where is the capacity of hospital .
A contract is a doctor-hospital pair such that is matched with . Let denote a finite set of available contracts. For any let be the set of contracts involving doctor and be the set of contracts involving hospital .
Each doctor has a strict preference ordering over and a contract is acceptable to doctor if . Each hospital has a strict priority ordering over and a contract is acceptable to hospital if . Let and denote the preference and priority profiles of and respectively.
An outcome (or a matching) is a subset of . Denote as the set of doctors matched to hospital and as the set of hospitals matched to doctor in the outcome . An outcome is feasible for if i) for each doctor , we have , ii) for each hospital , , and iii) for any doctor and any hospital , we have if and only if .
Hospital-doctor matching with regional quotas
An instance of hospital-doctor matching with regional quotas is a tuple with additional entries , and .
Let denote a set of regions where each region is a subset of , i.e., . A collection of regions forms a partition of a subset of hospitals , if and for any two different regions , we have . A collection of regions forms a hierarchy of hospitals , if and for any two regions , one of the three conditions holds: i) , ii) , or iii) .
Let denote a vector consisting of each region’s maximum quota where is region ’s maximum quota. Similarly is a vector of each region’s minimum quota.
For any let be the set of contracts involving region and let denote the set of doctors matched to region in the outcome .
The introduction of regional priorities was intended to resolve the conflicts when a region confronts more applicants of doctors than it could accommodate (Kamada and Kojima, 2017a, 2018).111In (Kamada and Kojima, 2017a, 2018), regional preferences are defined in a weaker way that regions only concern about how many doctors are matched rather than which doctors are matched. We followed this idea and assume that each region has a strict priority ordering over and a contract is acceptable to region if holds.222Similar ideas to regional preferences have already been considered. Kamada and Kojima (2015) studied the model where all regions form a partition of hospitals and they assume that each region specifies a precedence ordering over hospitals. Let denote the priority profile of all regions.
An outcome is feasible for with regional quotas if is feasible for and it respects regional quotas, i.e., for any region we have .
The following stability concept captures the idea that a blocking pair is not considered as legitimate if it does not take regional priorities into account.
Definition 2 (Stability with regional priorities)
Given a feasible outcome for instance with regional quotas, a doctor and a hospital with form a blocking pair with regional priorities if and there exists a set of doctors such that i) for each doctor , we have , ii) for each doctor and for each region with , we have , and iii) the new outcome is feasible for instance . A feasible outcome is stable with regional priorities if it is individually rational and it admits no blocking pair with regional priorities.
Definition 2 states that given a feasible outcome , doctor and hospital will form a blocking pair if doctor prefers hospital to his assigned hospital (which could be empty), and there exists a set of doctors (which could be empty) that are matched to hospital in the outcome such that i) each doctor has lower priority than doctor , ii) for each region that is associated with hospital , each doctor has lower regional priority than doctor and iii) hospital could admit doctor by (possibly) removing the set of doctors .
The difference between Definition 1 and Definition 2 is that a blocking pair for an instance of matching with regional quotas should respect the priorities of both hospitals and regions. When distribution constraints do not exist, both definitions collapse to the original stability concept (Roth, 1985).
We can decompose the blocking pair in the Definition 2 into two cases: when the set of doctors is non-empty, we say doctor has justified envy towards with regional priorities and an outcome is fair with regional priorities if it admits no justified envy. When the set of doctors is empty, we say the outcome is wasteful.
3 Transformation from Diversity Constraints to Regional Quotas
In this section, we explore the relation between (1) school choice with diversity constraints and (2) hospital-doctor matching with regional quotas in terms of feasibility and stability. We show how to convert an instance of (1) into an instance of (2) in polynomial time and how the feasibility and stability of corresponding matchings are preserved under the reduction.
In a recent work, Kamada and Kojima (2017b) illustrate how to associate one instance of (1) with another of (2) when each student belongs to exactly one type. The idea is straightforward: Each student corresponds to a doctor and each school corresponds to a region. For each region, create multiple hospitals such that each hospital is associated with one type and each doctor only considers the hospital of the same type acceptable. However, we cannot directly extend this idea to the general case allowing for overlapping types. The main issue is that a doctor should not be assigned to several hospitals corresponding to the types to which he belongs.
The crux of the transformation is how to eliminate overlapping types among students. We can just create a new type space such that each unique type vector corresponds to a new type . It is not necessary to consider the whole type space when is larger than , because only the distinct type vectors that appear in type matrix matter, of which the maximum number is no more than , bounded by the number of students . Let be such a new type space induced from with . Then we can assign a student with type vector one new type and no two students have overlapping types.
Now we proceed to the polynomial-time reduction from an instance of diversity constraints to a corresponding instance of regional quotas , .
For each student , create a corresponding doctor . Let denote the set of doctors. For each school and each unique type vector from type matrix , create a hospital with capacity . Let be the set of hospitals induced from school . Denote the set of hospitals as with capacity vector .
For each school , create a set of regions of size ( ) denoted by where region corresponds to school and region corresponds to type at school . Region contains all hospitals induced from , i.e., and each region contains the hospitals induced from school that are associated with type , i.e., . The maximum and minimum regional quotas for each region are described in Table 1. Let denote the set of regions with and .
maximum quota | ||
---|---|---|
minimum quota | ||
related hospitals |
For each contract , create a new contract with doctor corresponding to student and hospital corresponding to type vector of student . Let be the set of available contracts. Each doctor ’s preference ordering corresponds to . For each hospital and each region , the preference orderings of and are consistent with over corresponding contracts involving hospital and region . The preference profiles of doctors, hospitals and regions are denoted by respectively.
Proposition 3.1
The reduction takes time .
Proof
The running time of the construction depends on the number of all induced elements. The number of doctors, hospitals and regions is . The number of capacities and type-specific quotas is bounded by . The number of contracts is at most . The number of preference orderings of doctors, hospitals and regions is where and . Thus the running time of the reduction is .
Example 1
We illustrate the reduction with the following example. Consider an instance with diversity constraints:
Create a corresponding instance with regional quotas as follows, where region corresponds to school , region corresponds to type and region corresponds to type at school .
The relationship between two instances is shown in Figure 2. The index of each hospital is in binary corresponding to each distinct type vector. Note that four copy schools are used for interpretation only which are not actually involved in the reduction.
Next we show how the feasibility and stability of corresponding outcomes are preserved under the reduction. Given an outcome of instance with diversity constraints, create an outcome of induced instance with regional quotas by adding a corresponding contract to for each contract .
Proposition 3.2
The outcome is feasible for with diversity constraints if and only if the induced outcome under the reduction is feasible for with regional quotas.
Proof
If outcome is feasible for with diversity constraints, then for each school , we have and . Since each school corresponds to a region , then no more than doctors are matched to region in outcome , which implies that each hospital admits no more than doctors. Since each type at school corresponds to a region , then we have , i.e., the outcome respects the regional quotas of each region .
If outcome is feasible for with regional quotas, then for each region we have . Since each region corresponds to a school , then no more students are matched to in outcome . Since each region corresponds to one type at school , then all type-specific quotas of school are satisfied in outcome .
Proposition 3.3
The outcome is stable for instance with diversity constraints if and only if the induced outcome under the reduction is stable with regional priorities for instance with regional quotas.
Proof
If outcome is stable, for the sake of contradiction, suppose outcome admits a blocking pair with regional priorities induced from student and school respectively. Let be the set of doctors such that each has lower priority than at hospital as well as at each region with , and hospital can admit doctor by removing doctors . Let the set of students correspond to doctors . Then student and school could form a blocking pair, since school could admit student by removing , a contradiction.
If outcome is stable with regional priorities, suppose outcome admits a blocking pair and let be the set of students such that each has lower priority than at school and school could admit student by removing . Let doctor , region and a set of doctors correspond to student , school and set of students respectively. Then doctor and hospital could form a blocking pair with regional priorities through a set of doctors , since all induced hospitals and regions from school have the consistent priority orderings as school , a contradiction.
4 Transformation from regional minimum quotas to regional maximum quotas
In this section, we further show how to transform an instance of regional maximum and minimum quotas into a corresponding instance of regional maximum quotas only in terms of feasibility.
Goto et al. (2014, 2016) considered how to represent regional minimum quotas with regional maximum quotas in a restrictive setting where any doctor is acceptable to any hospital and vice versa. In addition, the total capacity of all hospitals is at least the number of doctors and no doctors are unmatched in any feasible outcome. Their idea works as follows: If region requires at least doctors, then the number of doctors that can be assigned to other hospitals which do not belong to region cannot exceed . However, this does not hold in general if we relax these requirements.
Example 2
Next we generalize their idea to general setting without any assumption by adding an additional null hospital. Since we consider feasibility only, the preference and priority orderings of doctors, hospitals and regions are not necessary. Given a simplified instance of hospital-doctor matching with regional quotas , construct an instance with regional maximum quotas only as follows:
The set of doctors remains the same and a null hospital is added to , i.e., and . Let with . For each region , create a new region with . The set of all regions is denoted as . For each doctor , add a new contract to , i.e., .
Proposition 4.1
The reduction takes time .
Proof
The time of copying instance is bounded by . In addition, we create one new hospital and a set of new regions and contracts, whose total number is bounded by where . Thus the construction of instance takes time .
Proposition 4.2
An outcome is feasible for instance with both regional minimum and maximum quotas if and only if the outcome is feasible for the induced instance with regional maximum quotas only.
Proof
If outcome respects regional quotas for , then for each , the number of doctors matched to does not exceed , which implies the region respects regional quotas. If respects regional quotas for , then for each , the number of doctors matched to does not exceed , which implies at least doctors are matched with region .
Our reduction reveals an important distinction between regional minimum quotas and regional maximum quotas: In an instance with regional maximum quotas only, any number of doctors can be placed at the null hospital without violating feasibility. But when we translate regional minimum quotas into regional maximum quotas, we limit the maximum number of doctors that can be matched to the null hospital by imposing regional caps to some regions that contain the null hospital.
5 Complexity results
This section is devoted to the complexity results on checking the existence of a feasible and stable outcome for both settings. We first prove NP-completeness for setting (1), then by reduction from setting (1) to setting (2), it implies that these NP-completeness results also hold for setting (2). In view of this, we help unify some complexity results that were already proved in previous literature, and we further show these NP-completeness results still hold under more restrictive settings.
Complexity of computing a feasible outcome
Next we provide a polynomial-time reduction from (3,3)-Set cover problem to school choice problem with diversity constraints. Gonzalez (1985) has proved that (3,3)-Set cover is NP-complete.
(3,3)-Set cover
Input:
A collection of subsets of a finite set and a positive integer where each occurs in at most three subsets of and each contains at most three elements of .
Question:
Is there a subset of size at most such that ?
Proposition 5.1
It is NP-complete to check the existence of a feasible outcome for school choice problem with diversity constraints, even if there is only one school, each student belongs to at most three types, each type contains at most three students and there is no upper bound for any type.
Proof
Given an instance with diversity constraints, to decide whether admits a feasible outcome or not is in NP, since we can guess an outcome and check whether satisfies feasibility in polynomial-time.
Given an instance of (3,3)-Set Cover, create a corresponding instance with diversity constraints as follows: For each element , create a type . For each subset , create a student . A student belongs to type if . Create one school with capacity and minimum quota for each type . For each student , create a contract which is acceptable to both and . Create an arbitrary priority ordering .
If admits a Yes-instance of size at most , then let denote the corresponding set of students. The outcome is feasible for with diversity constraints, since school admits at most students and each minimum type-specific quota is satisfied.
If with diversity constraints admits a feasible outcome , let denote the corresponding subsets of . Then we have a Yes-instance of (3,3)-Set Cover, since we have and .
Although Goto et al. (2014) proved it is NP-complete to check the existence of feasible outcomes for setting (2), their original reduction requires both regional minimum quotas and regional maximum quotas (which needs to be equal for each region). Under the assumption that no doctor is unmatched in any feasible outcome (as discussed in last section), they infer that “checking whether a feasible matching exists or not is NP-complete where there are only regional minimum quotas or only regional maximum quotas”. However, if we relax the assumption, it can be done in polynomial-time to check whether a feasible matching exists when there are only regional maximum quotas, since an empty matching satisfies feasibility. With the help of our reduction, we further show this NP-completeness result even holds for a more restrictive setting when there are only minimum quotas in the following corollary:
Corollary 5.1
It is NP-complete to check the existence of a feasible outcome for hospital-doctor matching with regional quotas, even if each doctor is matched to at most three regions, each region admits at most three doctors and contains at most three hospitals, except for one region that contains all hospitals and is matched with all doctors.
In another recent work on public housing allocation with diversity constraints, Benabbou et al. (2018) showed that it is NP-complete to check whether there exists a feasible assignment with maximum social welfare, which is different from ours.
Complexity of computing a stable outcome
Now we move on to the complexity question of deciding the existence of a stable outcome. In previous work, Huang (2010) showed that it is NP-hard to compute a stable matching for school choice with diversity constraints when both minimum and maximum quotas exist. Next we show that if there are no minimum quotas, it is NP-complete to check whether a stable outcome exists under strict preferences. The following reduction is inspired by the work on hospital-doctor matching with couples by Ronn (1990) and McDermid and Manlove (2010).
Proposition 5.2
Given an instance of school choice with diversity constraints in which there are no minimum quotas, it is NP-complete to decide whether there exists a stable outcome under strict preferences, even if there are only two types, the capacity and type-specific maximum quotas for each school are at most 2 and the length of any preference / priority ordering is at most 4. 333In the previous version, we implicitly assume that there are no minimum quotas.
Proof
First we prove that if there are no minimum quotas, deciding whether a stable outcome exists is in NP. We can guess an outcome and check whether admits a blocking pair in polynomial time as follows: For each student and each school such that , if school can admit student by removing all students who are matched to school with lower priority than student , then outcome is not stable. This is because removing a set of students with lower priority than student does not violate feasibility requirement.
Next we show it is NP-hard by reduction from a restricted version of 3-SAT where each literal appears exactly twice, which is NP-complete (Berman et al., 2003).
student | type vector | preference |
---|---|---|
school | capacity | maximum quotas | priority ordering |
---|---|---|---|
2 | |||
2 | |||
1 | |||
1 | |||
1 | |||
1 | |||
2 | |||
1 | |||
1 |
Given an instance of 3-SAT in which each literal appears exactly twice, let denote a set of variables and be a set of clauses. Create an instance with diversity constraints as follows.
For each variable , create a gadget consisting of 22 students and 18 schools as shown in Table 3 and 3. Students and stand for the first and second occurrence of literal . Students and stand for the first and second occurrence of literal .
For each clause , create exactly one school with capacity and maximum quota for two types. Let denote the priority ordering of school where denotes the corresponding student of literal that appears in clause .
Note that and in the preference of student and stand for two schools induced by the clauses in which appears for the first and second time. Similarly, correspond to two schools induced from the clauses in which appears for the first and second time. In the priority ordering of school , stands for when and stands for when .
Lemma 5.1
If there exists a satisfying assignment of instance of 3-SAT, then the induced instance of school choice admits a stable outcome.
Proof
For each gadget induced from variable , if the value of is true in the assignment , then select the outcome :
otherwise select outcome :
For the school induced from clause , if the value of literal is false in the assignment , then match the student corresponding to literal to school .
Next we show that none of induced schools would be part of any blocking pair. First consider any school induced from clause . Since the assignment is satisfying, no more than two students will be matched to , otherwise corresponding clause is false. School would not be part of any blocking pair, since it can admit any two students without violating feasibility. Then consider the schools in the gadget induced by variable . If we select outcome , then are matched with their top choices, which implies they cannot be part of any blocking pair. Then we can infer cannot form a blocking pair with , cannot form a blocking pair with and cannot form a blocking pair with . If we select outcome , then are matched with their top choices. Then we can infer cannot form a blocking pair with , cannot form a blocking pair with and cannot form a blocking pair with . Thus any induced school would not be part of any blocking pair.
Lemma 5.2
In any stable outcome for , if , then ; if , then .
Proof
If , then we have , otherwise student and school will form a blocking pair. Then we can infer , otherwise student and school will form a blocking pair. Thus holds, otherwise they will form a blocking pair. Similarly, if , then we have , otherwise student and school will form a blocking pair. Then we can infer and holds, otherwise they will form a blocking pair.
Lemma 5.3
For any stable outcome for induced instance , students , , , must be matched with their first two choices.
Proof
Given any stable outcome , student cannot be unmatched, otherwise will form a blocking pair with school . Suppose student is matched to . Then there will be two cases: either i) student is matched to or ii) is unmatched. For case i), we have student is matched to , otherwise and will form a blocking pair. However, and will form a blocking pair, leading to a contradiction. For case ii), if both students and are matched to , then and will form a blocking pair. If is matched to , and will form a blocking pair. Thus for any stable outcome , student cannot be matched to , and student must be matched to his first two choices. The similar arguments work for students , , .
Lemma 5.4
For any stable outcome for induced instance , either , holds or , holds.
Proof
For the sake of contradiction, suppose and first. Then we have and , otherwise students and will form blocking pairs with schools and respectively. Then we can infer that , , otherwise students and will form blocking pairs with and respectively. However, is not stable, since and can form blocking pairs with and respectively.
Then suppose and . Then we have and , otherwise and will form blocking pairs with and respectively. However, outcome is not stable, since students and can form blocking pairs with schools and respectively.
Lemma 5.5
If there is a stable outcome for , then there is a satisfying assignment for the 3-SAT instance .
Proof
This concludes the proof of the Proposition 5.2.
Corollary 5.2
It is NP-complete to check whether there exists a stable outcome with regional priorities for hospital-doctor matching without regional minimum quotas, even if each region contains at most 4 hospitals, the capacity of each hospital and the maximum quota of each region is at most 2, and the length of any preference / priority ordering is at most 4.
6 Algorithm design for Weaker Stability
In this section we discuss the second implication of the reduction: how positive results for setting (2) hospital-doctor matching with regional quotas could lead to corresponding results for setting (1) school choice with diversity constraints. In general, stability with regional preferences is too strong to guarantee the existence of stable outcomes and it is NP-complete to decide whether one exists even if there are only regional maximum quotas.
Suppose there exists an algorithm that takes an instance with regional quotas as input and returns a feasible and weaker stable outcome with respect to priorities of hospitals and regions. Given an instance with diversity constraints, we can first convert into a corresponding instance with regional quotas in polynomial time. Then apply the algorithm designed for matching with regional quotas to instance to obtain some feasible and weaker stable outcome . By the corresponding relation, we can restore the outcome to an outcome of instance that also satisfies feasibility and some form of weaker stability.
Now the problem boils down to designing a weaker stable concept for setting (2) which should be weak enough to guarantee the existence of feasible and stable outcomes but still strong enough to lead to reasonable outcomes. One possible way, which has been considered in the mechanism design of matching markets Fragiadakis et al. (2016); Goto et al. (2016); Kurata et al. (2017), is to decompose stability into fairness and non-wastefulness, and then weaken one or both of them to obtain some weaker stable concept.
However, as far as we know, there is no convincing stability solution that works for a general instance of matching with regional quotas. Previous work mainly concentrates on special cases where regions form a partition or a hierarchy of hospitals, and they additionally assume there exists a strict master list over doctors that is used to determine which doctor should be matched when conflicts occur Goto et al. (2014, 2015, 2016). Note that a master list is equivalent to imposing unified regional priorities on all regions. Based on such a strict master list over doctors, we can easily design a strategy-proof algorithm that always returns a feasible and stable outcome with regional priorities when there are only regional maximum quotas. For example, we can just employ serial dictatorship, which lets each doctor choose their favorite hospital without violating hospital capacity and regional maximum quotas in the order of master list, to obtain a stable outcome with regional priorities where regional priorities are consistent with master list Goto et al. (2014); Fragiadakis et al. (2016).
The following fairness concept for school choice with diversity constraints is a weaker version of fairness by considering master list. Compared to original fairness definition, it additionally requires that student could have justified envy towards a non-empty set of students by master list if each student has lower master list priority than student .
Definition 3 (Fairness by Master List)
Given an instance with diversity constraints, a feasible outcome for and a strict master list , a student has justified envy toward a non-empty set of students by master list, if the following conditions hold: i) , ii) for each , we have and and iii) is a feasible outcome for . A feasible outcome is fair by master list if does not admit justified envy by master list.
Consider an instance of school choice without type-specific minimum quotas and a strict master list. If we apply serial dictatorship to its induced instance with regional quotas, then we obtain a feasible and stable outcome with regional priorities where each regional priority ordering is consistent with the master list. When we restore the outcome to outcome of the original instance , we have a feasible, non-wasteful and fairness outcome by master list. This serves well for the illustration of how positive results for setting (2) could lead to corresponding results for setting (1). Designing an appropriate stability concept for matching with regional quotas requires more exploration. One key conclusion of our results is that further developments on axiomatic and algorithmic aspects of hospital-doctor matching with regional quotas will result in corresponding results in school choice with diversity constraints.
7 Summary and Discussion
In this paper we provide a formal connection between two important forms of distributional constraints via a polynomial-time reduction. Our reduction has two implications: First, if we have NP-completeness results in the model of school choice with diversity constraints, then these complexity results also carry over to the model with regional quotas. Second, positive results, such as polynomial-time algorithms that guarantee the existence of some weakly stable outcomes for the model with regional quotas, imply corresponding results for school choice with diversity constraints.
Note that our reduction can be generalized to new models appearing in recent literature on school choice with diversity constraints. Matching with slot-specific priorities was proposed in (Kominers and Sönmez, 2016) where each slot (an extension of type) could have different priority orderings. This requires that the induced hospitals and regions should have different priority orderings from school . To overcome non-existence of feasible outcomes and improve efficiency, diversity constraints may be regarded as soft bounds and schools could admit more students than the type-specific quotas allows if some seats are unoccupied (Kojima, 2012; Hafalir et al., 2013; Ehlers et al., 2014; Kurata et al., 2017). This implies that in the induced instance, each doctor could have contracts with multiple hospitals at the same region. We can still convert an instance with these complicated diversity constraints into a corresponding instance with regional quotas, since the mapping relationship between two models does not change. Further development on matching with regional quotas will shed light on the problem of school choice with diversity constraints. Finally, it will be interesting to explore similar connections with other matching models (see e.g., (Aziz et al., 2018; Jones and Teytelboym, 2016)).
Acknowledgments
Aziz is supported by the UNSW Scientia Fellowship. Gaspers is the recipient of an Australian Research Council (ARC) Future Fellowship (FT140100048) and he also acknowledges support under the ARC’s Discovery Projects funding scheme (DP150101134). Sun receives support through Australian Government Research Training Program Scholarship. Walsh is funded by the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme via grant AMPLIFY 670077.
References
- Abdulkadiroğlu [2005] A. Abdulkadiroğlu. College admissions with affirmative action. International Journal of Game Theory, 33(4):535–549, 2005.
- Abdulkadiroğlu and Sönmez [2003] A. Abdulkadiroğlu and T. Sönmez. School choice: A mechanism design approach. American Economic Review, 93(3):729–747, 2003.
- Aziz et al. [2018] H. Aziz, J. Chen, S. Gaspers, and Z. Sun. Stability and pareto optimality in refugee allocation matchings. In Proceedings of the 17th International Conference on Autonomous Agents and Multiagent Systems (AAMAS), pages 964–972, 2018. URL http://dl.acm.org/citation.cfm?id=3237842.
- Benabbou et al. [2018] N. Benabbou, M. Chakraborty, X. Ho, J. Sliwinski, and Y. Zick. Diversity constraints in public housing allocation. In Proceedings of the 17th International Conference on Autonomous Agents and Multiagent Systems (AAMAS), pages 973–981, 2018.
- Berman et al. [2003] P. Berman, M. Karpinski, and A. D. Scott. Approximation hardness of short symmetric instances of MAX-3SAT. Electronic Colloquium on Computational Complexity (ECCC), 049, 2003.
- Biró et al. [2010] P. Biró, T. Fleiner, R. W. Irving, and D. F. Manlove. The college admissions problem with lower and common quotas. Theoretical Computer Science, 411(34):3136 – 3153, 2010. ISSN 0304-3975.
- Ehlers et al. [2014] L. Ehlers, I. E. Hafalir, M. B. Yenmez, and M. A. Yildirim. School choice with controlled choice constraints: Hard bounds versus soft bounds. Journal of Economic Theory, 153:648–683, 2014.
- Fragiadakis et al. [2016] D. Fragiadakis, A. Iwasaki, P. Troyan, S. Ueda, and M. Yokoo. Strategyproof matching with minimum quotas. ACM Transactions on Economics and Computation, 4(1):1–40, 2016.
- Gonzalez [1985] T. F. Gonzalez. Clustering to minimize the maximum intercluster distance. Theoretical Computer Science, 38:293 – 306, 1985. ISSN 0304-3975.
- Goto et al. [2014] M. Goto, N. Hashimoto, A. Iwasaki, Y. Kawasaki, S. Ueda, Y. Yasuda, and M. Yokoo. Strategy-proof matching with regional minimum quotas. In Proceedings of the 13th International Conference on Autonomous Agents and Multiagent Systems (AAMAS), pages 1225–1232, 2014.
- Goto et al. [2015] M. Goto, R. Kurata, N. Hamada, A. Iwasaki, and M. Yokoo. Improving fairness in nonwasteful matching with hierarchical regional minimum quotas. In Proceedings of the 14th International Conference on Autonomous Agents and Multiagent Systems (AAMAS), pages 1887–1888, 2015.
- Goto et al. [2016] M. Goto, A. Iwasaki, Y. Kawasaki, R. Kurata, Y. Yasuda, and M. Yokoo. Strategyproof matching with regional minimum and maximum quotas. Artificial intelligence, 235:40–57, 2016.
- Hafalir et al. [2013] I. E. Hafalir, M. B. Yenmez, and M.A. Yildirim. Effective affirmative action in school choice. Theoretical Economics, 8(2):325–363, 2013.
- Hatfield and Kojima [2008] J. W. Hatfield and F. Kojima. Matching with contracts: Comment. American Economic Review, 98(3):1189–94, 2008.
- Hatfield and Milgrom [2005] J. W. Hatfield and P. R. Milgrom. Matching with contracts. American Economic Review, 95(4):913–935, 2005.
- Huang [2010] C. Huang. Classified stable matching. In Proceedings of the 21th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1235–1253, 2010.
- Jones and Teytelboym [2016] W. Jones and A. Teytelboym. Choices, preferences and priorities in a matching system for refugees. Forced Migration Review, 51:81–82, 2016.
- Kamada and Kojima [2012] Y. Kamada and F. Kojima. Stability and strategy-proofness for matching with constraints: A problem in the japanese medical match and its solution. American Economic Review, 102(3):366–70, 2012.
- Kamada and Kojima [2015] Y. Kamada and F. Kojima. Efficient matching under distributional constraints: Theory and applications. The American Economic Review, 105(1):67–99, 2015.
- Kamada and Kojima [2017a] Y. Kamada and F. Kojima. Recent developments in matching with constraints. The American Economic Review, 107(5):200–204, 2017a.
- Kamada and Kojima [2017b] Y. Kamada and F. Kojima. Stability concepts in matching under distributional constraints. Journal of Economic Theory, 168:107–142, 2017b.
- Kamada and Kojima [2018] Y. Kamada and F. Kojima. Stability and strategy-proofness for matching with constraints: A necessary and sufficient condition. Theoretical Economics, 13(2):761–793, 2018.
- Kojima [2012] F. Kojima. School choice: Impossibilities for affirmative action. Games and Economic Behavior, 75(2):685–693, 2012.
- Kominers and Sönmez [2016] S. D. Kominers and T. Sönmez. Matching with slot-specific priorities: Theory. Theoretical Economics, 11(2):683–710, 2016.
- Kurata et al. [2017] R. Kurata, N. Hamada, A. Iwasaki, and M. Yokoo. Controlled school choice with soft bounds and overlapping types. Journal of Artificial Intelligence Research, 58:153–184, 2017.
- McDermid and Manlove [2010] E. J. McDermid and D. F. Manlove. Keeping partners together: algorithmic results for the hospitals/residents problem with couples. Journal of Combinatorial Optimization, 19(3):279–303, 2010.
- Ronn [1990] E. Ronn. NP-complete stable matching problems. Journal of Algorithms, 11(2):285–304, 1990.
- Roth [1985] A. E. Roth. The college admissions problem is not equivalent to the marriage problem. Journal of Economic Theory, 36(2):277–288, 1985.