SlideShare une entreprise Scribd logo
1  sur  21
Richárd O. Legéndi, László Gulyás
                             Eötvös Loránd University, AITIA International, Inc
                                          legendi@inf.elte.hu, lgulyas@aitia.ai


Supported by the Hungarian Government (KMOP-1.1.2-08/1-2008-0002), the European Union Seventh
Framework Programme FP7/2007-2013 under grant agreement CRISIS-ICT-2011-288501 (CRISIS –
Complexity Research Initiative for Systemic InstabilitieS) and mOSAIC 2011-256910 (Open-Source API
and Platform for Multiple Clouds). These supports are gratefully acknowledged.


           17th Annual Workshop on Economic Heterogeneous Interacting Agents
                           WEHIA 2012, Paris, June 21-23, 2012
Layout
  Motivation and Background
  The original Model
  Results




2012.06.22.    WEHIA 2012 - Replication of MacroABM   2
2012.06.22.   WEHIA 2012 - Replication of MacroABM   3
Replication? Why care?
  Replication of experiments, validation of results are
   essential
  „Simulations as experiments”
        If cannot be reproduced, its scientific value is in
              question
  Models never replicated - except a few classical ones
  Helps us get a deeper understanding
    Of relevant properties, key issues
    Deploy simulation as a research tool


2012.06.22.              WEHIA 2012 - Replication of MacroABM   4
Validation?
  Docking – alingment of different models
     Different computational models for the same
      phenomenon
  Replication
     W/o being able to replicate results of an artificial
      model, how to target real-world systems?
     Several problems, e.g. ambiguity
                 Different approaches exist (AgentUML, ODD, etc.)
                 But there’s no consensus on using them...



2012.06.22.                 WEHIA 2012 - Replication of MacroABM     5
Why to replicate? Parameter sweeps
 „[...] suppose that in a model there are just 10 relevant
 parameters, and that each parameter can assume 10
 different values (a rather simplifying assumption). As a
 result, one obtains that the constellation of the
 parameter space is given by 10^10 vectors. If we perform
 20 different runs for each one of them to take into
 account the possible effects of changing the random
 seeds, the total number of simulations would amount to
 2*10^11!”
              Gatti, Domenico Delli, Saul Desiderio, Edoardo Gaffeo, Pasquale Cirillo, and Mauro Gallegati:
              Macroeconomics from the Bottom-up. 1st ed. Springer, 2011 (p. 76., section 3.10.1)

2012.06.22.                      WEHIA 2012 - Replication of MacroABM                                         6
Why to replicate?
  In a different environment?
     Matlab  Java/Mason


  Efficiency
     Reduce required time for a single simulation run
  Tool support: MEME
     Parameter sweep exploration
     Being Strong
                 Exploiting Grid/Cloud systems
        Being Smart
          Design of Experiments



2012.06.22.                 WEHIA 2012 - Replication of MacroABM   7
Background
 “The CRISIS project addresses building a next generation
 macroeconomic and financial system policymaking model: a
 bottom-up agent-based simulation that fully accounts for the
 heterogeneity of households, firms, and government actors. The
 model will incorporate the latest evidence from behavioral
 economics in portraying agent behavior, and the CRISIS team will
 also collect new data on agent decision making using
 experimental economics techniques. While any model must
 make simplifying assumptions about human behavior, the CRISIS
 model will be significantly more realistic in its portrayal of relevant
 agent behavior than the current generation of policymaking
 models.”

 Crisis project description: https://www.crisis-economics.eu/


2012.06.22.         WEHIA 2012 - Replication of MacroABM                   8
Replicated
            Model
                  Modelling                                   Economic Simulator
                  Framework                                      (Cloud-Based
                                                               Parameter Sweep
                                                                  Execution)




                            Models                              Web-based Game
                                                                 (Participatory
                                                                 Experiments)




2012.06.22.            WEHIA 2012 - Replication of MacroABM                        9
2012.06.22.   WEHIA 2012 - Replication of MacroABM   10
The Original Model




   Source: Domenico Delli Gatti, personal communications

2012.06.22.             WEHIA 2012 - Replication of MacroABM   11
Agents
  Households
     supply labor
     buy consumption goods
     hold deposits
  Firms
     demand labor
     produce and sell consumption goods
  Bank
     receive deposits from households
     extend loans to firms

