Agent-based models and social simulation Gilberto Câmara Tiago Carneiro Pedro Andrade Licence: Creative Commons ̶̶̶̶ By Attribution ̶̶̶̶ Non Commercial.

Slides:



Advertisements
Similar presentations
Chapter 8 Geocomputation Part A:
Advertisements

Modelagem Baseada em Agentes no TerraME: estado atual Pedro Ribeiro de Andrade feb/09.
Fractal geometry is being used to model cities using ideas from cellular automata.
Agent-based simulation: a very short introduction Nigel Gilbert University of Surrey Guildford UK.
New Mexico Computer Science for All
G. Folino, A. Forestiero, G. Spezzano Swarming Agents for Discovering Clusters in Spatial Data Second International.
CITS4403 Computational Modelling Agent Based Models.
Segregation and Concentration of Poverty: The Role of Suburban Sprawl Paul A. Jargowsky University of Texas at Dallas and Centre de Sciences Humaines.
Network Morphospace Andrea Avena-Koenigsberger, Joaquin Goni Ricard Sole, Olaf Sporns Tung Hoang Spring 2015.
Agent Based Modeling (ABM)
Computational Modeling in the Social Sciences Ken Kollman University of Michigan.
Simulation Models as a Research Method Professor Alexander Settles.
Ketrina Yim CS260—Human Centered Computing 4/1/2009
Emergent Phenomena & Human Social Systems NIL KILICAY.
Towards A Multi-Agent System for Network Decision Analysis Jan Dijkstra.
Geography What is it?. Geography is: “The study of people, places, and the environment.” “A science that deals with the description, distribution, and.
Lars-Erik Cederman and Luc Girardin Center for Comparative and International Studies (CIS) Swiss Federal Institute of Technology Zurich (ETH)
Parallelization: Conway’s Game of Life. Cellular automata: Important for science Biology – Mapping brain tumor growth Ecology – Interactions of species.
Ch. 13 Key Issue 2 Where Are People Distributed Within Urban Areas?
Progress Report 1 A brief overview of the nature of the social issue (Maximum – 4 pages). Each GROUP will write a brief, concise paper providing: – A.
Complex Systems and Emergence Gilberto Câmara Tiago Carneiro Pedro Andrade.
WHAT IS SCIENCE? An organized way of gathering and analyzing evidence about the natural world.
Agent Based Modeling and Simulation
HOUSING. Studying housing Different approaches: Describing and analyzing government policy in reference to housing  legislative and institutional structure.
TIAGO GARCIA CARNEIRO ANA PAULA AGUIAR GILBERTO CÂMARA ANTÔNIO MIGUEL MONTEIRO TerraME - A tool for spatial dynamic modelling LUCC Workshop Amsterdam,
Spatial Dynamical Modelling with TerraME Lectures 4: Agent-based modelling Gilberto Câmara.
Exploring the dynamics of social networks Aleksandar Tomašević University of Novi Sad, Faculty of Philosophy, Department of Sociology
Collective Spatial Actions: Policy and Planning as Emergent Properties of Human Interactions Gilberto Câmara Earth System Science Center, INPE Licence:
Dynamic Models of Segregation
Prof. Lars-Erik Cederman Center for Comparative and International Studies (CIS) Seilergraben 49, Room G.2, Nils Weidmann,
Cities and Complexity Gilberto Câmara Based on the book “Cities and Complexity” by Mike Batty Reuses on-line material on Batty’s website
Envision Flow of Execution. ENVISION – Triad of Relationships Policies Intentions Actors Values Landscapes Metrics of Production Provide a common frame.
Core Concepts of Geoinformatics: introdcution Gilberto Camara National Institute for Space Research, Brazil Institut für Geoinformatik, Univ Münster.
INTERNATIONAL INSTITUTE FOR GEO-INFORMATION SCIENCE AND EARTH OBSERVATION Transition Rule Elicitation Methods for Urban Cellular Automata Models Junfeng.
Studying Life Vodcast 1.3 Unit 1: Introduction to Biology.
Land change modelling Gilberto Câmara, Pedro Andrade Licence: Creative Commons ̶̶̶̶ By Attribution ̶̶̶̶ Non Commercial ̶̶̶̶ Share Alike
Cellular Automata Spatio-Temporal Information for Society Münster, 2014.
Prof. Lars-Erik Cederman ETH - Center for Comparative and International Studies (CIS) Seilergraben 49, Room G.2, Nils.
Exploring Complex Systems through Games and Computer Models Santa Fe Institute – Project GUTS
The Science of Complexity J. C. Sprott Department of Physics University of Wisconsin - Madison Presented to the First National Conference on Complexity.
Prof. Dr. Lars-Erik Cederman Swiss Federal Institute of Technology (ETH) Center for Comparative and International Studies (CIS) Seilergraben 49, Room G.2.
Unifying Dynamical Systems and Complex Networks Theories ~ A Proposal of “Generative Network Automata (GNA)” ~ Unifying Dynamical Systems and Complex Networks.
Spatial Dynamical Modelling with TerraME Lectures 4: Agent-based modelling Gilberto Câmara.
Neural Networks and Machine Learning Applications CSC 563 Prof. Mohamed Batouche Computer Science Department CCIS – King Saud University Riyadh, Saudi.
March Erb Scott E Page University of Michigan and Santa Fe Institute Complex Systems, Political Science, Economics.
Water as a Social Process Lilian Alessa, Ph.D.,P.Reg.Biol. Resilience and Adaptive Management Group, Water and Environmental Research Center, University.
Complex Systems and Emergence Gilberto Câmara Tiago Carneiro Pedro Andrade Licence: Creative Commons ̶̶̶̶ By Attribution ̶̶̶̶ Non Commercial ̶̶̶̶ Share.
An Agent Epidemic Model Toward a general model. Objectives n An epidemic is any attribute that is passed from one person to others in society è disease,
Scientific Communication Timothy G. Standish, Ph. D.
Spatial ABM H-E Interactions, Lecture 4 Dawn Parker, George Mason University Notes on Grimm and Railsback Chapter 1, “Individual-based modeling and ecology”
Introduction to Enviromental Modelling Lecture 1 – Basic Concepts Gilberto Câmara Tiago Carneiro Ana Paula Aguiar Sérgio Costa Pedro Andrade Neto.
B OIDS, D ROIDS, & N OIDS : D ESCRIPTION AND I MPLICATIONS OF AN I NTEGRATIVE R ESEARCH P ARADIGM ON M ACROCOGNITION Steve W.J. Kozlowski Georgia T. Chao.
Photo: Fabio Venni Multi-Agent Simulator for Urban Segregation (MASUS) A Tool to Explore Alternatives for Promoting Inclusive Cities Flávia da Fonseca.
Agent-Based Modeling PSC 120 Jeff Schank. Introduction What are Models? Models are Scaffolds for Understanding Models are always false, but very useful.
1 Dr. Michael D. Featherstone Introduction to e-Commerce Network Theory 101.
Modelagem Dinâmica com TerraME Aula 5 – Building simple models with TerraME Tiago Garcia de Senna Carneiro (UFOP) Gilberto Câmara (INPE)
Agent-based models and social simulation Gilberto Câmara Tiago Carneiro Pedro Andrade Licence: Creative Commons ̶̶̶̶ By Attribution ̶̶̶̶ Non Commercial.
Environmental Modeling Pedro Ribeiro de Andrade Münster, 2013.
Spatio-Temporal Information for Society Münster, 2014
Cellular Automata Pedro R. Andrade Tiago Garcia de Senna Carneiro
Sistemi per la Gestione Aziendale.
An Introduction to Agent-Based Modeling for Geographic Processes
Spatio-temporal information in society: modelling
Complexity A more recent conceptualization of how to look at nature and our interaction with it Originated in general systems theory, a way of looking.
Spatio-temporal information in society: agent-based modelling
Spatio-Temporal Information for Society
R. W. Eberth Sanderling Research, Inc. 01 May 2007
IV. Why Services Cluster Downtown Ch. 13 – Urban Patterns
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Agent-Based Models Hiroki Sayama
Pedro R. Andrade Munster, 2013
Presentation transcript:

Agent-based models and social simulation Gilberto Câmara Tiago Carneiro Pedro Andrade Licence: Creative Commons ̶̶̶̶ By Attribution ̶̶̶̶ Non Commercial ̶̶̶̶ Share Alike

Where does this image come from?

Map of the web (Barabasi) (could be brain connections)

Information flows in Nature Ant colonies live in a chemical world

Conections and flows are universal Yeast proteins (Barabasi and Boneabau, SciAm, 2003) Scientists in Silicon Valley (Fleming and Marx, Calif Mngt Rew, 2006)

Information flows in the brain Neurons transmit electrical information, which generate conscience and emotions

Information flows generate cooperation White cells attact a cancer cell (cooperative activity) Foto: National Cancer Institute, EUA

Information flows in planet Earth Mass and energy transfer between points in the planet

Complex adaptative systems How come that a city with many inhabitants functions and exhibits patterns of regularity? How come that an ecosystem with all its diverse species functions and exhibits patterns of regularity?

What are complex adaptive systems? Systems composed of many interacting parts that evolve and adapt over time. Organized behavior emerges from the simultaneous interactions of parts without any global plan.

What are complex adaptive systems?

Universal Computing Computing studies information flows in natural systems......and how to represent and work with information flows in artificial systems

Agents as basis for complex systems Agent: flexible, interacting and autonomous An agent is any actor within an environment, any entity that can affect itself, the environment and other agents.

