Linking multi-agent simulation to experiments in economy Re-implementing John Duffy’s model of speculative learning agents.

Slides:



Advertisements
Similar presentations
An Introduction to Game Theory Part V: Extensive Games with Perfect Information Bernhard Nebel.
Advertisements

An Adjusted Matching Market: Adding a Cost to Proposing Joschka Tryba Brian Cross Stephen Hebson.
Reaching Agreements II. 2 What utility does a deal give an agent? Given encounter  T 1,T 2  in task domain  T,{1,2},c  We define the utility of a.
Evolution and Repeated Games D. Fudenberg (Harvard) E. Maskin (IAS, Princeton)
Bargaining in Markets with One-Sided Competition: Model and Analysis Nicola Gatti DEI, Politecnico di Milano, Piazza Leonardo da.
Negotiation A Lesson in Multiagent System Based on Jose Vidal’s book Fundamentals of Multiagent Systems Henry Hexmoor SIUC.
Game Theory Eduardo Costa. Contents What is game theory? Representation of games Types of games Applications of game theory Interesting Examples.
1 Hypothesis Testing Chapter 8 of Howell How do we know when we can generalize our research findings? External validity must be good must have statistical.
Eran Salfati and Prof. Raul Rabinovici Ben-Gurion University 2013.
Maynard Smith Revisited: Spatial Mobility and Limited Resources Shaping Population Dynamics and Evolutionary Stable Strategies Pedro Ribeiro de Andrade.
The Evolution of Conventions H. Peyton Young Presented by Na Li and Cory Pender.
ELM Part 2- Economic models Manuela Samek
Game-Theoretic Approaches to Multi-Agent Systems Bernhard Nebel.
An Introduction to Game Theory Part II: Mixed and Correlated Strategies Bernhard Nebel.
Approximate and online multi-issue negotiation S.S. Fatima Loughborough University, UK M. Wooldridge N.R. Jennings University of.
Chapter 4 DECISION SUPPORT AND ARTIFICIAL INTELLIGENCE
Kiyotaki-Wright Experiment Todd R. Kaplan. Kiyotaki Wright Model What is money? –medium of exchange –unit of account, –store of value Why is money useful?
6/2/2001 Cooperative Agent Systems: Artificial Agents Play the Ultimatum Game Steven O. Kimbrough Presented at FMEC 2001, Oslo Joint work with Fang Zhong.
Games as Systems Administrative Stuff Exercise today Meet at Erik Stemme
Artificial Intelligence for Games and Puzzles1 Games in the real world Many real-world situations and problems.
PSU CS 370 – Artificial Intelligence Dr. Mohamed Tounsi Artificial Intelligence 1. Introduction Dr. M. Tounsi.
Distributed Rational Decision Making Sections By Tibor Moldovan.
Outline  In-Class Experiment on Centipede Game  Test of Iterative Dominance Principle I: McKelvey and Palfrey (1992)  Test of Iterative Dominance Principle.
Statement of the Problem Goal Establishes Setting of the Problem hypothesis Additional information to comprehend fully the meaning of the problem scopedefinitionsassumptions.
1 On the Agenda(s) of Research on Multi-Agent Learning by Yoav Shoham and Rob Powers and Trond Grenager Learning against opponents with bounded memory.
THE BUSINESS OF FASHION 3.02 Explain the economics of fashion.
Strategic Game Theory for Managers. Explain What is the Game Theory Explain the Basic Elements of a Game Explain the Importance of Game Theory Explain.
Learning dynamics,genetic algorithms,and corporate takeovers Thomas H. Noe,Lynn Pi.
Introduction to Game Theory
5. Alternative Approaches. Strategic Bahavior in Business and Econ 1. Introduction 2. Individual Decision Making 3. Basic Topics in Game Theory 4. The.
Learning to Play Blackjack Thomas Boyett Presentation for CAP 4630 Teacher: Dr. Eggen.
Othello Artificial Intelligence With Machine Learning
Dynamic Games of complete information: Backward Induction and Subgame perfection - Repeated Games -
Standard and Extended Form Games A Lesson in Multiagent System Based on Jose Vidal’s book Fundamentals of Multiagent Systems Henry Hexmoor, SIUC.
1 Near-Optimal Play in a Social Learning Game Ryan Carr, Eric Raboin, Austin Parker, and Dana Nau Department of Computer Science, University of Maryland.
What is Economics? Chapter 18.
Evolution of Money Through Multi-Agent Model Abhishek Malik (Y6020) Abhishek Gupta (Y6019) Project Guide: Prof. Amitabha Mukerjee.
Rationality meets the tribe: Some models of cultural group selection David Hales, The Open University Hales, D., (2010) Rationality.
The Evolution of Fairness PSC 120 Jeff Schank. Fairness People engage in fair exchanges of resources even when it would benefit them more to act unfairly.
Presenter: Chih-Yuan Chou GA-BASED ALGORITHMS FOR FINDING EQUILIBRIUM 1.
NAVEEN AGENT BASED SOFTWARE DEVELOPMENT. WHAT IS AN AGENT? A computer system capable of flexible, autonomous (problem-solving) action, situated in dynamic,
ART – Artificial Reasoning Toolkit Evolving a complex system Marco Lamieri
XVII. New Keynesian Economics. XVII.1 AD – AS model once again Agregate demand : both in long and short term decreasing function of price Agregate supply.
Chapter 2 Economic Resources and Systems. Factors of Production  Just as individuals have to deal with a shortage of resources, so do societies  A society.
Artificial intelligence methods in the CO 2 permission market simulation Jarosław Stańczak *, Piotr Pałka **, Zbigniew Nahorski * * Systems Research Institute,
Bargaining as Constraint Satisfaction Simple Bargaining Game Edward Tsang
Evolving cooperation in one-time interactions with strangers Tags produce cooperation in the single round prisoner’s dilemma and it’s.
1 What is Game Theory About? r Analysis of situations where conflict of interests is present r Goal is to prescribe how conflicts can be resolved 2 2 r.
Evolution of Money Through Multi-Agent Model Abhishek Malik (Y6020) Abhishek Gupta (Y6018) Project Guide: Prof. Amitabha Mukerjee.
Strategic Game Theory for Managers. Explain What is the Game Theory Explain the Basic Elements of a Game Explain the Importance of Game Theory Explain.
Introduction to Game Theory Presented by 蘇柏穎 2004/12/9 2004/12/9.
WHAT IS RESEARCH? According to Redman and Morry,
3/14/20161 SOAR CIS 479/579 Bruce R. Maxim UM-Dearborn.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Introduction to Economics What do you think of when you think of economics?
Social Networks and Trust: not the Experimental Evidence you may Expect Daniela Di Cagno Emanuela Sciubba Luiss Guido Carli, Rome Birkbeck College, London.
+ Homework 9.1:1-8, 21 & 22 Reading Guide 9.2 Section 9.1 Significance Tests: The Basics.
Correlated equilibria, good and bad: an experimental study
CHAPTER 1 Introduction BIC 3337 EXPERT SYSTEM.
An Investigation of Market Dynamics and Wealth Distributions
TEN PRINCIPLES OF ECONOMICS
LECTURE 25: Dornbusch Overshooting Model
CHAPTER 6 PROBABILITY & SIMULATION
CONNECTING SIMULATIONS WITH HUMAN SUBJECT EXPeriments
Announcements Homework 3 due today (grace period through Friday)
Search and Price dispersion
CASE − Cognitive Agents for Social Environments
Multiagent Systems Repeated Games © Manfred Huber 2018.
Evolving cooperation in one-time interactions with strangers
Artificial Intelligence
Presentation transcript:

Linking multi-agent simulation to experiments in economy Re-implementing John Duffy’s model of speculative learning agents

Experimental economics [Hayek, "The use of knowledge in Society", 1945 ] Production of a setting where individuals face an economic situation that is similar to real ones – controlled and easy to reproduce. Limited possibilities of action Control of motivation of agents / interaction mode / initial information Observation of behaviours of real humans Interpretation of results Comparison of behaviours with the theoretical setting Drawing hypothesis explaining the differences

Simulations to design experiments " Usual protocol: humans interact only through computers to get an absolute control of communication. " Choice of parameters to design experiments by running tests with only computers " Test of behavioural hypothesis with learning IA in place of humans following the experiments to reproduce the results " Mixing humans and AI in the same environment Duffy, J, 2001, Learning to Speculate: Experiments with Articial and Real Agents, JEDC, 25, pp

The Kiyotaki and Wright model: how to induce speculative behaviours? The aim of KW is to find an economy in which the production and consumption rules would Force the agents to exchange Have them use a good as an exchange value (enable them to store a good that has no direct value to them) Discretisation of action – best response Knowing possession of the whole population Kiyotaki N., Wright R., 1989, On money as a medium of exchange, Journal of Political Economy 97,

Situation of the agents Production > exchange > consumption Agent i consumes good i Agent i produces good i +1 Consumption > gain in utility = u. Agent produces iff it has just consumed 3 types of agents : 1, 2, 3 3 goods : 1, 2, 3

A time-step At the end of a time-step: an agent 1 possesses only good 2 or 3 Only stores ONE unit of non-divisible good Storage costs 0< c1 <c2 < c3 < u “discount factor”  : 0<  < 1 – end of the exchange rounds storage

A time-step A B , 3 2 C exchange Bilateral decentralised negotiation - choose to exchange or not. No « simple exchange » (A is forbidden) > at least three agents have been involved when everyone is satisfied