2012.06.22.     WEHIA 2012 - Replication of MacroABM   12
Market Processes I
 1. Fims compute net worth, production/price and
    labour demand
 2. Credit market:
       1.          Bank decides credit conditions
       2.          Firms decide to whether take loan or not
 3. Job market:
   1. Firms redefine labour demand, publish vacancies:
              1.     Excess workforce: fire workers
              2.     Insufficient workforce: hire if possible


2012.06.22.                  WEHIA 2012 - Replication of MacroABM   13
Market Processes II
 4. Consumption goods market:
   1. Workers get wages and compute consumption budget
   2. Firms post their price
   3. Consumers contact z firms randomly
                   Ordered by price
       4.         Unspent money  Involuntary savings
       5.         Unsold goods  Sold at zero cost (non-durable)
 5.         Accounting
       1.         Firms calculate profits
       2.         Earnings are retained profits
                   Used to update net worth.


2012.06.22.                 WEHIA 2012 - Replication of MacroABM   14
2012.06.22.   WEHIA 2012 - Replication of MacroABM   15
Results I - Benchmarking




2012.06.22.   WEHIA 2012 - Replication of MacroABM   16
Result II – Verification
  Scaled agents (w/o changing overall ratio)
     Up to 7500 agents
  Avg’d 40 runs
  T = 1000 time steps
  Included initial state
     High oscillations
     Until spontaneous
      order emerges
      („equilibrium”)

2012.06.22.     WEHIA 2012 - Replication of MacroABM   17
2012.06.22.   WEHIA 2012 - Replication of MacroABM   18
Summary
  We created a replication the MacroABM model in a
     different environment
        Identic output
        Results are platform, environment-independent
        Opens up the window of standardized simulation tools
          Extensive parameter space explorations

  Performance speedup
     By the factor 5x-10x
     On the other hand, code length is increased similarly:
                 Matlab: ~300 LoC
                 Java: 1500 + 1000 LoC

2012.06.22.                 WEHIA 2012 - Replication of MacroABM   19
Download!
              http://www.crisis-economics.eu/jmark-i-build-report




2012.06.22.       WEHIA 2012 - Replication of MacroABM              20
Richard O. Legendi
                             legendi@inf.elte.hu
               http://people.inf.elte.hu/legendi/

                                   June 22., 2012.

Crsisis Website: http://www.crisis-economics.eu/

Contenu connexe

Similaire à Replicating a Macroeconomic Agent-Based Model

Smart simulation - Corporate presentation
Smart simulation  - Corporate presentationSmart simulation  - Corporate presentation
Smart simulation - Corporate presentationRene Alvarez
 
Model driven engineering for big data management systems
Model driven engineering for big data management systemsModel driven engineering for big data management systems
Model driven engineering for big data management systemsMarcos Almeida
 
2011 Eclipse DemoCamp Budapest, Indigo Release
2011 Eclipse DemoCamp Budapest, Indigo Release2011 Eclipse DemoCamp Budapest, Indigo Release
2011 Eclipse DemoCamp Budapest, Indigo ReleaseRichard Oliver Legendi
 
JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...
JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...
JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...Andrey Sadovykh
 
Scalable Model Views over Heterogeneous Modeling Technologies and Resources -...
Scalable Model Views over Heterogeneous Modeling Technologies and Resources -...Scalable Model Views over Heterogeneous Modeling Technologies and Resources -...
Scalable Model Views over Heterogeneous Modeling Technologies and Resources -...Hugo Bruneliere
 
Production machine learning: Managing models, workflows and risk at scale
Production machine learning: Managing models, workflows and risk at scaleProduction machine learning: Managing models, workflows and risk at scale
Production machine learning: Managing models, workflows and risk at scaleAlex Housley
 
Gluecon miller horizon
Gluecon miller horizonGluecon miller horizon
Gluecon miller horizonMike Miller
 
Building Enterprise Mashups - Web 2.0 conference
Building Enterprise Mashups - Web 2.0 conferenceBuilding Enterprise Mashups - Web 2.0 conference
Building Enterprise Mashups - Web 2.0 conferencemogrinz
 
Big Data is changing abruptly, and where it is likely heading
Big Data is changing abruptly, and where it is likely headingBig Data is changing abruptly, and where it is likely heading
Big Data is changing abruptly, and where it is likely headingPaco Nathan
 
