Introduction to RePast and Tutorial I

Slides:



Advertisements
Similar presentations
Heterogeneous Payoffs and Social Diversity in the Spatial Prisoner’s Dilemma game Dept Computer Science and Software Engineering Golriz Rezaei Dr. Michael.
Advertisements

Tutorial 1 Ata Kaban School of Computer Science University of Birmingham.
Lecture V: Game Theory Zhixin Liu Complex Systems Research Center,
Evolution of Cooperation The importance of being suspicious.
An Introduction to... Evolutionary Game Theory
The Evolution of Cooperation within the Iterated Prisoner’s dilemma on a Social Network.
CITS4403 Computational Modelling Agent Based Models.
5/16/20151 VII. Cooperation & Competition The Iterated Prisoner’s Dilemma.
EC – Tutorial / Case study Iterated Prisoner's Dilemma Ata Kaban University of Birmingham.
Tags and Image Scoring for Robust Cooperation By Nathan Griffiths Presented at AAMAS 2008.
A Memetic Framework for Describing and Simulating Spatial Prisoner’s Dilemma with Coalition Formation Sneak Review by Udara Weerakoon.
Programming for Social Scientists Lecture 4 UCLA Political Science 209-1: Programming for Social Scientists Winter 1999 Lars-Erik Cederman & Benedikt Stefansson.
Coye Cheshire & Andrew Fiore June 19, 2015 // Computer-Mediated Communication Iterated Prisoner’s Dilemma.
Engineering Emergent Social Phenomena Laszlo Gulyas AITIA International Inc.
6/4/03Genetic Algorithm The Genetic Algorithm The Research of Robert Axelrod The Algorithm of John Holland Reviewed by Eyal Allweil and Ami Blonder.
Peter B. Henderson Butler University
Computer Science 101 The Virtual Machine: Operating Systems.
ABM: Frameworks Dr Andy Evans. ABM Frameworks What are they? Pieces of software to help people build ABMs. Often offer the functions outlined. Wide range.
Agent Based Modeling and Simulation
Repast Simphony Presented by Michael J. North, MBA, Ph. D.
ABM Frameworks Dr Andy Evans With additions from Dr Nick Malleson.
University of Bologna, Italy How to cheat BitTorrent and why nobody does Simon Patarin and David Hales University of Bologna ECCS 2006,
Dynamic Models of Segregation
Department of Telecommunications MASTER THESIS Nr. 610 INTELLIGENT TRADING AGENT FOR POWER TRADING BASED ON THE REPAST TOOLKIT Ivana Pranjić.
Co-evolution time, changing environments agents. Static search space  solutions are determined by the optimization process only, by doing variation and.
Advanced Computational Modeling of Social Systems Lars-Erik Cederman and Luc Girardin Center for Comparative and International Studies (CIS) Swiss Federal.
L – Modelling and Simulating Social Systems with MATLAB Lesson 5 – Introduction to agent-based simulations A. Johansson & W. Yu ©
Standard and Extended Form Games A Lesson in Multiagent System Based on Jose Vidal’s book Fundamentals of Multiagent Systems Henry Hexmoor, SIUC.
Project funded by the Future and Emerging Technologies arm of the IST Programme Cooperation with Strangers David Hales Department of.
Introduction to Computational Modeling of Social Systems Prof. Lars-Erik Cederman Center for Comparative and International Studies (CIS) Seilergraben 49,
Example Department of Computer Science University of Bologna Italy ( Decentralised, Evolving, Large-scale Information Systems (DELIS)
Presenter: Chih-Yuan Chou GA-BASED ALGORITHMS FOR FINDING EQUILIBRIUM 1.
Algorithms and their Applications CS2004 ( ) 13.1 Further Evolutionary Computation.
Introduction to Computational Modeling of Social Systems Prof. Lars-Erik Cederman Center for Comparative and International Studies (CIS) Seilergraben 49,
Evolving cooperation in one-time interactions with strangers Tags produce cooperation in the single round prisoner’s dilemma and it’s.
Introduction to Computational Modeling of Social Systems Prof. Lars-Erik Cederman Center for Comparative and International Studies (CIS) Seilergraben 49,
Prof. Lars-Erik Cederman ETH - Center for Comparative and International Studies (CIS) Seilergraben 49, Room G.2, Nils.
1. Genetic Algorithms: An Overview  Objectives - Studying basic principle of GA - Understanding applications in prisoner’s dilemma & sorting network.
CPSC 171 Introduction to Computer Science System Software and Virtual Machines.
Iterated Prisoner’s Dilemma Game in Evolutionary Computation Seung-Ryong Yang.
Prof. Dr. Lars-Erik Cederman ETH - Center for Comparative and International Studies (CIS) Seilergraben 49, Room G.2,
Introduction to Computational Modeling of Social Systems Prof. Lars-Erik Cederman Center for Comparative and International Studies (CIS) Seilergraben 49,
IJCAI’07 Emergence of Norms through Social Learning Partha Mukherjee, Sandip Sen and Stéphane Airiau Mathematical and Computer Sciences Department University.
Introduction to Game Theory Presented by 蘇柏穎 2004/12/9 2004/12/9.
Evolving Strategies for the Prisoner’s Dilemma Jennifer Golbeck University of Maryland, College Park Department of Computer Science July 23, 2002.
1 Integrating Repast Library and Running RePast Examples using JBuilder X 07/19/2004 by Deddy Koesrindartoto Department of Economics Iowa State University.
Evolution of Cooperation in Mobile Ad Hoc Networks Jeff Hudack (working with some Italian guy)
Hongbin Li 11/13/2014 A Debugger of Parallel Mutli- Agent Spatial Simulation.
VBattle: A new Framework to Simulate Medium-Scale Battles in Individual-per- Individual Basis L. Peña, J. M. Peña y S. Ossowski CIG – 2009 (Milan)
Modelling and Simulating Social Systems with MATLAB
PRISONER’S DILEMMA BERK EROL
Next Level Tic-Tac-Toe
Evolving New Strategies
L – Modeling and Simulating Social Systems with MATLAB
L – Modeling and Simulating Social Systems with MATLAB
The Process of Object Modeling
Prisoner’s Dilemma with N-Participants and Optional Cooperation
COEVOLUTION of COOPERATION and SELECTIVE INTERACTION -AN EXPERIMENT-
NASPAC 2.0 Architecture January 27, 2010
AI-ECON Research Center Department of Economics National Chengchi University.
Socially Inspired Approaches to Evolving Cooperation
LECTURE 6: MULTIAGENT INTERACTIONS
The outbreak of cooperation among success-driven individuals under noisy conditions Success-driven migration and imitation as a driver for cooperative.
Java Online documentation
Evolution for Cooperation
Altruism “for free” using Tags
Game Theory Fall Mike Shor Topic 5.
Evolving cooperation in one-time interactions with strangers
1. Genetic Algorithms: An Overview
Game Theory Spring Mike Shor Topic 5.
Presentation transcript:

Introduction to RePast and Tutorial I

Today’s agenda Introduction to Repast IPD Model Tutorial sequence

What is RePast? Recursive Porous Agent Simulation Toolkit http://repast.sourceforge.net Repast is an open-source software framework for creating agent-based simulations using Java Initially developed by the Social Science Research Computing at the University of Chicago Will be further developed by the RePast Organization for Architecture and Development (ROAD) and Argonne National Laboratory

Why RePast? Alternatives: Swarm, Ascape, NetLogo... “RePast is at the moment the most suitable simulation framework for the applied modeling of social interventions based on theories and data” (2004): http://jasss.soc.surrey.ac.uk/7/1/6.html Modeled on Swarm but easier to use and better documented Important criteria: abstraction, ease of use and user-friendliness flexibility and extensibility performance and scalability support for modeling, simulation & experimentation Interoperability (GIS, statistical packages, …)

What does RePast offer? Skeletons of agents and their environment Graphical user interface Scheduling of simulations Parameters management Behavior display Charting Data collection Batch and parallel runs Utilities and sample models

Iterated Prisoner’s Dilemma Cohen, Riolo, and Axelrod. 1999. “The Emergence of Social Organization in the Prisoner's Dilemma” (SFI Working Paper 99-01-002) http://www.santafe.edu/sfi/publications/99wplist.html In The Evolution of Cooperation, Robert Axelrod (1984) created a computer tournament of IPD cooperation sometimes emerges Tit For Tat a particularly effective strategy

Prisoner’s Dilemma Game Column: C D C 3,3 0,5 Row: D 5,0 1,1

One-Step Memory Strategies Strategy = (i, p, q) i = prob. of cooperating at t = 0 p = prob. of cooperating if opponent cooperated q = prob. of cooperating if opponent defected C p Memory: C D q C D D t-1 t

The Four Strategies

TFT meets ALLD Cumulated Payoff Row (TFT) Column (ALLD) 1 2 3 4 t p=1; q=0 + 1 + 1 + 1 = 3 Row (TFT) i=1 C D D D D Column (ALLD) C D i=0 5 + 1 + 1 + 1 = 8 p=0; q=0 1 2 3 4 t

Payoffs for 4 x 4 Strategies

Three crucial questions: 1. Variation: What are the actors’ characteristics? 2. Interaction: Who interacts with whom, when and where? 3. Selection: Which agents or strategies are retained, and which are destroyed? (see Axelrod and Cohen. 1999. Harnessing Complexity)

Experimental dimensions 2 strategy spaces: B, C 6 interaction processes: RWR, 2DK, FRN, FRNE, 2DS, Tag 3 adaptive processes: Imit, BMGA, 1FGA

“Soup-like” topology: RWR In each time period, a player interacts with four other random players. ATFT ALLC ALLD ALLD TFT TFT ALLC

2D-Grid Topology: 2DK The players are arranged on a fixed TFT ALLD ALLC ATFT The players are arranged on a fixed torus and interact with four neighbors in the von-Neumann neighborhood.

Fixed Random Network: FRN The players have four random neighbors in a fixed random network. The relations do not have to be symmetric. ALLC TFT ALLD ATFT

Adaptation through imitation ATFT ALLC ALLD ALLD TFT TFT? ALLC Neighbors at t

Adaptation with BMGA Comparison error (prob. 0.1) Genetic adaptation 6.0 Fixed spatial neighborhood 2.8 2.2 9.0 0.8

BMGA continued Copy error (prob. 0.04 per “bit”) Genetic adaptation 6.0 Fixed spatial neighborhood p=0; q=0 => p=1; q=0 2.8 6.0 9.0 0.8

Tutorial Sequence Today SimpleIPD: strategy space May 11 EvolIPD: RWR May 18 GraphIPD: charts and GUI May 25 GridIPD: 2DK June 1st ExperIPD: batch runs and parameter sweeps