Cargando…

Automatic Optimization of the Computation Graph in the Nengo Neural Network Simulator

One critical factor limiting the size of neural cognitive models is the time required to simulate such models. To reduce simulation time, specialized hardware is often used. However, such hardware can be costly, not readily available, or require specialized software implementations that are difficul...

Descripción completa

Detalles Bibliográficos
Autores principales: Gosmann, Jan, Eliasmith, Chris
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Frontiers Media S.A. 2017
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5415674/
https://www.ncbi.nlm.nih.gov/pubmed/28522970
http://dx.doi.org/10.3389/fninf.2017.00033
_version_ 1783233568955170816
author Gosmann, Jan
Eliasmith, Chris
author_facet Gosmann, Jan
Eliasmith, Chris
author_sort Gosmann, Jan
collection PubMed
description One critical factor limiting the size of neural cognitive models is the time required to simulate such models. To reduce simulation time, specialized hardware is often used. However, such hardware can be costly, not readily available, or require specialized software implementations that are difficult to maintain. Here, we present an algorithm that optimizes the computational graph of the Nengo neural network simulator, allowing simulations to run more quickly on commodity hardware. This is achieved by merging identical operations into single operations and restructuring the accessed data in larger blocks of sequential memory. In this way, a time speed-up of up to 6.8 is obtained. While this does not beat the specialized OpenCL implementation of Nengo, this optimization is available on any platform that can run Python. In contrast, the OpenCL implementation supports fewer platforms and can be difficult to install.
format Online
Article
Text
id pubmed-5415674
institution National Center for Biotechnology Information
language English
publishDate 2017
publisher Frontiers Media S.A.
record_format MEDLINE/PubMed
spelling pubmed-54156742017-05-18 Automatic Optimization of the Computation Graph in the Nengo Neural Network Simulator Gosmann, Jan Eliasmith, Chris Front Neuroinform Neuroscience One critical factor limiting the size of neural cognitive models is the time required to simulate such models. To reduce simulation time, specialized hardware is often used. However, such hardware can be costly, not readily available, or require specialized software implementations that are difficult to maintain. Here, we present an algorithm that optimizes the computational graph of the Nengo neural network simulator, allowing simulations to run more quickly on commodity hardware. This is achieved by merging identical operations into single operations and restructuring the accessed data in larger blocks of sequential memory. In this way, a time speed-up of up to 6.8 is obtained. While this does not beat the specialized OpenCL implementation of Nengo, this optimization is available on any platform that can run Python. In contrast, the OpenCL implementation supports fewer platforms and can be difficult to install. Frontiers Media S.A. 2017-05-04 /pmc/articles/PMC5415674/ /pubmed/28522970 http://dx.doi.org/10.3389/fninf.2017.00033 Text en Copyright © 2017 Gosmann and Eliasmith. http://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) or licensor 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
Gosmann, Jan
Eliasmith, Chris
Automatic Optimization of the Computation Graph in the Nengo Neural Network Simulator
title Automatic Optimization of the Computation Graph in the Nengo Neural Network Simulator
title_full Automatic Optimization of the Computation Graph in the Nengo Neural Network Simulator
title_fullStr Automatic Optimization of the Computation Graph in the Nengo Neural Network Simulator
title_full_unstemmed Automatic Optimization of the Computation Graph in the Nengo Neural Network Simulator
title_short Automatic Optimization of the Computation Graph in the Nengo Neural Network Simulator
title_sort automatic optimization of the computation graph in the nengo neural network simulator
topic Neuroscience
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5415674/
https://www.ncbi.nlm.nih.gov/pubmed/28522970
http://dx.doi.org/10.3389/fninf.2017.00033
work_keys_str_mv AT gosmannjan automaticoptimizationofthecomputationgraphinthenengoneuralnetworksimulator
AT eliasmithchris automaticoptimizationofthecomputationgraphinthenengoneuralnetworksimulator