Back

BraiNN: A Modern Simulator for Clinically Feasible Personalized Whole-Brain Network Modeling

Fasse, A.; Billi, C.; Garvalov, V.; Morvan, M.; Newton, T.; Kuster, N.; Neufeld, E.

2026-07-13 neuroscience
10.64898/2026.07.08.737156 bioRxiv
Show abstract

Personalized whole-brain modeling aims to transform treatment planning for neurological disorders by enabling patient-specific simulations of brain network dynamics. Neural mass models (NMMs) offer a tractable compromise between biophysical detail and computational cost and can be directly linked to macroscopic observables such as EEG. However, scaling NMMs to whole-brain networks with realistic connectivity, conduction delays, and cortical surface resolution--and fitting them to individual patient data--imposes computational demands that existing frameworks cannot meet at clinically relevant timescales. Here we introduce BraiNN, a JAX-based Python framework for large-scale neural mass modeling that achieves speedups of up to two to three orders of magnitude over existing tools by leveraging GPU/TPU-accelerated, XLA-compiled array computation. BraiNN combines a region-level Jansen-Rit network with a subject-specific cortical surface mesh of coupled neural mass models and biophysically grounded EEG forward modeling via reciprocity-based lead fields. Its fully differentiable computational graph enables a hybrid personalization pipeline that pairs Bayesian optimization for global parameter exploration with gradient-based refinement, completing EEG-driven spectral fitting of an eight-dimensional parameter space in approximately 2-3 hours on a single consumer GPU--compared to multiple days with conventional neural mass modeling software. Numerical verification against established benchmarks confirms that BraiNN faithfully reproduces canonical synchronization and bifurcation dynamics of Jansen-Rit networks. By reducing the time requirements for personalizing a high-detail whole-brain surface model from days to a few hours on consumer-grade hardware, BraiNN brings personalized brain network modeling closer to practical use in clinical contexts. We anticipate that BraiNN will serve as a foundation for patient-specific digital twins and EEG-guided neuromodulation planning.

Matching journals

The top 8 journals account for 50% of the predicted probability mass.

1
Imaging Neuroscience
282 papers in training set
Top 0.4%
11.7%
2
NeuroImage
903 papers in training set
Top 2%
9.5%
3
Network Neuroscience
126 papers in training set
Top 0.3%
6.6%
4
Journal of Neural Engineering
221 papers in training set
Top 0.6%
6.1%
5
Human Brain Mapping
329 papers in training set
Top 1%
5.4%
6
PLOS Computational Biology
1863 papers in training set
Top 7%
5.1%
7
Brain Stimulation
125 papers in training set
Top 0.4%
5.1%
8
Nature Computational Science
55 papers in training set
Top 0.2%
3.2%
50% of probability mass above
9
eLife
5828 papers in training set
Top 35%
3.2%
10
Nature Communications
5641 papers in training set
Top 36%
3.2%
11
Scientific Reports
3612 papers in training set
Top 40%
2.6%
12
PLOS ONE
5266 papers in training set
Top 43%
2.3%
13
Communications Biology
993 papers in training set
Top 11%
2.1%
14
Cell Reports
1498 papers in training set
Top 17%
2.1%
15
Neuroinformatics
46 papers in training set
Top 0.5%
1.7%
16
IEEE Journal of Biomedical and Health Informatics
37 papers in training set
Top 0.7%
1.7%
17
Advanced Science
286 papers in training set
Top 5%
1.7%
18
npj Systems Biology and Applications
125 papers in training set
Top 1%
1.5%
19
Neuron
337 papers in training set
Top 4%
1.3%
20
Nature Methods
385 papers in training set
Top 5%
1.1%
21
Journal of Neuroscience Methods
122 papers in training set
Top 2%
1.0%
22
Frontiers in Computational Neuroscience
60 papers in training set
Top 1%
1.0%
23
Medical Image Analysis
35 papers in training set
Top 0.6%
1.0%
24
Nature Neuroscience
252 papers in training set
Top 5%
1.0%
25
iScience
1154 papers in training set
Top 36%
0.8%
26
Frontiers in Neuroscience
256 papers in training set
Top 7%
0.8%
27
Communications Medicine
113 papers in training set
Top 5%
0.8%
28
Science Advances
1243 papers in training set
Top 31%
0.8%
29
Nature Machine Intelligence
70 papers in training set
Top 3%
0.8%
30
Proceedings of the National Academy of Sciences
2444 papers in training set
Top 46%
0.6%