Skip to main content
Top

2018 | OriginalPaper | Chapter

Towards Multi-Agent Simulations Accelerated by GPU

Authors : Kamil Piętak, Paweł Topa

Published in: Parallel Processing and Applied Mathematics

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

At present, GPUs (Graphics Processing Units) are commonly used to speedup any kind of computations. In this paper we present how GPUs and Nvidia CUDA can be used to accelerate the updating of and agent state in Multi-Agent Simulations. We use the AgE (Agent Evolution) software framework written in Java, which supports agent-based computations. In our simulations agents represent living organisms that interact with the virtual habitat and with each other. At each step of the simulation thousands of agents update their state according to a defined set of rules. We use Java bindings for CUDA (JCUDA) to move massive computations to GPU.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Aaby, B.G., Perumalla, K.S., Seal, S.K.: Efficient simulation of agent-based models on multi-GPU and multi-core clusters. In: Proceedings of the 3rd International ICST Conference on Simulation Tools and Techniques, p. 29. ICST (Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering) (2010) Aaby, B.G., Perumalla, K.S., Seal, S.K.: Efficient simulation of agent-based models on multi-GPU and multi-core clusters. In: Proceedings of the 3rd International ICST Conference on Simulation Tools and Techniques, p. 29. ICST (Institute for Computer Sciences, Social-Informatics and Telecommunications Engineering) (2010)
2.
go back to reference Alba, E., Tomassini, M.: Parallelism and evolutionary algorithms. IEEE Trans. Evol. Comput. 6(5), 443–462 (2002)CrossRef Alba, E., Tomassini, M.: Parallelism and evolutionary algorithms. IEEE Trans. Evol. Comput. 6(5), 443–462 (2002)CrossRef
4.
go back to reference Cetnarowicz, K., Kisiel-Dorohinicki, M., Nawarecki, E.: The application of evolution process in multi-agent world to the prediction system. In: Proceedings of the Second International Conference on Multi-Agent Systems, ICMAS, vol. 96, pp. 26–32 (1996) Cetnarowicz, K., Kisiel-Dorohinicki, M., Nawarecki, E.: The application of evolution process in multi-agent world to the prediction system. In: Proceedings of the Second International Conference on Multi-Agent Systems, ICMAS, vol. 96, pp. 26–32 (1996)
5.
go back to reference Faber, Ł., Piȩtak, K., Byrski, A., Kisiel-Dorohinicki, M.: Agent-based simulation in AgE framework. In: Byrski, A., Oplatková, Z., Carvalho, M., Kisiel-Dorohinicki, M. (eds.) Advances in Intelligent Modelling and Simulation. SCI, vol. 416, pp. 55–83. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-28888-3_3 CrossRef Faber, Ł., Piȩtak, K., Byrski, A., Kisiel-Dorohinicki, M.: Agent-based simulation in AgE framework. In: Byrski, A., Oplatková, Z., Carvalho, M., Kisiel-Dorohinicki, M. (eds.) Advances in Intelligent Modelling and Simulation. SCI, vol. 416, pp. 55–83. Springer, Heidelberg (2012). https://​doi.​org/​10.​1007/​978-3-642-28888-3_​3 CrossRef
6.
go back to reference Goldstein, S.: Foraminifera: A Biological Overview. Kluwer Academic Publishers, Dordrecht (1999) Goldstein, S.: Foraminifera: A Biological Overview. Kluwer Academic Publishers, Dordrecht (1999)
7.
go back to reference Karmakharm, T., Richmond, P., Romano, D.M.: Agent-based large scale simulation of pedestrians with adaptive realistic navigation vector fields. TPCG 10, 67–74 (2010) Karmakharm, T., Richmond, P., Romano, D.M.: Agent-based large scale simulation of pedestrians with adaptive realistic navigation vector fields. TPCG 10, 67–74 (2010)
8.
go back to reference Kiran, M., Richmond, P., Holcombe, M., Chin, L.S., Worth, D., Greenough, C.: Flame: simulating large populations of agents on parallel hardware architectures. In: Proceedings of the 9th International Conference on Autonomous Agents and Multiagent Systems, AAMAS 2010, pp. 1633–1636 (2010) Kiran, M., Richmond, P., Holcombe, M., Chin, L.S., Worth, D., Greenough, C.: Flame: simulating large populations of agents on parallel hardware architectures. In: Proceedings of the 9th International Conference on Autonomous Agents and Multiagent Systems, AAMAS 2010, pp. 1633–1636 (2010)
9.
go back to reference Kłusek, A., Topa, P., Wąs, J., Lubas, R.: An implementation of the social distances model using multi-GPU systems. Int. J. High Perform. Comput. Appl. 1094342016679492 (2016) Kłusek, A., Topa, P., Wąs, J., Lubas, R.: An implementation of the social distances model using multi-GPU systems. Int. J. High Perform. Comput. Appl. 1094342016679492 (2016)
10.
12.
go back to reference Perumalla, K.S., Aaby, B.G.: Data parallel execution challenges and runtime performance of agent simulations on GPUs. In: Proceedings of the 2008 Spring simulation multiconference, pp. 116–123. Society for Computer Simulation International (2008) Perumalla, K.S., Aaby, B.G.: Data parallel execution challenges and runtime performance of agent simulations on GPUs. In: Proceedings of the 2008 Spring simulation multiconference, pp. 116–123. Society for Computer Simulation International (2008)
13.
go back to reference Piętak, K., Kisiel-Dorohinicki, M.: Agent-based framework facilitating component-based implementation of distributed computational intelligence systems. In: Nguyen, N.-T., Kołodziej, J., Burczyński, T., Biba, M. (eds.) Transactions on Computational Collective Intelligence X. LNCS, vol. 7776, pp. 31–44. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-38496-7_3 CrossRef Piętak, K., Kisiel-Dorohinicki, M.: Agent-based framework facilitating component-based implementation of distributed computational intelligence systems. In: Nguyen, N.-T., Kołodziej, J., Burczyński, T., Biba, M. (eds.) Transactions on Computational Collective Intelligence X. LNCS, vol. 7776, pp. 31–44. Springer, Heidelberg (2013). https://​doi.​org/​10.​1007/​978-3-642-38496-7_​3 CrossRef
14.
go back to reference Richmond, P., Buesing, L., Giugliano, M., Vasilaki, E.: Democratic population decisions result in robust policy-gradient learning: a parametric study with GPU simulations. PLoS ONE 6(5), e18539 (2011)CrossRef Richmond, P., Buesing, L., Giugliano, M., Vasilaki, E.: Democratic population decisions result in robust policy-gradient learning: a parametric study with GPU simulations. PLoS ONE 6(5), e18539 (2011)CrossRef
15.
go back to reference Richmond, P., Coakley, S., Romano, D.: Cellular level agent based modelling on the graphics processing unit. In: 2009 International Workshop on High Performance Computational Systems Biology, HIBI 2009, pp. 43–50. IEEE (2009) Richmond, P., Coakley, S., Romano, D.: Cellular level agent based modelling on the graphics processing unit. In: 2009 International Workshop on High Performance Computational Systems Biology, HIBI 2009, pp. 43–50. IEEE (2009)
16.
go back to reference Richmond, P., Walker, D., Coakley, S., Romano, D.: High performance cellular level agent-based simulation with flame for the GPU. Brief. Bioinform. 11(3), 334–347 (2010)CrossRef Richmond, P., Walker, D., Coakley, S., Romano, D.: High performance cellular level agent-based simulation with flame for the GPU. Brief. Bioinform. 11(3), 334–347 (2010)CrossRef
17.
go back to reference Topa, P.: Cellular automata model tuned for efficient computation on GPU with global memory cache. In: 22nd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2014, 12–14 February, 2014, Torino, Italy, pp. 380–383 (2014) Topa, P.: Cellular automata model tuned for efficient computation on GPU with global memory cache. In: 22nd Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2014, 12–14 February, 2014, Torino, Italy, pp. 380–383 (2014)
18.
go back to reference Topa, P., Komosinski, M., Tyszka, J., Mensfelt, A., Rokitta, S., Byrski, A., Bassara, M.: eVolutus: a new platform for evolutionary experiments. In: Wyrzykowski, R., Deelman, E., Dongarra, J., Karczewski, K., Kitowski, J., Wiatr, K. (eds.) PPAM 2015. LNCS, vol. 9574, pp. 570–580. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-32152-3_53 CrossRef Topa, P., Komosinski, M., Tyszka, J., Mensfelt, A., Rokitta, S., Byrski, A., Bassara, M.: eVolutus: a new platform for evolutionary experiments. In: Wyrzykowski, R., Deelman, E., Dongarra, J., Karczewski, K., Kitowski, J., Wiatr, K. (eds.) PPAM 2015. LNCS, vol. 9574, pp. 570–580. Springer, Cham (2016). https://​doi.​org/​10.​1007/​978-3-319-32152-3_​53 CrossRef
19.
go back to reference Topa, P., Faber, Ł., Tyszka, J., Komosinski, M.: Modelling ecology and evolution of foraminifera in the agent-oriented distributed platform. J. Comput. Sci. 18, 69–84 (2017)CrossRef Topa, P., Faber, Ł., Tyszka, J., Komosinski, M.: Modelling ecology and evolution of foraminifera in the agent-oriented distributed platform. J. Comput. Sci. 18, 69–84 (2017)CrossRef
20.
go back to reference Topa, P., Młocek, P.: Using shared memory as a cache in high performance cellular automata water flow simulations. Comput. Sci. 14(3), 385 (2013)CrossRef Topa, P., Młocek, P.: Using shared memory as a cache in high performance cellular automata water flow simulations. Comput. Sci. 14(3), 385 (2013)CrossRef
Metadata
Title
Towards Multi-Agent Simulations Accelerated by GPU
Authors
Kamil Piętak
Paweł Topa
Copyright Year
2018
DOI
https://doi.org/10.1007/978-3-319-78054-2_43

Premium Partner