Leveraging Julia's automated differentiation and symbolic computation to increase spectral DCM flexibility and speed. Hofmann, D., Chesebro, A. G., Rackauckas, C., Mujica-Parodi, L. R., Friston, K. J., Edelman, A., & Strey, H. H. Imaging Neuroscience (in press), 2025.
Paper doi abstract bibtex 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 SPM12, 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.
@article{hofmann2023,
title = {Leveraging {Julia}'s automated differentiation and symbolic computation to increase spectral {DCM} flexibility and speed},
copyright = {Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (CC-BY-NC-ND)},
doi = {10.1101/2023.10.27.564407},
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 SPM12, 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.},
language = {eng},
journal = {Imaging Neuroscience (in press)},
author = {Hofmann, David and Chesebro, Anthony G. and Rackauckas, Chris and Mujica-Parodi, Lilianne R. and Friston, Karl J. and Edelman, Alan and Strey, Helmut H.},
year = {2025},
pmid = {37961652},
pmcid = {PMC10634910},
url_paper={https://api.zotero.org/users/8073967/publications/items/JHJBBD2W/file/view}
}
Downloads: 0
{"_id":"4hcmM5GmRKvCde6To","bibbaseid":"hofmann-chesebro-rackauckas-mujicaparodi-friston-edelman-strey-leveragingjuliasautomateddifferentiationandsymboliccomputationtoincreasespectraldcmflexibilityandspeed-2025","author_short":["Hofmann, D.","Chesebro, A. G.","Rackauckas, C.","Mujica-Parodi, L. R.","Friston, K. J.","Edelman, A.","Strey, H. H."],"bibdata":{"bibtype":"article","type":"article","title":"Leveraging Julia's automated differentiation and symbolic computation to increase spectral DCM flexibility and speed","copyright":"Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (CC-BY-NC-ND)","doi":"10.1101/2023.10.27.564407","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 SPM12, 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.","language":"eng","journal":"Imaging Neuroscience (in press)","author":[{"propositions":[],"lastnames":["Hofmann"],"firstnames":["David"],"suffixes":[]},{"propositions":[],"lastnames":["Chesebro"],"firstnames":["Anthony","G."],"suffixes":[]},{"propositions":[],"lastnames":["Rackauckas"],"firstnames":["Chris"],"suffixes":[]},{"propositions":[],"lastnames":["Mujica-Parodi"],"firstnames":["Lilianne","R."],"suffixes":[]},{"propositions":[],"lastnames":["Friston"],"firstnames":["Karl","J."],"suffixes":[]},{"propositions":[],"lastnames":["Edelman"],"firstnames":["Alan"],"suffixes":[]},{"propositions":[],"lastnames":["Strey"],"firstnames":["Helmut","H."],"suffixes":[]}],"year":"2025","pmid":"37961652","pmcid":"PMC10634910","url_paper":"https://api.zotero.org/users/8073967/publications/items/JHJBBD2W/file/view","bibtex":"@article{hofmann2023,\n\ttitle = {Leveraging {Julia}'s automated differentiation and symbolic computation to increase spectral {DCM} flexibility and speed},\n\tcopyright = {Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (CC-BY-NC-ND)},\n\tdoi = {10.1101/2023.10.27.564407},\n\tabstract = {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 SPM12, 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.},\n\tlanguage = {eng},\n\tjournal = {Imaging Neuroscience (in press)},\n\tauthor = {Hofmann, David and Chesebro, Anthony G. and Rackauckas, Chris and Mujica-Parodi, Lilianne R. and Friston, Karl J. and Edelman, Alan and Strey, Helmut H.},\n\tyear = {2025},\n\tpmid = {37961652},\n\tpmcid = {PMC10634910},\n\turl_paper={https://api.zotero.org/users/8073967/publications/items/JHJBBD2W/file/view}\n}\n\n\n\n","author_short":["Hofmann, D.","Chesebro, A. G.","Rackauckas, C.","Mujica-Parodi, L. R.","Friston, K. J.","Edelman, A.","Strey, H. H."],"key":"hofmann2023","id":"hofmann2023","bibbaseid":"hofmann-chesebro-rackauckas-mujicaparodi-friston-edelman-strey-leveragingjuliasautomateddifferentiationandsymboliccomputationtoincreasespectraldcmflexibilityandspeed-2025","role":"author","urls":{" paper":"https://api.zotero.org/users/8073967/publications/items/JHJBBD2W/file/view"},"metadata":{"authorlinks":{}},"html":""},"bibtype":"article","biburl":"https://bibbase.org/zotero-mypublications/lcneuro","dataSources":["4tsxQt97xg7EQaWak"],"keywords":[],"search_terms":["leveraging","julia","automated","differentiation","symbolic","computation","increase","spectral","dcm","flexibility","speed","hofmann","chesebro","rackauckas","mujica-parodi","friston","edelman","strey"],"title":"Leveraging Julia's automated differentiation and symbolic computation to increase spectral DCM flexibility and speed","year":2025,"downloads":3}