Towards Differentiable Agent-Based Simulation

被引:4
|
作者
Andelfinger, Philipp [1 ]
机构
[1] Univ Rostock, Inst Visual & Analyt Comp, D-18059 Rostock, Germany
关键词
Agent-based simulation; optimization; Backpropagation; SENSITIVITY-ANALYSIS; OPTIMIZATION; MODEL; UNCERTAINTY; ALGORITHMS; FRAMEWORK;
D O I
10.1145/3565810
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Simulation-based optimization using agent-based models is typically carried out under the assumption that the gradient describing the sensitivity of the simulation output to the input cannot be evaluated directly. To still apply gradient-based optimization methods, which efficiently steer the optimization towards a local optimum, gradient estimation methods can be employed. However, many simulation runs are needed to obtain accurate estimates if the input dimension is large. Automatic differentiation (AD) is a family of techniques to compute gradients of general programs directly. Here, we explore the use of AD in the context of time-driven agent-based simulations. By substituting common discrete model elements such as conditional branching with smooth approximations, we obtain gradient information across discontinuities in the model logic. On the examples of a synthetic grid-based model, an epidemics model, and a microscopic traffic model, we study the fidelity and overhead of the differentiable simulations as well as the convergence speed and solution quality achieved by gradient-based optimization compared with gradient-free methods. In traffic signal timing optimization problems with high input dimension, the gradient-based methods exhibit substantially superior performance. Afurther increase in optimization progress is achieved by combining gradient-free and gradient-based methods. We demonstrate that the approach enables gradient-based training of neural network-controlled simulation entities embedded in the model logic. Finally, we showthat the performance overhead of differentiable agent-based simulations can be reduced substantially by exploiting sparsity in the model logic.
引用
收藏
页数:26
相关论文
共 50 条
  • [21] Towards Pattern-Oriented Design of Agent-Based Simulation Models
    Klugl, Franziska
    Karlsson, Lars
    [J]. MULTI-AGENT SYSTEM TECHNOLOGIES, PROCEEDINGS, 2009, 5774 : 41 - 53
  • [22] Towards an emergence-driven software process for agent-based simulation
    David, N
    Sichman, JS
    Coelho, H
    [J]. MULTI-AGENT-BASED SIMULATION II, 2003, 2581 : 89 - 104
  • [23] Agent-based scientific simulation
    Huang, YP
    Xiang, XR
    Madey, G
    Cabaniss, SE
    [J]. COMPUTING IN SCIENCE & ENGINEERING, 2005, 7 (01) : 22 - 29
  • [24] Agent-Based Simulation of Blockchains
    Rosa, Edoardo
    D'Angelo, Gabriele
    Ferretti, Stefano
    [J]. METHODS AND APPLICATIONS FOR MODELING AND SIMULATION OF COMPLEX SYSTEMS, 2019, 1094 : 115 - 126
  • [25] AGENT-BASED MODELING AND SIMULATION
    Macal, Charles M.
    North, Michael J.
    [J]. PROCEEDINGS OF THE 2009 WINTER SIMULATION CONFERENCE (WSC 2009 ), VOL 1-4, 2009, : 86 - +
  • [26] Agent-based distributed simulation
    Wu, Jian
    Schulz, Noel N.
    Gao, Wenzhong
    [J]. 2006 POWER ENGINEERING SOCIETY GENERAL MEETING, VOLS 1-9, 2006, : 394 - +
  • [27] Simulation of an agent-based MarketPlace
    Viamonte, Maria Joao
    Praca, Isabel
    Ramos, Carlos
    Vale, Zita
    [J]. MODELLING AND SIMULATION 2006, 2006, : 285 - +
  • [28] Agent-based Simulation of Crime
    Octavio Gutierrez-Garcia, J.
    Orozco-Aguirre, Hector
    Landassuri-Moreno, Victor
    [J]. 2013 12TH MEXICAN INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE (MICAI 2013), 2013, : 24 - 29
  • [29] Agent-Based Modeling and Simulation
    Klugl, Franziska
    Bazzan, Ana L. C.
    [J]. AI MAGAZINE, 2012, 33 (03) : 29 - 40
  • [30] Cloning Agent-Based Simulation
    Li, Xiaosong
    Cai, Wentong
    Turner, Stephen J.
    [J]. ACM TRANSACTIONS ON MODELING AND COMPUTER SIMULATION, 2017, 27 (02):