Siddharth Chaturvedi, Ahmed El-Gazzar, Marcel van Gerven
{"title":"Foragax: An Agent Based Modelling framework based on JAX","authors":"Siddharth Chaturvedi, Ahmed El-Gazzar, Marcel van Gerven","doi":"arxiv-2409.06345","DOIUrl":null,"url":null,"abstract":"Foraging for resources is a ubiquitous activity conducted by living organisms\nin a shared environment to maintain their homeostasis. Modelling multi-agent\nforaging in-silico allows us to study both individual and collective emergent\nbehaviour in a tractable manner. Agent-based modelling has proven to be\neffective in simulating such tasks, though scaling the simulations to\naccommodate large numbers of agents with complex dynamics remains challenging.\nIn this work, we present Foragax, a general-purpose, scalable,\nhardware-accelerated, multi-agent foraging toolkit. Leveraging the JAX library,\nour toolkit can simulate thousands of agents foraging in a common environment,\nin an end-to-end vectorized and differentiable manner. The toolkit provides\nagent-based modelling tools to model various foraging tasks, including options\nto design custom spatial and temporal agent dynamics, control policies, sensor\nmodels, and boundary conditions. Further, the number of agents during such\nsimulations can be increased or decreased based on custom rules. The toolkit\ncan also be used to potentially model more general multi-agent scenarios.","PeriodicalId":501315,"journal":{"name":"arXiv - CS - Multiagent Systems","volume":"113 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Multiagent Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.06345","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Foraging for resources is a ubiquitous activity conducted by living organisms
in a shared environment to maintain their homeostasis. Modelling multi-agent
foraging in-silico allows us to study both individual and collective emergent
behaviour in a tractable manner. Agent-based modelling has proven to be
effective in simulating such tasks, though scaling the simulations to
accommodate large numbers of agents with complex dynamics remains challenging.
In this work, we present Foragax, a general-purpose, scalable,
hardware-accelerated, multi-agent foraging toolkit. Leveraging the JAX library,
our toolkit can simulate thousands of agents foraging in a common environment,
in an end-to-end vectorized and differentiable manner. The toolkit provides
agent-based modelling tools to model various foraging tasks, including options
to design custom spatial and temporal agent dynamics, control policies, sensor
models, and boundary conditions. Further, the number of agents during such
simulations can be increased or decreased based on custom rules. The toolkit
can also be used to potentially model more general multi-agent scenarios.