Agent-Based Model for the Evolution of Ethnocentrism (1.0.0)
This is an implementation of an agent based model for the evolution of ethnocentrism. While based off a model published by Hammond and Axelrod (2006), the code has been modified to allow for a more fine-grained analysis of evolutionary dynamics.
In brief, the model consists of a grid populated by agents, each assigned one of four possible arbitrary tags. Agents engage in a one-shot prisoner’s dilemma game with neighboring agents and behave based on predetermined strategy phenotypes towards agents with similar and different tags. Cooperation incurs a slight cost to oneself and accords a respectively higher benefit to the agent being cooperated with. The sum of all costs and benefits for a given agent influences their probability of reproducing an offspring with identical strategy traits in a neighboring empty cell at the end of each cycle. A cycle terminates when all agents have engaged in a one-shot prisoner’s dilemma game with all neighboring agents. (see appendix here for a detailed description)
The simulation allows four possible strategies:
E (ethnocentric) - a strategy of preferential cooperation with one’s ingroup
H (humanitarian) - a strategy of indiscriminate cooperation with all agents
S (selfish) - a strategy of constant non-cooperation
T (traitorous) - a strategy whereby agents cooperate with their outgroup but not their ingroup
Hammond and Axelrod found that ethnocentrism evolved under a variety of parameter settings. We produced this model to better understand the conditions under which ethnocentrism arose. Our discovery of early periods of humanitarian dominance before the ascendancy of ethnocentrism proved particularly intriguing. What are the factors that mitigate the early rise of humanitarians? And what are the factors that mitigate their capitulation to ethnocentrics?
Release Notes
Associated Publications
Shultz, T. R., Hartshorn, M., & Kaznatcheev, A. (2009). Why is ethnocentrism more common than humanitarianism? In N. A. Taatgen & H. v. Rijn (Eds.), Proceedings of the 31st Annual Conference of the Cognitive Science Society (pp. 2100-2105). Austin, TX: Cognitive Science Society.
This release is out-of-date. The latest version is
1.1.0
Agent-Based Model for the Evolution of Ethnocentrism 1.0.0
Submitted by
Max Hartshorn
Published Mar 24, 2012
Last modified Feb 23, 2018
This is an implementation of an agent based model for the evolution of ethnocentrism. While based off a model published by Hammond and Axelrod (2006), the code has been modified to allow for a more fine-grained analysis of evolutionary dynamics.
In brief, the model consists of a grid populated by agents, each assigned one of four possible arbitrary tags. Agents engage in a one-shot prisoner’s dilemma game with neighboring agents and behave based on predetermined strategy phenotypes towards agents with similar and different tags. Cooperation incurs a slight cost to oneself and accords a respectively higher benefit to the agent being cooperated with. The sum of all costs and benefits for a given agent influences their probability of reproducing an offspring with identical strategy traits in a neighboring empty cell at the end of each cycle. A cycle terminates when all agents have engaged in a one-shot prisoner’s dilemma game with all neighboring agents. (see appendix here for a detailed description)
The simulation allows four possible strategies:
E (ethnocentric) - a strategy of preferential cooperation with one’s ingroup
H (humanitarian) - a strategy of indiscriminate cooperation with all agents
S (selfish) - a strategy of constant non-cooperation
T (traitorous) - a strategy whereby agents cooperate with their outgroup but not their ingroup
Hammond and Axelrod found that ethnocentrism evolved under a variety of parameter settings. We produced this model to better understand the conditions under which ethnocentrism arose. Our discovery of early periods of humanitarian dominance before the ascendancy of ethnocentrism proved particularly intriguing. What are the factors that mitigate the early rise of humanitarians? And what are the factors that mitigate their capitulation to ethnocentrics?