Differentiable Agent-Based Simulation for Gradient-Guided Simulation-Based Optimization
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
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2016An overview of gradient descent optimization algorithmscited by 1,021
- 2015Automatic differentiation in machine learning: a surveycited by 846
- 2019DiffTaichi: Differentiable Programming for Physical Simulationcited by 248
- 2020Fast Differentiable Sorting and Rankingcited by 196
- 2016Value Iteration Networkscited by 158
- 2019Differentiable Ranks and Sorting using Optimal Transportcited by 113
- 2019Stochastic Optimization of Sorting Networks via Continuous Relaxationscited by 111
- 2016A Differentiable Physics Engine for Deep Learning in Roboticscited by 107
- 2020Accurate Calibration of Agent-based Epidemiological Models with Neural Network Surrogatescited by 9
- 2018Efficient Differentiable Programming in a Functional Array-Processing Languagecited by 8
- 2019Differentiable programming and its applications to dynamical systemscited by 3
2 more
Built on by
Citing papers per year: 2022: 3; 2023: 1; 2024: 2; 2025: 0; 2026: 2.
8 papers.
- 2022Differentiable Agent-based Epidemiologycited by 21
- 2022Differentiable Hybrid Traffic Simulationcited by 8
- 2022Traffic-Aware Autonomous Driving with Differentiable Traffic Simulationcited by 4
- 2024Variational Inference of Parameters in Opinion Dynamics Modelscited by 3
- 2023Some challenges of calibrating differentiable agent-based modelscited by 2
- 2024Gradient-based Trajectory Optimization with Parallelized Differentiable Traffic Simulationcited by 2
- 2026Ultra-fast Traffic Nowcasting and Control via Differentiable Agent-based Simulationcited by 0
- 2026Learning Collective Dynamics with Differentiable Gaussian Representationscited by 0
- 2026Learning Collective Dynamics with Differentiable Gaussian Representations23 Sep 2026
- 2026Ultra-fast Traffic Nowcasting and Control via Differentiable Agent-based Simulation26 Mar 2026
- 2024Gradient-based Trajectory Optimization with Parallelized Differentiable Traffic Simulation21 Dec 2024
- 2024Variational Inference of Parameters in Opinion Dynamics Models8 Mar 2024
- 2023Some challenges of calibrating differentiable agent-based models3 Jul 2023
- 2022Differentiable Hybrid Traffic Simulation14 Oct 2022
- 2022Traffic-Aware Autonomous Driving with Differentiable Traffic Simulation7 Oct 2022
- 2022Differentiable Agent-based Epidemiology20 Jul 2022