Cargando…
Auto-Selection of an Optimal Sparse Matrix Format in the Neuro-Simulator ANNarchy
Modern neuro-simulators provide efficient implementations of simulation kernels on various parallel hardware (multi-core CPUs, distributed CPUs, GPUs), thereby supporting the simulation of increasingly large and complex biologically realistic networks. However, the optimal configuration of the paral...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Frontiers Media S.A.
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9169689/ https://www.ncbi.nlm.nih.gov/pubmed/35676973 http://dx.doi.org/10.3389/fninf.2022.877945 |
_version_ | 1784721254258835456 |
---|---|
author | Dinkelbach, Helge Ülo Bouhlal, Badr-Eddine Vitay, Julien Hamker, Fred H. |
author_facet | Dinkelbach, Helge Ülo Bouhlal, Badr-Eddine Vitay, Julien Hamker, Fred H. |
author_sort | Dinkelbach, Helge Ülo |
collection | PubMed |
description | Modern neuro-simulators provide efficient implementations of simulation kernels on various parallel hardware (multi-core CPUs, distributed CPUs, GPUs), thereby supporting the simulation of increasingly large and complex biologically realistic networks. However, the optimal configuration of the parallel hardware and computational kernels depends on the exact structure of the network to be simulated. For example, the computation time of rate-coded neural networks is generally limited by the available memory bandwidth, and consequently, the organization of the data in memory will strongly influence the performance for different connectivity matrices. We pinpoint the role of sparse matrix formats implemented in the neuro-simulator ANNarchy with respect to computation time. Rather than asking the user to identify the best data structures required for a given network and platform, such a decision could also be carried out by the neuro-simulator. However, it requires heuristics that need to be adapted over time for the available hardware. The present study investigates how machine learning methods can be used to identify appropriate implementations for a specific network. We employ an artificial neural network to develop a predictive model to help the developer select the optimal sparse matrix format. The model is first trained offline using a set of training examples on a particular hardware platform. The learned model can then predict the execution time of different matrix formats and decide on the best option for a specific network. Our experimental results show that using up to 3,000 examples of random network configurations (i.e., different population sizes as well as variable connectivity), our approach effectively selects the appropriate configuration, providing over 93% accuracy in predicting the suitable format on three different NVIDIA devices. |
format | Online Article Text |
id | pubmed-9169689 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Frontiers Media S.A. |
record_format | MEDLINE/PubMed |
spelling | pubmed-91696892022-06-07 Auto-Selection of an Optimal Sparse Matrix Format in the Neuro-Simulator ANNarchy Dinkelbach, Helge Ülo Bouhlal, Badr-Eddine Vitay, Julien Hamker, Fred H. Front Neuroinform Neuroscience Modern neuro-simulators provide efficient implementations of simulation kernels on various parallel hardware (multi-core CPUs, distributed CPUs, GPUs), thereby supporting the simulation of increasingly large and complex biologically realistic networks. However, the optimal configuration of the parallel hardware and computational kernels depends on the exact structure of the network to be simulated. For example, the computation time of rate-coded neural networks is generally limited by the available memory bandwidth, and consequently, the organization of the data in memory will strongly influence the performance for different connectivity matrices. We pinpoint the role of sparse matrix formats implemented in the neuro-simulator ANNarchy with respect to computation time. Rather than asking the user to identify the best data structures required for a given network and platform, such a decision could also be carried out by the neuro-simulator. However, it requires heuristics that need to be adapted over time for the available hardware. The present study investigates how machine learning methods can be used to identify appropriate implementations for a specific network. We employ an artificial neural network to develop a predictive model to help the developer select the optimal sparse matrix format. The model is first trained offline using a set of training examples on a particular hardware platform. The learned model can then predict the execution time of different matrix formats and decide on the best option for a specific network. Our experimental results show that using up to 3,000 examples of random network configurations (i.e., different population sizes as well as variable connectivity), our approach effectively selects the appropriate configuration, providing over 93% accuracy in predicting the suitable format on three different NVIDIA devices. Frontiers Media S.A. 2022-05-23 /pmc/articles/PMC9169689/ /pubmed/35676973 http://dx.doi.org/10.3389/fninf.2022.877945 Text en Copyright © 2022 Dinkelbach, Bouhlal, Vitay and Hamker. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms. |
spellingShingle | Neuroscience Dinkelbach, Helge Ülo Bouhlal, Badr-Eddine Vitay, Julien Hamker, Fred H. Auto-Selection of an Optimal Sparse Matrix Format in the Neuro-Simulator ANNarchy |
title | Auto-Selection of an Optimal Sparse Matrix Format in the Neuro-Simulator ANNarchy |
title_full | Auto-Selection of an Optimal Sparse Matrix Format in the Neuro-Simulator ANNarchy |
title_fullStr | Auto-Selection of an Optimal Sparse Matrix Format in the Neuro-Simulator ANNarchy |
title_full_unstemmed | Auto-Selection of an Optimal Sparse Matrix Format in the Neuro-Simulator ANNarchy |
title_short | Auto-Selection of an Optimal Sparse Matrix Format in the Neuro-Simulator ANNarchy |
title_sort | auto-selection of an optimal sparse matrix format in the neuro-simulator annarchy |
topic | Neuroscience |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9169689/ https://www.ncbi.nlm.nih.gov/pubmed/35676973 http://dx.doi.org/10.3389/fninf.2022.877945 |
work_keys_str_mv | AT dinkelbachhelgeulo autoselectionofanoptimalsparsematrixformatintheneurosimulatorannarchy AT bouhlalbadreddine autoselectionofanoptimalsparsematrixformatintheneurosimulatorannarchy AT vitayjulien autoselectionofanoptimalsparsematrixformatintheneurosimulatorannarchy AT hamkerfredh autoselectionofanoptimalsparsematrixformatintheneurosimulatorannarchy |