Cargando…

Convis: A Toolbox to Fit and Simulate Filter-Based Models of Early Visual Processing

We developed Convis, a Python simulation toolbox for large scale neural populations which offers arbitrary receptive fields by 3D convolutions executed on a graphics card. The resulting software proves to be flexible and easily extensible in Python, while building on the PyTorch library (The Pytorch...

Descripción completa

Detalles Bibliográficos
Autores principales: Huth, Jacob, Masquelier, Timothée, Arleo, Angelo
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Frontiers Media S.A. 2018
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5845886/
https://www.ncbi.nlm.nih.gov/pubmed/29563867
http://dx.doi.org/10.3389/fninf.2018.00009
_version_ 1783305500320858112
author Huth, Jacob
Masquelier, Timothée
Arleo, Angelo
author_facet Huth, Jacob
Masquelier, Timothée
Arleo, Angelo
author_sort Huth, Jacob
collection PubMed
description We developed Convis, a Python simulation toolbox for large scale neural populations which offers arbitrary receptive fields by 3D convolutions executed on a graphics card. The resulting software proves to be flexible and easily extensible in Python, while building on the PyTorch library (The Pytorch Project, 2017), which was previously used successfully in deep learning applications, for just-in-time optimization and compilation of the model onto CPU or GPU architectures. An alternative implementation based on Theano (Theano Development Team, 2016) is also available, although not fully supported. Through automatic differentiation, any parameter of a specified model can be optimized to approach a desired output which is a significant improvement over e.g., Monte Carlo or particle optimizations without gradients. We show that a number of models including even complex non-linearities such as contrast gain control and spiking mechanisms can be implemented easily. We show in this paper that we can in particular recreate the simulation results of a popular retina simulation software VirtualRetina (Wohrer and Kornprobst, 2009), with the added benefit of providing (1) arbitrary linear filters instead of the product of Gaussian and exponential filters and (2) optimization routines utilizing the gradients of the model. We demonstrate the utility of 3d convolution filters with a simple direction selective filter. Also we show that it is possible to optimize the input for a certain goal, rather than the parameters, which can aid the design of experiments as well as closed-loop online stimulus generation. Yet, Convis is more than a retina simulator. For instance it can also predict the response of V1 orientation selective cells. Convis is open source under the GPL-3.0 license and available from https://github.com/jahuth/convis/ with documentation at https://jahuth.github.io/convis/.
format Online
Article
Text
id pubmed-5845886
institution National Center for Biotechnology Information
language English
publishDate 2018
publisher Frontiers Media S.A.
record_format MEDLINE/PubMed
spelling pubmed-58458862018-03-21 Convis: A Toolbox to Fit and Simulate Filter-Based Models of Early Visual Processing Huth, Jacob Masquelier, Timothée Arleo, Angelo Front Neuroinform Neuroscience We developed Convis, a Python simulation toolbox for large scale neural populations which offers arbitrary receptive fields by 3D convolutions executed on a graphics card. The resulting software proves to be flexible and easily extensible in Python, while building on the PyTorch library (The Pytorch Project, 2017), which was previously used successfully in deep learning applications, for just-in-time optimization and compilation of the model onto CPU or GPU architectures. An alternative implementation based on Theano (Theano Development Team, 2016) is also available, although not fully supported. Through automatic differentiation, any parameter of a specified model can be optimized to approach a desired output which is a significant improvement over e.g., Monte Carlo or particle optimizations without gradients. We show that a number of models including even complex non-linearities such as contrast gain control and spiking mechanisms can be implemented easily. We show in this paper that we can in particular recreate the simulation results of a popular retina simulation software VirtualRetina (Wohrer and Kornprobst, 2009), with the added benefit of providing (1) arbitrary linear filters instead of the product of Gaussian and exponential filters and (2) optimization routines utilizing the gradients of the model. We demonstrate the utility of 3d convolution filters with a simple direction selective filter. Also we show that it is possible to optimize the input for a certain goal, rather than the parameters, which can aid the design of experiments as well as closed-loop online stimulus generation. Yet, Convis is more than a retina simulator. For instance it can also predict the response of V1 orientation selective cells. Convis is open source under the GPL-3.0 license and available from https://github.com/jahuth/convis/ with documentation at https://jahuth.github.io/convis/. Frontiers Media S.A. 2018-03-07 /pmc/articles/PMC5845886/ /pubmed/29563867 http://dx.doi.org/10.3389/fninf.2018.00009 Text en Copyright © 2018 Huth, Masquelier and Arleo. 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) and the copyright owner 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
Huth, Jacob
Masquelier, Timothée
Arleo, Angelo
Convis: A Toolbox to Fit and Simulate Filter-Based Models of Early Visual Processing
title Convis: A Toolbox to Fit and Simulate Filter-Based Models of Early Visual Processing
title_full Convis: A Toolbox to Fit and Simulate Filter-Based Models of Early Visual Processing
title_fullStr Convis: A Toolbox to Fit and Simulate Filter-Based Models of Early Visual Processing
title_full_unstemmed Convis: A Toolbox to Fit and Simulate Filter-Based Models of Early Visual Processing
title_short Convis: A Toolbox to Fit and Simulate Filter-Based Models of Early Visual Processing
title_sort convis: a toolbox to fit and simulate filter-based models of early visual processing
topic Neuroscience
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5845886/
https://www.ncbi.nlm.nih.gov/pubmed/29563867
http://dx.doi.org/10.3389/fninf.2018.00009
work_keys_str_mv AT huthjacob convisatoolboxtofitandsimulatefilterbasedmodelsofearlyvisualprocessing
AT masqueliertimothee convisatoolboxtofitandsimulatefilterbasedmodelsofearlyvisualprocessing
AT arleoangelo convisatoolboxtofitandsimulatefilterbasedmodelsofearlyvisualprocessing