Increasing spectral DCM flexibility and speed by leveraging Julia’s ModelingToolkit and automated differentiation

Using neuroimaging and electrophysiological data to infer neural parameter estimations from theoretical circuits requires solving the inverse problem. Here, we provide a new Julia language package designed to i) compose complex dynamical models in a simple and modular way with ModelingToolkit.jl, ii) implement parameter fitting based on spectral dynamic causal modeling (sDCM) using the Laplace approximation, analogous to MATLAB implementation in SPM, and iii) leverage Julia's unique strengths to increase accuracy and speed by employing Automatic Differentiation during the fitting procedure. To illustrate the utility of our flexible modular approach, we provide a method to improve correction for fMRI scanner field strengths (1.5T, 3T, 7T) when fitting models to real data.

Authors

Institutions

Publication Details

Journal
Imaging Neuroscience
Published
2025-01-01
DOI
https://doi.org/10.1162/imag.a.88
Citations
1
Primary Topic
Functional Brain Connectivity Studies
Type
article
Field-Weighted Citation Impact
1.43
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Increasing spectral DCM flexibility and speed by leveraging Julia’s ModelingToolkit and automated differentiation

D. J. Hofmann, Alan Edelman, Lilianne R. Mujica‐Parodi, Christopher Rackauckas et al.
1 citations
Imaging Neuroscience
Functional Brain Connectivity Studies
1.43
article

Increasing spectral DCM flexibility and speed by leveraging Julia’s ModelingToolkit and automated differentiation

D. J. Hofmann, Alan Edelman, Lilianne R. Mujica‐Parodi, Christopher Rackauckas, Helmut H. Strey, Anthony G. Chesebro, Karl Friston
article en
1 citations

Abstract

Using neuroimaging and electrophysiological data to infer neural parameter estimations from theoretical circuits requires solving the inverse problem. Here, we provide a new Julia language package designed to i) compose complex dynamical models in a simple and modular way with ModelingToolkit.jl, ii) implement parameter fitting based on spectral dynamic causal modeling (sDCM) using the Laplace approximation, analogous to MATLAB implementation in SPM, and iii) leverage Julia's unique strengths to increase accuracy and speed by employing Automatic Differentiation during the fitting procedure. To illustrate the utility of our flexible modular approach, we provide a method to improve correction for fMRI scanner field strengths (1.5T, 3T, 7T) when fitting models to real data.

Imaging NeuroscienceVol. 3
Santa Fe Institute (US), State University of New York (US), Harvard University (US), Wellcome Centre for Human Neuroimaging (GB), Massachusetts General Hospital (US), Athinoula A. Martinos Center for Biomedical Imaging (US), University College London (GB), Stony Brook University (US), Massachusetts Institute of Technology (US)
Openalex Percentile: Top 17%
Functional Brain Connectivity Studies
1.43
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.