MONDO Project, a scalable modeling and model management on the Cloud - Paris...
MONDO Project, a scalable modeling and model management on the Cloud  - Paris...MONDO Project, a scalable modeling and model management on the Cloud  - Paris...
MONDO Project, a scalable modeling and model management on the Cloud - Paris...Alessandra Bagnato
 
Brainomics - CrEDIBLE 2013
Brainomics - CrEDIBLE 2013Brainomics - CrEDIBLE 2013
Brainomics - CrEDIBLE 2013Vincent Michel
 
BRAINOMICS A management system for exploring and merging heterogeneous brain ...
BRAINOMICS A management system for exploring and merging heterogeneous brain ...BRAINOMICS A management system for exploring and merging heterogeneous brain ...
BRAINOMICS A management system for exploring and merging heterogeneous brain ...Logilab
 
DCAF 2023 1 and 2.pdf
DCAF 2023 1 and 2.pdfDCAF 2023 1 and 2.pdf
DCAF 2023 1 and 2.pdfAlan Morrison
 
Using Model-Driven Engineering for Decision Support Systems Modelling, Implem...
Using Model-Driven Engineering for Decision Support Systems Modelling, Implem...Using Model-Driven Engineering for Decision Support Systems Modelling, Implem...
Using Model-Driven Engineering for Decision Support Systems Modelling, Implem...CSCJournals
 
Innovation in model driven software
Innovation in model driven softwareInnovation in model driven software
Innovation in model driven softwareSagi Schliesser
 
NRB MAINFRAME DAY 04 - Yann Kindelberger - New generation of application arch...
NRB MAINFRAME DAY 04 - Yann Kindelberger - New generation of application arch...NRB MAINFRAME DAY 04 - Yann Kindelberger - New generation of application arch...
NRB MAINFRAME DAY 04 - Yann Kindelberger - New generation of application arch...NRB
 
Dom introduction-website-v1.0
Dom introduction-website-v1.0Dom introduction-website-v1.0
Dom introduction-website-v1.0Cogility
 
Why Smart Meters Need Informix TimeSeries
Why Smart Meters Need Informix TimeSeriesWhy Smart Meters Need Informix TimeSeries
Why Smart Meters Need Informix TimeSeriesIBM Sverige
 

Similaire à Replicating a Macroeconomic Agent-Based Model (20)

Smart simulation - Corporate presentation
Smart simulation  - Corporate presentationSmart simulation  - Corporate presentation
Smart simulation - Corporate presentation
 
Model driven engineering for big data management systems
Model driven engineering for big data management systemsModel driven engineering for big data management systems
Model driven engineering for big data management systems
 
2011 Eclipse DemoCamp Budapest, Indigo Release
2011 Eclipse DemoCamp Budapest, Indigo Release2011 Eclipse DemoCamp Budapest, Indigo Release
2011 Eclipse DemoCamp Budapest, Indigo Release
 
Ontology Vs Methodology
Ontology Vs MethodologyOntology Vs Methodology
Ontology Vs Methodology
 
JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...
JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...
JUNIPER: Towards Modeling Approach Enabling Efficient Platform for Heterogene...
 
Scalable Model Views over Heterogeneous Modeling Technologies and Resources -...
Scalable Model Views over Heterogeneous Modeling Technologies and Resources -...Scalable Model Views over Heterogeneous Modeling Technologies and Resources -...
Scalable Model Views over Heterogeneous Modeling Technologies and Resources -...
 
Production machine learning: Managing models, workflows and risk at scale
Production machine learning: Managing models, workflows and risk at scaleProduction machine learning: Managing models, workflows and risk at scale
Production machine learning: Managing models, workflows and risk at scale
 
Gluecon miller horizon
Gluecon miller horizonGluecon miller horizon
Gluecon miller horizon
 
Building Enterprise Mashups - Web 2.0 conference
Building Enterprise Mashups - Web 2.0 conferenceBuilding Enterprise Mashups - Web 2.0 conference
Building Enterprise Mashups - Web 2.0 conference
 
Big Data is changing abruptly, and where it is likely heading
Big Data is changing abruptly, and where it is likely headingBig Data is changing abruptly, and where it is likely heading
Big Data is changing abruptly, and where it is likely heading
 
