AUTHOR=Chen Xiayu , Zhou Ming , Gong Zhengxin , Xu Wei , Liu Xingyu , Huang Taicheng , Zhen Zonglei , Liu Jia TITLE=DNNBrain: A Unifying Toolbox for Mapping Deep Neural Networks and Brains JOURNAL=Frontiers in Computational Neuroscience VOLUME=14 YEAR=2020 URL=https://www.frontiersin.org/journals/computational-neuroscience/articles/10.3389/fncom.2020.580632 DOI=10.3389/fncom.2020.580632 ISSN=1662-5188 ABSTRACT=

Deep neural networks (DNNs) have attained human-level performance on dozens of challenging tasks via an end-to-end deep learning strategy. Deep learning allows data representations that have multiple levels of abstraction; however, it does not explicitly provide any insights into the internal operations of DNNs. Deep learning's success is appealing to neuroscientists not only as a method for applying DNNs to model biological neural systems but also as a means of adopting concepts and methods from cognitive neuroscience to understand the internal representations of DNNs. Although general deep learning frameworks, such as PyTorch and TensorFlow, could be used to allow such cross-disciplinary investigations, the use of these frameworks typically requires high-level programming expertise and comprehensive mathematical knowledge. A toolbox specifically designed as a mechanism for cognitive neuroscientists to map both DNNs and brains is urgently needed. Here, we present DNNBrain, a Python-based toolbox designed for exploring the internal representations of DNNs as well as brains. Through the integration of DNN software packages and well-established brain imaging tools, DNNBrain provides application programming and command line interfaces for a variety of research scenarios. These include extracting DNN activation, probing and visualizing DNN representations, and mapping DNN representations onto the brain. We expect that our toolbox will accelerate scientific research by both applying DNNs to model biological neural systems and utilizing paradigms of cognitive neuroscience to unveil the black box of DNNs.