IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2205.05052.html
   My bibliography  Save this paper

On learning agent-based models from data

Author

Listed:
  • Corrado Monti
  • Marco Pangallo
  • Gianmarco De Francisci Morales
  • Francesco Bonchi

Abstract

Agent-Based Models (ABMs) are used in several fields to study the evolution of complex systems from micro-level assumptions. However, ABMs typically can not estimate agent-specific (or "micro") variables: this is a major limitation which prevents ABMs from harnessing micro-level data availability and which greatly limits their predictive power. In this paper, we propose a protocol to learn the latent micro-variables of an ABM from data. The first step of our protocol is to reduce an ABM to a probabilistic model, characterized by a computationally tractable likelihood. This reduction follows two general design principles: balance of stochasticity and data availability, and replacement of unobservable discrete choices with differentiable approximations. Then, our protocol proceeds by maximizing the likelihood of the latent variables via a gradient-based expectation maximization algorithm. We demonstrate our protocol by applying it to an ABM of the housing market, in which agents with different incomes bid higher prices to live in high-income neighborhoods. We demonstrate that the obtained model allows accurate estimates of the latent variables, while preserving the general behavior of the ABM. We also show that our estimates can be used for out-of-sample forecasting. Our protocol can be seen as an alternative to black-box data assimilation methods, that forces the modeler to lay bare the assumptions of the model, to think about the inferential process, and to spot potential identification problems.

