A Framework for Megascale Agent Based Model Simulations on Graphics Processing Units

Mikola Lysenko, Roshan M. D’Souz
Michigan Technological University, Department of Computer Science, 1400 Townsend Drive, Houghton, MI, USA
Journal of Artificial Societies and Social Simulation vol. 11, no. 4 10


   title={A framework for megascale agent based model simulations on graphics processing units},

   author={Lysenko, M.},

   journal={Journal of Artificial Societies and Social Simulation},




   publisher={Journal of Artificial Societies and Social Simulation}


Download Download (PDF)   View View   Source Source   



Agent-based modeling is a technique for modeling dynamic systems from the bottom up. Individual elements of the system are represented computationally as agents. The systemlevel behaviors emerge from the micro-level interactions of the agents. Contemporary stateof-the-art agent-based modeling toolkits are essentially discrete-event simulators designed to execute serially on the Central Processing Unit (CPU). They simulate Agent-Based Models (ABMs) by executing agent actions one at a time. In addition to imposing an un-natural execution order, these toolkits have limited scalability. In this article, we investigate dataparallel computer architectures such as Graphics Processing Units (GPUs) to simulate large scale ABMs. We have developed a series of efficient, data parallel algorithms for handling environment updates, various agent interactions, agent death and replication, and gathering statistics. We present three fundamental innovations that provide unprecedented scalability. The first is a novel stochastic memory allocator which enables parallel agent replication in O(1) average time. The second is a technique for resolving precedence constraints for agent actions in parallel. The third is a method that uses specialized graphics hardware, to gather and process statistical measures. These techniques have been implemented on a modern day GPU resulting in a substantial performance increase. We believe that our system is the first ever completely GPU based agent simulation framework. Although GPUs are the focus of our current implementations, our techniques can easily be adapted to other data-parallel architectures. We have benchmarked our framework against contemporary toolkits using two popular ABMs, namely, SugarScape and StupidModel.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2021 hgpu.org

All rights belong to the respective authors

Contact us: