Agent-based model of emergent spatial sorting
Schelling Segregation Model
Even mild local preferences about neighbors can generate strong population-level segregation without any agent seeking the final pattern. It is a mechanism demonstration, not a complete theory of real segregation.
move if similar neighbors / occupied neighbors < threshold
Each agent inspects a local neighborhood and moves when its fraction of similar neighbors falls below a tolerance threshold. Repeated local moves can transform a mixed grid into clusters.
This live teaching simulation uses an 18 by 12 grid, two equal-sized groups, 12 percent vacancies, Moore neighborhoods, deterministic initial placement, and sequential relocation to a satisfactory vacancy. It demonstrates one mechanism; it is not a forecast of any real city.
(%)
Blue and coral cells know only their eight adjacent positions. Outlined cells are below the selected similarity threshold. Run the model and watch local moves draw a macro-level curve.
- CHANGE
- Similarity threshold
- WATCH
- emergent clustering
- MEANING
- Local relocation decisions change the population-level clustering trace even though no agent selects the final citywide pattern.
Local discomfort can reorganize the whole map.
A mixed field separates as the similarity threshold rises. No square contains a plan for the citywide pattern; order appears through repeated moves and feedback.
What it actually says
Schelling built a family of spatial models in which agents care about the composition of a small neighborhood rather than the population as a whole. Agents who are locally dissatisfied relocate. A configuration can therefore become highly segregated even when many agents would accept an integrated neighborhood.
The important result is generative: a simple micro-level rule can produce a macro-level pattern that looks more extreme than any individual preference. Schelling also warned that the aggregate pattern does not reveal the exact motives that produced it. Similar-looking maps may arise from preferences, income, housing supply, exclusion, discrimination, networks, or several mechanisms together.
"A useful law compresses a pattern. It does not erase the conditions that make the pattern true."
How the idea developed
The modern form emerged through observation, argument, and later refinement. The timeline separates the first insight from the version now used in textbooks and practice.[1]
Schelling circulates early models of separation and neighborhood tipping.
Dynamic Models of Segregation presents bounded-neighborhood and spatial proximity models.
Micromotives and Macrobehavior makes the micro-to-macro logic accessible across social systems.
Agent-based extensions add housing prices, income, geography, networks, discrimination, and empirically estimated behavior.
How the pattern works
The relation becomes useful only when its mechanism, measurement process, and operating range are visible.
An agent observes a bounded neighborhood, not the full distribution of the city or population.
Below a tolerance threshold the agent seeks another location; above it the agent can remain.
One move changes several neighborhoods, possibly making new agents dissatisfied and triggering further moves.
Vacancies, update order, initial placement, and search rules can lead identical preferences toward different final configurations.
Each agent inspects a local neighborhood and moves when its fraction of similar neighbors falls below a tolerance threshold. Repeated local moves can transform a mixed grid into clusters.
Where it earns its keep
Applications are strongest when the law changes a decision, measurement, model, or experiment rather than merely providing an analogy.
Teach emergence from local rules
ApplicationThe model makes it possible to watch micro decisions accumulate into a pattern no agent designed.
Treat the output as a mechanism demonstration and test alternative rules, not as a literal city forecast.
Form competing spatial hypotheses
ApplicationResearchers can add prices, mobility constraints, discrimination, schools, amenities, and housing supply to compare mechanisms.
Calibration and validation against real moves are necessary before policy use.
Audit recommendation-driven sorting
ApplicationRepeated local choices in feeds, groups, or marketplaces can amplify homophily and reduce cross-group contact.
Digital similarity metrics are designed features, so platform rules belong inside the causal model.
Where it stops working
The classic checkerboard removes most institutions that shape residential segregation: zoning, credit, wealth, transport, historical dispossession, steering, discrimination, housing construction, household structure, and unequal information. Its elegance is analytical, not documentary completeness.
A segregated outcome does not identify tolerant preferences as the cause. The model shows sufficiency under specified rules, not necessity in observed data. Results are also sensitive to neighborhood geometry, vacancies, agent ratios, relocation search, simultaneous versus sequential updates, and the definition of satisfaction.
"Real segregation is accidental"
Better: Intentional exclusion, institutional constraints, and unequal resources can be central."The model measures racism"
Better: Its abstract similarity preference is not a direct measurement of prejudice or discrimination."Mild preferences always produce total segregation"
Better: Outcomes vary with thresholds, vacancies, geography, search, and initial conditions."A final map reveals individual motives"
Better: Many micro mechanisms can generate similar macro patterns.Sources and further reading
Original publications and serious secondary scholarship are prioritized over summaries.
- Schelling - Dynamic Models of SegregationThe primary 1971 paper presenting bounded-neighborhood and spatial models.https://doi.org/10.1080/0022250X.1971.9989794
- Schelling - Micromotives and MacrobehaviorBook-length development of unintended macro patterns from individual choices.https://wwnorton.com/books/Micromotives-and-Macrobehavior/
- Clark and Fossett - Understanding the Social Context of the Schelling Segregation ModelReview of the model, later evidence, and its relationship to residential segregation.https://doi.org/10.1073/pnas.0708155105
- Bruch and Mare - Neighborhood Choice and Neighborhood ChangeEmpirical and dynamic treatment of neighborhood preferences beyond a single fixed threshold.https://doi.org/10.1086/507856