• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

PyGeNN:用于GPU加速神经网络的Python库。

PyGeNN: A Python Library for GPU-Enhanced Neural Networks.

作者信息

Knight James C, Komissarov Anton, Nowotny Thomas

机构信息

Centre for Computational Neuroscience and Robotics, School of Engineering and Informatics, University of Sussex, Brighton, United Kingdom.

Bernstein Center for Computational Neuroscience Berlin, Berlin, Germany.

出版信息

Front Neuroinform. 2021 Apr 22;15:659005. doi: 10.3389/fninf.2021.659005. eCollection 2021.

DOI:10.3389/fninf.2021.659005
PMID:33967731
原文链接:https://pmc.ncbi.nlm.nih.gov/articles/PMC8100330/
Abstract

More than half of the Top 10 supercomputing sites worldwide use GPU accelerators and they are becoming ubiquitous in workstations and edge computing devices. GeNN is a C++ library for generating efficient spiking neural network simulation code for GPUs. However, until now, the full flexibility of GeNN could only be harnessed by writing model descriptions and simulation code in C++. Here we present PyGeNN, a Python package which exposes all of GeNN's functionality to Python with minimal overhead. This provides an alternative, arguably more user-friendly, way of using GeNN and allows modelers to use GeNN within the growing Python-based machine learning and computational neuroscience ecosystems. In addition, we demonstrate that, in both Python and C++ GeNN simulations, the overheads of recording spiking data can strongly affect runtimes and show how a new spike recording system can reduce these overheads by up to 10×. Using the new recording system, we demonstrate that by using PyGeNN on a modern GPU, we can simulate a full-scale model of a cortical column faster even than real-time neuromorphic systems. Finally, we show that long simulations of a smaller model with complex stimuli and a custom three-factor learning rule defined in PyGeNN can be simulated almost two orders of magnitude faster than real-time.

摘要

全球排名前十的超级计算站点中,超过半数都使用了GPU加速器,并且它们在工作站和边缘计算设备中变得越来越普遍。GeNN是一个C++库,用于为GPU生成高效的脉冲神经网络模拟代码。然而,到目前为止,只有通过用C++编写模型描述和模拟代码,才能充分利用GeNN的全部灵活性。在此,我们展示了PyGeNN,这是一个Python包,它以最小的开销将GeNN的所有功能暴露给Python。这提供了一种使用GeNN的替代方式,且可以说更加用户友好,还允许建模人员在基于Python不断发展的机器学习和计算神经科学生态系统中使用GeNN。此外,我们证明,在Python和C++的GeNN模拟中,记录脉冲数据的开销会强烈影响运行时间,并展示了一种新的脉冲记录系统如何能够将这些开销减少多达10倍。使用新的记录系统,我们证明,在现代GPU上使用PyGeNN,我们甚至可以比实时神经形态系统更快地模拟皮质柱的全尺寸模型。最后,我们表明,对一个具有复杂刺激的较小模型进行长时间模拟,并使用在PyGeNN中定义的自定义三因素学习规则,其模拟速度可比实时快近两个数量级。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/10f7/8100330/7bd806aef485/fninf-15-659005-g0006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/10f7/8100330/39333169a7a5/fninf-15-659005-g0001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/10f7/8100330/f2d189a3c89d/fninf-15-659005-g0002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/10f7/8100330/9218913b5590/fninf-15-659005-g0003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/10f7/8100330/8c021ba4c379/fninf-15-659005-g0004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/10f7/8100330/217ddde7b3f5/fninf-15-659005-g0005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/10f7/8100330/7bd806aef485/fninf-15-659005-g0006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/10f7/8100330/39333169a7a5/fninf-15-659005-g0001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/10f7/8100330/f2d189a3c89d/fninf-15-659005-g0002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/10f7/8100330/9218913b5590/fninf-15-659005-g0003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/10f7/8100330/8c021ba4c379/fninf-15-659005-g0004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/10f7/8100330/217ddde7b3f5/fninf-15-659005-g0005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/10f7/8100330/7bd806aef485/fninf-15-659005-g0006.jpg

相似文献

