---
title: "Strategyproof and Fair Matching Mechanism for Union of Symmetric M-convex Constraints"
authors:
  - "Yuzhe Zhang"
  - "Kentaro Yahiro"
  - "Nathanaël Barrot"
  - "Makoto Yokoo"
doi: "10.24963/ijcai.2018/82"
url: "https://ijcai.org/proceedings/2018/82"
pdf: "https://ijcai.org/proceedings/2018/0082.pdf"
venue: "Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence"
year: 2018
pages: "590-596"
track: "Main track"
keywords:
  - "Agent-based and Multi-agent Systems: Economic Paradigms, Auctions and Market-Based Systems"
  - "Agent-based and Multi-agent Systems: Algorithmic Game Theory"
  - "Agent-based and Multi-agent Systems: Cooperative Games"
---

# Strategyproof and Fair Matching Mechanism for Union of Symmetric M-convex Constraints

Yuzhe Zhang, Kentaro Yahiro, Nathanaël Barrot, Makoto Yokoo

*Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence*, pages 590-596. DOI: [10.24963/ijcai.2018/82](https://doi.org/10.24963/ijcai.2018/82)

## Abstract

In this paper, we identify a new class of distributional constraints defined as a union of symmetric M-convex sets, which can represent a variety of real-life constraints in two-sided matching settings. Since M-convexity is not closed under union, a union of symmetric M-convex sets does not belong to this well-behaved class of constraints in general. Thus, developing a fair and strategyproof mechanism that can handle this class is challenging. We present a novel mechanism called Quota Reduction Deferred Acceptance (QRDA), which repeatedly applies the standard DA mechanism by sequentially reducing artificially introduced maximum quotas. We show that QRDA is fair and strategyproof when handling a union of symmetric M-convex sets. Furthermore, in comparison to a baseline mechanism called Artificial Cap Deferred Acceptance (ACDA), QRDA always obtains a weakly better matching for students and, experimentally, performs better in terms of nonwastefulness.

## Full text

## 1 Introduction

The objective of this paper is to identify a new class of distributional constraints in two-sided matching, where a strategyproof and fair mechanism exists. In a two-sided matching problem, two types of agents (e.g., students/schools, hospitals/residents) are matched [Roth and Sotomayor, 1990]. A standard matching market deals with maximum quotas (capacity limits). As the theory has been applied to diverse environments, mechanism designers have faced various forms of distributional constraints, including regional maximum quotas, which restrict the total number of students assigned to a set of schools [Kamada and Kojima, 2015], minimum quotas, which guarantee that a certain number of students are assigned to each school [Biro et al., 2010; Fragiadakis et al., 2016; Goto et al., 2016; Hamada et al., 2017a], and diversity constraints, which guarantee that a school satisfies a balance between different types of students [Hafalir et al., 2013; Ehlers et al., 2014; Kojima, 2012; Kurata et al., 2017]. This topic has been attracting increasing attention from AI researchers [Aziz et al., 2017; Hamada et al., 2017b; Hosseini et al., 2015].

It is well-known that in the presence of distributional constraints, a stable matching may not exist. Matching stability is defined by Gale and Shapley [1962] for two-sided one-to-one matching problems. In the setting of a school-student allocation problem, 1 it is defined as the combination of fairness and nonwastefulness [Balinski and S¨onmez, 1999]. Fairness guarantees that when student s is not accepted by school c (which she considers better than her assigned school), then s is ranked lower than any student accepted by c based on c's preference. Nonwastefulness is an efficiency notion that rules out the situations where a student can move unilaterally to her more preferred school without violating the underlying distributional constraints. Given the incompatibility of stability with distributional constraints, mechanism designers encounter a trade-off between fairness and efficiency. Our approach is to investigate whether fairness is achievable under distributional constraints, while achieving as much efficiency as possible. As we describe below, a baseline mechanism called Artificial Cap Deferred Acceptance (ACDA), which uses predetermined artificial maximum quotas, is strategyproof and fair, but it is very wasteful since it sacrifices too much flexibility of the original distributional constraints.

We restrict our attention to strategyproof (SP) mechanisms in which no student has an incentive to misreport her preference over schools. In theory, we can restrict our attention to SP mechanisms without loss of generality due to the wellknown revelation principle [Gibbard, 1973], i.e., if a certain property is achieved by a mechanism (more specifically, the property is satisfied in a dominant strategy equilibrium when using the mechanism), it can be achieved by an SP mechanism. An SP mechanism is also useful in practice since a student does not need to speculate about the actions of other students to obtain a good outcome; she only needs to truthfully report her own preference.

Existing works have shown that if constraints belong to a well-behaved class (called M-convex set), then a mechanism called generalized DA, which is based on DA, is strategyproof, fair, and retains the flexibility of the original distributional constraints [Kojima et al., 2014; Goto et al., 2017]. Thus, identifying a class beyond an M-convex set, such that we can develop a non-trivial strategyproof and fair mechanism, is theoretically interesting/challenging.

1 For the sake of presentation, the rest of this paper is described in the context of a school-student allocation problem, but its obtained results are applicable to allocation problems in general.

In this paper, we introduce a new type of constraints that is represented by a union of symmetric M-convex sets. This class of constraints can represent a variety of real-life constraints that are useful in two-sided matching. Since Mconvexity is not closed under union, a union of symmetric M-convex sets is not an M-convex set.

We develop a mechanism called the Quota Reduction Deferred Acceptance mechanism (QRDA), which repeatedly applies the well-known Deferred Acceptance (DA) mechanism [Gale and Shapley, 1962], by sequentially reducing artificially introduced maximum quotas. Fragiadakis and Troyan [2017] use the idea of sequentially reducing maximum quotas for a different goal. In their model, students are partitioned into different types, and the goal is to satisfy typespecific minimum/maximum quotas. Yahiro et al. [2018] develop a mechanism (which is also called QRDA) specifically for ratio constraints that specify the acceptable minimum ratio between the least/most popular schools. As described below, the class of distributional constraints that we study is a strict generalization of ratio constraints.

To the best of our knowledge, we are the first to identify a general class of constraints (which can describe many specific types of constraints) beyond an M-convex set, where a non-trivial, strategyproof, and fair mechanism exists. As well as being fair and strategyproof, we show that in terms of student welfare, QRDA outperforms ACDA, both theoretically and experimentally. In terms of nonwastefulness, we experimentally show that QRDA outperforms ACDA.

## 2 Model

A student-school matching market with distributional constraints is defined by a tuple (S, C, X, ≻S, ≻C, V).

- S = {s1, . . . , sn} is a finite set of students.
- C = {c1, . . . , cm} is a finite set of schools. Let M denote {1, 2, . . . ,m}.
- X = S × C is a finite set of all possible contracts. Contract (s, c) ∈ X means that student s is matched to school c. For ˙X ⊆ X, ˙Xs denotes {(s, c) ∈ ˙X | c ∈ C}, and ˙Xc denotes {(s, c) ∈ ˙X | s ∈ S}. In other words, ˙Xs (resp. ˙Xc) denotes all contracts in ˙X related to s (resp. c).
- ≻S= (≻s1 , . . . ,≻sn ) is the profile of the student preferences, where each ≻s is a strict preference over all contracts that are related to s. For example, if s strictly prefers c over c′ , it is denoted by (s, c) ≻s (s, c′ ). We sometimes write c ≻s c′ instead of (s, c) ≻s (s, c′ ).
- ≻C= (≻c1 , . . . ,≻cm ) is the profile of the school preferences, where each ≻c is a strict preference over all contracts that are related to c. For example, if c strictly prefers s over s′ , it is denoted by (s, c) ≻c (s′ , c). We sometimes write s ≻c s′ instead of (s, c) ≻c (s′ , c).
- V ⊆ Nm0 is a set of school feasible vectors that reflects distributional constraints. For each ν ∈ V, we assume ∑i∈M νi = n holds.

For ˙X, let ζ( ˙X) denote m-element vector (| ˙Xc1 |, | ˙Xc2 |, . . . , | ˙Xcm |).

Definition 1 (Feasibility). For ˙X ⊆X, ˙X is student-feasible if | ˙Xs| = 1 for all s ∈ S. We call a student-feasible set of contracts a matching. ˙X is school-feasible if ζ( ˙X) ∈ V. ˙X is feasible if it is both student-/school-feasible.

In this market, we assume all schools are acceptable to all students and vice versa. 2

With a slight abuse of notation, for two matchings, ˙X and ¨X, we denote ˙Xs ≻s ¨Xs if ˙Xs = {(s, c′ )}, ¨Xs = {(s, c′′ )}, and c′ ≻s c′′ (i.e., if student s prefers the school she obtained in ˙X to the one in ¨X). Furthermore, we denote ˙Xs ⪰s ¨Xs if either ˙Xs ≻s ¨Xs or ˙Xs = ¨Xs.

A mechanism ϕ is a function that takes a profile of student preferences ≻S as input 3 and returns a set of contracts. Let ϕs(≻S) denote ˙Xs, where ϕ(≻S) = ˙X. Let ≻S\{s} denote a profile of the preferences of all students except s, and let (≻s, ≻S\{s}) denote a profile of the preferences of all students, where s's preference is ≻s and the profile of the preferences of the other students is ≻S\{s}.

Definition 2 (Strategyproofness). Mechanism ϕ is strategyproof if for all s, ≻s, ≻S\{s}, and ≻′s (where ≻′s is an arbitrary preference of student s), ϕs((≻s, ≻S\{s})) ⪰s ϕs((≻′s , ≻S\{s})) holds.

Definition 3 (Fairness). In matching ˙X, where (s, c) ∈ ˙X, student s has justified envy toward another student s′ if for some c′ ∈ C, c′ ≻s c, (s′ , c′ ) ∈ ˙X, and s ≻c′ s′ hold. Matching ˙X is fair if no student has justified envy in ˙X. A mechanism is fair if it always produces a fair matching.

In other words, student s has justified envy toward student s′ if she is assigned to school c′ , which is better for s than her current school, even though c′ prefers s over s′ .

Definition 4 (Nonwastefulness). In matching ˙X, where (s, c) ∈ ˙X, student s claims an empty seat of c′ , if c′ ≻s c and ( ˙X \ {(s, c)}) ∪ {(s, c′ )} is school-feasible. Matching ˙X is nonwasteful if no student claims an empty seat in ˙X. A mechanism is nonwasteful if it always produces a nonwasteful matching.

In other words, s claims an empty seat of c′ , which is better than her current school c, if moving her from c to c′ does not violate distributional constraints.

In standard matching terminology, fairness and nonwastefulness are combined to form a notion called stability [Fragiadakis and Troyan, 2017; Goto et al., 2016; Goto et al., 2017]. However, fairness and nonwastefulness are usually incompatible with distributional constraints [Kojima et al., 2014; Fragiadakis et al., 2016; Goto et al., 2016]. Thus, in this paper, we divide the notion into fairness and nonwastefulness and focus on finding a fair outcome, while reducing wastefulness as much as possible.

2 Even though this is a strong assumption, we require it to guarantee the existence of a feasible matching. The same assumption is widely used in existing works [Fragiadakis et al., 2016; Goto et al., 2016; Goto et al., 2017].

3 We assume that the profile of school preferences is publicly known and focus on strategyproofness for students (the proposing side). Thus, we do not specify it as an input of a mechanism.

If V is an M-convex set (which is a discrete analogue of maximum elements of a convex set in a continuous domain), 4 then a mechanism called generalized DA, based on DA, is strategyproof and fair [Kojima et al., 2014; Goto et al., 2017].

Definition 5 (M-convex set). Let χi denote an m-element unit vector, where its i-th element is 1 and all other elements are 0. A set of m-element vectors V ⊆ Nm0 forms an Mconvex set, if for all ν, ν ′ ∈ V, for all i such that νi &gt; ν ′ i , there exists j ∈ {k ∈ M | νk &lt; ν ′k } such that ν-χi+χj ∈ V and ν ′ + χi - χj ∈ V hold.

Definition 6 (Symmetry). V ⊆ Nm0 is symmetric if for all ν = (ν1, . . . , νm) ∈ V, vector ν ′ , which is any permutation of (ν1, . . . , νm), also belongs to V.

In this paper, we concentrate on distributional constraints that are represented as a union of symmetric M-convex sets.

Definition 7 (Union of symmetric M-convex sets). V ⊆ Nm0 is a union of symmetric M-convex sets if it is represented as V1 ∪ . . . ∪ Vℓ, where each Vi is a symmetric M-convex set.

## 3 Example of a Union of Symmetric M-convex Sets

Let us illustrate a variety of real-life distributional constraints that can be represented as a union of symmetric M-convex sets.

First, we identify several distributional constraints that can be represented as a single symmetric M-convex set. If a policymaker thinks that several of these constraints are equally appropriate, she can define the union of these vectors as school-feasible. Then the obtained distributional constraints are represented as a union of symmetric M-convex sets.

Definition 8 (Uniformmin-max quotas). Let q and p respectively be maximum and minimum quotas, i.e., the number of assigned students in each school must be between p and q. Then V = {ν ∈ Nm0 | ∀i ∈M, p ≤ νi ≤ q, ∑i∈M νi = n}.

General min-max quotas can be represented as an Mconvex set [Kojima et al., 2014]. Since all schools have identical minimum/maximum quotas, V must be symmetric.

To introduce another class of constraints that can be represented as an M-convex set, we introduce a notion called the most balanced vectors.

Definition 9 (Most balanced vectors). ν ∈ V is most balanced if for each i ∈ M, νi is either ⌊n/m⌋ or ⌈n/m⌉. Let V ∗ denote the set of all the most balanced vectors.

Definition 10 (Distance constraints (from the most balanced vectors)). For a given distance threshold d, V is given as {ν ∈ Nm0 | δ(ν) ≤ d, ∑i∈M νi = n}, where δ(ν) is given as minν ∗∈V ∗ (∑i∈M |νi - ν ∗ i |).

4 To be precise, the condition used in [Kojima et al., 2014; Goto et al., 2017] is an M♮ -convex set, which is a generalization of an M-convex set. When all students must be assigned to schools, it becomes equivalent to an M-convex set. Their results are built upon various earlier works [Fleiner, 2001; Fleiner, 2003; Hatfield and Milgrom, 2005; Fujishige and Tamura, 2006].

Distance constraints from a single most desirable vector can be represented as an M-convex set [Kojima et al., 2014]. Since we consider a set of vectors close enough to the set of all the most balanced vectors (which is symmetric), V is also symmetric. This class of constraints is appropriate when a policymaker thinks the most balanced vectors are ideal, but can accept any matching that is close enough to the ideal ones.

Next we introduce distributional constraints that are represented as a union of symmetric M-convex sets.

Definition 11 (Ratio constraints). For a given parameter α (where 0 ≤ α ≤ 1), V is given as {ν ∈ Nm0 | r(ν) ≥ α, ∑i∈M νi = n}, where r(ν) is given as mini∈M νi maxi∈M νi , i.e., r(ν) is the ratio of student number between the least/most popular schools.

The ratio constraints can be clearly divided into several uniform min/max quotas. For example, assume n = 21, m = 4, and α = 0.5. Then V can be represented as a union of V1 in which the uniform minimum∼maximum quotas are 3∼6, and V2 in which the uniform minimum∼maximum quotas are 4∼8.

Definition 12 (Difference constraints). For a given parameter d, V = {ν ∈ Nm0 | γ(ν) ≤ d, ∑i∈M νi = n}, where γ(ν) is given as maxi∈M νi - mini∈M νi, i.e., γ(ν) is the difference between the numbers of students allocated to the most/least popular schools.

It is also easy to see that difference constraints can be divided into several uniform min/max quotas. For example, assume n = 21, m = 4, and d = 4. Then V can be represented as a union of V1 in where the uniform minimum∼maximum quotas are 3∼7, and V2 in which the uniform minimum∼maximum quotas are 4∼8.

Note that even if both ratio and difference constraints can be represented as a union of uniform min/max quotas, they are not interchangeable, i.e., in general, ratio constraints cannot be represented as difference constraints, and conversely. Ratio and difference constraints are alternative ways to specify a well-balanced matching outcome. Which one is more appropriate would be application dependent. If a policymaker cannot decide which one to use, she can declare that both are equally appropriate. Then the obtained school-feasible vectors are also a union of symmetric M-convex sets.

## 4 Quota Reduction Deferred Acceptance Mechanism (QRDA)

## 4.1 MechanismDescription

Let us first introduce the standard DA, which is a component of QRDA. A standard market is a tuple (S,C,X,≻S, ≻C, qC), whose definition resembles a market with distributional constraints. The only difference is that its constraints are given as a profile of maximum quotas: qC = (qc)c∈C. Matching ˙X is school-feasible if for all c ∈ C, | ˙Xc| ≤ qc holds. The standard DA is defined as follows:

Mechanism 1 (standard DA).

Step 1 Each student s applies to her most preferred school according to ≻s from the schools that did not reject her so far.

Step 2 Each school c tentatively accepts the top qc students from the applying students based on ≻c and rejects the rest of them (no distinction between newly applying students and already tentatively accepted students).

Step 3 If no student is rejected, return the current matching. Otherwise, go to Step 1.

Let σ denote the sequence of schools 5 based on the roundrobin order c1, c2, . . . , cm. Let σ(k) denote the k-th school in σ, i.e., σ(k) = cj , where j = 1 + (k - 1 mod m).

Let νmax be maxν∈V,i∈M νi. The Quota Reduction Deferred Acceptance (QRDA) mechanism is defined as follows:

Mechanism 2 (QRDA).

## Initialization:

<!-- formula-not-decoded -->

Stage k (k ≥ 1):

Step 1 Run the standard DA in market (S,C,X,≻S, ≻C, qkC ) and obtain matching ˙Xk .

Step 2 If ˙Xk is school-feasible, then return ˙Xk .

<!-- formula-not-decoded -->

## 4.2 MechanismProperties

Let us first introduce several useful properties related to the unions of symmetric M-convex sets.

Lemma 1. If ν = (ν1, . . . , νi, . . . , νj, . . . , νm) ∈ V where V is a union of symmetric M-convex sets and νi &gt; νj holds, then vector ν ′ = (ν1, . . . , νi -1, . . . , νj +1, . . . , νm) and all of its permutations also belong to V.

Proof. From symmetry, vector ν ′′ , which is obtained by exchanging the i-th and j-th elements of ν, is also feasible. Then by the definition of an M-convex set, since νi &gt; ν ′′ i and νk &lt; ν ′′ k only holds for k = j, based on the condition of an M-convex set, ν - χi + χj = ν ′ must be in V.

Lemma 2. If V is a symmetric M-convex set, it contains all of the most balanced vectors.

Proof. Let ν be a vector in V. If ν is most balanced, then from symmetry, all of its permutations must belong to V. Thus, V contains all of the most balanced vectors. If ν is not most balanced, from Lemma 1, we can move one student from a popular school to a less popular school in ν and obtain another vector included in V. By repeatedly applying such modification, we eventually obtain a most balanced vector that belongs to V.

It is clear that if V is a union of symmetric M-convex sets, V includes all the most balanced vectors.

Next we show that QRDA obtains a feasible and fair matching.

5 For simplicity, we assume σ is based on a fixed round-robin order, but the results in this paper hold for any balanced sequence σ, i.e., for each ℓ ∈ N0, σ(mℓ + 1), σ(mℓ + 2), . . . , σ(mℓ +m) is a permutation of c1, c2, . . . , cm. This requirement is necessary to enforce strategyproofness.

Table 1: Example of a rejection chain

| Stage   |   Step | Action                                                     |
|---------|--------|------------------------------------------------------------|
| k       |      1 | Student s applies to school c1.                            |
|         |      2 | School c1 rejects student s1.                              |
|         |      3 | Student s1 applies to school c2 (and is accepted).         |
| k +1    |      1 | School c3 rejects student s2 (due to its quota reduction). |
|         |      2 | Student s2 applies to school c4. . . .                     |

Theorem 1. QRDA returns a feasible and fair matching when V is a union of symmetric M-convex sets.

Proof. If QRDA returns amatching, it is clearly feasible. According to Lemma 2, all the most balanced vectors must be included in V. Eventually, in some stage k′ , every school's quota qci equals ⌊n/m⌋ or ⌈n/m⌉, and ∑mj=1 qcj = n. In this case, the obtained matching is feasible. Thus, QRDA must terminate in stage k ≤ k′ and the obtained matching is feasible. The obtained matching is also identical to the matching obtained by the standard DA for the market (S,C,X,≻S,≻C, qkC ). Since the standard DA is fair [Gale and Shapley, 1962], QRDA is also fair.

QRDA's strategyproofness is not trivial. It depends on the fact that quotas are reduced based on the round-robin order. Indeed, a student might have an incentive to secure, at an early stage, a seat from a school that later becomes unavailable. We utilize several lemmas to prove the strategyproofness of QRDA. The first is called Scenario lemma and requires two definitions. A scenario is a sequence of schools to which a student plans to apply. For example, suppose that student s has scenario Cs, defined as c1, c2, c3. Scenario Cs means that student s first applies to school c1, and if she is rejected, then she applies to school c2, and then to c3 if she is rejected again. A scenario is not necessarily exhaustive. A rejection chain R(Cs), based on scenario Cs, is the sequence of all students and schools' actions (applications and rejections) that follow when student s enters the market with scenario Cs, starting when s applies to the first school of this scenario. A rejection chain ends when (i) student s is rejected by the last school in Cs or (ii) the mechanism terminates. A simple example of a rejection chain is presented in Table 1. For rejection chains, the following property holds:

Lemma 3 (Scenario Lemma). Consider two scenarios, Cs and C ′s , of student s starting from the same stage of QRDA. If (1) each school that appears in C ′s also appears in Cs (the order does not matter), (2) student s applies to all the schools in Cs, and (3) all the actions of R(C ′s ) happen in the same stage, then all the actions in R(C ′s ) also happen in R(Cs).

Furthermore, Lemma 4 holds for unions of symmetric M-convex sets. 6 Consider matching ˙X obtained in an intermediate stage of QRDA. Assume that, in the following stage, school cr rejects a student (because of quota reduction), which triggers school ca to accept one more student. We denote by η the operation that transforms vector ζ( ˙X) into (. . . , | ˙Xcr | - 1, . . . , | ˙Xca | +1, . . .).

6 Due to space limitations, we omit the full proof of Lemmas 3 and 4, and Theorem 2.

Lemma 4. Considermatching ˙X obtained in an intermediate stage of QRDA. Assume that after imposing a sequence of operations η1, η2, . . . , ηk on ζ( ˙X), another matching ˙X′ is obtained, and when imposing the last operation ηk, school c∗ accepts one more student. If no student is assigned to c∗ in η1, . . . , ηk-1, and if by imposing only ηk on ζ( ˙X) a feasible matching is obtained, then ˙X′ is also feasible.

Theorem 2. QRDA is strategyproof when V is a union of symmetric M-convex sets.

Proof sketch. By contradiction, assume student s is assigned to a better school when she misreports. Without loss of generality, we assume that her true preference is c1 ≻s c2 ≻s . . . ≻s cm, and that s is assigned to school cj in stage k when misreporting, but she is assigned to ci in stage k′ under her true preference, where j &lt; i. If k′ ≤ k, s cannot benefit from misreporting, since the standard DA is strategyproof and satisfies resource monotonicity, i.e., DA's outcome is weakly preferred by each student if each school's quota weakly increases [Ehlers and Klaus, 2016]. Thus, k &lt; k′ must hold.

Consider an alternative (and equivalent) DA mechanism where, at each stage, we run the standard DA for S\{s} under the same quotas, obtain matching ˙Xk , and then add s to the market. When s is added to the market with her true (resp. misreported) preference at stage k, we assume that s is assigned to school co (resp. cj) and infeasible matching Xk (resp. feasible matching ¨Xk ) is obtained.

Now we define two scenarios: (a) Cs = (c1, c2, . . . , ci-1), based on the true preference of s, and then the last action in R(Cs) must be "school ci-1 rejects student s," and (b) C ′s , based on the misreported preferences in which the last school is cj. For C ′s , the following two cases can occur: (i) cj is the truly least preferred school for s within C ′s or (ii) C ′s contains at least one school that is less preferred by s than cj.

In case (i), each school c that appears in C ′s also appears in Cs. Thus we can apply Lemma 3, which implies that action "student s applies to school cj" appears in rejection chain R(Cs).

At stage k, when s enters the market (after all other students) with true preferences, there is one school, ce, such that |Xk ce | = | ˙Xk ce |+1, and when s misreports, an another school, cd, satisfies | ¨Xk cd | = | ˙Xcd | + 1. When comparing |Xk ce | and |Xk cd |, three cases can occur : (1) one is strictly greater than ⌈n/m⌉ and the other is strictly lower than ⌊n/m⌋, (2) both are greater or equal to ⌊n/m⌋, and (3) both are lower or equal to ⌈n/m⌉. Here, we only develop case (1); cases (2) and (3) can be handled in a similar fashion.

Case (1). First we assume that |Xk ce | &lt; ⌊n/m⌋ and |Xk cd | &gt; ⌈n/m⌉. Since | ¨Xk ce | = |Xk ce | - 1 and | ¨Xk cd | = |Xk cd | + 1, by applying Lemma 1 on ¨Xk , Xk is also feasible, which is a contradiction. Thus |Xk ce | &gt; ⌈n/m⌉ and |Xk cd | &lt; ⌊n/m⌋.

Consider that ce = co and cd = cj ; other cases are handled with a similar argument. Now assume that in rejection chain R(Cs), student s applies to school cj in stage k′′ (k ≤ k′′ ≤ k′ ), and matching Xk′′ is returned at stage k′′ . Moreover, assume that student s′ is assigned to cj (strictly) between k and k′′ . If s′ is from co, by applying Lemma 4 on ¨Xk , a feasible matching is returned when s′ is assigned to cj , which is a contradiction. If s′ is from an another school, a similar argument leads to the same contradiction.

Therefore, no student is assigned to cj between stages k and k′′ . Thus, student s is accepted in cj when she applies in stage k′′ since there is an available seat in cj (qk′′ cj ≥ ⌈n/m⌉ and |Xk′′ cj | &lt; ⌊n/m⌋). However, by Lemma 4, a feasible matching is returned when s is assigned to cj in stage k′′ , which is a contradiction.

Finally, case (ii) can be handled in a similar fashion by creating a new scenario C ′′ s where we remove all the schools from C ′s that are truly less preferred than cj by s.

## 4.3 Comparison with Baseline Mechanism

In this subsection, we present a method that sets artificial maximum quotas such that the obtained matching by the standard DA is guaranteed to satisfy distributional constraints: the Artificial Cap Deferred Acceptance mechanism (ACDA). ACDA is used in Japanese medical resident matching programs [Kamada and Kojima, 2015] to handle regional maximum quotas as well as a baseline mechanism in many works related to distributional constraints [Fragiadakis et al., 2016; Goto et al., 2016; Goto et al., 2017].

If we knew beforehand which schools are popular/unpopular, we might be able to set qC such that distributional constraints are satisfied and students' welfare can be maximized. Otherwise, one simple and reasonable way for finding appropriate qC is using a most balanced vectors. ACDA based on this idea is defined as follows:

Mechanism 3 (ACDA (based on a most balanced vector)).

## Initialization:

For each i where i ≤ (n mod m), qci ← ⌊n/m⌋, and for each i where i &gt; (n mod m), qci ← ⌈n/m⌉.

## Execution:

Run the standard DA in market (S, C, X, ≻S, ≻C, qC).

Theorem 3. ACDA (based on a most balanced vector) is strategyproof and returns a feasible and fair matching.

Proof. Since all the most balanced vectors are included in V, the matching obtained under qC is clearly feasible. Since the standard DA is fair [Gale and Shapley, 1962], the matching obtained by ACDA is also fair. Furthermore, since qC is determined independently from ≻S, ACDA is strategyproof since the standard DA is strategyproof.

Theorem 4. All students weakly prefer the matching obtained by QRDA over that of ACDA (based on a most balanced vector).

(a) Ratio of students who strictly prefer QRDA

![Image](https://ijcai.org/proceedings/2018/fulltext/82/image_000000_50308b2b5dd9e77c72dc226bf5aa6f2435c909d6d474b05218bace44999d3b39.png)

(b) Difference in ratio of claiming students

Figure 1: Comparison between QRDA and ACDA

Proof. Let k′ denote the stage of QRDA where qk′ C becomes identical to the qC used in ACDA (since the most balanced vector in ACDA is based on the quota reduction sequence σ in QRDA). As shown in the proof of Theorem 1, QRDA terminates at stage k where k ≤ k′ . Since qk c ≥ qk′ c holds for any c ∈ C and DA satisfies resource monotonicity (described in the proof of Theorem 2), each student weakly prefers the matching obtained by QRDA over that of ACDA.

We cannot guarantee that QRDA is less wasteful than ACDA. More specifically, Yahiro et al. [2018] identify a case where the number of students who claim empty seats in QRDA exceeds that of ACDA under ratio constraints (which is a special case of a union of symmetric M-convex sets).

## 5 Experimental Evaluation

Under ratio constraints, Yahiro et al. [2018] show that in terms of student welfare, QRDA is weakly better than ACDA theoretically and experimentally, and in terms of nonwastefulness, QRDA always experimentally outperforms ACDA. We extend these results by conducting a computer simulation with the difference constraints (Def. 12) to quantitatively examine the weak domination of QRDA over ACDA and show that QRDA outperforms ACDA in terms of nonwastefulness.

We considered a market with n = 800 students and m = 20 schools and generated student preferences with the Mallows model [Tubbs, 1992; Lu and Boutilier, 2014; Drummond and Boutilier, 2013]. We drew strict preference ≻s of student s whose probability is expressed as follows:

<!-- formula-not-decoded -->

Here θ ∈ R denotes a spread parameter, ≻̂ s is a central preference (uniformly randomly chosen from all possible preferences in our experiment), and ω(≻s,≻̂ s) represents the Kendall tau distance between ≻s and ≻̂ s. The distance is measured by the number of ordered pairs in ≻s that are inconsistent with those in ≻̂ s. When θ = 0, it becomes identical to the uniform distribution and converges to Pr(≻̂ s) as θ increases. Similar trends are obtained when conducting experiment in a broad range of θ, thus we only discuss two realistic settings, θ = 0.1 and θ = 0.3. The preference of each school c is drawn uniformly at random. We created 100 problem instances for each parameter setting.

In Fig. 1 (a), we show the proportion of students who strictly prefer QRDA over ACDA depending on the allowed difference d in Def. 12. When d = 10 and θ = 0.1, approximately 18% of the students strictly prefer QRDA's outcome; this number increases before plateauing at 60% when d = 50. Indeed, as d increases, since the set of feasible sets expands, the potential of improvement with QRDA increases as well. We expect that policymakers will prefer QRDA over ACDA since it outperforms ACDA and a significant amount of students strictly prefer it. When θ = 0.3, the competition among students rises since their preferences tend to be more similar. Compared to θ = 0.1, the improvement by QRDA is smaller when d is small (d ≤ 45) and is larger when d ≥ 45.

To compare the nonwastefulness of QRDA and ACDA, we measure the proportion of students who claim an empty seat in both mechanisms and show the difference in Fig. 1 (b), i.e., by plotting (|SACDA| - |SQRDA|)/n, where SACDA (resp. SQRDA) denotes the set of students claiming an empty seat in ACDA (resp. QRDA). This value is always positive for both θ = 0.1 and θ = 0.3, which means that on average more students claim empty seats in ACDA than in QRDA. When θ = 0.1, this number is 40% for d = 10 and increases to approximately 60% for d = 40 before plateauing. We conclude that experimentally, QRDA is less wasteful than ACDA in the difference constraints setting. Similar to Fig. 1 (a), for both cases of θ = 0.1 and θ = 0.3, QRDA's improvement becomes greater as d increases.

## 6 Conclusions and FutureWorks

This paper identified a new class of distributional constraints defined as a union of symmetric M-convex sets. Since Mconvexity is not closed under union, a union of symmetric Mconvex sets is not an M-convex set. We developed a fair and strategyproof mechanism called QRDA and showed that in terms of student welfare, it theoretically outperforms ACDA. Furthermore, we experimentally showed that QRDA is better than ACDA in terms of student welfare and nonwastefulness.

Future works will clarify whether there exists any class of constraints (broader than a union of symmetric M-convex set) where a non-trivial fair and strategyproof mechanism exists.

## Acknowledgements

This work was partially supported by JSPS KAKENHI Grant Number 17H00761.

## References

1. [Aziz et al., 2017] Haris Aziz, Péter Biró, Tamás Fleiner, Serge Gaspers, Ronald de Haan, Nicholas Mattei, and Ba- harak Rastegari. Stable matching with uncertain pairwise preferences. In AAMAS, pages 344-352, 2017.
2. [Balinski and Sönmez, 1999] Michel Balinski and Tayfun Sönmez. A tale of two mechanisms: Student placement. Journal of Economic Theory, 84(1):73-94, 1999.
3. [Biro et al., 2010] Péter Biro, Tamás Fleiner, Robert W. Irv- ing, and David F. Manlove. The college admissions prob- lem with lower and common quotas. Theoretical Com- puter Science, 411(34-36):3136-3153, 2010.
4. [Drummond and Boutilier, 2013] Joanna Drummond and Craig Boutilier. Elicitation and approximately stable matching with partial preferences. In IJCAI, pages 97-105, 2013.
5. [Ehlers and Klaus, 2016] Lars Ehlers and Bettina Klaus. Object allocation via deferred-acceptance: Strategy- proofness and comparative statics. Games and Economic Behavior, 97:128-146, 2016.
6. [Ehlers et al., 2014] Lars Ehlers, Isa E. Hafalir, M. Bumin Yenmez, and Muhammed A. Yildirim. School choice with controlled choice constraints: Hard bounds versus soft bounds. Journal of Economic Theory, 153:648-683, 2014.
7. [Fleiner, 2001] Tamás Fleiner. A matroid generalization of the stable matching polytope. In B. Gerards and K. Aardal, editors, Integer Programming and Combina- torial Optimization: 8th International IPCO Conference, LNCS 2081, pages 105-114. Springer-Verlag, 2001.
8. [Fleiner, 2003] Tamás Fleiner. A fixed-point approach to sta- ble matchings and some applications. Mathematics of Op- erations Research, 28:103-126, 2003.
9. [Fragiadakis and Troyan, 2017] Daniel Fragiadakis and Pe- ter Troyan. Improving matching under hard distributional constraints. Theoretical Economics, 12(2):863-908, 2017.
10. [Fragiadakis et al., 2016] Daniel Fragiadakis, Atsushi Iwasaki, Peter Troyan, Suguru Ueda, and Makoto Yokoo. Strategyproof matching with minimum quotas. ACM Transactions on Economics and Computation, 4(1):6:1-6:40, 2016.
11. [Fujishige and Tamura, 2006] Satoru Fujishige and Akihisa Tamura. A general two-sided matching market with dis- crete concave utility functions. Discrete Applied Mathe- matics, 154(6):950-970, 2006.
12. [Gale and Shapley, 1962] David Gale and Lloyd S. Shapley. College admissions and the stability of marriage. The American Mathematical Monthly, 69(1):9-15, 1962.
13. [Gibbard, 1973] Allan Gibbard. Manipulation of voting schemes: A general result. Econometrica, 41(4):587-601, 1973.
14. [Goto et al., 2016] Masahiro Goto, Atsushi Iwasaki, Yujiro Kawasaki, Ryoji Kurata, Yosuke Yasuda, and Makoto Yokoo. Strategyproof matching with regional minimum and maximum quotas. Artificial Intelligence, 235:40 -57, 2016.
15. [Goto et al., 2017] Masahiro Goto, Fuhito Kojima, Ryoji Kurata, Akihisa Tamura, and Makoto Yokoo. Designing matching mechanisms under general distributional con- straints. American Economic Journal: Microeconomics, 9(2):226-62, 2017.
16. [Hafalir et al., 2013] Isa E. Hafalir, M. Bumin Yenmez, and Muhammed A. Yildirim. Effective affirmative action in school choice. Theoretical Economics, 8(2):325-363, 2013.
17. [Hamada et al., 2017a] Naoto Hamada, Chia-ling Hsu, Ry- oji Kurata, Takamasa Suzuki, Suguru Ueda, and Makoto Yokoo. Strategy-proof school choice mechanisms with minimum quotas and initial endowments. Artificial Intel- ligence, 249:47-71, 2017.
18. [Hamada et al., 2017b] Naoto Hamada, Anisse Ismaili, Takamasa Suzuki, and Makoto Yokoo. Weighted matching markets with budget constraints. In AAMAS, pages 317- 325, 2017.
19. [Hatfield and Milgrom, 2005] John William Hatfield and Paul R. Milgrom. Matching with contracts. American Eco- nomic Review, 95(4):913-935, 2005.
20. [Hosseini et al., 2015] Hadi Hosseini, Kate Larson, and Robin Cohen. On manipulablity of random serial dicta- torship in sequential matching with dynamic preferences. In AAAI, pages 4168-4169, 2015.
21. [Kamada and Kojima, 2015] Yuichiro Kamada and Fuhito Kojima. Efficient matching under distributional con- straints: Theory and applications. American Economic Review, 105(1):67-99, 2015.
22. [Kojima et al., 2014] Fuhito Kojima, Akihisa Tamura, and Makoto Yokoo. Designing matching mechanisms under constraints: An approach from discrete convex analysis. In SAGT, 2014.
23. [Kojima, 2012] Fuhito Kojima. School choice: Impossibili- ties for affirmative action. Games and Economic Behavior, 75(2):685-693, 2012.
24. [Kurata et al., 2017] Ryoji Kurata, Naoto Hamada, Atsushi Iwasaki, and Makoto Yokoo. Controlled school choice with soft bounds and overlapping types. Journal of Ar- tificial Intelligence Research, 58:153-184, 2017.
25. [Lu and Boutilier, 2014] Tyler Lu and Craig Boutilier. Ef- fective sampling and learning for mallows models with pairwise-preference data. Journal of Machine Learning Research, 15:3963-4009, 2014.
26. [Roth and Sotomayor, 1990] Alvin E. Roth and Marilda A. Oliveiria Sotomayor. Two-Sided Matching: A Study in Game-Theoretic Modeling and Analysis (Econometric Society Monographs). Cambridge University Press., 1990.
27. [Tubbs, 1992] JD Tubbs. Distance based binary match- ing. In Computing Science and Statistics, pages 548-550. Springer, 1992.
28. [Yahiro et al., 2018] Kentaro Yahiro, Yuzhe Zhang, Nathanaël Barrot, and Makoto Yokoo. Strategyproof and fair matching mechanism for ratio constraints. In AAMAS, 2018. forthcoming.