MONDO Project, a scalable modeling and model management on the Cloud - Paris...
MONDO Project, a scalable modeling and model management on the Cloud  - Paris...MONDO Project, a scalable modeling and model management on the Cloud  - Paris...
MONDO Project, a scalable modeling and model management on the Cloud - Paris...
 
Brainomics - CrEDIBLE 2013
Brainomics - CrEDIBLE 2013Brainomics - CrEDIBLE 2013
Brainomics - CrEDIBLE 2013
 
BRAINOMICS A management system for exploring and merging heterogeneous brain ...
BRAINOMICS A management system for exploring and merging heterogeneous brain ...BRAINOMICS A management system for exploring and merging heterogeneous brain ...
BRAINOMICS A management system for exploring and merging heterogeneous brain ...
 
DCAF 2023 1 and 2.pdf
DCAF 2023 1 and 2.pdfDCAF 2023 1 and 2.pdf
DCAF 2023 1 and 2.pdf
 
Using Model-Driven Engineering for Decision Support Systems Modelling, Implem...
Using Model-Driven Engineering for Decision Support Systems Modelling, Implem...Using Model-Driven Engineering for Decision Support Systems Modelling, Implem...
Using Model-Driven Engineering for Decision Support Systems Modelling, Implem...
 
Innovation in model driven software
Innovation in model driven softwareInnovation in model driven software
Innovation in model driven software
 
2008.11560v2.pdf
2008.11560v2.pdf2008.11560v2.pdf
2008.11560v2.pdf
 
NRB MAINFRAME DAY 04 - Yann Kindelberger - New generation of application arch...
NRB MAINFRAME DAY 04 - Yann Kindelberger - New generation of application arch...NRB MAINFRAME DAY 04 - Yann Kindelberger - New generation of application arch...
NRB MAINFRAME DAY 04 - Yann Kindelberger - New generation of application arch...
 
Dom introduction-website-v1.0
Dom introduction-website-v1.0Dom introduction-website-v1.0
Dom introduction-website-v1.0
 
Why Smart Meters Need Informix TimeSeries
Why Smart Meters Need Informix TimeSeriesWhy Smart Meters Need Informix TimeSeries
Why Smart Meters Need Informix TimeSeries
 

Plus de Richard Oliver Legendi

When Experimental and Computational Research Meet: The Participatory Extensio...
When Experimental and Computational Research Meet: The Participatory Extensio...When Experimental and Computational Research Meet: The Participatory Extensio...
When Experimental and Computational Research Meet: The Participatory Extensio...Richard Oliver Legendi
 
Comparison of Elementary Dynamic Network Models Using Empirical Data
Comparison of Elementary Dynamic Network Models Using Empirical DataComparison of Elementary Dynamic Network Models Using Empirical Data
Comparison of Elementary Dynamic Network Models Using Empirical DataRichard Oliver Legendi
 
Szoftver tesztelés - Gyakorlati jó-ha-tudod
Szoftver tesztelés - Gyakorlati jó-ha-tudodSzoftver tesztelés - Gyakorlati jó-ha-tudod
Szoftver tesztelés - Gyakorlati jó-ha-tudodRichard Oliver Legendi
 
ELTE VI. féléves doktori beszámoló
ELTE VI. féléves doktori beszámolóELTE VI. féléves doktori beszámoló
ELTE VI. féléves doktori beszámolóRichard Oliver Legendi
 
Fables - Funkcionális programozási nyelv ágens-alapú szimulációkhoz
Fables - Funkcionális programozási nyelv ágens-alapú szimulációkhozFables - Funkcionális programozási nyelv ágens-alapú szimulációkhoz
Fables - Funkcionális programozási nyelv ágens-alapú szimulációkhozRichard Oliver Legendi
 
FABLES IME - Agent-Based Modeling environment
FABLES IME - Agent-Based Modeling environmentFABLES IME - Agent-Based Modeling environment
FABLES IME - Agent-Based Modeling environmentRichard Oliver Legendi
 
2010/04/28 IK Szakest, Ágens-alapú szimulációk
2010/04/28 IK Szakest, Ágens-alapú szimulációk2010/04/28 IK Szakest, Ágens-alapú szimulációk
2010/04/28 IK Szakest, Ágens-alapú szimulációkRichard Oliver Legendi
 

