BrainPy, a flexible, integrative, efficient, and extensible framework for general-purpose brain dynamics programming

被引:9
|
作者
Wang, Chaoming [1 ,2 ]
Zhang, Tianqiu [1 ]
Chen, Xiaoyu [1 ]
He, Sichao [3 ]
Li, Shangyang [1 ]
Wu, Si [1 ,2 ]
机构
[1] Peking Univ, Peking Tsinghua Ctr Life Sci, IDG McGovern Inst Brain Res, Sch Psychol & Cognit Sci,Beijing Key Lab Behav &, Beijing, Peoples R China
[2] Guangdong Inst Intelligence Sci & Technol, Zhuhai 519115, Guangdong, Peoples R China
[3] Beijing Jiaotong Univ, Beijing, Peoples R China
来源
ELIFE | 2023年 / 12卷
关键词
brain simulation; brain simulator; brain modeling; just-in-time compilation; computational neuroscience; spiking neural networks; None; SPIKING NEURAL-NETWORKS; CODE GENERATION; SIMULATION; MODEL; COMPUTATION; PATTERNS; HISTORY; NEURONS; CHAOS;
D O I
10.7554/eLife.86365
中图分类号
Q [生物科学];
学科分类号
07 ; 0710 ; 09 ;
摘要
Elucidating the intricate neural mechanisms underlying brain functions requires integrative brain dynamics modeling. To facilitate this process, it is crucial to develop a general-purpose programming framework that allows users to freely define neural models across multiple scales, efficiently simulate, train, and analyze model dynamics, and conveniently incorporate new modeling approaches. In response to this need, we present BrainPy. BrainPy leverages the advanced just-in-time (JIT) compilation capabilities of JAX and XLA to provide a powerful infrastructure tailored for brain dynamics programming. It offers an integrated platform for building, simulating, training, and analyzing brain dynamics models. Models defined in BrainPy can be JIT compiled into binary instructions for various devices, including Central Processing Unit, Graphics Processing Unit, and Tensor Processing Unit, which ensures high-running performance comparable to native C or CUDA. Additionally, BrainPy features an extensible architecture that allows for easy expansion of new infrastructure, utilities, and machine-learning approaches. This flexibility enables researchers to incorporate cutting-edge techniques and adapt the framework to their specific needs.
引用
收藏
页数:52
相关论文
共 12 条
  • [1] MolSpin-Flexible and extensible general spin dynamics software
    Nielsen, Claus
    Solov'yov, Ilia A.
    JOURNAL OF CHEMICAL PHYSICS, 2019, 151 (19)
  • [2] Gen: A General-Purpose Probabilistic Programming System with Programmable Inference
    Cusumano-Towner, Marco F.
    Saad, Feras A.
    Lew, Alexander K.
    Mansinghka, Vikash K.
    PROCEEDINGS OF THE 40TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '19), 2019, : 221 - 236
  • [3] The development of general-purpose brain-inspired computing
    Zhang, Weihao
    Ma, Songchen
    Ji, Xinglong
    Liu, Xue
    Cong, Yuqing
    Shi, Luping
    NATURE ELECTRONICS, 2024, 7 (11): : 954 - 965
  • [4] A general-purpose process modelling framework for marine energy systems
    Dimopoulos, George G.
    Georgopoulou, Chariklia A.
    Stefanatos, Iason C.
    Zymaris, Alexandros S.
    Kakalis, Nikolaos M. P.
    ENERGY CONVERSION AND MANAGEMENT, 2014, 86 : 325 - 339
  • [5] Developing Extensible Lattice-Boltzmann Simulators for General-Purpose Graphics-Processing Units
    Walsh, Stuart D. C.
    Saar, Martin O.
    COMMUNICATIONS IN COMPUTATIONAL PHYSICS, 2013, 13 (03) : 867 - 879
  • [6] SELP: A general-purpose framework for learning the norms from saliencies in spatiotemporal data
    Banerjee, Bonny
    Dutta, Jayanta K.
    NEUROCOMPUTING, 2014, 138 : 41 - 60
  • [7] Multi-agent framework for general-purpose situational simulations in the construction management domain
    Rojas, EM
    Mukherjee, A
    JOURNAL OF COMPUTING IN CIVIL ENGINEERING, 2006, 20 (03) : 165 - 176
  • [8] Implementing railway vehicle dynamics simulation in general-purpose multibody simulation software packages
    Tang, Zhao
    Yuan, Xiaolin
    Xie, Xin
    Jiang, Jie
    Zhang, Jianjun
    ADVANCES IN ENGINEERING SOFTWARE, 2019, 131 : 153 - 165
  • [9] A general-purpose framework to simulate musculoskeletal system of human body: using a motion tracking approach
    Gudarzi, Mohammad
    Ehsani, Hossein
    Rostami, Mostafa
    COMPUTER METHODS IN BIOMECHANICS AND BIOMEDICAL ENGINEERING, 2016, 19 (03) : 306 - 319
  • [10] A general-purpose parallel raster processing programming library test application using a geographic cellular automata model
    Guan, Qingfeng
    Clarke, Keith C.
    INTERNATIONAL JOURNAL OF GEOGRAPHICAL INFORMATION SCIENCE, 2010, 24 (05) : 695 - 722