Fast and Easy Whole-Brain Network Model Parameter Estimation with Automatic Differentiation
Marius PilleiD, Leon MartiniD, Emilius RichteriD, Dionysios PerdikisiD, Michael SchirneriD, Petra RitteriD
Abstract
Personalized brain modeling at clinically relevant scales requires integrating biophysical models with empirical neuroimaging data, yet high-dimensional parameter estimation in whole-brain network models remains computationally prohibitive. We present TVB-Optim, an open-source Python library providing a general and extensible framework for gradient-based optimization of brain network models build on JAX. Leveraging automatic differentiation, we demonstrate direct optimization of thousands of parameters, from global coupling (N=2) to regional dynamics (N=168) to full structural connectivity matrices (N=14,028), across functional MRI and magnetoencephalography data. Forward simulations achieve 10x CPU speedup over reference implementations and scale efficiently to GPU and multi-device configurations. We establish best practices through documented workflows that combine coarse parameter space exploration with gradient refinement, often yielding superior solutions faster than gradient methods alone. By bridging mechanistic neuroscience with modern machine learning infrastructure, TVB-Optim enables large-scale personalized brain models, bringing computational neuroscience closer to clinical translation.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 3
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- BraiNN: A Modern Simulator for Clinically Feasible Personalized Whole-Brain Network Modeling
Alessandro Fasse, Chiara Billi, … Esra Neufeld·bioRxiv·Jul 13, 2026
- Jaxley: Differentiable simulation enables large-scale training of detailed biophysical models of neural dynamics
Michael Deistler, Kyra L. Kadhim, … Jakob H. Macke·Nature MethodsPeer-reviewed·Nov 13, 2025
- Deep Learning-Based Parameter Estimation for Neurophysiological Models of Neuroimaging Data
John David Griffiths, Zheng Wang, … Kelly Shen·bioRxiv·May 19, 2022
- Bayesian Optimisation of Large-Scale Biophysical Networks
Jonathan Hadida, Stamatios N. Sotiropoulos, … Saâd Jbabdi·NeuroImagePeer-reviewed·Mar 6, 2018
- Optimizing Biophysical Large-Scale Brain Circuit Models With Deep Neural Networks
Tianchu Zeng, Tian Fang, … B.T. Thomas Yeo·bioRxiv·Apr 7, 2025
- Surrogate Gradients for Gradient-Based Parameter Estimation in Simplified Neuron Models
Paul Mayer, Alexander Kozlov·bioRxiv·Sep 24, 2026