Plus de Richard Oliver Legendi (7)

When Experimental and Computational Research Meet: The Participatory Extensio...
When Experimental and Computational Research Meet: The Participatory Extensio...When Experimental and Computational Research Meet: The Participatory Extensio...
When Experimental and Computational Research Meet: The Participatory Extensio...
 
Comparison of Elementary Dynamic Network Models Using Empirical Data
Comparison of Elementary Dynamic Network Models Using Empirical DataComparison of Elementary Dynamic Network Models Using Empirical Data
Comparison of Elementary Dynamic Network Models Using Empirical Data
 
Szoftver tesztelés - Gyakorlati jó-ha-tudod
Szoftver tesztelés - Gyakorlati jó-ha-tudodSzoftver tesztelés - Gyakorlati jó-ha-tudod
Szoftver tesztelés - Gyakorlati jó-ha-tudod
 
ELTE VI. féléves doktori beszámoló
ELTE VI. féléves doktori beszámolóELTE VI. féléves doktori beszámoló
ELTE VI. féléves doktori beszámoló
 
Fables - Funkcionális programozási nyelv ágens-alapú szimulációkhoz
Fables - Funkcionális programozási nyelv ágens-alapú szimulációkhozFables - Funkcionális programozási nyelv ágens-alapú szimulációkhoz
Fables - Funkcionális programozási nyelv ágens-alapú szimulációkhoz
 
FABLES IME - Agent-Based Modeling environment
FABLES IME - Agent-Based Modeling environmentFABLES IME - Agent-Based Modeling environment
FABLES IME - Agent-Based Modeling environment
 
2010/04/28 IK Szakest, Ágens-alapú szimulációk
2010/04/28 IK Szakest, Ágens-alapú szimulációk2010/04/28 IK Szakest, Ágens-alapú szimulációk
2010/04/28 IK Szakest, Ágens-alapú szimulációk
 

