Foragax: An Agent Based Modelling framework based on JAX

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":null,"pages":null},"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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Foragax:基于 JAX 的代理建模框架
觅食是生物体在共享环境中为维持自身平衡而进行的一种无处不在的活动。通过对多物种觅食行为进行模拟,我们可以对个体和集体的突发行为进行深入研究。基于代理的建模已被证明能有效模拟此类任务,但如何扩展模拟以适应具有复杂动态的大量代理仍是一个挑战。在这项工作中,我们提出了 Foragax,一个通用的、可扩展的、硬件加速的多代理觅食工具包。利用 JAX 库,我们的工具包可以以端到端矢量化和可微分的方式,模拟数千个代理在共同环境中觅食。该工具包提供了基于代理的建模工具,用于模拟各种觅食任务,包括设计定制的空间和时间代理动态、控制策略、传感模型和边界条件等选项。此外,在此类模拟中,可根据自定义规则增加或减少代理数量。该工具包还可用于模拟更一般的多代理场景。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Putting Data at the Centre of Offline Multi-Agent Reinforcement Learning HARP: Human-Assisted Regrouping with Permutation Invariant Critic for Multi-Agent Reinforcement Learning On-policy Actor-Critic Reinforcement Learning for Multi-UAV Exploration CORE-Bench: Fostering the Credibility of Published Research Through a Computational Reproducibility Agent Benchmark Multi-agent Path Finding in Continuous Environment
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1