RateML: A Code Generation Tool for Brain Network Models.

automatic code generation brain network models domain specific language high performance computing simulation

Journal

Frontiers in network physiology
ISSN: 2674-0109
Titre abrégé: Front Netw Physiol
Pays: Switzerland
ID NLM: 9918334487406676

Informations de publication

Date de publication:
2022
Historique:
received: 30 11 2021
accepted: 10 01 2022
entrez: 17 3 2023
pubmed: 18 3 2023
medline: 18 3 2023
Statut: epublish

Résumé

Whole brain network models are now an established tool in scientific and clinical research, however their use in a larger workflow still adds significant informatics complexity. We propose a tool, RateML, that enables users to generate such models from a succinct declarative description, in which the mathematics of the model are described without specifying how their simulation should be implemented. RateML builds on NeuroML's Low Entropy Model Specification (LEMS), an XML based language for specifying models of dynamical systems, allowing descriptions of neural mass and discretized neural field models, as implemented by the Virtual Brain (TVB) simulator: the end user describes their model's mathematics once and generates and runs code for different languages, targeting both CPUs for fast single simulations and GPUs for parallel ensemble simulations. High performance parallel simulations are crucial for tuning many parameters of a model to empirical data such as functional magnetic resonance imaging (fMRI), with reasonable execution times on small or modest hardware resources. Specifically, while RateML can generate Python model code, it enables generation of Compute Unified Device Architecture C++ code for NVIDIA GPUs. When a CUDA implementation of a model is generated, a tailored model driver class is produced, enabling the user to tweak the driver by hand and perform the parameter sweep. The model and driver can be executed on any compute capable NVIDIA GPU with a high degree of parallelization, either locally or in a compute cluster environment. The results reported in this manuscript show that with the CUDA code generated by RateML, it is possible to explore thousands of parameter combinations with a single Graphics Processing Unit for different models, substantially reducing parameter exploration times and resource usage for the brain network models, in turn accelerating the research workflow itself. This provides a new tool to create efficient and broader parameter fitting workflows, support studies on larger cohorts, and derive more robust and statistically relevant conclusions about brain dynamics.

Identifiants

pubmed: 36926112
doi: 10.3389/fnetp.2022.826345
pii: 826345
pmc: PMC10013028
doi:

Types de publication

Journal Article

Langues

eng

Pagination

826345

Informations de copyright

Copyright © 2022 van der Vlag, Woodman, Fousek, Diaz-Pier, Pérez Martín, Jirsa  and Morrison.

Déclaration de conflit d'intérêts

Author MV is employed by F. Jülich GmbH. Author SD-P is employed by F. Jülich GmbH. Author AP is employed by F. Jülich GmbH. Author A. Morrison is employed by F. Jülich GmbH. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Références

J Neurosci. 2006 Jan 25;26(4):1314-28
pubmed: 16436619
Sci Rep. 2016 Jan 07;6:18854
pubmed: 26740369
Neuron. 2019 May 22;102(4):735-744
pubmed: 31121126
Nature. 2020 Sep;585(7825):357-362
pubmed: 32939066
Front Neuroinform. 2014 Sep 25;8:79
pubmed: 25309419
Front Neuroinform. 2014 Apr 23;8:38
pubmed: 24795618
Front Neuroinform. 2018 Nov 05;12:68
pubmed: 30455637
J Neurosci. 2014 Jun 4;34(23):7910-6
pubmed: 24899713
Elife. 2019 Aug 20;8:
pubmed: 31429824
Netw Neurosci. 2019 Sep 01;3(4):902-904
pubmed: 31637330
Chaos. 2008 Sep;18(3):037113
pubmed: 19045487
Neuroimage. 2011 Jul 1;57(1):130-139
pubmed: 21511044
PLoS One. 2019 Dec 16;14(12):e0225900
pubmed: 31841550
Front Neuroinform. 2013 Jun 11;7:10
pubmed: 23781198
Curr Opin Neurobiol. 2018 Oct;52:42-47
pubmed: 29704749
PLoS Comput Biol. 2010 Jun 17;6(6):e1000815
pubmed: 20585541
Neuroimage. 2020 Aug 15;217:116839
pubmed: 32387625
Brain. 2014 Aug;137(Pt 8):2210-30
pubmed: 24919973
eNeuro. 2021 Oct 28;8(5):
pubmed: 34583933
Nat Rev Neurosci. 2007 Sep;8(9):700-11
pubmed: 17704812
Curr Opin Neurol. 2016 Aug;29(4):429-36
pubmed: 27224088

Auteurs

Michiel van der Vlag (M)

Simulation and Data Lab Neuroscience, Institute for Advanced Simulation, Jülich Supercomputing Centre (JSC), Forschungszentrum Jülich GmbH, JARA, Jülich, Germany.

Marmaduke Woodman (M)

Institut de Neurosciences des Systèmes, Aix Marseille Université, Marseille, France.

Jan Fousek (J)

Institut de Neurosciences des Systèmes, Aix Marseille Université, Marseille, France.

Sandra Diaz-Pier (S)

Simulation and Data Lab Neuroscience, Institute for Advanced Simulation, Jülich Supercomputing Centre (JSC), Forschungszentrum Jülich GmbH, JARA, Jülich, Germany.

Aarón Pérez Martín (A)

Simulation and Data Lab Neuroscience, Institute for Advanced Simulation, Jülich Supercomputing Centre (JSC), Forschungszentrum Jülich GmbH, JARA, Jülich, Germany.

Viktor Jirsa (V)

Institut de Neurosciences des Systèmes, Aix Marseille Université, Marseille, France.

Abigail Morrison (A)

Simulation and Data Lab Neuroscience, Institute for Advanced Simulation, Jülich Supercomputing Centre (JSC), Forschungszentrum Jülich GmbH, JARA, Jülich, Germany.
Institute of Neuroscience and Medicine (INM-6) and Institute for Advanced Simulation (IAS-6) and JARA-Institute Brain, Jülich, Germany.
Computer Science 3-Software Engineering, RWTH Aachen University, Aachen, Germany.

Classifications MeSH