Evaluation of Conflict Resolution Methods for Agent-Based Simulations on the GPU

Graphics processing units (GPUs) have been shown to be well-suited to accelerate agent-based simulations. A fundamental challenge in agent-based simulations is the resolution of conflicts arising when agents compete for simulated resources, which may introduce substantial overhead. A variety of conflict resolution methods on the GPU have been proposed in the literature. In this paper, we systematize and compare these methods and propose two simple new variants. We present performance measurements on the example of the well-known segregation model. We show that the choice of conflict resolution method can substantially affect the simulation performance. Further, although methods in which agents actively indicate their interest in a resource require the use of costly atomic operations, these methods generally outperform the alternatives.

[1]  Robert Rönngren,et al.  On event ordering in parallel discrete event simulation , 1999, Proceedings Thirteenth Workshop on Parallel and Distributed Simulation. PADS 99. (Cat. No.PR00155).

[2]  Peter Sanders,et al.  Efficient Parallel Random Sampling—Vectorized, Cache-Efficient, and Online , 2016, ACM Trans. Math. Softw..

[3]  Kay W. Axhausen,et al.  Multi-agent transport simulations and economic evaluation , 2008 .

[4]  Peter Sanders,et al.  Random Permutations on Distributed, External and Hierarchical Memory , 1998, Inf. Process. Lett..

[5]  Kalyan S. Perumalla,et al.  Data parallel execution challenges and runtime performance of agent simulations on GPUs , 2008, SpringSim '08.

[6]  Paul Richmond Resolving Conflicts between Multiple Competing Agents in Parallel Simulations , 2014, Euro-Par Workshops.

[7]  Thomas C. Schelling,et al.  Dynamic models of segregation , 1971 .

[8]  Richard M. Fujimoto,et al.  Repeatability in real-time distributed simulation executions , 2000, Proceedings Fourteenth Workshop on Parallel and Distributed Simulation.

[9]  Kai Nagel,et al.  Using common graphics hardware for multi-agent traffic simulation with CUDA , 2009, SimuTools.

[10]  Roshan M. D'Souza,et al.  A Framework for Megascale Agent Based Model Simulations on Graphics Processing Units , 2008, J. Artif. Soc. Soc. Simul..

[11]  Joshua M. Epstein,et al.  Growing Artificial Societies: Social Science from the Bottom Up , 1996 .

[12]  Eli Upfal,et al.  Probability and Computing: Randomized Algorithms and Probabilistic Analysis , 2005 .