# welfare_guarantees_in_schelling_segregation__01c61d2c.pdf Journal of Artificial Intelligence Research 71 (2021) 143-174 Submitted 02/2021; published 05/2021 Welfare Guarantees in Schelling Segregation Martin Bullinger martin.bullinger@in.tum.de Institut f ur Informatik Technische Universit at M unchen Boltzmannstr. 3, 85748 Garching, Germany Warut Suksompong warut@comp.nus.edu.sg School of Computing National University of Singapore 13 Computing Drive, Singapore 117417, Singapore Alexandros A. Voudouris alexandros.voudouris@essex.ac.uk School of Computer Science and Electronic Engineering University of Essex Wivenhoe Park, Colchester CO4 3SQ, United Kingdom Schelling s model is an influential model that reveals how individual perceptions and incentives can lead to residential segregation. Inspired by a recent stream of work, we study welfare guarantees and complexity in this model with respect to several welfare measures. First, we show that while maximizing the social welfare is NP-hard, computing an assignment of agents to the nodes of any topology graph with approximately half of the maximum welfare can be done in polynomial time. We then consider Pareto optimality, introduce two new optimality notions based on it, and establish mostly tight bounds on the worst-case welfare loss for assignments satisfying these notions as well as the complexity of computing such assignments. In addition, we show that for tree topologies, it is possible to decide whether there exists an assignment that gives every agent a positive utility in polynomial time; moreover, when every node in the topology has degree at least 2, such an assignment always exists and can be found efficiently. 1. Introduction Schelling s model was proposed half a century ago to illustrate how individual perceptions and incentives can lead to racial segregation, and has been used to study this phenomenon in residential metropolitan areas in particular (Schelling, 1969, 1971). The model is rather simple to describe. There are a number of agents, each of whom belongs to one of two predetermined types and occupies a location; in his original work, Schelling assumed that the locations are cells of a rectangular board, which can be represented as a grid graph. Every agent would like to occupy a node on the graph such that the fraction of other agents of the same type in the neighborhood of that node is at least a predefined tolerance threshold τ [0, 1]. If this condition is not met for an agent, then the agent can relocate to a randomly chosen empty node on the grid. One of the most surprising findings of Schelling is that, starting from a random initial assignment of the agents to the nodes of the grid, the dynamics may converge to segregated assignments even when τ 1/3, contrasting the intuition that segregation should happen only when τ 1/2. 2021 AI Access Foundation. All rights reserved. Bullinger, Suksompong, & Voudouris Throughout the years, hundreds of researchers in sociology and economics reconfirmed Schelling s observations and made similar ones for numerous variants of the model using computer simulations see, for example, the work of Clark and Fossett (2008). More recent work, mainly in computer science, performed rigorous analyses of such variants, some of which are quite close to the original model, and showed that the dynamics according to which the agents relocate converges to assignments in which the agents form large monochromatic regions (that is, subgraphs consisting only of agents of the same type); in addition, this line of work established bounds on the size of these regions. We refer to the papers by Pollicott and Weiss (2001), Young (2001), Zhang (2004), Pancs and Vriend (2007), Brandt et al. (2012), Barmpalias et al. (2014, 2015), Bhakta et al. (2014), and Immorlica et al. (2017) for results of this flavor. While most of the literature on Schelling s model has focused on properties related to segregation between the two types, segregation itself is only one side of the story, especially when we allow different, possibly more complex location graphs. Given that the agents are willing to relocate to be close to other agents of the same type, another natural question is whether the resulting assignments satisfy some sort of efficiency. This has been considered in part by a recent array of papers (Chauhan et al., 2018; Echzell et al., 2019; Elkind et al., 2019; Agarwal et al., 2020; Bil o et al., 2020; Chan et al., 2020; Kanellopoulos et al., 2020), which have studied Schelling s model from a game-theoretic perspective. In particular, instead of randomly relocating, the agents are assumed to be strategic and each of them aims to select a location that maximizes her utility, defined as the fraction of same-type agents in her neighborhood. Besides questions related to the existence and computation of equilibria (i.e., assignments in which no agent has an incentive to relocate in order to increase her utility), the authors of some of the aforementioned papers have also studied the efficiency of assignments in terms of social welfare, defined as the total utility of the agents. For this objective, these authors have shown that computing assignments (not necessarily equilibria) maximizing the social welfare is NP-hard under specific assumptions about the graph and the behavior of the agents. Furthermore, they established several bounds on the worst-case ratio between the maximum social welfare (achieved by any possible assignment) and the social welfare of the best or worst equilbrium assignment, also known as the price of stability (Anshelevich et al., 2008) and the price of anarchy (Koutsoupias & Papadimitriou, 1999), respectively. These ratios quantify the welfare that is lost due to the agents aiming to maximize their individual utilities rather than their collective welfare. Inspired by this active stream of work, we study welfare guarantees and complexity in Schelling s model, not only with respect to the social welfare, but also to different notions of efficiency, such as Pareto optimality and natural variants of it. 1.1 Our Contribution Our setting consists of n agents partitioned into two types, and a location graph known as the topology; agents of the same type are friends , and agents of different types are enemies . Each agent is assigned to a single node of the graph, and the utility of the agent is defined as the fraction of her friends among the agents in her neighborhood. Welfare Guarantees in Schelling Segregation Welfare notion P Price of P Welfare guarantee Lower bound Upper bound Maximum welfare 1 1 n 2 1 [Thm. 3.1] GWO Ω(n) [Prop. 4.6] O(n) [Thm. 4.8] n n 1 [Thm. 4.8] UVO Ω(n) [Thm. 4.7] O(n) [Thm. 4.7] 1 [Thm. A.1] PO general trees approx. balanced Ω(n) [Prop. 4.6] Ω(n) [Cor. 4.11] Ω(n) [Cor. 4.13] O(n n) [Thm. 4.9] O(n) [Cor. 4.11] O(n) [Cor. 4.13] 1 n [Thm. 4.9] n n 1 [Thm. 4.10] Ω(1) [Prop. 4.12] Table 1: An overview of our results on the price and welfare guarantees of the optimality notions we consider. The approximately balanced results for Pareto optimality hold when the numbers of agents of the two types are within a constant factor of each other (and the number of agents is equal to the number of nodes). Combining the lower and upper bounds, we obtain a price of Θ(n) for all welfare notions except for maximum welfare (whose price is trivially 1) and PO on general topologies. We start by considering the social welfare. We show that for any topology and any distribution of the agents into types, there always exists an assignment with social welfare at least n/2 1, and we provide a polynomial-time algorithm for computing such an assignment. Since the social welfare never exceeds n, our algorithm produces an assignment with at least approximately half of the maximum social welfare. We complement this result by showing that maximizing the social welfare is NP-hard, even when the topology is a graph such that the number of nodes is equal to the number of agents. This improves upon previous hardness results of Elkind et al. (2019) and Agarwal et al. (2020) whose reductions use instances with stubborn agents (who are assigned to fixed nodes in advance and cannot move), and either a topology with the number of nodes larger than the number of agents, or at least three types of agents instead of just two. These results are presented in Section 3. Even if an assignment does not maximize the social welfare, it can still be optimal in other senses. With this in mind, in Section 4, we turn our attention to different notions of optimality. In particular, we consider the well-known notion of Pareto optimality (PO), according to which it should not be possible to improve the utility of an agent without decreasing that of another agent. We also introduce two variants of PO, called utility-vector optimality (UVO) and group-welfare optimality (GWO), which are particularly appropriate for Schelling s model and may be of interest in other settings as well. Informally, an assignment is UVO if we cannot improve the sorted utility vector of the agents, and GWO if it is not possible to increase the total utility of one type of agents without decreasing that of the other type. We prove several results on these three notions of optimality. First, while UVO and GWO imply PO by definition, we show that they are not implied by each other or by PO. Then, for each P {PO, UVO, GWO}, we establish mostly tight bounds on the price of P, which is an analogue of the price of anarchy: the price of P is defined as the worst-case ratio between the maximum social welfare (among all assignments) and Bullinger, Suksompong, & Voudouris the minimum social welfare among all assignments satisfying P.1 Several of our results in Sections 3 and 4 are summarized in Table 1. Next, in Section 5, we address the complexity of computing assignments satisfying different optimality notions. Our NP-hardness reduction for social welfare maximization in Section 3 also yields a corresponding hardness for GWO. We then consider perfect assignments, in which every agent receives the maximum utility of 1, and show that deciding whether such an assignment exists is NP-complete. As consequences, we obtain hardness results for computing a UVO or PO assignment, as well as for maximizing the egalitarian welfare (defined as the minimum utility among all agents) and the Nash welfare (defined as the product of the agents utilities). When perfect assignments do not exist, a reasonable relaxation is to require that every agent receives the maximum utility that she can receive in any assignment for that instance; we call assignments satisfying this requirement individually optimal. While deciding whether an individually optimal assignment exists is again NP-complete in general, when the number of agents is equal to the number of nodes in the topology, we present a characterization of instances admitting such an assignment this characterization allows us to solve the decision problem in polynomial time for the special case. Finally, another important measure of efficiency is the number of agents who receive a positive utility in the assignment. Even though only requiring the utility to be nonzero seems minimal, there exist simple instances in which not all of the agents can obtain a positive utility simultaneously. We show that for trees, it is possible to decide in polynomial time whether there exists an assignment such that all agents receive a positive utility. We then observe that it is always possible to guarantee a positive utility for at least half of the agents. Moreover, when every node in the topology has degree at least 2, an assignment in which all agents receive a positive utility is guaranteed to exist, and such an assignment can be computed in polynomial time. These results are presented in Section 6. 1.2 Further Related Work As already mentioned, Schelling s model and its variants have been studied extensively from many different perspectives in several disciplines. For an overview of early work on the model, we refer the reader to the work of Immorlica et al. (2017). Most related to our present work are the papers by Elkind et al. (2019), Agarwal et al. (2020), Bil o et al. (2020), and Kanellopoulos et al. (2020), which studied gametheoretic and complexity questions related to the social welfare in Schelling games. In particular, Elkind et al. (2019) considered jump Schelling games in which there are k 2 types of agents, and the topology is a graph with more nodes than agents so that there are empty nodes to which unhappy agents can jump. They showed that equilibrium assignments do not always exist, proved that computing equilibrium assignments and assignments with social welfare close to n (the maximum possible) is NP-hard, and bounded the price of anarchy and stability for both general and restricted games. 1. Note that an analogue of the price of stability, where we consider the worst-case ratio between the maximum social welfare and the maximum social welfare among assignments satisfying the optimality notion, is uninteresting: for all of the optimality notions we consider, this price is simply 1. Welfare Guarantees in Schelling Segregation Later on, Agarwal et al. (2020) considered the complement case of swap Schelling games in which the number of nodes in the topology is equal to the number of agents; since there are no empty nodes to which the agents can jump, the agents can increase their utility only by swapping positions pairwise. For this setting, the authors showed results similar to those of Elkind et al. (2019). Bil o et al. (2020) improved some of the price of anarchy bounds of Agarwal et al. (2020), and also studied a variation of the model in which the agents have a restricted view of the topology and can only swap with their neighbors. Kanellopoulos et al. (2020) investigated the price of anarchy and stability in jump Schelling games, but with a slightly different utility function according to which an agent considers herself as part of her set of neighbors. Schelling games are closely related to variants of hedonic games, most notably unweighted fractional hedonic games (Aziz et al., 2019), in which there is a set of agents and an unweighted graph that indicates friendship relations among them. In such games, the agents split into disjoint coalitions and, similarly to Schelling games, the utility of each agent is equal to the fraction of her friends in her coalition. The main difference between the two models is that, in Schelling games, the agents occupy the nodes of a topology graph, thereby leading to overlapping coalitions. The price of Pareto optimality was first considered in the context of fractional hedonic games by Elkind et al. (2020), and was also implicitly studied by Bullinger (2020). Since Pareto optimality is a fundamental notion in various settings, its price has also been studied in the context of social distance games (Balliu et al., 2017) and fair division (Bei et al., 2019). To the best of our knowledge, this is the first time that Pareto optimality is studied in Schelling s model. 2. Preliminaries Let N = {1, . . . , n} be a set of n 2 agents. The agents are partitioned into two different types (or colors), red and blue. Denote by r and b the number of red and blue agents, respectively; we have r + b = n. The distribution of agents into types is called balanced if |r b| 1. We say that two agents i, j N such that i = j are friends if i and j are of the same type; otherwise we say that they are enemies. For each i N, we denote the set of all friends of agent i by F(i). A topology is a simple connected undirected graph G = (V, E), where V = {v1, . . . , vt}. Each agent in N has to select a node of this graph so that there are no collisions. A tuple I = (N, G) is called a Schelling instance. Given a set of agents N and a topology G = (V, E) with |V | n, an assignment is an n-tuple v = (v(1), . . . , v(n)) V n such that v(i) = v(j) for all i, j N with i = j; here, v(i) is the node of the topology where agent i is positioned. A node v V is occupied by agent i if v = v(i). For a given assignment v and an agent i N, let Ni(v) = {j N : {v(i), v(j)} E} be the set of neighbors of agent i. Let fi(v) = |Ni(v) F(i)| be the number of neighbors of i in v who are her friends. Similarly, let ei(v) = |Ni(v)| fi(v) be the number of neighbors of i in v who are her enemies. Following prior work, we define the utility ui(v) of an agent i in v to be 0 if |Ni(v)| = 0; otherwise, her utility is defined as the fraction of her friends among the agents Bullinger, Suksompong, & Voudouris in her neighborhood: ui(v) = fi(v) |Ni(v)| = fi(v) fi(v) + ei(v). The social welfare of an assignment v is defined as the total utility of all agents: Let v (I) be an assignment that maximizes the social welfare for a given instance I; we refer to it as a maximum-welfare assignment. Note that for any assignment v, we have ui(v) 1, and so SW(v ) n. Denote by SWR(v) and SWB(v) the sum of the utilities of the red and blue agents, respectively; we have SWR(v) + SWB(v) = SW(v). 3. Social Welfare The first question we address is whether a high social welfare can always be achieved in any Schelling instance. Even though it may seem that we can obtain high welfare simply by grouping the agents of each type together, given the possibly complex topology in combination with the distribution of agents into types, it is unclear how this idea can be executed in general or what guarantee it results in. Nevertheless, we show that high welfare is indeed always achievable. Moreover, we provide a tight lower bound on the maximum welfare for each number of agents. For any positive integer n, define 2(n 1) if n is even; 2 if n is odd. Note that g(n) n/2 1 for all n. Our approach is to choose an assignment uniformly at random among all possible assignments. Equivalently, we place agents in the following iterative manner: for an arbitrary unoccupied node, assign a uniformly random agent who is unassigned thus far. We show that the expected welfare of the assignment resulting from this simple randomized algorithm is at least g(n), which implies the existence of an assignment with this welfare guarantee. Theorem 3.1. For any Schelling instance with n agents, there exists an assignment with social welfare at least g(n). Moreover, the bound g(n) cannot be improved. Proof. First, note that we may assume that the number of agents is equal to the number of nodes by restricting our attention to an arbitrary connected subgraph of G with the desired size. For vi V , let Nvi = {vj V | {vi, vj} E} be the neighborhood of node vi in G, and nvi = |Nvi| be its size. Consider an assignment of the agents to the nodes of G chosen uniformly at random. Let W be a random variable denoting the social welfare of this assignment, Ui a random variable denoting the expected utility of the agent placed at node vi, and Xi a binary random variable describing the color of this agent, where Xi = 1 if node vi is occupied by a Welfare Guarantees in Schelling Segregation blue agent and Xi = 0 if it is occupied by a red agent. By the linearity of expectation and the law of total expectation, we have i=1 (Pr(Xi = 1) E[Ui | Xi = 1] + Pr(Xi = 0) E[Ui | Xi = 0]). Now, for a fixed vi V , it holds that E[Ui | Xi = 1] = 1 vj Nvi E[Xj | Xi = 1] vj Nvi Pr(vj blue | vi blue) = 1 b 1 n 1 = b 1 where the first equality is again due to linearity of expectation. Similarly, we have E[Ui | Xi = 0] = r 1 n 1. Hence, n 1 + r r 1 = 1 n 1(b(b 1) + (n b)(n b 1)) = 1 n 1(n2 n + 2b(b n)). Observe that the function b(b n) is decreasing in the range b [0, n/2] and increasing in the range b [n/2, n]. This means that for even n, we have 2(n 1) = g(n). For n odd, since b is an integer, it holds that n2 n + 2 n 1 implying that E[W] g(n) in both cases. Hence, there exists an assignment with social welfare at least g(n). Finally, it can be verified that when G is a complete graph with n nodes and the distribution of agents into types is balanced, every assignment has social welfare exactly g(n). Next, we derandomize the algorithm in Theorem 3.1 to produce an efficient deterministic algorithm that computes an assignment with welfare at least g(n). The pseudocode of the algorithm, which shares the notation of Theorem 3.1, can be found in Algorithm 1. The main idea is that when we choose an agent to be assigned to an unassigned node, we pick a type such that the expected welfare is maximized, where the expectation is taken with respect to the uniform distribution of the remaining agents to the remaining nodes. Bullinger, Suksompong, & Voudouris Algorithm 1 Assignment with high social welfare Input: Schelling instance I = (N, G) with G = (V, E) Output: Assignment with social welfare at least g(n) for i = 1, . . . , n do if there is a unique assignment v consistent with X1 = a1, . . . , Xi 1 = ai 1 (up to permuting agents of the same color) then return v W0 = E[W | X1 = a1, . . . , Xi 1 = ai 1, Xi = 0] W1 = E[W | X1 = a1, . . . , Xi 1 = ai 1, Xi = 1] if W1 W0 then ai = 1 /*assign a blue agent to vi*/ else ai = 0 /*assign a red agent to vi*/ return Assignment corresponding to (a1, . . . , an) Theorem 3.2. Algorithm 1 returns an assignment with social welfare at least g(n) in polynomial time. Proof. We use the same notation as in the proof of Theorem 3.1. First, we prove that the welfare of the returned assignment is at least g(n). For i = 0, . . . , n, denote by Ai the event X1 = a1 X2 = a2 Xi = ai. In particular, A0 is the entire sample space. We will show by induction that for each i, E[W | Ai] E[W]. The base case i = 0 holds trivially. For i {1, . . . , n}, if there is a unique assignment consistent with X1 = a1 Xi 1 = ai 1, then the social welfare of the returned assignment is E[W | Ai 1] E[W] g(n), where the first inequality follows from the induction hypothesis and the second inequality from Theorem 3.1. Otherwise, we have E[W] E[W | Ai 1] = Pr(Xi = 0 | Ai 1) E[W | Ai 1 Xi = 0] + Pr(Xi = 1 | Ai 1) E[W | Ai 1 Xi = 1] Pr(Xi = 0 | Ai 1) E[W | Ai] + Pr(Xi = 1 | Ai 1) E[W | Ai] = E[W | Ai], where we use the law of total expectation for the first equality and the choice of ai in the algorithm for the second inequality. This completes the induction. Hence, if the algorithm terminates in the jth iteration, the welfare of the returned assignment is E[W | Aj] E[W] g(n). We next show that the algorithm can be implemented in polynomial time. To this end, it suffices to show that the quantities W0 and W1 can be computed efficiently for each fixed i {1, . . . , n}. If there is only one type of agents left after having assigned the first i agents, this is straightforward, so assume that both types of agents still remain. By the linearity of expectation, for each x {0, 1}, E[W | Ai 1 Xi = x] = j=1 E[Uj | Ai 1 Xi = x]. Welfare Guarantees in Schelling Segregation By the law of total expectation, E[Uj | Ai 1 Xi = x] = Pr(Xj = 0 | Ai 1 Xi = x) E[Uj | Ai 1 Xi = x Xj = 0] + Pr(Xj = 1 | Ai 1 Xi = x) E[Uj | Ai 1 Xi = x Xj = 1], where a probability can be 0 if vj has already been assigned an agent (i.e., if j i). When j > i, we have Pr(Xj = 1 | Ai 1 Xi = x) = b Pi 1 k=1 ak x n i . Also, by the linearity of expectation, E[Uj | Ai 1 Xi = x Xj = 1] = 1 nvj vk Nvj E[Xk | Ai 1 Xi = x Xj = 1]. E[Xk | Ai 1 Xi = x Xj = 1] = ak if k i 1; x if k = i; b Pi 1 ℓ=1 aℓ x 1 n i 1 if k > i. The computations for Xj = 0 as well as for j i can be done similarly. Since the social welfare of any assignment is at most n, Algorithm 1 always produces an assignment with at least roughly half of the optimal welfare. This raises the question of whether it is possible to compute a maximum-welfare assignment for any given instance in polynomial time. Unfortunately, Elkind et al. (2019) proved that maximizing the social welfare is NP-hard. However, their proof relies on the existence of a stubborn agent , who is assigned to a fixed node in advance and cannot move, and uses a topology with more nodes than agents.2 We show that the hardness remains even when both of these assumptions are removed and the topology is a regular graph, i.e., a graph in which all nodes have the same degree. Theorem 3.3. The following problem is NP-complete: Given a Schelling instance and a rational number s, decide whether there exists an assignment with social welfare at least s. The hardness holds even for the class of instances where the number of agents is equal to the number of nodes and the topology is a regular graph. Proof. The problem belongs to NP since computing the social welfare of a given assignment can be done efficiently. For the hardness, we reduce from the Maximum Clique problem for regular graphs, i.e., given a regular graph G and an integer k, is there a clique of size at least k? Note that this problem is NP-hard: Indeed, the Independent Set problem is NP-hard for regular graphs (Garey & Johnson, 1979, pp. 194 195), and a set of vertices 2. Agarwal et al. (2020) showed that the hardness holds when the numbers of agents and nodes are equal, but still required stubborn agents and moreover assumed at least three types of agents. Bullinger, Suksompong, & Voudouris forms a clique in a given graph exactly when these vertices form an independent set in the complement graph.3 Let (G, k) be an instance of Maximum Clique, where G = (V, E) is a ρ-regular graph on n vertices, and k an integer. Define a Schelling instance on topology G with k red and n k blue agents. For any assignment v, the social welfare SW(v) is equal to n 2δ(v)/ρ, where δ(v) denotes the number of edges connecting a red agent and a blue agent in v. If G has a clique of size k, then by assigning all red agents to nodes in this clique, we have δ(v) = kρ 2 k 2 ; indeed, the sum of degrees of the red agents is kρ, from which we have to subtract twice the number of red-red edges. Similarly, if G does not have a clique of size k, then for any assignment v, we have δ(v) > kρ 2 k 2 . Hence, there exists an assignment with welfare at least n 2k + 4 k 2 /ρ if and only if G has a clique of size k, so we may set s = n 2k + 4 k 2 /ρ to complete the reduction. Note that Theorem 3.3 also yields the hardness of computing a maximum-welfare assignment. Indeed, any algorithm that computes such an assignment can also be used to decide whether there exists an assignment with a certain social welfare. 4. Optimality Notions Even when an assignment does not achieve maximum social welfare, there can still be other ways in which it is optimal . In this section, we consider some optimality notions and quantify them in relation to social welfare. We begin with a classic notion, Pareto optimality. Definition 4.1. An assignment v is said to be Pareto dominated by an assignment v if ui(v) ui(v ) for all i N, with the inequality being strict for at least one agent. An assignment v is Pareto optimal (PO) if it is not Pareto dominated by any other assignment. Given two vectors w1 and w2 of the same length k, we say that w1 weakly dominates w2 if for each i {1, . . . , k}, the ith element of w1 is at least that of w2. We say that w1 strictly dominates w2 if at least one of the inequalities is strict. For an assignment v, denote by u(v) the vector of length n consisting of the agents utilities ui(v), sorted in non-increasing order. Similarly, denote by u R(v) and u B(v) the corresponding sorted vectors of length r and b for the red and blue agents, respectively. Note that an assignment v is Pareto optimal if and only if there is no other assignment v such that u X(v ) weakly dominates u X(v) for X {R, B} and at least one of the dominations is strict. Motivated by this observation, we define two new optimality notions appropriate for Schelling instances. Definition 4.2. An assignment v is said to be group-welfare dominated by an assignment v if SWX(v ) SWX(v) for X {R, B} and at least one of the inequalities is strict; 3. Given a graph G = (V, E), its complement graph is the graph G = (V, E) with E = {e V : |e| = 2, e / E}, i.e., there is an edge between vertices v1, v2 V in G exactly when there is no edge between them in G. Welfare Guarantees in Schelling Segregation Maximum-welfare Figure 1: Implication relations among optimality notions. Figure 2: Example showing that GWO does not imply UVO. utility-vector dominated by an assignment v if u(v ) strictly dominates u(v). An assignment v is group-welfare optimal (GWO) if it is not group-welfare dominated by any other assignment. Similarly, an assignment v is utility-vector optimal (UVO) if it is not utility-vector dominated by any other assignment. The implication relations in Figure 1 follow immediately from the definitions; in particular, both of the new notions lie between welfare maximality and Pareto optimality. We claim that no other implications exist between these notions. To establish this claim, it suffices to show that GWO and UVO do not imply each other. Proposition 4.3. GWO does not imply UVO. Proof. Assume that the topology is a star as in Figure 2, and there are two red and n 2 blue agents, where n 5. The left assignment v is GWO, since putting a blue agent at the center as in the right assignment v leaves both red agents with utility 0. However, v is not UVO, as u(v) = (1, 1/(n 1), 0, . . . , 0) is strictly dominated by u(v ) = (1, . . . , 1, (n 3)/(n 1), 0, 0). Proposition 4.4. UVO does not imply GWO. Proof. Let n be a multiple of 4. Suppose that the topology is a complete bipartite graph with n/2 nodes on each side, and there are n/2 red and n/2 blue agents (Figure 3). The left Bullinger, Suksompong, & Voudouris Figure 3: Example showing that UVO does not imply GWO. The topology is a complete bipartite graph. assignment v, which assigns one red agent to the left side and one blue agent to the right side, is UVO. Indeed, the red agent assigned to the left side receives utility (n/2 1)/(n/2), and any assignment in which an agent receives equal or higher utility must have the same sorted utility vector as v. We have SW(v) = 2 n/2 1 n/2 + 2(n/2 1) 1 n/2 = 4 8 with each group receiving half of the welfare, i.e., 2 4/n. On the other hand, in the right assignment v , which assigns half of the agents of each color to each side, every agent receives utility 1/2. Hence SW(v ) = n/2, and each group receives a total utility of n/4. It follows that when n 8, v is UVO but not GWO. In order to quantify the welfare guarantee that each optimality notion provides, we define the price of a notion as follows. Definition 4.5. Given a property P of assignments and a Schelling instance, the price of P for that instance is defined as the ratio between the maximum social welfare (of any assignment) and the minimum social welfare of an assignment satisfying P: Price of P for instance I = SW(v (I)) minv P(I) SW(v), where P(I) is the set of all assignments satisfying P in instance I.4 The price of P for a class of instances is then defined as the supremum price of P over all instances in that class. For P {PO, GWO, UVO}, we have v (I) P(I), so the price of P is always welldefined and at least 1. Note also that maxv P(I) SW(v) = SW(v (I)). 4. We interpret the ratio 0 0 in this context to be equal to 1. Welfare Guarantees in Schelling Segregation In Figure 2, the left assignment is GWO and PO and has social welfare n/(n 1), whereas the maximum-welfare assignment on the right has social welfare n(n 3)/(n 1). We therefore have the following bound (for n 4, the bound holds trivially). Proposition 4.6. For every n, both the price of GWO and the price of PO are at least n 3. The following result shows that the welfare of a UVO assignment can also be a linear factor away from the maximum welfare, but not more. Theorem 4.7. The price of UVO is Θ(n). Proof. We prove the lower and the upper bound separately. Lower bound: Consider the topology in Figure 3. As in the proof of Proposition 4.4, the left assignment v is UVO and has social welfare 4 8/n. On the other hand, the right assignment v has social welfare n/2, meaning that the ratio SW(v )/SW(v) is greater than n/8. Upper bound: We claim that if n 3, any UVO assignment has social welfare at least5 1/2; since the maximum social welfare is at most n, this yields the desired bound. Assume first that the number of agents is equal to the number of nodes. Let v be a UVO assignment. If there is a red agent and a blue agent both receiving utility 0, then since no node is empty and n 3, swapping them yields an improvement with respect to the utility vector. So we may assume that all agents of one type, say blue, receive a positive utility. If at least n/2 agents receive a positive utility, then SW(v) n/(2n 2) > n/(2n) = 1/2. Assume therefore that more than n/2 agents receive utility 0; these agents must all be red. Swap b of these red agents receiving utility 0 with all b blue agents to obtain an assignment v . Notice that the utility in v of each of these b red agents is at least as high as the utility of the blue agent in v with whom she was swapped, while all blue agents receive utility 0 in v . In addition, every other (red) agent is not worse off, and at least one of them is better off(in particular, one who receives utility 0 in v, which must exist since n/2 > b). Hence v is utility-vector dominated by v , a contradiction. Now, assume that the number of agents is less than the number of nodes. Since n 3, any UVO assignment v must have SW(v) > 0, so there exists a connected component (of the topology restricted to the nodes occupied according to v) with a positive social welfare. Let n be the size of this component. If n = 2, then SW(v) 2. Else, the assignment restricted to this component is also UVO, and by our earlier arguments has social welfare at least 1/2. Next, we show that the price of GWO is also Θ(n). The lower bound follows from Proposition 4.6, while the upper bound follows from the fact that the social welfare never exceeds n along with the following theorem, which establishes a lower bound of (at least) 1 on the social welfare of GWO assignments. Theorem 4.8. Any GWO assignment has social welfare at least n/(n 1) for n 4, and 1 for n = 3. Moreover, these bounds cannot be improved. 5. In Theorem A.1, we improve this bound to 1 via a longer proof. Bullinger, Suksompong, & Voudouris Proof. To see that the bounds cannot be improved, consider the left assignment in Figure 2 for n 4, and a triangle topology with two red and one blue agents for n = 3. Assume first that the number of agents is equal to the number of nodes. The case n = 3 can be verified directly, since the only two possible topologies are a triangle and a path. Let n 4, and assume for contradiction that there exists a GWO assignment v with social welfare less than n/(n 1). Since the least possible positive utility of an agent is 1/(n 1), this means that some agent receives utility 0. Take such an agent i, and assume without loss of generality that i is red. Since the numbers of agents and nodes are equal, i is connected to a set A = of blue agents. Consider the following cases. Case 1: There is a blue agent j outside A. We swap i and j to obtain an assignment v . After the swap, j has utility 1, and each blue agent in A has utility at least 1/(n 1), so SWB(v ) n/(n 1) > SW(v) SWB(v). In addition, no red agent receives a lower utility in v than in v. Hence v is not GWO, a contradiction. Case 2: There are no blue agents outside A, but at least one red agent besides i. Since no node is empty, there is a blue agent j A who is adjacent to another red agent. We swap i and j to obtain an assignment v . No agent receives a lower utility in v than in v. Moreover, i s utility strictly increases. Hence v is not GWO, a contradiction. Case 3: There are no blue agents outside A, and no red agent besides i. This means that i receives utility 0 in any assignment. Consider an assignment v such that the blue agents form a connected component. Each blue agent receives utility at least 1/2, so SWB(v ) b/2 3/2 > n/(n 1). It follows that v is group-welfare dominated by v , a contradiction. Now, assume that the number of agents is less than the number of nodes. Since n 3, any GWO assignment v must have SW(v) > 0, so there exists a connected component (of the topology restricted to the nodes occupied according to v) with a positive social welfare. Since the assignment restricted to this component is GWO, we are done if the component is of size at least n 4, because then SW(v) n /(n 1) n/(n 1). If there is a component of size 2 with positive welfare, the social welfare is at least 2 and we are also done. Since any component of positive welfare has a welfare of at least 1, we are again done if there are at least two components of positive welfare. Thus, we can assume that there is a single component of positive welfare of size 3, which we can moreover assume has the topology of a triangle (the only other possibility being a path, which guarantees a welfare of 3/2), and that there are exactly two agents of one type, say blue, and one agent of the other type in this component. If there is another blue agent outside this component, v is group-welfare dominated by the assignment that swaps the red agent of the triangle and this blue agent. Finally, consider the case where there is another red agent and no blue agent outside the triangle. The red agent must have an empty neighboring node. We obtain a group-welfare improvement by moving the red agent of the triangle to this empty node. Hence, the remaining case is that all agents are part of the triangle, meaning that n = 3; in this case, the social welfare is 1, as desired. We now turn to Pareto optimality, for which we prove a weaker lower bound on the social welfare. Welfare Guarantees in Schelling Segregation R R R R R Level 1 Figure 4: Illustration for the proof of Theorem 4.10. Theorem 4.9. When n 3, any PO assignment has social welfare at least 1/ n. Proof. By an argument similar to that in the upper bound part of Theorem 4.7, and since the function 1/ n is decreasing, it suffices to consider the case where the number of agents is equal to the number of nodes. Let v be a PO assignment. If at least n agents receive a positive utility, then SW(v) n/(n 1) 1/ n, so assume that fewer than n agents receive a positive utility. Similarly, we may assume that every agent receives utility less than 1/ n. If there is a red agent and a blue agent both receiving utility 0, then since no node is empty and n 3, swapping them yields a Pareto improvement. So we may assume that all agents of one type, say blue, receive a positive utility. This means in particular that b < n, and more than n n red agents only have blue neighbors. Hence, there exists a blue agent i with at least (n n)/ n = n 1 b 1 red neighbors. Let A be a set containing b 1 of these red neighbors. Swap the b 1 blue agents other than i with the red agents in A to obtain an assignment v . Since these red agents are not adjacent to any red agent in v, no red agent is worse off in v . Each of the b 1 blue agents receives utility at least 1/b > 1/ n in v , so all of them are strictly better off. Furthermore, i is adjacent to all of these b 1 blue agents in v , and therefore cannot be worse off. Hence v is not PO, a contradiction. Combined with Proposition 4.6, Theorem 4.9 implies that when n 3, the price of PO is at least n 3 and at most n n. We conjecture that the welfare guarantee in Theorem 4.9 can be improved to n/(n 1) for n 4, which would be tight due to the left assignment in Figure 2. Next, we confirm this conjecture when the topology is a tree. Theorem 4.10. When n 3 and the topology is a tree, any PO assignment has social welfare at least n/(n 1). Moreover, this bound cannot be improved. Proof. The bound cannot be improved due to the left assignment in Figure 2. To establish the bound, note first that by an argument similar to that in the upper bound part of Theorem 4.7, and since the function n/(n 1) is decreasing, it suffices to consider the case where the number of agents is equal to the number of nodes. Let v be a PO assignment. As in the proof of Theorem 4.9, we may assume that all agents of one type, say blue, receive a positive utility. If an agent occupying a leaf node is adjacent to another agent of the same Bullinger, Suksompong, & Voudouris type, then SW(v) 1 + 1/(n 1) and we are done. Hence, assume that all leaf nodes are occupied by red agents receiving utility 0. Root the tree at an arbitrary node. The deepest level of the tree consists only of leaf nodes; call this level 1 , and call the other levels accordingly (see Figure 4). Consider an arbitrary parent i of a leaf at level 1 this parent must be blue. Since all blue agents receive a positive utility, i must have a blue parent j. Any branch originating from j has to go down to level 1; otherwise, the branch stops at level 2 with a red leaf, and we can swap this red leaf with i to obtain a Pareto improvement. In particular, in j s subtree, all nodes on level 2 are blue. If j does not have a parent or has a blue parent, then she has utility 1 and SW(v) n/(n 1). Assume therefore that j has a red parent k. Note that j receives utility at least 1/2, and any of its child at least 1/(n 1). Suppose that k has another child. If k has a red child, this child cannot be a leaf (because all leaves have utility 0), so it must in turn have a blue child (otherwise it receives utility 1 and we are done), but then this blue child receives utility 0, a contradiction. Hence k can only have blue children. Suppose that k has a blue child ℓ = j, which cannot be a leaf. If ℓonly has blue children, it receives utility at least 1/2, and we are done since SW(v) 1/2+1/(n 1)+1/2 = n/(n 1). So assume that ℓhas a red child m, which must also be a leaf. Since all blue agents receive a positive utility, ℓmust also have a blue child o, which must in turn have only red children. Now, swapping m and o leads to a Pareto improvement, a contradiction. Hence we may assume that k s only child is j. Finally, if k does not have a parent or has a blue parent, swapping k with i yields a Pareto improvement. So assume that k has a red parent. This means that k receives utility 1/2. Combining this with the utility of j and her children, we again have SW(v) n/(n 1). Together with Proposition 4.6, which holds for trees, Theorem 4.10 gives a tight bound on the price of PO for trees. Corollary 4.11. When the topology is a tree, the price of PO is Θ(n). To finish this section, we show that if b/r Θ(1), i.e., the fraction of agents of each type is at least a certain constant, then a constant welfare can again be guaranteed. Proposition 4.12. Suppose that the number of agents is equal to the number of nodes. Then any PO assignment has social welfare at least min n b r+1, r b+1 o . Proof. Let v be a PO assignment. Since the number of agents is equal to the number of nodes, as in the proof of Theorem 4.9, we may assume that all agents of one type, say blue, receive a positive utility. Since a blue agent is adjacent to at least one other blue agent and at most r red agents, each blue agent receives utility at least 1/(r + 1). This means that SW(v) b/(r + 1). Similarly, if all red agents receive a positive utility, then SW(v) r/(b + 1). The conclusion follows. When the ratio b/r is upper and lower bounded by constants, the welfare guarantee provided by Proposition 4.12 is also constant, which is at most a linear factor away from the maximum welfare. Since Figure 3 shows an instance with b = r and a PO assignment whose welfare is a linear factor away from the maximum welfare, we obtain the following: Corollary 4.13. When b/r Θ(1) and the number of agents is equal to the number of nodes, the price of PO is Θ(n). Welfare Guarantees in Schelling Segregation Figure 5: Illustration for the proof of Theorem 5.3 when R = {1, 2, 3, 4, 5, 6} and S = {x, y} where x = {1, 2, 3} and y = {4, 5, 6}. 5. Computing Optimal Assignments In the previous section, we introduced two new concepts of optimality and studied the welfare guarantees that they provide along with Pareto optimality. In this section, we continue our investigation of these optimality notions by examining the complexity of computing assignments satisfying them. Furthermore, we consider other common welfare notions such as egalitarian welfare and Nash welfare. First, we observe that in the reduced instances of Theorem 3.3, an assignment is GWO if and only if it maximizes the social welfare.6 This immediately yields the following intractability. Theorem 5.1. Computing a GWO assignment is NP-hard, even for the class of Schelling instances where the number of agents is equal to the number of nodes and the topology is a regular graph. For the other two optimality notions, we will establish a close relationship to the problem of computing a perfect assignment , wherein every agent receives utility 1. Definition 5.2. An assignment v is called perfect if ui(v) = 1 for all i N. We start by showing the hardness of this problem. Theorem 5.3. Deciding whether there exists a perfect assignment is NP-complete. Proof. Membership in NP is clear: a perfect assignment can be verified in polynomial time. The hardness reduction is from Exact 3-Cover (X3C). An instance of X3C consists of a tuple (R, S), where R is a ground set whose size is divisible by 3, and S is a collection 6. To see this, note that for any assignment v, the sum of utilities of the red and blue agents is equal to SWR(v) = r δ(v)/ρ and SWB(v) = b δ(v)/ρ, respectively, where δ(v) denotes the number of edges connecting a red agent and a blue agent in v. Hence, both the GWO and maximum-welfare assignments are precisely the assignments minimizing the number of these interconnection edges. Bullinger, Suksompong, & Voudouris of 3-element subsets of R, where |S| |R|/3. A Yes-instance is an instance in which there exists a subcollection S S of size |R|/3 that exactly partitions R. It is well-known that X3C is NP-hard (Garey & Johnson, 1979, p. 221). Let an instance (R, S) of X3C be given. We define a Schelling instance with 1 + |S| |R|/3 blue and |R| + 2|S|2 + |R|/3 red agents. Define the topology graph G = (V, E) with V = R {si : 1 i 2|S| + 2, s S} {z} and edges given by {r, s1} E if r R and s S with r s; {si, sj} E for s S, 1 i, j 2|S| + 1; {s1, s2|S|+2}, {s2|S|+2, z} E for s S; and no further edges are in E. See Figure 5 for an illustration. Note that the number of nodes is |R| + 2|S|2 + 2|S| + 1 and the number of agents is |R| + 2|S|2 + |S| + 1, so exactly |S| nodes are left empty in any assignment. We claim that (R, S) is a Yes-instance if and only if there exists a perfect assignment in the Schelling instance. Assume first that (R, S) is a Yes-instance, and let S S be a partition of R using sets in S. We assign the blue agents to the nodes in the set A = {z} {s2|S|+2 : s S \ S }, and the red agents to the vertices in the set B = R {si : 2 i 2|S|+1, s S} {s1 : s S }. Note that |A| = 1 + |S| |R|/3, B = |R| + 2|S|2 + |R|/3, and the nodes in A induce a connected subgraph of G that has no neighbor in B. This means that all blue agents receive utility 1. Since S covers R, all red agents also receive utility 1, meaning that the assignment is perfect. Conversely, assume that there is a perfect assignment. Since every assignment leaves exactly |S| nodes empty, no blue agent can be assigned to a vertex in {si : 1 i 2|S|+1, s S}, because she would then have a red neighbor. Additionally, no blue agent can be assigned to a vertex in R, because then some of her only neighbors in the set {s1 : s S} would also have to be blue, which is impossible by the previous sentence. We conclude that the blue agents are assigned to the nodes in {z} {s2|S|+2 : s S}, which means in particular that some blue agent is assigned to z. Define S = {s S : s1 is red}. Then, the empty nodes are precisely {s2|S|+2 : s S } {s1 : s S \ S }, and we have |S | = |R|/3. In particular, all nodes in R must have red agents. Now, such an agent can receive a positive utility only if at least one of her neighbors is red. Hence, S covers R. Since |S | = |R|/3, it follows that S forms a partition of R. Theorem 5.3 turns out to be particularly useful for deriving hardness results with respect to other optimality and welfare notions. Corollary 5.4. Computing a UVO assignment (resp., PO assignment) is NP-hard. Proof. Observe that if there exists a perfect assignment in an instance, then every UVO (resp., PO) assignment in that instance must be perfect. Hence, an algorithm for computing a UVO (resp., PO) assignment can be used to decide whether a perfect assignment exists. The conclusion follows from Theorem 5.3. Welfare Guarantees in Schelling Segregation Figure 6: Example of an individually optimal assignment. In addition, we obtain the hardness of computing assignments with maximum egalitarian or Nash welfare. Recall that the egalitarian welfare of an assignment is the minimum among the agents utilities in that assignment, and the Nash welfare is the product of the agents utilities in that assignment. Corollary 5.5. The following problem is NP-complete: Given a Schelling instance and a rational number s, decide whether there exists an assignment with egalitarian (resp., Nash) welfare at least s. Proof. Membership in NP is trivial. For the hardness, observe that an assignment is perfect if and only if its egalitarian (resp., Nash) welfare is (at least) 1, so the conclusion follows from Theorem 5.3. We emphasize that it is crucial for Theorem 5.3 and its corollaries that the number of nodes in the topology is larger than the number of agents. If the two numbers are equal, then perfect assignments do not exist (unless there is only one type of agents), and the corresponding decision problem becomes trivial. Nevertheless, it remains interesting to ask for assignments that are individually optimal for all agents. Definition 5.6. An assignment v is called individually optimal for agent i if ui(v) ui(v ) for all assignments v . An assignment is called individually optimal if it is individually optimal for all agents. An example of an individually optimal assignment is shown in Figure 6, where every agent receives a utility of 1/2. Note that it is easy to compute the utility that an agent receives in an individually optimal assignment for her: Assign this agent to a node of minimum degree; then, assign agents of the same type to as many neighbors as possible and leave other neighbors empty; finally, if needed, assign agents from the other type to the remaining neighbors. An individually optimal assignment for all agents, if it exists, is clearly optimal with respect to all welfare measures that we consider and treats agents of the same type equally. In the reduction of Theorem 5.3, we can assume that there are at least three agents of each type, and some nodes in the topology have7 degree 2. Hence, an assignment is 7. More precisely, we can assume without loss of generality that |S| 2 + |R|/3 in an instance (R, S) of X3C, since the problem can be solved by brute force otherwise. Then, there are at least three blue agents. Also, there are at least three red agents whenever |R| 3. Finally, nodes of the type s2|S|+2 have degree 2. Bullinger, Suksompong, & Voudouris individually optimal if and only if every agent receives utility 1. Consequently, perfect assignments and individually optimal assignments coincide, and we obtain the following: Corollary 5.7. Deciding whether there exists an individually optimal assignment is NPcomplete. However, we show next that if the numbers of agents and nodes are equal, then this decision problem becomes efficiently solvable. More precisely, we provide simple conditions characterizing the instances with an individually optimal assignment. Recall the definition of a complement graph from Footnote 3. Theorem 5.8. Given a Schelling instance with an equal number of agents and nodes, there exists an individually optimal assignment if and only if all of the following three conditions are met: (1) The numbers of red and blue agents are the same, or the topology graph is a complete graph. (2) The topology graph is regular. (3) The complement graph of the topology graph is bipartite. Deciding whether the three conditions are met can be done in polynomial time. Moreover, if all three conditions are met, we can compute an individually optimal assignment in polynomial time. Proof. Consider a Schelling instance with an equal number of agents and nodes and a topology graph G = (V, E). Denote the complement graph by G. Note that if G is a complete graph, then all assignments are individually optimal and conditions (2) and (3) are trivially met. Therefore, assume from now on that G is not a complete graph. First, suppose that there exists an individually optimal assignment, and consider such an assignment. Recall that there are b blue and r red agents. Let δ denote the minimum degree among the nodes of G. If b δ + 1 or r δ + 1, then the individually optimal utility for one type of agents is 1, and there does not exist an individually optimal assignment. Hence, this cannot be the case, and the individually optimal utility is (b 1)/δ and (r 1)/δ for the blue and red agents, respectively. In particular, the topology graph must be δregular; otherwise, an agent assigned to a node with degree greater than δ cannot receive her individually optimal utility. Condition (2) is therefore met. Let B and R be the sets of nodes occupied by the blue and red agents, respectively. For the assignment to be individually optimal, B and R must form cliques in the topology graph. In other words, (B, R) forms a bipartition of the complement graph, meaning that condition (3) is met. The regularity of the topology graph implies the regularity of its complement graph, which is not the empty graph (because we already excluded a complete topology graph). Since (B, R) forms a bipartition of the complement graph which is (n 1 δ)-regular, the number of edges adjacent to exactly one node in B is (n 1 δ)b, the number of edges adjacent to exactly one node in R is (n 1 δ)r, and these two numbers must be equal. It follows that b = r, so condition (1) is met as well. Welfare Guarantees in Schelling Segregation Conversely, assume that the three conditions are met. Since we have already handled the case of a complete topology graph, we have that the numbers of blue and red agents are the same. Let (X, Y ) be a bipartition of the node set V in G. Since G is regular, so is G. Again, by counting the (nonzero) number of edges incident to nodes in X and Y , regularity implies that |X| = |Y |. Now, consider the assignment that assigns all blue agents at the nodes in X and all red agents at the nodes in Y ; this assignment is feasible because the numbers of blue and red agents are the same. Since (X, Y ) forms a bipartition in the complement graph, the set of blue agents as well as the set of red agents form cliques in the topology graph. Regularity therefore implies that every agent is individually optimal, so the assignment is individually optimal. The proof of the converse also shows that we can compute an individually optimal assignment in polynomial time by computing the complement graph and an arbitrary bipartition. This yields an individually optimal assignment, provided that all three conditions are met. It is clear that checking whether the three conditions are met can also be done in polynomial time. The key algorithmic problem in the proof of Theorem 5.8 is to decide whether the nodes of a given regular graph can be partitioned into two equally-sized subsets in such a way that each subset forms a clique. This problem is related to some NP-hard problems, and its tractability may therefore be of broader interest. Indeed, it appears similar not only to the Maximum Clique problem, which we have seen to be NP-hard for regular graphs (cf. Theorem 3.3), but also to the Minimum Bisection problem, which is likewise NP-hard for regular graphs (Bui et al., 1987). The latter problem asks for a partition of the nodes of a given graph into two equally-sized subsets such that the number of edges between these two sets is minimized. Our proof of Theorem 5.8 shows that the variant where we ask for the two subsets of nodes to form cliques is solvable in polynomial time. 6. Number of Positive Agents In this section, we consider the problem of maximizing the number of agents receiving a positive utility, who we refer to as positive agents. This problem is closely related to egalitarian and Nash welfare, because an assignment has nonzero egalitarian (resp., Nash) welfare if and only if it makes every agent positive. Notice that it is not always possible to make every agent positive for example, in a star, every agent whose type is different from the center agent receives zero utility. We begin by showing that for trees, deciding whether it is possible to make every agent positive can be done efficiently. Our algorithm is based on dynamic programming and shares some similarities with the algorithm of Elkind et al. (2019) for deciding whether an equilibrium exists on a tree. Theorem 6.1. There is a polynomial-time algorithm that decides whether there exists an assignment in which every agent receives a positive utility when the topology is a tree. Proof. Pick an arbitrary node vroot to be the root of G. For each node v V , let tree(v) be the set of descendants of v, including v itself. For each v, we fill out a table τv, which contains an entry τv(C, n B, n R, n E, q) for each tuple (C, n B, n R, n E, q), where Bullinger, Suksompong, & Voudouris C {blue, red, empty}; n B, n R, n E {0, 1, . . . , n}; q {yes, no}. The number of entries in each table is 6(n + 1)3. The value of each entry is either true or false. Specifically, τv(C, n B, n R, n E, q) = true if and only if there exists an assignment of a subset of agents to the nodes in tree(v) satisfying the following conditions: 1. If C = empty, then node v is empty; otherwise, it is assigned to an agent of color C. 2. There are n B blue agents, n R red agents, and n E empty nodes in tree(v). 3. If C {blue, red}, then q = yes if and only if the agent in node v has at least one child of the same color. 4. Every node in tree(v) different from v has at least one neighbor of the same color. An assignment in which every agent receives a positive utility exists if and only if in the table τvroot of the root node vroot, there exists (C, n B, n R, n E, q) such that τvroot(C, n B, n R, n E, q) = true, n B = b, n R = r, and if C {blue, red} then q = yes. The tables for the leaf nodes can be filled in trivially. We now show how to fill the table τv of each v V given the tables of its children. If v has L children w1, . . . , w L, we construct intermediate tables θ0 v, θ1 v, . . . , θL v . Each table θi v takes parameters (n B, n R, n E, q B, q R, c q B, c q R). The entry of the table is set to true if it is possible to place agents in the first i subtrees so that the following conditions hold: there are a total of n B blue agents, n R red agents, and n E empty nodes; q B (resp., q R) indicates whether there is at least one blue (resp., red) agent among the first i children of v; c q B (resp., c q R) indicates whether there is at least one blue (resp., red) agent among the first i children of v who does not have a blue (resp., red) child. The table θ0 v can be filled in trivially: only the entry θ0 v(0, 0, 0, no, no, no, no) is set to true. By combining the tables θi 1 v and τwi, we can fill in the table θi v in polynomial time. Specifically, we set the entry θi v(n B, n R, n E, q B, q R, c q B, c q R) to true if and only if there exist entries θi 1 v (n B, n R, n E, q B, q R, c q B , c q R ) and τwi(C , n B, n R, n E, q ) such that both are true and the following three conditions hold: 1. n B + n B = n B, n R + n R = n R, and n E + n E = n E. 2. q B = yes if and only if q B = yes or C = blue. Analogously, q R = yes if and only if q R = yes or C = red. 3. c q B = yes if and only if (i) c q B = yes or (ii) C = blue and q = no. Analogously, c q R = yes if and only if (i) c q R = yes or (ii) C = red and q = no. The table θL v can then be used to fill in τv in polynomial time. Specifically, we set the entry τv(C, n B, n R, n E, q) to true if and only if there exists an entry θL v (n B, n R, n E, q B, q R, c q B , c q R ) which has been set to true and such that the following conditions hold: 1. If C = blue, then n B = n B + 1, n R = n R, and n E = n E. Else, if C = red, then n B = n B, n R = n R + 1, and n E = n E. Finally, if C = empty, then n B = n B, n R = n R, and n E = n E + 1. Welfare Guarantees in Schelling Segregation Figure 7: Example showing that Theorem 6.3 does not hold when the number of nodes is greater than the number of agents. There are three red and three blue agents. No matter how the agents are placed, at least one of them will receive utility 0. 2. If C = blue, then q = q B. Else, if C = red, then q = q R. 3. If c q B = yes, then C = blue. Similarly, if c q R = yes, then C = red. This concludes the proof. Observe that for any topology, an assignment in which at least half of the agents are positive is guaranteed to exist and can be easily found by using depth-first search for the majority type. Proposition 6.2. For any n 3, there exists a polynomial-time algorithm that computes an assignment in which at least n/2 agents receive a positive utility. Proof. Assume without loss of generality that there are at least as many red as blue agents, so there are at least n/2 2 red agents. Starting from an arbitrary node of the topology, we first assign the red agents to nodes as we perform a depth-first search, and then assign the blue agents to any subset of the remaining nodes. Since the topology is connected, every red agent will have at least one red neighbor, meaning that at least n/2 agents receive a positive utility. The bound n/2 is tight when the topology is a star and there are n/2 red and n/2 blue agents. Next, we show that when every node has degree at least 2 and the number of agents is equal to the number of nodes, it is possible to give every agent a positive utility. Note that the latter condition is also necessary for the topology given in Figure 7, if there are three red and three blue agents (so one node is left unoccupied), it is easy to see that no assignment makes every agent positive. Theorem 6.3. Suppose that every node in the topology has degree at least 2, the number of agents is equal to the number of nodes, and there are at least two agents of each type. Then there exists an assignment such that every agent receives a positive utility. Proof. Consider an arbitrary assignment v. If every agent is already positive, we are done, so assume that there is an agent i with utility 0. Without loss of generality, i is a blue agent. Among all paths from i to another blue agent, consider one with maximum length suppose that the path goes to agent j. Since there are at least two blue agents, such a path must exist; moreover, since i has utility 0, the path contains at least one red agent. Let k be the last red agent on the path before reaching j. Swap i and k. Bullinger, Suksompong, & Voudouris Figure 8: Illustration for the proof of Proposition 6.4. We claim that in the resulting assignment v , the number of positive agents increases by at least 1; by applying such swaps repeatedly, we will reach an assignment in which all agents are positive. To establish the claim, it suffices to show that i, k, as well as any agent adjacent to either of them are positive in v . Since i has utility 0 in v, she has at least two red neighbors in v, so k is positive in v . Moreover, i is adjacent to j in v and therefore becomes positive. Any other red agent on the path remains positive, and all agents adjacent to k in v are red (besides possibly i, if k is the only red agent on the path) and are therefore positive. Finally, consider any red agent ℓadjacent to i in v not lying on the path. Since every node has degree at least 2, agent ℓmust have a neighbor m = i (possibly m = j). If ℓ is adjacent to k in v , then ℓis positive since k is red. Else, if m is a blue agent, we obtain a longer path from i to m in v than the original longest path, a contradiction. Hence m must be red, and ℓis positive in v , proving the claim. Since the longest path problem is known to be NP-hard (Garey & Johnson, 1979, p. 213), the proof of Theorem 6.3 does not give rise to a polynomial-time algorithm for computing a desired assignment. In Theorem A.2, we present an inductive approach that is more involved but leads to an efficient algorithm. For our final result of this section, we show that maximizing the social welfare and maximizing the number of positive agents can be conflicting goals. Recall that an assignment has nonzero egalitarian welfare if and only if it makes every agent positive. To avoid confusion, we will refer to our main notion of social welfare (i.e., the sum of the agents utilities) as utilitarian welfare. Proposition 6.4. There exists a Schelling instance in which the maximum egalitarian welfare is nonzero but the egalitarian welfare of every assignment that maximizes the utilitarian welfare is zero. Proof. Consider the topology in Figure 8, and assume that there are 2 blue and 15 red agents (so no node can be left empty). The only way to achieve nonzero egalitarian welfare is to assign the blue agents to u and v, yielding utilitarian welfare 14.5. However, assigning the blue agents to w and x results in a higher utilitarian welfare of 91/6 15.17. The utilitarian welfare gap in the example in Proposition 6.4 is rather small. However, one can easily modify the example by adding more three-node gadgets as subtrees of the node v to obtain instances wherein the utilitarian welfare of the unique assignment yielding Welfare Guarantees in Schelling Segregation a positive egalitarian welfare is an additive factor of Θ(n) lower than the maximum possible utilitarian welfare. Moreover, even assignments that maximize the utilitarian welfare can differ significantly in terms of egalitarian welfare. In Propositions A.3 and A.4, we present examples illustrating the possibility that one such assignment has a positive egalitarian welfare while another one has zero, or that two such assignments have positive egalitarian welfare differing by a multiplicative factor of Θ(n). 7. Conclusion and Future Work In this paper, we have studied questions regarding welfare guarantees and complexity in Schelling segregation. Several of our findings are positive: An assignment with high social welfare always exists and can be found efficiently, and the welfare of assignments satisfying most optimality notions are at most a linear factor away from the maximum social welfare in the worst case. Furthermore, even though an assignment yielding a positive utility to every agent may not exist, the existence can be guaranteed when every node in the topology has degree at least 2, a realistic assumption in well-connected metropolitan areas. By contrast, computing an assignment that maximizes the social welfare or satisfies any of the optimality notions is NP-hard, and assignments maximizing the (utilitarian) social welfare can differ significantly in terms of egalitarian welfare. A number of interesting directions remain from our work. On the technical side, it would be useful to close the gap on the price of Pareto optimality, which we conjecture to be Θ(n), as well as to characterize the topologies for which an assignment such that every agent receives a positive utility always exists. Another question is whether we can obtain in polynomial time a better approximation of social welfare than the factor of 2 in Theorem 3.2, or whether there is in fact an inapproximability result. From a more conceptual perspective, one could try to extend our results to a model with more than two types of agents or more complex friendship relations (e.g., friendship relations defined by a social network, Elkind et al., 2019) or modified utility functions (Kanellopoulos et al., 2020). Questions concerning the convergence behavior in best-response dynamics also remain open: do such dynamics always converge to an optimal assignment? Finally, studying our new optimality notions from Section 4 in related settings such as hedonic games, especially when agents are partitioned into types, or optimality notions derived from other known welfare measures, may lead to intriguing discoveries as well. Acknowledgments This work has been supported by the Deutsche Forschungsgemeinschaft under grant BR 2312/12-1, by the European Research Council (ERC) under grant number 639945 (ACCORD), and by an NUS Start-up Grant. A preliminary version of the paper appeared in Proceedings of the 35th AAAI Conference on Artificial Intelligence (Bullinger et al., 2021). We would like to thank Jiarui Gan, Pascal Lenzner, and Louise Molitor for interesting discussions, and the anonymous reviewers of AAAI 2021 and JAIR for helpful comments. Bullinger, Suksompong, & Voudouris Appendix A. Additional Results In the upper bound part of Theorem 4.7, we showed that any UVO assignment has social welfare at least 1/2. Here we establish an improved bound of 1, albeit with a much longer proof. Theorem A.1. When n 3, any UVO assignment has social welfare at least 1. Proof. By an argument similar to that in the upper bound part of Theorem 4.7, it suffices to consider the case where the number of agents is equal to the number of nodes. Let v be a UVO assignment. If all agents receive nonzero utility, then since the least possible positive utility is 1/(n 1), the social welfare would be at least n/(n 1) > 1. Hence we may assume without loss of generality that there is a red agent with utility 0, and that all blue agents receive a positive utility. Decompose the topology into maximal monochromatic components. We claim that there cannot be a set of red components and a set of blue components such that the two sets have the same total number of nodes and together they do not cover all nodes; call this claim (*). To see why (*) is true, assume for contradiction that two such sets exist. We swap all agents in the set of red components with those in the set of blue components to obtain an assignment v . The utility of each swapped red agent in v is at least that of the blue agent whom she replaces in v; an analogous statement holds for the swapped blue agents in v . Moreover, an unswapped agent who is adjacent to at least one swapped agent receives a strictly higher utility in v than in v. Hence v is not UVO, a contradiction that establishes (*). Next, assume for contradiction that SW(v) < 1, and let s be the number of maximal monochromatic components in the topology. Call an edge monochromatic if it connects two agents of the same color. Since a component with t nodes has at least t 1 edges, the total number of monochromatic edges is at least n s. A monochromatic edge generates a utility of at least 1/(n 1) for each of the two agents adjacent to it, so the generated utility is at least 2/(n 1) for each edge. Since SW(v) < 1, this means that the number of monochromatic edges is less than (n 1)/2, and therefore at most (n 2)/2. Thus, we have n s (n 2)/2, which implies that n 2s 2. Let k 1 be the number of red components of size 1, i.e., the number of red agents with utility 0. By (*), the size of any blue component is at least k. Suppose the smallest blue component has size at least k + 1. Then, considering the k singleton red components and the smallest blue component, there are k + 1 components with a total of at least 2k + 1 nodes. Letting n0 and s0 denote the number of nodes and components considered so far, we have n0 > 2s0 2. Since every other component has size at least 2, we also have n > 2s 2, a contradiction with n 2s 2. So the smallest blue component must have size k. If there is any other component, we are again done by (*). Hence, the topology consists exactly of k red components of size 1 and one blue component of size k. In particular, k 2. We now show that the blue component of size k is a star, i.e., all but one blue agents have exactly one blue neighbor. Assume that at least two blue agents have more than one blue neighbor each. Each of these two agents receives utility at least 2 k+2, while every other blue agent receives at least 1 k+1. Hence SW(v) 2 2 k+2 + (k 2) 1 k+1 = k(k+4) (k+1)(k+2), which is at Welfare Guarantees in Schelling Segregation least 1 because k 2. So the blue component is a star, and SW(v) k 1 2k 1 +(k 1) 1 k+1 = 3k(k 1) (k+1)(2k 1), which is at least 1 whenever k 4. It remains to consider the cases k = 2 and k = 3. Since SW(v) < 1, each blue agent must have at least one red neighbor. Moreover, between the two blue agents with one blue neighbor, at least one must have more than one red neighbor. Let i be such a blue agent, j be her blue neighbor, ℓbe a red neighbor of j, and m = ℓbe a red neighbor of i. We swap i and ℓto obtain an assignment v . From v to v , j receives the same utility, m receives a strictly higher utility, i receives a higher utility than ℓ s utility in v (which is 0), and ℓreceives at least as much utility as i does in v. It follows that v is not UVO, a final contradiction which completes the proof. Next, we present an efficient algorithm for computing an assignment that gives every agent a positive utility when every node has degree at least 2; a shorter proof that such an assignment exists can be found in Theorem 6.3. Theorem A.2. Suppose that every node in the topology has degree at least 2, the number of agents is equal to the number of nodes, and there are at least two agents of each type. Then, it is possible to compute an assignment in which every agent receives a positive utility in polynomial time. Proof. We present an inductive approach which inherently gives rise to a polynomial-time algorithm. First, if there is an edge connecting two nodes of degree at least 3, deleting it still leaves a topology in which every node has degree at least 2. The topology may stay connected or break into two connected components. We first show how to deal with a connected topology in which no edge connects two nodes of degree at least 3, and specify later how to proceed when the topology breaks into two components upon the removal of an edge. Assume that we have a connected topology such that no edge connects two nodes of degree at least 3. If the topology is a cycle, a desired assignment can be easily found, so assume otherwise. Call the nodes of degree at least 3 primary nodes , and the remaining nodes (which have degree 2) secondary nodes . Note that no edge connects two primary nodes and there exists at least one primary node due to our previous assumptions. In addition, each secondary node belongs either to a path connecting two primary nodes or to a cycle going from a primary node back to itself. We prove our claim for the class of graphs satisfying these conditions, but more generally without the assumption that primary nodes have degree at least 3 (so they may have degree 1 or 2). Nevertheless, the fact that the primary nodes under our original assumptions can be easily identified by their degree will be useful for constructing an efficient algorithm. From this point on, primary nodes will remain primary throughout the procedure regardless of their degree. Consider the meta-graph H whose nodes correspond to the primary nodes of our topology G, where two nodes in H are connected by an edge if and only if there exists a path connecting the two corresponding primary nodes not going through any other primary node in G. Since G is connected, so is H (note that H may consist of a single node). Let v be a primary node in G such that removing the corresponding node in H leaves H connected for example, any leaf in a spanning tree of H satisfies this property. Bullinger, Suksompong, & Voudouris We will color certain nodes in G blue in the following order. Start with a cycle connecting v back to itself (if there is any), and color nodes excluding v in sequence starting from a node adjacent to v; then move on to the next cycle if there is another left. The only exception is if the total amount of nodes to be colored blue only allows us to color one more node when we are about to start coloring a new cycle in this case, we color v blue instead of the first node of a new cycle. Whenever we run out of nodes to be colored blue, we color all of the remaining nodes red. If we have colored all nodes in cycles adjacent to v and there are still nodes left to be colored blue, we color v blue, followed by secondary nodes on paths adjacent to v (call this set of secondary nodes A); for each such path, we color nodes closer to v before those further away from v. If we run out of blue nodes, color all remaining nodes red. In case we have also colored all nodes in A and removed them, the remaining topology is again connected due to our choice of v. If we have only one node left to be colored blue, color one of the primary nodes adjacent to a secondary node in A blue, and all of the remaining nodes red; any remaining primary node is still adjacent to at least one secondary node. Else, there are at least two nodes left to be colored blue, and we apply induction on the remaining topology. Note that if we only have one primary node v left, G is a union of cycles that only intersect each other at v, and the same procedure still applies. We now show how to proceed when, upon removing an edge connecting two nodes of degree at least 3, the topology breaks into two connected components C1 and C2. We try to allocate an appropriate number of red and blue agents to each component, and recurse on the two smaller problems. Assume without loss of generality that |C1| |C2| and r b. Since every node in the remaining (disconnected) topology still has degree at least 2, we must have |C1| 3. Assume first that |C1| 4. If r 4, we allocate two red and two blue agents to each component, and the remaining agents arbitrarily so that the number of agents is equal to the number of nodes in each subproblem this ensures that the subproblems satisfy the conditions of the original problem. If r = 2, or if r = 3 and |C2| 5, we simply allocate all red agents to C2. The remaining case is that r = 3, |C1| = |C2| = 4, and b = 5. In this case, suppose that the removed edge is adjacent to node x in C1. We assign the blue agents to C2 {x}, and the red agents to C1 \ {x}. Since each node in C1 is adjacent to at least one other node in C1 besides x, all agents are positive. Consider now the case where |C1| = 3. If one of the types has three or at least five agents, we may allocate three agents of that type to C1. Hence, assume that both types consist of either two or four agents. The only two possibilities are then (|C1|, |C2|, r, b) = (3, 3, 2, 4) and (3, 5, 4, 4). Both cases can be handled similarly to the case (4, 4, 3, 5) in the previous paragraph. Since each step of our procedure removes at least one node or edge, by following the procedure, we obtain a polynomial-time algorithm that computes a desired assignment. In fact, the algorithm in Theorem A.2 runs in time linear in the size of the input. Indeed, finding a spanning tree of H can be done by breadth-first search, and all other steps of the algorithm take time O(m), where m denotes the number of edges in G. Finally, we continue our discussion after Proposition 6.4 by presenting further examples relating egalitarian and utilitarian welfare. Welfare Guarantees in Schelling Segregation Proposition A.3. There exists a Schelling instance in which one assignment maximizing utilitarian welfare also maximizes egalitarian welfare, while another such assignment has zero egalitarian welfare. Figure 9: Illustration for the proof of Proposition A.3. Proof. Consider the topology in Figure 9, and assume there are 3 blue and 16 red agents (so no node can be left empty). The only way to achieve nonzero egalitarian welfare is to assign the blue agents to u1, u2, and v, yielding utilitarian welfare 52/3. Assigning the blue agents to w, x1, and x2 results in the same utilitarian welfare, while the egalitarian welfare is then zero. It can be verified that both assignments maximize the utilitarian welfare. Proposition A.4. There exists a class of Schelling instances such that the ratio between the maximum and minimum egalitarian welfare among assignments that maximize utilitarian welfare is Θ(n). Proof. Let k be a positive integer. We define the topology G = (V, E) of a Schelling instance with node set V given by V = {ai : 1 i k} {x1, x2, y1, y2} {bj i : 1 j 3, 1 i k} and edge set E given by {ai, aℓ} E for 1 i, ℓ k; {ai, xℓ} E for 1 i k, 1 ℓ 2; {x1, y1}, {x2, y2} E; {yj, bj i} E for 1 i k, 1 j 2; {bj i, bj ℓ} E for 1 i, ℓ k, 1 j 3; {bj i, b3 i } E for 1 i k, 1 j 2; no further edges are in E. Bullinger, Suksompong, & Voudouris Figure 10: Illustration for the proof of Proposition A.4. See Figure 10 for an illustration for k = 3. Assume that there are n = 4k + 4 agents, composed of k blue and 3k + 4 red agents, so no node can be left empty. Note that the topology graph is (k + 1)-regular and contains cliques of size k. Hence, as in the proof of Theorem 3.3, an assignment maximizes the utilitarian welfare if and only if the blue agents form a clique. Consider the assignment where the blue agents form the clique {ai : 1 i k}. The utility of each neighboring (red) agent xj is 1/(k +1), so the egalitarian welfare is 1/(k +1). On the other hand, consider the assignment with the blue agents forming the clique {b3 i : 1 i k}. In this assignment, every agent has utility at least (k 1)/(k+1), where the minimum utility is attained by the blue agents. Hence, the egalitarian welfare is (k 1)/(k+1), which is a multiplicative factor of Θ(k) = Θ(n) higher than that of the first assignment. Agarwal, A., Elkind, E., Gan, J., & Voudouris, A. A. (2020). Swap stability in Schelling games on graphs. In Proceedings of the 34th AAAI Conference on Artificial Intelligence (AAAI), pp. 1758 1765. Anshelevich, E., Dasgupta, A., Kleinberg, J. M., Tardos, E., Wexler, T., & Roughgarden, T. (2008). The price of stability for network design with fair cost allocation. SIAM Journal on Computing, 38(4), 1602 1623. Aziz, H., Brandl, F., Brandt, F., Harrenstein, P., Olsen, M., & Peters, D. (2019). Fractional hedonic games. ACM Transactions on Economics and Computation, 7(2), 6:1 6:29. Balliu, A., Flammini, M., & Olivetti, D. (2017). On Pareto optimality in social distance games. In Proceedings of the 31st AAAI Conference on Artificial Intelligence (AAAI), pp. 349 355. Welfare Guarantees in Schelling Segregation Barmpalias, G., Elwes, R., & Lewis-Pye, A. (2014). Digital morphogenesis via Schelling segregation. In Proceedings of the 55th IEEE Annual Symposium on Foundations of Computer Science (FOCS), pp. 156 165. Barmpalias, G., Elwes, R., & Lewis-Pye, A. (2015). Unperturbed Schelling segregation in two or three dimensions. Journal of Statistical Physics, 164, 1460 1487. Bei, X., Lu, X., Manurangsi, P., & Suksompong, W. (2019). The price of fairness for indivisible goods. In Proceedings of the 28th International Joint Conference on Artificial Intelligence (IJCAI), pp. 81 87. Bhakta, P., Miracle, S., & Randall, D. (2014). Clustering and mixing times for segregation models on Z2. In Proceedings of the 25th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 327 340. Bil o, D., Bil o, V., Lenzner, P., & Molitor, L. (2020). Topological influence and locality in swap Schelling games. In Proceedings of the 45th International Symposium on Mathematical Foundations of Computer Science (MFCS), pp. 15:1 15:15. Brandt, C., Immorlica, N., Kamath, G., & Kleinberg, R. (2012). An analysis of onedimensional Schelling segregation. In Proceedings of the 44th Symposium on Theory of Computing Conference (STOC), pp. 789 804. Bui, T. N., Chaudhuri, S., Leighton, F. T., & Sipser, M. (1987). Graph bisection algorithms with good average case behavior. Combinatorica, 7(2), 171 191. Bullinger, M. (2020). Pareto-optimality in cardinal hedonic games. In Proceedings of the 19th International Conference on Autonomous Agents and Multiagent Systems (AAMAS), pp. 213 221. Bullinger, M., Suksompong, W., & Voudouris, A. A. (2021). Welfare guarantees in Schelling segregation. In Proceedings of the 35th AAAI Conference on Artificial Intelligence (AAAI). Chan, H., Irfan, M. T., & Than, C. V. (2020). Schelling models with localized social influence: a game-theoretic framework. In Proceedings of the 19th International Conference on Autonomous Agents and Multiagent Systems (AAMAS), pp. 240 248. Chauhan, A., Lenzner, P., & Molitor, L. (2018). Schelling segregation with strategic agents. In Proceedings of the 11th International Symposium on Algorithmic Game Theory (SAGT), pp. 137 149. Clark, W., & Fossett, M. (2008). Understanding the social context of the Schelling segregation model. Proceedings of the National Academy of Sciences, 105(11), 4109 4114. Echzell, H., Friedrich, T., Lenzner, P., Molitor, L., Pappik, M., Sch one, F., Sommer, F., & Stangl, D. (2019). Convergence and hardness of strategic Schelling segregation. In Proceedings of the 15th International Conference on Web and Internet Economics (WINE), pp. 156 170. Elkind, E., Fanelli, A., & Flammini, M. (2020). Price of Pareto optimality in hedonic games. Artificial Intelligence, 288, 103357. Bullinger, Suksompong, & Voudouris Elkind, E., Gan, J., Igarashi, A., Suksompong, W., & Voudouris, A. A. (2019). Schelling games on graphs. In Proceedings of the 28th International Joint Conference on Artificial Intelligence (IJCAI), pp. 266 272. Garey, M. R., & Johnson, D. S. (1979). Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman. Immorlica, N., Kleinberg, R., Lucier, B., & Zadimoghaddam, M. (2017). Exponential segregation in a two-dimensional Schelling model with tolerant individuals. In Proceedings of the 28th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 984 993. Kanellopoulos, P., Kyropoulou, M., & Voudouris, A. A. (2020). Modified Schelling games. In Proceedings of the 13th International Symposium on Algorithmic Game Theory (SAGT), pp. 241 256. Koutsoupias, E., & Papadimitriou, C. H. (1999). Worst-case equilibria. In Proceedings of the 16th Annual Symposium on Theoretical Aspects of Computer Science (STACS), pp. 404 413. Pancs, R., & Vriend, N. J. (2007). Schelling s spatial proximity model of segregation revisited. Journal of Public Economics, 91(1), 1 24. Pollicott, M., & Weiss, H. (2001). The dynamics of Schelling-type segregation models and a nonlinear graph Laplacian variational problem. Advances in Applied Mathematics, 27(1), 17 40. Schelling, T. C. (1969). Models of segregation. American Economic Review, 59(2), 488 493. Schelling, T. C. (1971). Dynamic models of segregation. Journal of Mathematical Sociology, 1(2), 143 186. Young, H. P. (2001). Individual Strategy and Social Structure: an Evolutionary Theory of Institutions. Princeton University Press. Zhang, J. (2004). A dynamic model of residential segregation. Journal of Mathematical Sociology, 28(3), 147 170.