Dernier

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Dernier (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Replicating a Macroeconomic Agent-Based Model

  • 1. Richárd O. Legéndi, László Gulyás Eötvös Loránd University, AITIA International, Inc legendi@inf.elte.hu, lgulyas@aitia.ai Supported by the Hungarian Government (KMOP-1.1.2-08/1-2008-0002), the European Union Seventh Framework Programme FP7/2007-2013 under grant agreement CRISIS-ICT-2011-288501 (CRISIS – Complexity Research Initiative for Systemic InstabilitieS) and mOSAIC 2011-256910 (Open-Source API and Platform for Multiple Clouds). These supports are gratefully acknowledged. 17th Annual Workshop on Economic Heterogeneous Interacting Agents WEHIA 2012, Paris, June 21-23, 2012
  • 2. Layout  Motivation and Background  The original Model  Results 2012.06.22. WEHIA 2012 - Replication of MacroABM 2
  • 3. 2012.06.22. WEHIA 2012 - Replication of MacroABM 3
  • 4. Replication? Why care?  Replication of experiments, validation of results are essential  „Simulations as experiments”  If cannot be reproduced, its scientific value is in question  Models never replicated - except a few classical ones  Helps us get a deeper understanding  Of relevant properties, key issues  Deploy simulation as a research tool 2012.06.22. WEHIA 2012 - Replication of MacroABM 4
  • 5. Validation?  Docking – alingment of different models  Different computational models for the same phenomenon  Replication  W/o being able to replicate results of an artificial model, how to target real-world systems?  Several problems, e.g. ambiguity  Different approaches exist (AgentUML, ODD, etc.)  But there’s no consensus on using them... 2012.06.22. WEHIA 2012 - Replication of MacroABM 5
  • 6. Why to replicate? Parameter sweeps „[...] suppose that in a model there are just 10 relevant parameters, and that each parameter can assume 10 different values (a rather simplifying assumption). As a result, one obtains that the constellation of the parameter space is given by 10^10 vectors. If we perform 20 different runs for each one of them to take into account the possible effects of changing the random seeds, the total number of simulations would amount to 2*10^11!” Gatti, Domenico Delli, Saul Desiderio, Edoardo Gaffeo, Pasquale Cirillo, and Mauro Gallegati: Macroeconomics from the Bottom-up. 1st ed. Springer, 2011 (p. 76., section 3.10.1) 2012.06.22. WEHIA 2012 - Replication of MacroABM 6
  • 7. Why to replicate?  In a different environment?  Matlab  Java/Mason  Efficiency  Reduce required time for a single simulation run  Tool support: MEME  Parameter sweep exploration  Being Strong  Exploiting Grid/Cloud systems  Being Smart  Design of Experiments 2012.06.22. WEHIA 2012 - Replication of MacroABM 7
  • 8. Background “The CRISIS project addresses building a next generation macroeconomic and financial system policymaking model: a bottom-up agent-based simulation that fully accounts for the heterogeneity of households, firms, and government actors. The model will incorporate the latest evidence from behavioral economics in portraying agent behavior, and the CRISIS team will also collect new data on agent decision making using experimental economics techniques. While any model must make simplifying assumptions about human behavior, the CRISIS model will be significantly more realistic in its portrayal of relevant agent behavior than the current generation of policymaking models.” Crisis project description: https://www.crisis-economics.eu/ 2012.06.22. WEHIA 2012 - Replication of MacroABM 8
  • 9. Replicated Model Modelling Economic Simulator Framework (Cloud-Based Parameter Sweep Execution) Models Web-based Game (Participatory Experiments) 2012.06.22. WEHIA 2012 - Replication of MacroABM 9
  • 10. 2012.06.22. WEHIA 2012 - Replication of MacroABM 10
  • 11. The Original Model Source: Domenico Delli Gatti, personal communications 2012.06.22. WEHIA 2012 - Replication of MacroABM 11
  • 12. Agents  Households  supply labor  buy consumption goods  hold deposits  Firms  demand labor  produce and sell consumption goods  Bank  receive deposits from households  extend loans to firms 2012.06.22. WEHIA 2012 - Replication of MacroABM 12
  • 13. Market Processes I 1. Fims compute net worth, production/price and labour demand 2. Credit market: 1. Bank decides credit conditions 2. Firms decide to whether take loan or not 3. Job market: 1. Firms redefine labour demand, publish vacancies: 1. Excess workforce: fire workers 2. Insufficient workforce: hire if possible 2012.06.22. WEHIA 2012 - Replication of MacroABM 13
  • 14. Market Processes II 4. Consumption goods market: 1. Workers get wages and compute consumption budget 2. Firms post their price 3. Consumers contact z firms randomly  Ordered by price 4. Unspent money  Involuntary savings 5. Unsold goods  Sold at zero cost (non-durable) 5. Accounting 1. Firms calculate profits 2. Earnings are retained profits  Used to update net worth. 2012.06.22. WEHIA 2012 - Replication of MacroABM 14
  • 15. 2012.06.22. WEHIA 2012 - Replication of MacroABM 15
  • 16. Results I - Benchmarking 2012.06.22. WEHIA 2012 - Replication of MacroABM 16
  • 17. Result II – Verification  Scaled agents (w/o changing overall ratio)  Up to 7500 agents  Avg’d 40 runs  T = 1000 time steps  Included initial state  High oscillations  Until spontaneous order emerges („equilibrium”) 2012.06.22. WEHIA 2012 - Replication of MacroABM 17
  • 18. 2012.06.22. WEHIA 2012 - Replication of MacroABM 18
  • 19. Summary  We created a replication the MacroABM model in a different environment  Identic output  Results are platform, environment-independent  Opens up the window of standardized simulation tools  Extensive parameter space explorations  Performance speedup  By the factor 5x-10x  On the other hand, code length is increased similarly:  Matlab: ~300 LoC  Java: 1500 + 1000 LoC 2012.06.22. WEHIA 2012 - Replication of MacroABM 19
  • 20. Download! http://www.crisis-economics.eu/jmark-i-build-report 2012.06.22. WEHIA 2012 - Replication of MacroABM 20
  • 21. Richard O. Legendi legendi@inf.elte.hu http://people.inf.elte.hu/legendi/ June 22., 2012. Crsisis Website: http://www.crisis-economics.eu/

Notes de l'éditeur

  1. Harmonized library, Game,policymaking model
  2. Earnings after interest payments and dividends
  3. The benefits we gained is on one hand, technical. Over 5 magnitudes (20 min. vs. 3 min.)
  4. Work in Progress