mlsanityData to 7 Oct 2026

Differentiable Agent-Based Simulation for Gradient-Guided Simulation-Based Optimization

arXiv 2103.12476 ↗First posted 23 Mar 2021cs.LG cs.MA cs.NEcited by 8

Not on the map. Why?

Abstract (arXiv)

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 example of microscopic traffic models and an epidemics model, we study the fidelity and overhead of the differentiable models, as well as the convergence speed and solution quality achieved by gradient-based optimization compared to gradient-free methods. In traffic signal timing optimization problems with high input dimension, the gradient-based methods exhibit substantially superior performance. Finally, we demonstrate that the approach enables gradient-based training of neural network-controlled simulation entities embedded in the model logic.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 14 of its 71 references that are in the map. First posted on arXiv 23 Mar 2021.

Builds on

14 of 71 references.

References · 14

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2016An overview of gradient descent optimization algorithmscited by 1,021
  3. 2015Automatic differentiation in machine learning: a surveycited by 846
  4. 2019DiffTaichi: Differentiable Programming for Physical Simulationcited by 248
  5. 2020Fast Differentiable Sorting and Rankingcited by 196
  6. 2016Value Iteration Networkscited by 158
  7. 2019Differentiable Ranks and Sorting using Optimal Transportcited by 113
  8. 2019Stochastic Optimization of Sorting Networks via Continuous Relaxationscited by 111
  9. 2016A Differentiable Physics Engine for Deep Learning in Roboticscited by 107
  10. 2020Accurate Calibration of Agent-based Epidemiological Models with Neural Network Surrogatescited by 9
  11. 2018Efficient Differentiable Programming in a Functional Array-Processing Languagecited by 8
  12. 2019Differentiable programming and its applications to dynamical systemscited by 3
2 more
  1. 2018A Survey on Agent-based Simulation using Hardware Acceleratorscited by 2
  2. 2018ensmallen: a flexible C++ library for efficient function optimizationcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 3; 2023: 1; 2024: 2; 2025: 0; 2026: 2.

8 papers.