Agent-Based Modelling Goal Space Representations Communication Action Perception Communication Gilbert, 2003

Agents: autonomy, flexibility, interaction Synchronization of fireflies

Why is it interesting? Structure structure is emergent from agent interaction this can be directly modeled Agency agents have goals, beliefs and act this can be directly modeled Dynamics things change, develop, evolve agents move (in space and social location) and learn these can be directly modeled Source: (Gilbert, 2006)

Is it qualitative or quantitative? Agent-based models can handle all types of data quantitative attributes age size of organization qualitative ordinal or categorical (e.g. ethnicity), relational (e.g. I am linked to him and her) vague A sends B a message about one time in three Source: (Gilbert, 2006)

It has been used in different areas of science economy sociology archaeology ecology linguistics political sciences...

Source:

Agents changing the landscape An individual, household, or institution that takes specific actions according to its own decision rules which drive land-cover change.

Four types of agents Natural agents, artificial environment Artificial agents, artificial environment Artificial agents, natural environment Natural Agents, natural environment fonte: Helen Couclelis (UCSB)

Four types of agents Natural agents, artificial environment Artificial agents, artificial environment Artificial agents, natural environment Natural Agents, natural environment fonte: Helen Couclelis (UCSB) e-science Engineering Applications Behavioral Experiments Descriptive Model

Is computer science universal? Modelling information flows in nature is computer science

Bird Flocking (Reynolds) Example of a computational model 1. No central autority 2. Each bird reacts to its neighbor 3. Model based on bottom up interactions

Bird Flocking: Reynolds Model (1987) Cohesion: steer to move toward the average position of local flockmates Separation: steer to avoid crowding local flockmates Alignment: steer towards the average heading of local flockmates

Agents moving

Schelling segregation model

Segregation Some studies show that most people prefer to live in a non-segregated society. Why there is so much segregation?

Segregation Segregation is an outcome of individual choices But high levels of segregation indicate mean that people are prejudiced?

Schelling’s Model of Segregation < 1/3 Micro-level rules of the game Stay if at least a third of neighbors are “kin” Move to random location otherwise

Schelling’s Model of Segregation Schelling (1971) demonstrates a theory to explain the persistence of racial segregation in an environment of growing tolerance If individuals will tolerate racial diversity, but will not tolerate being in a minority in their locality, segregation will still be the equilibrium situation

Schelling Model for Segregation Start with a CA with “white” and “black” cells (random) The new cell state is the state of the majority of the cell’s Moore neighbours White cells change to black if there are X or more black neighbours Black cells change to white if there are X or more white neighbours How long will it take for a stable state to occur?

Schelling’s Model of Segregation Tolerance values above 30%: formation of ghettos

ABM in TerraME: Types and Functions

Agent Space Space Agent TerraME: nature-society modelling T. Carneiro, P. Andrade, et al., “An extensible toolbox for modeling nature-society interactions”. Enviromental Modelling and Software, 2013 (Two PhDs). Nature represented in cellular spaces, society represented as agents

Geometry Cellular Space Social Network Object Types in TerraLib ecosystem: new tools, new types Coverage Time Series Trajectory Event Agent

CellAgent forEachAgentforEachCell forEachRelative forEachNeighbor forEachAgent CellularSpace Society GroupTrajectory DBMS

agents = cell:getAgents() if #(agents) == 0 then -- empty agent:leave(oldcell) agent:enter(cell) end Agents within cells

