Equilibria in schelling games: computational hardness and robustness

Luca Kreisel, Niclas Boehmer, Vincent Froese, Rolf Niedermeier

Thomas Schelling’s classic model of segregation demonstrates how even mildly "tolerant" individuals can collectively create deeply segregated neighborhoods. In recent years, computer scientists have reframed this as a Schelling Game, where strategic agents move to maximize the fraction of similar neighbors. But how hard is it to find a stable state (equilibrium), and once found, how easily does it fall apart?

A recent paper published in Autonomous Agents and Multi-Agent Systems by Kreisel et al. provides definitive answers. The authors prove that finding equilibria is computationally "hard" even in the simplest scenarios and introduce a new framework to measure the robustness of these social structures against environmental changes.

TL;DR

The researchers prove that deciding if a stable state (equilibrium) exists in a Schelling game is NP-hard, even without the "stubborn agents" required by previous proofs. They also introduce formal measures for equilibrium robustness—how many edges or vertices can be removed before the state becomes unstable—and provide tight bounds for common network structures like grids and cliques.

What Problem Does This Paper Address?

In a Schelling game, agents of two types live on a graph. They want to maximize their utility: the fraction of their neighbors who are of the same type. Stability is reached at an equilibrium—a state where no agent (or pair of agents) has an incentive to move.

Two major gaps existed in the literature:

  1. Complexity: Previous proofs that finding equilibria is NP-hard relied on "stubborn agents" who never move. This paper asks: is the problem still hard if everyone is strategic?
  2. Robustness: Real-world cities change—roads close (edges deleted) or people leave (vertices deleted). Does a stable neighborhood stay stable after a small change, or does one person moving trigger a "segregation landslide"?

Methods

The authors employ a mix of computational complexity theory and graph theory:

  • Hardness Reductions: To prove NP-hardness for both swap-equilibria (two agents trade places) and jump-equilibria (one agent moves to an empty spot), they devised complex reductions from the Clique problem. They essentially "simulated" stubborn agents using strategic agents surrounded by so many "friends" that they would never find it profitable to move.
  • Robustness Definitions: They formally defined $r$-edge-robustness and $r$-vertex-robustness. An equilibrium is $r$-robust if it remains stable even after any set of $r$ edges or vertices is deleted.
  • Algorithmic Analysis: For a specific class called $\alpha$-star-constellation graphs (stars connected at their centers), they used dynamic programming (specifically for the Subset Sum problem) to create a polynomial-time algorithm to check for equilibrium existence.

Datasets

As a theoretical paper in computer science and game theory, no empirical datasets were used. Instead, the authors evaluated their theories against standard synthetic graph topologies:

  • Cliques: Every vertex is connected to every other vertex.
  • Cycles and Paths: Linear or circular arrangements.
  • Grids: Representing standard city blocks.
  • Caterpillars: A path where every vertex can have additional leaf neighbors.

Key Insights and Ideas

  • The "Stubborn" Simulation: The most clever part of the hardness proof is showing that you don't need "stubborn" agents to make the problem hard. By carefully constructing "gadgets" (sub-graphs) where agents are so happy they effectively become immobile, the authors proved that the inherent search for stability is computationally difficult.
  • Topology is Destiny: Robustness isn't just a property of the agents; it’s a property of the map. For example, in a Clique, an equilibrium is perfectly robust against losing people (vertex-robustness), but incredibly fragile to losing connections (edge-robustness).
  • The Power of Leaves: The authors found that adding enough "leaf" nodes (degree-one neighbors) to a graph makes the equilibrium problem tractable. If every "important" vertex has enough dedicated neighbors of the same type, the global stability becomes easier to calculate.

Key Results

  • NP-Hardness: Deciding the existence of both swap- and jump-equilibria is NP-hard on general graphs. This settles open questions from AAAI ’20 and IJCAI ’19.
  • Robustness Bounds: The paper provides a "cheat sheet" (Table 1) for how robust different social structures are:
  • Grids: Surprisingly fragile; robustness is at most 1. A few changes can destabilize the whole system.
  • Paths: Can be either 0-robust or perfectly robust, depending on how agents are arranged.
  • Cliques: Edge-robustness is 0, but vertex-robustness is $|V(G)|$.
  • Efficiency: While finding the most robust equilibrium is NP-hard, the authors provide an $O(n^2 \cdot r)$ algorithm to check if a given equilibrium is $r$-robust.

Limitations and Future Work

The authors acknowledge that their hardness proofs use graphs that are somewhat "unnatural"—they aren't planar and have very high-degree nodes. They suggest that future work should investigate whether these games remain hard on planar graphs or bounded-degree graphs, which more closely resemble real-world street maps.

Additionally, they suggest looking at "local" Schelling games, where agents can only move to adjacent vertices, a constraint that might change both the complexity and the resulting segregation patterns.

Summary updated

Abstract

In the simplest game-theoretic formulation of Schelling’s model of segregation on graphs, agents of two different types each select their own vertex in a given graph so as to maximize the fraction of agents of their type in their occupied neighborhood. Two ways of modeling agent movement here are either to allow two agents to swap their vertices or to allow an agent to jump to a free vertex. The contributions of this paper are twofold. First, we prove that deciding the existence of a swap-equilibrium and a jump-equilibrium in this simplest model of Schelling games is NP-hard, thereby answering questions left open by Agarwal et al. [AAAI ’20] and Elkind et al. [IJCAI ’19]. Second, we introduce two measures for the robustness of equilibria in Schelling games in terms of the minimum number of edges or the minimum number of vertices that need to be deleted to make an equilibrium unstable. We prove tight lower and upper bounds on the edge- and vertex-robustness of swap-equilibria in Schelling games on different graph classes.
BibTeX
@inproceedings{kreisel2022equilibria,
  author = {Luca Kreisel and Niclas Boehmer and Vincent Froese and Rolf Niedermeier},
  title = {{Equilibria in schelling games: computational hardness and robustness}},
  booktitle = {AAMAS},
  year = {2022},
  url = {https://openreview.net/forum?id=E3XJP50fXc},
}
Figure