Fundamental and speculative behaviours Expected gain for agent i (imagine that it will get good i at time t + 1 by exchanging against the good it possesses now): Possesses good (i+1): γ i +1 = - c i +1 +  u. Possesses good (i+2): γ i +2 = - c i +2 +  u. Fundamental = when facing an exchange accepts to store the good that gives the best expected gain. Speculative = when facing an exchange accepts to store the good that gives the worst expected gain if there is a higher chance to perform the exchange to get i at the next time-step. Fundamental for agents 1 and 3 is to refuse to exchange i+1 for i+2 Fundamental for agents 2 is to accept to exchange i+1 for i+2 Speculative: depends on actual probabilities of exchange

Fundamental and speculative behaviours Notation: Proportion of agents i possessing the good they produce: pi, and possessing the other good: (1-pi) (s1,s2,s3) the set of strategies by agents 1, 2 and 3, Si = 0 if agents refuses to get i+2 when facing the opportunity Si = 1 if agents accepts to get i+2 when facing the opportunity Solution by KW: the agent decides if it will speculate or not by anticipating its ability to exchange at the next time-step. >> Strategic equilibrium depending on u, c1, c2, c3,  and (p1,p2,p3) - either (0,1,0) ou (1,1,0) Issue for Duffy: agents have no complete knowledge and learn anticipated gain through experience experience is individual – not all agents of the same type choose the same

Reproduction of the speculative setting Several production of this model put in a distributed setting (multi- agent type models) Marimon, R., E.R. McGrattan and T.J. Sargent, 1990, Money as a medium of exchange in an economy with artificially intelligent agents, Journal of Economic Dynamics and Control 14, Basci, E., 1999, Learning by imitation, Journal of Economic Dynamics and Control 23, Several production of this model put in an experimental setting Duffy, and J. Ochs, 1999a, Emergence of money as a medium of exchange: An experimental study, American Economic Review 89, Duffy, J. and J. Ochs, 1999b, Fiat money as a medium of exchange: Experimental evidence, working paper, University of Pittsburgh.

Duffy: getting close to experimental setting for comparison and extension Limited number of agents 16 or 24 Short simulation: only repetition of 10 games in a row Chooses setting where (1,1,0) is the solution profile agents of type 1 “should” play speculative agents of type 2 and 3 “should” play fundamental Same setting is used for artificial agents and humans, Manipulation of the setting to influence learning change proportion for different probabilities of meeting automate some of the behaviours >> once the simulation shows how interesting the setting is, reproduce it with real humans / mix artificial and real agents

Learning algorithm for the agents A simulation is a set of 10 games with probability β to stop at each time-step, agents cannot exchange when it stops and they start with their production good again when an agent A meets another agent (B) – if B proposes the good A owns: no exchange – B has good i: A proposes the exchange – otherwise depends on memory ν i+1 = Σ (I i+1 ) * γ i +1 - Σ (I i+2 ) * γ i +2 ν i+2 = Σ (I i+2 ) * γ i +2 - Σ (I i+1 ) * γ i +1 Where “I i+1 = 1 for a time-step where i succeeded in getting i +1 with i at start and I i+1 = –1 in the opposite case” x = ν i+1 - ν i+2 And probability to refuse: exp x / (1 + exp x)

Reproducing the learning algorithm in simulations Homogeneous Simulations Ambiguity to interpret the algorithm: “I i+1 = 1 for a time-step where i succeeded in getting i with i+1 at start and I i+1 = 0 in the opposite case” Algo1: any time the agents has possessed the good Algo2: any time he could have exchanged and it was refused (=if it had had the other good, the exchange would have been accepted) Algo3: Algo1 but doesn’t’ exchange back to get its production good Constrained simulations Only agents of type 1 have to learn and the others are automated

Experimental data (8-8-8) Agents type 1 offers 2 for 3 Agents type 2 offers 3 for 1 Agents type 3 offers 1 for 2 first half of the experiment second half of the experiment first half of the experiment second half of the experiment first half of the experiment second half of the experiment R R R R R Average on R1- R

Agents type 1Agents type 2Agents type 3 Time-step for the first half Time-step for the second half Time-step for the first half Time-step for the second half Time-step for the first half Time-step for the second half Average on A1-A50,190,320,770,990,220,04 SIM 1 Rational agents Average speculation rate MSD SIM 2 var- rational agents Average speculation rate MSD SIM 3 Stable agents Average speculation rate MSD

Agents type 1Agents type 2Agents type 3 Time-step for the first half Time-step for the second half Time-step for the first half Time-step for the second half Time-step for the first half Time-step for the second half Duffy: Average on 5 sessions Average speculation rate SIM 1’ Rational agents Average speculation rate MSD SIM 2 ‘ var- rational agents Average speculation rate MSD SIM 3 ‘ Stable agents Average speculation rate MSD

Agents of type 1 – algo1

Agents of type 1 – algo2

Agents of type 1 – algo3

Reasons why comparison hasn’t work (but will) " My mistake in reproducing the setting " Dependence to random generator " Not enough meetings or agents to establish comparison with experiments " My simulations: same results " Not enough meetings, possibility to exchange with such a simple algorithm " Comparison at the macro level is not enough > use the actions one-by-one (need of the whole set of experimental data).