ABMax: A JAX-based Agent-based Modeling Framework
Siddharth Chaturvedi, Ahmed El-Gazzar, Marcel van Gerven

TL;DR
ABMax is a JAX-based agent-based modeling framework that enables flexible agent updates and parallel simulations, overcoming shape immutability constraints for scalable complex system modeling.
Contribution
Introduces ABMax, a novel JAX-compatible ABM framework with algorithms for dynamic agent updates and parallel execution, enhancing scalability and flexibility.
Findings
Achieves runtime performance comparable to state-of-the-art ABM tools.
Enables vectorized execution of multiple models in parallel.
Demonstrates applicability with traffic-flow and financial market models.
Abstract
Agent-based modeling (ABM) is a principal approach for studying complex systems. By decomposing a system into simpler, interacting agents, agent-based modeling (ABM) allows researchers to observe the emergence of complex phenomena. High-performance array computing libraries like JAX can help scale such computational models to a large number of agents by using automatic vectorization and just-in-time (JIT) compilation. One of the caveats of using JAX to achieve such scaling is that the shapes of arrays used in the computational model should remain immutable throughout the simulation. In the context of agent-based modeling (ABM), this can pose constraints on certain agent manipulation operations that require flexible data structures. A subset of which is represented by the ability to update a dynamically selected number of agents by applying distinct changes to them during a simulation.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
