PsychRNN: An Accessible and Flexible Python Package for Training Recurrent Neural Network Models on Cognitive Tasks
Task-trained artificial recurrent neural networks (RNNs) provide a computational modeling framework of increasing interest and application in computational, systems, and cognitive neuroscience. RNNs can be trained, using deep-learning methods, to perform cognitive tasks used in animal and human expe...
Gespeichert in:
Veröffentlicht in: | eNeuro 2021-01, Vol.8 (1), p.ENEURO.0427-20.2020 |
---|---|
Hauptverfasser: | , , , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | |
---|---|
container_issue | 1 |
container_start_page | ENEURO.0427-20.2020 |
container_title | eNeuro |
container_volume | 8 |
creator | Ehrlich, Daniel B Stone, Jasmine T Brandfonbrener, David Atanasov, Alexander Murray, John D |
description | Task-trained artificial recurrent neural networks (RNNs) provide a computational modeling framework of increasing interest and application in computational, systems, and cognitive neuroscience. RNNs can be trained, using deep-learning methods, to perform cognitive tasks used in animal and human experiments and can be studied to investigate potential neural representations and circuit mechanisms underlying cognitive computations and behavior. Widespread application of these approaches within neuroscience has been limited by technical barriers in use of deep-learning software packages to train network models. Here, we introduce PsychRNN, an accessible, flexible, and extensible Python package for training RNNs on cognitive tasks. Our package is designed for accessibility, for researchers to define tasks and train RNN models using only Python and NumPy, without requiring knowledge of deep-learning software. The training backend is based on TensorFlow and is readily extensible for researchers with TensorFlow knowledge to develop projects with additional customization. PsychRNN implements a number of specialized features to support applications in systems and cognitive neuroscience. Users can impose neurobiologically relevant constraints on synaptic connectivity patterns. Furthermore, specification of cognitive tasks has a modular structure, which facilitates parametric variation of task demands to examine their impact on model solutions. PsychRNN also enables task shaping during training, or curriculum learning, in which tasks are adjusted in closed-loop based on performance. Shaping is ubiquitous in training of animals in cognitive tasks, and PsychRNN allows investigation of how shaping trajectories impact learning and model solutions. Overall, the PsychRNN framework facilitates application of trained RNNs in neuroscience research. |
doi_str_mv | 10.1523/ENEURO.0427-20.2020 |
format | Article |
fullrecord | <record><control><sourceid>proquest_pubme</sourceid><recordid>TN_cdi_pubmedcentral_primary_oai_pubmedcentral_nih_gov_7814477</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2470902874</sourcerecordid><originalsourceid>FETCH-LOGICAL-c405t-e77aa4dfcbd3e2a3b8dc9e8a67551db595eb5472e311337ec78803ccf1101a593</originalsourceid><addsrcrecordid>eNpVkVtLAzEQhYMoKtpfIEgefdmay67Z-iCUUi-gbSn1OWSzs23sNtFkt9p_b2pV9GlmmDknh3wInVHSpRnjl8PR8Hk67pKUiYSRLiOM7KFjxgVPWM7Y_p_-CHVCeCGE0CsmaE4P0RHnPG5ScYzCJGz0YjoaXeO-xX2tIQRT1ICVLfFtDR9fw2TTLJzFE6WXag64ch7PvDLW2Dmegm69B9vgEbRe1bE0784v8ZMroQ446gZubk1j1oBnKizDKTqoVB2g811P0PPtcDa4Tx7Hdw-D_mOiU5I1CQihVFpWuig5MMWLvNQ9yNWVyDJaFlkvgyJLBQNOKecCtMhzwrWuKCVUZT1-gm52vq9tsYJSx4wxn3z1ZqX8Rjpl5P-NNQs5d2spcpqmQkSDi28D795aCI1cmaChrpUF1wYZf5D0CMtFGk_57lR7F4KH6vcZSuSWmNwRk1tikhG5JRZV538T_mp--PBPWZKTxA</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2470902874</pqid></control><display><type>article</type><title>PsychRNN: An Accessible and Flexible Python Package for Training Recurrent Neural Network Models on Cognitive Tasks</title><source>MEDLINE</source><source>DOAJ Directory of Open Access Journals</source><source>Elektronische Zeitschriftenbibliothek - Frei zugängliche E-Journals</source><source>PubMed Central</source><creator>Ehrlich, Daniel B ; Stone, Jasmine T ; Brandfonbrener, David ; Atanasov, Alexander ; Murray, John D</creator><creatorcontrib>Ehrlich, Daniel B ; Stone, Jasmine T ; Brandfonbrener, David ; Atanasov, Alexander ; Murray, John D</creatorcontrib><description>Task-trained artificial recurrent neural networks (RNNs) provide a computational modeling framework of increasing interest and application in computational, systems, and cognitive neuroscience. RNNs can be trained, using deep-learning methods, to perform cognitive tasks used in animal and human experiments and can be studied to investigate potential neural representations and circuit mechanisms underlying cognitive computations and behavior. Widespread application of these approaches within neuroscience has been limited by technical barriers in use of deep-learning software packages to train network models. Here, we introduce PsychRNN, an accessible, flexible, and extensible Python package for training RNNs on cognitive tasks. Our package is designed for accessibility, for researchers to define tasks and train RNN models using only Python and NumPy, without requiring knowledge of deep-learning software. The training backend is based on TensorFlow and is readily extensible for researchers with TensorFlow knowledge to develop projects with additional customization. PsychRNN implements a number of specialized features to support applications in systems and cognitive neuroscience. Users can impose neurobiologically relevant constraints on synaptic connectivity patterns. Furthermore, specification of cognitive tasks has a modular structure, which facilitates parametric variation of task demands to examine their impact on model solutions. PsychRNN also enables task shaping during training, or curriculum learning, in which tasks are adjusted in closed-loop based on performance. Shaping is ubiquitous in training of animals in cognitive tasks, and PsychRNN allows investigation of how shaping trajectories impact learning and model solutions. Overall, the PsychRNN framework facilitates application of trained RNNs in neuroscience research.</description><identifier>ISSN: 2373-2822</identifier><identifier>EISSN: 2373-2822</identifier><identifier>DOI: 10.1523/ENEURO.0427-20.2020</identifier><identifier>PMID: 33328247</identifier><language>eng</language><publisher>United States: Society for Neuroscience</publisher><subject>Animals ; Cognition ; Humans ; Learning ; Models, Neurological ; Neural Networks, Computer ; Open Source Tools and Methods</subject><ispartof>eNeuro, 2021-01, Vol.8 (1), p.ENEURO.0427-20.2020</ispartof><rights>Copyright © 2021 Ehrlich et al.</rights><rights>Copyright © 2021 Ehrlich et al. 2021 Ehrlich et al.</rights><lds50>peer_reviewed</lds50><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-c405t-e77aa4dfcbd3e2a3b8dc9e8a67551db595eb5472e311337ec78803ccf1101a593</citedby></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktopdf>$$Uhttps://www.ncbi.nlm.nih.gov/pmc/articles/PMC7814477/pdf/$$EPDF$$P50$$Gpubmedcentral$$Hfree_for_read</linktopdf><linktohtml>$$Uhttps://www.ncbi.nlm.nih.gov/pmc/articles/PMC7814477/$$EHTML$$P50$$Gpubmedcentral$$Hfree_for_read</linktohtml><link.rule.ids>230,314,723,776,780,860,881,27901,27902,53766,53768</link.rule.ids><backlink>$$Uhttps://www.ncbi.nlm.nih.gov/pubmed/33328247$$D View this record in MEDLINE/PubMed$$Hfree_for_read</backlink></links><search><creatorcontrib>Ehrlich, Daniel B</creatorcontrib><creatorcontrib>Stone, Jasmine T</creatorcontrib><creatorcontrib>Brandfonbrener, David</creatorcontrib><creatorcontrib>Atanasov, Alexander</creatorcontrib><creatorcontrib>Murray, John D</creatorcontrib><title>PsychRNN: An Accessible and Flexible Python Package for Training Recurrent Neural Network Models on Cognitive Tasks</title><title>eNeuro</title><addtitle>eNeuro</addtitle><description>Task-trained artificial recurrent neural networks (RNNs) provide a computational modeling framework of increasing interest and application in computational, systems, and cognitive neuroscience. RNNs can be trained, using deep-learning methods, to perform cognitive tasks used in animal and human experiments and can be studied to investigate potential neural representations and circuit mechanisms underlying cognitive computations and behavior. Widespread application of these approaches within neuroscience has been limited by technical barriers in use of deep-learning software packages to train network models. Here, we introduce PsychRNN, an accessible, flexible, and extensible Python package for training RNNs on cognitive tasks. Our package is designed for accessibility, for researchers to define tasks and train RNN models using only Python and NumPy, without requiring knowledge of deep-learning software. The training backend is based on TensorFlow and is readily extensible for researchers with TensorFlow knowledge to develop projects with additional customization. PsychRNN implements a number of specialized features to support applications in systems and cognitive neuroscience. Users can impose neurobiologically relevant constraints on synaptic connectivity patterns. Furthermore, specification of cognitive tasks has a modular structure, which facilitates parametric variation of task demands to examine their impact on model solutions. PsychRNN also enables task shaping during training, or curriculum learning, in which tasks are adjusted in closed-loop based on performance. Shaping is ubiquitous in training of animals in cognitive tasks, and PsychRNN allows investigation of how shaping trajectories impact learning and model solutions. Overall, the PsychRNN framework facilitates application of trained RNNs in neuroscience research.</description><subject>Animals</subject><subject>Cognition</subject><subject>Humans</subject><subject>Learning</subject><subject>Models, Neurological</subject><subject>Neural Networks, Computer</subject><subject>Open Source Tools and Methods</subject><issn>2373-2822</issn><issn>2373-2822</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2021</creationdate><recordtype>article</recordtype><sourceid>EIF</sourceid><recordid>eNpVkVtLAzEQhYMoKtpfIEgefdmay67Z-iCUUi-gbSn1OWSzs23sNtFkt9p_b2pV9GlmmDknh3wInVHSpRnjl8PR8Hk67pKUiYSRLiOM7KFjxgVPWM7Y_p_-CHVCeCGE0CsmaE4P0RHnPG5ScYzCJGz0YjoaXeO-xX2tIQRT1ICVLfFtDR9fw2TTLJzFE6WXag64ch7PvDLW2Dmegm69B9vgEbRe1bE0784v8ZMroQ446gZubk1j1oBnKizDKTqoVB2g811P0PPtcDa4Tx7Hdw-D_mOiU5I1CQihVFpWuig5MMWLvNQ9yNWVyDJaFlkvgyJLBQNOKecCtMhzwrWuKCVUZT1-gm52vq9tsYJSx4wxn3z1ZqX8Rjpl5P-NNQs5d2spcpqmQkSDi28D795aCI1cmaChrpUF1wYZf5D0CMtFGk_57lR7F4KH6vcZSuSWmNwRk1tikhG5JRZV538T_mp--PBPWZKTxA</recordid><startdate>20210101</startdate><enddate>20210101</enddate><creator>Ehrlich, Daniel B</creator><creator>Stone, Jasmine T</creator><creator>Brandfonbrener, David</creator><creator>Atanasov, Alexander</creator><creator>Murray, John D</creator><general>Society for Neuroscience</general><scope>CGR</scope><scope>CUY</scope><scope>CVF</scope><scope>ECM</scope><scope>EIF</scope><scope>NPM</scope><scope>AAYXX</scope><scope>CITATION</scope><scope>7X8</scope><scope>5PM</scope></search><sort><creationdate>20210101</creationdate><title>PsychRNN: An Accessible and Flexible Python Package for Training Recurrent Neural Network Models on Cognitive Tasks</title><author>Ehrlich, Daniel B ; Stone, Jasmine T ; Brandfonbrener, David ; Atanasov, Alexander ; Murray, John D</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c405t-e77aa4dfcbd3e2a3b8dc9e8a67551db595eb5472e311337ec78803ccf1101a593</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2021</creationdate><topic>Animals</topic><topic>Cognition</topic><topic>Humans</topic><topic>Learning</topic><topic>Models, Neurological</topic><topic>Neural Networks, Computer</topic><topic>Open Source Tools and Methods</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Ehrlich, Daniel B</creatorcontrib><creatorcontrib>Stone, Jasmine T</creatorcontrib><creatorcontrib>Brandfonbrener, David</creatorcontrib><creatorcontrib>Atanasov, Alexander</creatorcontrib><creatorcontrib>Murray, John D</creatorcontrib><collection>Medline</collection><collection>MEDLINE</collection><collection>MEDLINE (Ovid)</collection><collection>MEDLINE</collection><collection>MEDLINE</collection><collection>PubMed</collection><collection>CrossRef</collection><collection>MEDLINE - Academic</collection><collection>PubMed Central (Full Participant titles)</collection><jtitle>eNeuro</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Ehrlich, Daniel B</au><au>Stone, Jasmine T</au><au>Brandfonbrener, David</au><au>Atanasov, Alexander</au><au>Murray, John D</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>PsychRNN: An Accessible and Flexible Python Package for Training Recurrent Neural Network Models on Cognitive Tasks</atitle><jtitle>eNeuro</jtitle><addtitle>eNeuro</addtitle><date>2021-01-01</date><risdate>2021</risdate><volume>8</volume><issue>1</issue><spage>ENEURO.0427-20.2020</spage><pages>ENEURO.0427-20.2020-</pages><issn>2373-2822</issn><eissn>2373-2822</eissn><abstract>Task-trained artificial recurrent neural networks (RNNs) provide a computational modeling framework of increasing interest and application in computational, systems, and cognitive neuroscience. RNNs can be trained, using deep-learning methods, to perform cognitive tasks used in animal and human experiments and can be studied to investigate potential neural representations and circuit mechanisms underlying cognitive computations and behavior. Widespread application of these approaches within neuroscience has been limited by technical barriers in use of deep-learning software packages to train network models. Here, we introduce PsychRNN, an accessible, flexible, and extensible Python package for training RNNs on cognitive tasks. Our package is designed for accessibility, for researchers to define tasks and train RNN models using only Python and NumPy, without requiring knowledge of deep-learning software. The training backend is based on TensorFlow and is readily extensible for researchers with TensorFlow knowledge to develop projects with additional customization. PsychRNN implements a number of specialized features to support applications in systems and cognitive neuroscience. Users can impose neurobiologically relevant constraints on synaptic connectivity patterns. Furthermore, specification of cognitive tasks has a modular structure, which facilitates parametric variation of task demands to examine their impact on model solutions. PsychRNN also enables task shaping during training, or curriculum learning, in which tasks are adjusted in closed-loop based on performance. Shaping is ubiquitous in training of animals in cognitive tasks, and PsychRNN allows investigation of how shaping trajectories impact learning and model solutions. Overall, the PsychRNN framework facilitates application of trained RNNs in neuroscience research.</abstract><cop>United States</cop><pub>Society for Neuroscience</pub><pmid>33328247</pmid><doi>10.1523/ENEURO.0427-20.2020</doi><oa>free_for_read</oa></addata></record> |
fulltext | fulltext |
identifier | ISSN: 2373-2822 |
ispartof | eNeuro, 2021-01, Vol.8 (1), p.ENEURO.0427-20.2020 |
issn | 2373-2822 2373-2822 |
language | eng |
recordid | cdi_pubmedcentral_primary_oai_pubmedcentral_nih_gov_7814477 |
source | MEDLINE; DOAJ Directory of Open Access Journals; Elektronische Zeitschriftenbibliothek - Frei zugängliche E-Journals; PubMed Central |
subjects | Animals Cognition Humans Learning Models, Neurological Neural Networks, Computer Open Source Tools and Methods |
title | PsychRNN: An Accessible and Flexible Python Package for Training Recurrent Neural Network Models on Cognitive Tasks |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-02-13T06%3A14%3A29IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_pubme&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=PsychRNN:%20An%20Accessible%20and%20Flexible%20Python%20Package%20for%20Training%20Recurrent%20Neural%20Network%20Models%20on%20Cognitive%20Tasks&rft.jtitle=eNeuro&rft.au=Ehrlich,%20Daniel%20B&rft.date=2021-01-01&rft.volume=8&rft.issue=1&rft.spage=ENEURO.0427-20.2020&rft.pages=ENEURO.0427-20.2020-&rft.issn=2373-2822&rft.eissn=2373-2822&rft_id=info:doi/10.1523/ENEURO.0427-20.2020&rft_dat=%3Cproquest_pubme%3E2470902874%3C/proquest_pubme%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=2470902874&rft_id=info:pmid/33328247&rfr_iscdi=true |