Fast and easy whole-brain network model parameter estimation with automatic differentiation

Background Personalized whole-brain modeling requires constraining biophysical network models with empirical neuroimaging data, yet high-dimensional parameter estimation remains computationally prohibitive. Existing simulation tools trade off speed, usability, and flexibility, and lack the integration of automatic differentiation with general-purpose brain network model frameworks needed for composable gradient-based optimization that enables richer, more realistic individualized models. Methods We developed TVB-Optim, an open-source Python library that provides an intuitive interface for building fast and fully differentiable brain network models directly in Python and JAX. The framework couples local neural mass models through structural connectivity with transmission delays and applies forward observation models to compare simulated activity against functional magnetic resonance imaging, electroencephalography, and magnetoencephalography data through differentiable loss functions. Documented workflows combine coarse parameter-space exploration on distributed hardware with gradient-based refinement, and progressively expand the free parameter space from global to regional to per-connection scales. Results Here we show that automatic differentiation enables direct optimization of thousands of parameters across functional magnetic resonance imaging and magnetoencephalography datasets, spanning global coupling, regional dynamics, and per-connection scaling of structural connectivity. Forward simulations achieve a tenfold CPU speedup over reference implementations and scale efficiently to GPU and multi-device configurations. Hybrid workflows that combine exploration with gradient refinement yield solutions superior to either approach alone, and reach them faster. Conclusions TVB-Optim bridges mechanistic neuroscience with modern machine learning infrastructure, making high-dimensional parameter estimation computationally tractable and providing the computational foundation to advance personalized brain modeling toward clinical translation.

Authors

Institutions

Publication Details

Journal
Communications AI & Computing
Published
2026-12-02
DOI
https://doi.org/10.1038/s44488-026-00026-8
Citations
9
Primary Topic
Neural dynamics and brain function
Type
article
Field-Weighted Citation Impact
12.42
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Fast and easy whole-brain network model parameter estimation with automatic differentiation

Marius Pille, Petra Ritter, Michael Schirner, Dionysios Perdikis et al.
9 citations
Communications AI & Computing
Neural dynamics and brain function
12.42
article

Fast and easy whole-brain network model parameter estimation with automatic differentiation

Marius Pille, Petra Ritter, Michael Schirner, Dionysios Perdikis, Leon Martin, Emilius Richter
article en
9 citations

Abstract

Background Personalized whole-brain modeling requires constraining biophysical network models with empirical neuroimaging data, yet high-dimensional parameter estimation remains computationally prohibitive. Existing simulation tools trade off speed, usability, and flexibility, and lack the integration of automatic differentiation with general-purpose brain network model frameworks needed for composable gradient-based optimization that enables richer, more realistic individualized models. Methods We developed TVB-Optim, an open-source Python library that provides an intuitive interface for building fast and fully differentiable brain network models directly in Python and JAX. The framework couples local neural mass models through structural connectivity with transmission delays and applies forward observation models to compare simulated activity against functional magnetic resonance imaging, electroencephalography, and magnetoencephalography data through differentiable loss functions. Documented workflows combine coarse parameter-space exploration on distributed hardware with gradient-based refinement, and progressively expand the free parameter space from global to regional to per-connection scales. Results Here we show that automatic differentiation enables direct optimization of thousands of parameters across functional magnetic resonance imaging and magnetoencephalography datasets, spanning global coupling, regional dynamics, and per-connection scaling of structural connectivity. Forward simulations achieve a tenfold CPU speedup over reference implementations and scale efficiently to GPU and multi-device configurations. Hybrid workflows that combine exploration with gradient refinement yield solutions superior to either approach alone, and reach them faster. Conclusions TVB-Optim bridges mechanistic neuroscience with modern machine learning infrastructure, making high-dimensional parameter estimation computationally tractable and providing the computational foundation to advance personalized brain modeling toward clinical translation.

Communications AI & ComputingVol. 1(1)
Einstein Center Digital Future (DE), Berlin Institute of Health at Charité - Universitätsmedizin Berlin (DE), Bernstein Center for Computational Neuroscience Berlin (DE), Einstein Center for Neurosciences Berlin (DE), Charité - Universitätsmedizin Berlin (DE)
Openalex Percentile: Top 1%
Neural dynamics and brain function
12.42
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon