Skip to main content

Gradient−assisted calibration for financial agent−based models

Joel Dyer‚ Arnau Quera−Bofarull‚ Ayush Chopra‚ J. Doyne Farmer‚ Anisoara Calinescu and Michael Wooldridge

Abstract

Agent-based modelling (ABMing) is a promising approach to modelling and reasoning about complex systems such as financial markets. However, the application of ABMs in practice is often impeded by the models’ complexity and the ensuing difficulty of performing parameter inference and optimisation tasks. This in turn has motivated efforts directed towards the construction of differentiable ABMs, enabled by recently developed effective auto-differentiation frameworks, as a strategy for addressing these challenges. In this paper, we discuss and present experiments that demonstrate how differentiable programming may be used to implement and calibrate heterogeneous ABMs in finance. We begin by considering in more detail the difficulties inherent in constructing gradients for discrete ABMs. Secondly, we illustrate solutions to these difficulties, by using a discrete agent-based market simulation model as a case study. Finally, we show through numerical experiments how our differentiable implementation of this discrete ABM enables the use of powerful tools from probabilistic machine learning and conditional generative modelling to perform robust parameter inferences and uncertainty quantification, in a simulation-efficient manner.

Journal
Proceedings of the Fourth ACM International Conference on AI in Finance (ICAIF '23)
Pages
288–296
Publisher
Association for Computing Machinery
Year
2023