Suggested Citation

  • Corrado Monti & Marco Pangallo & Gianmarco De Francisci Morales & Francesco Bonchi, 2022. "On learning agent-based models from data," Papers 2205.05052, arXiv.org, revised Nov 2022.
  • Handle: RePEc:arx:papers:2205.05052
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2205.05052
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Pangallo, Marco & Nadal, Jean-Pierre & Vignes, Annick, 2019. "Residential income segregation: A behavioral model of the housing market," Journal of Economic Behavior & Organization, Elsevier, vol. 159(C), pages 15-35.
    2. Paul Windrum & Giorgio Fagiolo & Alessio Moneta, 2007. "Empirical Validation of Agent-Based Models: Alternatives and Prospects," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 10(2), pages 1-8.
    3. John Geanakoplos & Robert Axtell & J. Doyne Farmer & Peter Howitt & Benjamin Conlee & Jonathan Goldstein & Matthew Hendrey & Nathan M. Palmer & Chun-Yi Yang, 2012. "Getting at Systemic Risk via an Agent-Based Model of the Housing Market," American Economic Review, American Economic Association, vol. 102(3), pages 53-58, May.
    4. Ju-Sung Lee & Tatiana Filatova & Arika Ligmann-Zielinska & Behrooz Hassani-Mahmooei & Forrest Stonedahl & Iris Lorscheid & Alexey Voinov & J. Gareth Polhill & Zhanli Sun & Dawn C. Parker, 2015. "The Complexities of Agent-Based Modeling Output Analysis," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 18(4), pages 1-4.
    5. Ernesto Carrella, 2021. "No Free Lunch when Estimating Simulation Parameters," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 24(2), pages 1-7.
    6. Lux, Thomas, 2018. "Estimation of agent-based models using sequential Monte Carlo methods," Journal of Economic Dynamics and Control, Elsevier, vol. 91(C), pages 391-408.
    7. Delli Gatti, Domenico & Grazzini, Jakob, 2020. "Rising to the challenge: Bayesian estimation and forecasting techniques for macroeconomic Agent Based Models," Journal of Economic Behavior & Organization, Elsevier, vol. 178(C), pages 875-902.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Vandin, Andrea & Giachini, Daniele & Lamperti, Francesco & Chiaromonte, Francesca, 2022. "Automated and distributed statistical analysis of economic agent-based models," Journal of Economic Dynamics and Control, Elsevier, vol. 143(C).
    2. Zila, Eric & Kukacka, Jiri, 2023. "Moment set selection for the SMM using simple machine learning," Journal of Economic Behavior & Organization, Elsevier, vol. 212(C), pages 366-391.
    3. Kukacka, Jiri & Kristoufek, Ladislav, 2021. "Does parameterization affect the complexity of agent-based models?," Journal of Economic Behavior & Organization, Elsevier, vol. 192(C), pages 324-356.
    4. Mario Martinoli & Alessio Moneta & Gianluca Pallante, 2022. "Calibration and Validation of Macroeconomic Simulation Models by Statistical Causal Search," LEM Papers Series 2022/33, Laboratory of Economics and Management (LEM), Sant'Anna School of Advanced Studies, Pisa, Italy.
    5. Kukacka, Jiri & Jang, Tae-Seok & Sacht, Stephen, 2018. "On the estimation of behavioral macroeconomic models via simulated maximum likelihood," Economics Working Papers 2018-11, Christian-Albrechts-University of Kiel, Department of Economics.
    6. Lamperti, Francesco & Roventini, Andrea & Sani, Amir, 2018. "Agent-based model calibration using machine learning surrogates," Journal of Economic Dynamics and Control, Elsevier, vol. 90(C), pages 366-389.
    7. Giorgio Fagiolo & Mattia Guerini & Francesco Lamperti & Alessio Moneta & Andrea Roventini, 2017. "Validation of Agent-Based Models in Economics and Finance," LEM Papers Series 2017/23, Laboratory of Economics and Management (LEM), Sant'Anna School of Advanced Studies, Pisa, Italy.
    8. Denis Koshelev & Alexey Ponomarenko & Sergei Seleznev, 2023. "Amortized neural networks for agent-based model forecasting," Papers 2308.05753, arXiv.org.
    9. Donovan Platt, 2022. "Bayesian Estimation of Economic Simulation Models Using Neural Networks," Computational Economics, Springer;Society for Computational Economics, vol. 59(2), pages 599-650, February.
    10. Hossein Sabzian & Mohammad Ali Shafia & Ali Maleki & Seyeed Mostapha Seyeed Hashemi & Ali Baghaei & Hossein Gharib, 2019. "Theories and Practice of Agent based Modeling: Some practical Implications for Economic Planners," Papers 1901.08932, arXiv.org.
    11. Niamir, Leila & Filatova, Tatiana & Voinov, Alexey & Bressers, Hans, 2018. "Transition to low-carbon economy: Assessing cumulative impacts of individual behavioral changes," Energy Policy, Elsevier, vol. 118(C), pages 325-345.
    12. Adrian Carro & Marc Hinterschweiger & Arzu Uluc & J Doyne Farmer, 2023. "Heterogeneous effects and spillovers of macroprudential policy in an agent-based model of the UK housing market," Industrial and Corporate Change, Oxford University Press and the Associazione ICC, vol. 32(2), pages 386-432.
    13. Ramis Khabibullin & Sergei Seleznev, 2022. "Fast Estimation of Bayesian State Space Models Using Amortized Simulation-Based Inference," Papers 2210.07154, arXiv.org.
    14. Ngo-Hoang, Dai-Long, 2019. "A research paper of Hossein Sabzian (2019), Theories and Practice of Agent based Modeling: Some practical Implications for Economic Planners, ArXiv, 54p," AgriXiv xutyz, Center for Open Science.
    15. repec:hal:spmain:info:hdl:2441/20hflp7eqn97boh50no50tv67n is not listed on IDEAS
    16. Didier SORNETTE, 2014. "Physics and Financial Economics (1776-2014): Puzzles, Ising and Agent-Based Models," Swiss Finance Institute Research Paper Series 14-25, Swiss Finance Institute.
    17. Vipin P. Veetil & Lawrence H. White, 2017. "Towards a New Austrian Macroeconomics," The Review of Austrian Economics, Springer;Society for the Development of Austrian Economics, vol. 30(1), pages 19-38, March.
    18. Platt, Donovan, 2020. "A comparison of economic agent-based model calibration methods," Journal of Economic Dynamics and Control, Elsevier, vol. 113(C).
    19. Zhang, Jinyu & Zhang, Qiaosen & Li, Yong & Wang, Qianchao, 2023. "Sequential Bayesian inference for agent-based models with application to the Chinese business cycle," Economic Modelling, Elsevier, vol. 126(C).
    20. Priscilla Avegliano & Jaime Simão Sichman, 2023. "Equation-Based Versus Agent-Based Models: Why Not Embrace Both for an Efficient Parameter Calibration?," Journal of Artificial Societies and Social Simulation, Journal of Artificial Societies and Social Simulation, vol. 26(4), pages 1-3.
    21. D. Sornette, 2014. "Physics and Financial Economics (1776-2014): Puzzles, Ising and Agent-Based models," Papers 1404.0243, arXiv.org.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2205.05052. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.