Cargando…

THINGSvision: A Python Toolbox for Streamlining the Extraction of Activations From Deep Neural Networks

Over the past decade, deep neural network (DNN) models have received a lot of attention due to their near-human object classification performance and their excellent prediction of signals recorded from biological visual systems. To better understand the function of these networks and relate them to...

Descripción completa

Detalles Bibliográficos
Autores principales: Muttenthaler, Lukas, Hebart, Martin N.
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Frontiers Media S.A. 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8494008/
https://www.ncbi.nlm.nih.gov/pubmed/34630062
http://dx.doi.org/10.3389/fninf.2021.679838
_version_ 1784579229999955968
author Muttenthaler, Lukas
Hebart, Martin N.
author_facet Muttenthaler, Lukas
Hebart, Martin N.
author_sort Muttenthaler, Lukas
collection PubMed
description Over the past decade, deep neural network (DNN) models have received a lot of attention due to their near-human object classification performance and their excellent prediction of signals recorded from biological visual systems. To better understand the function of these networks and relate them to hypotheses about brain activity and behavior, researchers need to extract the activations to images across different DNN layers. The abundance of different DNN variants, however, can often be unwieldy, and the task of extracting DNN activations from different layers may be non-trivial and error-prone for someone without a strong computational background. Thus, researchers in the fields of cognitive science and computational neuroscience would benefit from a library or package that supports a user in the extraction task. THINGSvision is a new Python module that aims at closing this gap by providing a simple and unified tool for extracting layer activations for a wide range of pretrained and randomly-initialized neural network architectures, even for users with little to no programming experience. We demonstrate the general utility of THINGsvision by relating extracted DNN activations to a number of functional MRI and behavioral datasets using representational similarity analysis, which can be performed as an integral part of the toolbox. Together, THINGSvision enables researchers across diverse fields to extract features in a streamlined manner for their custom image dataset, thereby improving the ease of relating DNNs, brain activity, and behavior, and improving the reproducibility of findings in these research fields.
format Online
Article
Text
id pubmed-8494008
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher Frontiers Media S.A.
record_format MEDLINE/PubMed
spelling pubmed-84940082021-10-07 THINGSvision: A Python Toolbox for Streamlining the Extraction of Activations From Deep Neural Networks Muttenthaler, Lukas Hebart, Martin N. Front Neuroinform Neuroscience Over the past decade, deep neural network (DNN) models have received a lot of attention due to their near-human object classification performance and their excellent prediction of signals recorded from biological visual systems. To better understand the function of these networks and relate them to hypotheses about brain activity and behavior, researchers need to extract the activations to images across different DNN layers. The abundance of different DNN variants, however, can often be unwieldy, and the task of extracting DNN activations from different layers may be non-trivial and error-prone for someone without a strong computational background. Thus, researchers in the fields of cognitive science and computational neuroscience would benefit from a library or package that supports a user in the extraction task. THINGSvision is a new Python module that aims at closing this gap by providing a simple and unified tool for extracting layer activations for a wide range of pretrained and randomly-initialized neural network architectures, even for users with little to no programming experience. We demonstrate the general utility of THINGsvision by relating extracted DNN activations to a number of functional MRI and behavioral datasets using representational similarity analysis, which can be performed as an integral part of the toolbox. Together, THINGSvision enables researchers across diverse fields to extract features in a streamlined manner for their custom image dataset, thereby improving the ease of relating DNNs, brain activity, and behavior, and improving the reproducibility of findings in these research fields. Frontiers Media S.A. 2021-09-22 /pmc/articles/PMC8494008/ /pubmed/34630062 http://dx.doi.org/10.3389/fninf.2021.679838 Text en Copyright © 2021 Muttenthaler and Hebart. 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
Muttenthaler, Lukas
Hebart, Martin N.
THINGSvision: A Python Toolbox for Streamlining the Extraction of Activations From Deep Neural Networks
title THINGSvision: A Python Toolbox for Streamlining the Extraction of Activations From Deep Neural Networks
title_full THINGSvision: A Python Toolbox for Streamlining the Extraction of Activations From Deep Neural Networks
title_fullStr THINGSvision: A Python Toolbox for Streamlining the Extraction of Activations From Deep Neural Networks
title_full_unstemmed THINGSvision: A Python Toolbox for Streamlining the Extraction of Activations From Deep Neural Networks
title_short THINGSvision: A Python Toolbox for Streamlining the Extraction of Activations From Deep Neural Networks
title_sort thingsvision: a python toolbox for streamlining the extraction of activations from deep neural networks
topic Neuroscience
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8494008/
https://www.ncbi.nlm.nih.gov/pubmed/34630062
http://dx.doi.org/10.3389/fninf.2021.679838
work_keys_str_mv AT muttenthalerlukas thingsvisionapythontoolboxforstreamliningtheextractionofactivationsfromdeepneuralnetworks
AT hebartmartinn thingsvisionapythontoolboxforstreamliningtheextractionofactivationsfromdeepneuralnetworks