Sign in
NeurosciencebioRxiv
Preprint

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.

PDFDOI

02 /Specification & Classification

Click any tag to browse matching papers

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.