1
PyGeNN: A Python Library for GPU-Enhanced Neural Networks.PyGeNN:用于GPU加速神经网络的Python库。
Front Neuroinform. 2021 Apr 22;15:659005. doi: 10.3389/fninf.2021.659005. eCollection 2021.
2
GPUs Outperform Current HPC and Neuromorphic Solutions in Terms of Speed and Energy When Simulating a Highly-Connected Cortical Model.在模拟高度连接的皮质模型时,图形处理器(GPU)在速度和能源方面优于当前的高性能计算(HPC)和神经形态解决方案。
Front Neurosci. 2018 Dec 12;12:941. doi: 10.3389/fnins.2018.00941. eCollection 2018.
3
Brian2GeNN: accelerating spiking neural network simulations with graphics hardware.Brian2GeNN:利用图形硬件加速尖峰神经网络模拟。
Sci Rep. 2020 Jan 15;10(1):410. doi: 10.1038/s41598-019-54957-7.
4
Brian2CUDA: Flexible and Efficient Simulation of Spiking Neural Network Models on GPUs.Brian2CUDA:在图形处理器上对脉冲神经网络模型进行灵活高效的模拟。
Front Neuroinform. 2022 Oct 31;16:883700. doi: 10.3389/fninf.2022.883700. eCollection 2022.
5
Efficient parameter calibration and real-time simulation of large-scale spiking neural networks with GeNN and NEST.使用GeNN和NEST对大规模脉冲神经网络进行高效参数校准和实时模拟。
Front Neuroinform. 2023 Feb 10;17:941696. doi: 10.3389/fninf.2023.941696. eCollection 2023.
6
BindsNET: A Machine Learning-Oriented Spiking Neural Networks Library in Python.BindsNET:一个面向机器学习的Python脉冲神经网络库。
Front Neuroinform. 2018 Dec 12;12:89. doi: 10.3389/fninf.2018.00089. eCollection 2018.
7
Fast Simulation of a Multi-Area Spiking Network Model of Macaque Cortex on an MPI-GPU Cluster.猕猴皮层多区域脉冲神经网络模型在MPI-GPU集群上的快速模拟
Front Neuroinform. 2022 Jul 4;16:883333. doi: 10.3389/fninf.2022.883333. eCollection 2022.
8
Automatic fitting of spiking neuron models to electrophysiological recordings.尖峰神经元模型的自动拟合到电生理记录。
Front Neuroinform. 2010 Mar 5;4:2. doi: 10.3389/neuro.11.002.2010. eCollection 2010.
9
Benchmarking Highly Parallel Hardware for Spiking Neural Networks in Robotics.用于机器人中脉冲神经网络的高度并行硬件基准测试
Front Neurosci. 2021 Jun 29;15:667011. doi: 10.3389/fnins.2021.667011. eCollection 2021.
10
Accelerating spiking neural network simulations with PymoNNto and PymoNNtorch.使用PymoNNto和PymoNNtorch加速脉冲神经网络模拟
Front Neuroinform. 2024 Feb 20;18:1331220. doi: 10.3389/fninf.2024.1331220. eCollection 2024.

引用本文的文献

1
Metadata practices for simulation workflows.模拟工作流程的元数据实践。
Sci Data. 2025 Jun 5;12(1):942. doi: 10.1038/s41597-025-05126-1.
2
Temporal pavlovian conditioning of a model spiking neural network for discrimination sequences of short time intervals.用于短时程间隔辨别序列的模型脉冲神经网络的时间巴甫洛夫条件反射。
J Comput Neurosci. 2025 Mar;53(1):163-179. doi: 10.1007/s10827-025-00896-4. Epub 2025 Feb 1.
3
Estimating orientation in natural scenes: A spiking neural network model of the insect central complex.估计自然场景中的方向:昆虫中枢复合体内的尖峰神经网络模型。

本文引用的文献