Society 上海宋 ABC ACA AAC CCC BBC CBB CAC BBA CCB CBA AAA BAB

createAgent = function(capital) return Agent { capital = capital, } end data = {} data[1] = 100; data[2] = 50; data[3] = 25 mag = Society(createAgent, data) mag = Society(createAgent, 50) capital = 100capital = 50capital = 25 Society

function createAgent (capital) person = Agent { init = function (self), } end data = {} data[1] = 100; data[2] = 50; data[3] = 25 mag = Society(createAgent, data) mag = Society(createAgent, 50) capital = 100capital = 50capital = 25 Society

CCC BBC CBB CAC BBA CCB CBA ABC ACA AAC AAA BAB Group

g = Group{mag, function(agent) return agent. capital > 40 end, function(a1, a2) return a1.capital > a2.capital end } capital = 100capital = 50capital = 25 Group

forEachAgent(mag, function(agent) agent.capital = agent.capital end) capital = 200capital = 150capital = 125 capital = 100capital = 50capital = 25 Traversing the Society

Emergence source: (Bonabeau, 2002) “Can you grow it?” (Epstein; Axtell; 1996)

Epstein (Generative Social Science)  If you didn´t grow it, you didn´t explain its generation  Agent-based model  Generate a macro- structure  Agents = properties of each agent + rules of interaction  Target = macrostruture M that represents a plausible pattern in the real-world

Scientific method Science proceeds by conjectures and refutations (Popper)

Explanation and Generative Sufficiency Macrostructure Spatial segregation Bird flocking Agent model A1 Agent model A2 Agent model A3 ? Refutation Conjectures ?

Explanation and Generative Sufficiency Macrostructure Occam´s razor: "entia non sunt multiplicanda praeter necessitatem", or "entities should not be multiplied beyond necessity ". Agent model A1 Agent model A2 ?

Explanation and Generative Sufficiency Macrostructure Popper´s view "We prefer simpler theories to more complex ones because their empirical content is greater and because they are better testable" Agent model A1 Agent model A2 ?

Explanation and Generative Sufficiency Macrostructure Einstein´s rule: The supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience" "Theories should be as simple as possible, but no simpler. Agent model A1 Agent model A2 ?

Urban Growth in Latin American cities: exploring urban dynamics through agent-based simulation Joana Xavier Barros 2004

Latin American cities High rates of urban growth (rapid urbanization) Poverty + spontaneous settlements (slums) Poor control of public policies on urban development Fragmented urban fabric with different and disconnected morphological patterns that evolve and transform over time.

Peripherization São Paulo - Brasil Caracas - Venezuela Process in which the city grows by the addition of low‐income residential areas in the peripheral ring. These areas are slowly incorporated to the city by spatial expansion, occupied by a higher economic group while new low‐income settlements keep emerging on the periphery..

Urban growth “Urban sprawl” in United States “Urban sprawl”in Europe (UK) Peripherization in Latin America (Brazil)

Research question How does this process happen in space and time? How space is shaped by individual decisions?  Complexity approach Time + Space  automata model Social issues  agent ‐ based simulation )

Model: Growth of Latin American cities Peripherisation module Spontaneous settlements module Inner city processes module Spatial constraints module

Peripherization module  reproduces the process of expulsion and expansion by simulating the residential locational processes of 3 distinct economic groups.  assumes that despite the economic differences all agents have the same locational preferences. They all want to locate close to the best areas in the city which in Latin America means to be close to high‐income areas  all agents have the same preferences but different restrictions

Peripherization module: rules 1. proportion of agents per group is defined as a parameter 2. high‐income agent –can locate anywhere 3. medium‐income agent –can locate anywhere except on high‐income places 4. low‐income agent –can locate only in the vacant space 5. agents can occupy another agent’s cell: then the latter is evicted and must find another

Peripherization module: rules

Spatial pattern: the rules do not suggests that the spatial outcome of the model would be a segregated pattern Approximates the spatial structure found in the residential locational pattern of Latin American cities multiple initial seeds ‐resembles certain characteristics of metropolitan areas

Comparison with reality  Maps of income distribution for São Paulo, Brazil (census 2000)  Maps A and B: quantile breaks (3 and 6 ranges)  Maps C and D: natural breaks (3 and 6 ranges)  No definition of economic groups or social classes