1
Larger GPU-accelerated brain simulations with procedural connectivity.使用程序连接性进行更大规模的GPU加速大脑模拟。
Nat Comput Sci. 2021 Feb;1(2):136-142. doi: 10.1038/s43588-020-00022-7. Epub 2021 Feb 1.
2
Fast Simulations of Highly-Connected Spiking Cortical Models Using GPUs.使用图形处理器对高度连接的脉冲皮层模型进行快速模拟
Front Comput Neurosci. 2021 Feb 17;15:627620. doi: 10.3389/fncom.2021.627620. eCollection 2021.
3
Brian2GeNN: accelerating spiking neural network simulations with graphics hardware.Brian2GeNN:利用图形硬件加速尖峰神经网络模拟。
PLoS Comput Biol. 2024 Aug 15;20(8):e1011913. doi: 10.1371/journal.pcbi.1011913. eCollection 2024 Aug.
4
Investigating visual navigation using spiking neural network models of the insect mushroom bodies.使用昆虫蘑菇体的脉冲神经网络模型研究视觉导航。
Front Physiol. 2024 May 22;15:1379977. doi: 10.3389/fphys.2024.1379977. eCollection 2024.
5
From Brain Models to Robotic Embodied Cognition: How Does Biological Plausibility Inform Neuromorphic Systems?从脑模型到具身认知机器人:生物学合理性如何为神经形态系统提供信息?
Brain Sci. 2023 Sep 13;13(9):1316. doi: 10.3390/brainsci13091316.
6
A multi-layer mean-field model of the cerebellum embedding microstructure and population-specific dynamics.嵌入微观结构和群体特异性动力学的小脑多层均值场模型。
PLoS Comput Biol. 2023 Sep 1;19(9):e1011434. doi: 10.1371/journal.pcbi.1011434. eCollection 2023 Sep.
7
neuroAIx-Framework: design of future neuroscience simulation systems exhibiting execution of the cortical microcircuit model 20× faster than biological real-time.NeuroAIx框架:未来神经科学模拟系统的设计,该系统展示了皮层微电路模型的执行速度比生物实时速度快20倍。
Front Comput Neurosci. 2023 Apr 20;17:1144143. doi: 10.3389/fncom.2023.1144143. eCollection 2023.
8
Geosmin suppresses defensive behaviour and elicits unusual neural responses in honey bees.土腥素抑制蜜蜂的防御行为并引发异常的神经反应。
Sci Rep. 2023 Mar 8;13(1):3851. doi: 10.1038/s41598-023-30796-5.
9
EXODUS: Stable and efficient training of spiking neural networks.《出埃及记》:脉冲神经网络的稳定高效训练
Front Neurosci. 2023 Feb 8;17:1110444. doi: 10.3389/fnins.2023.1110444. eCollection 2023.
10
Efficient parameter calibration and real-time simulation of large-scale spiking neural networks with GeNN and NEST.使用GeNN和NEST对大规模脉冲神经网络进行高效参数校准和实时模拟。
Front Neuroinform. 2023 Feb 10;17:941696. doi: 10.3389/fninf.2023.941696. eCollection 2023.
Sci Rep. 2020 Jan 15;10(1):410. doi: 10.1038/s41598-019-54957-7.
4
Real-time cortical simulation on neuromorphic hardware.实时皮质模拟的神经形态硬件。
Philos Trans A Math Phys Eng Sci. 2020 Feb 7;378(2164):20190160. doi: 10.1098/rsta.2019.0160. Epub 2019 Dec 23.
5
Brian 2, an intuitive and efficient neural simulator.Brian 2,一个直观高效的神经模拟器。
Elife. 2019 Aug 20;8:e47314. doi: 10.7554/eLife.47314.
6
GPUs Outperform Current HPC and Neuromorphic Solutions in Terms of Speed and Energy When Simulating a Highly-Connected Cortical Model.在模拟高度连接的皮质模型时,图形处理器(GPU)在速度和能源方面优于当前的高性能计算(HPC)和神经形态解决方案。
Front Neurosci. 2018 Dec 12;12:941. doi: 10.3389/fnins.2018.00941. eCollection 2018.
7
Reproducing Polychronization: A Guide to Maximizing the Reproducibility of Spiking Network Models.重现多时间同步:最大化脉冲神经网络模型可重复性指南
Front Neuroinform. 2018 Aug 3;12:46. doi: 10.3389/fninf.2018.00046. eCollection 2018.
8
Neuromodulated Synaptic Plasticity on the SpiNNaker Neuromorphic System.基于SpiNNaker神经形态系统的神经调节突触可塑性
Front Neurosci. 2018 Feb 27;12:105. doi: 10.3389/fnins.2018.00105. eCollection 2018.
9
Neurokernel: An Open Source Platform for Emulating the Fruit Fly Brain.神经内核:一个用于模拟果蝇大脑的开源平台。
PLoS One. 2016 Jan 11;11(1):e0146581. doi: 10.1371/journal.pone.0146581. eCollection 2016.
10
GeNN: a code generation framework for accelerated brain simulations.GeNN:用于加速大脑模拟的代码生成框架。
Sci Rep. 2016 Jan 7;6:18854. doi: 10.1038/srep18854.