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

David Hofmann, Anthony G Chesebro, Chris Rackauckas, Lilianne R Mujica-Parodi, Karl J Friston, Alan Edelman, Helmut H Strey
{"title":"Increasing spectral DCM flexibility and speed by leveraging Julia's ModelingToolkit and automated differentiation.","authors":"David Hofmann, Anthony G Chesebro, Chris Rackauckas, Lilianne R Mujica-Parodi, Karl J Friston, Alan Edelman, Helmut H Strey","doi":"10.1101/2023.10.27.564407","DOIUrl":null,"url":null,"abstract":"<p><p>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.</p>","PeriodicalId":72407,"journal":{"name":"bioRxiv : the preprint server for biology","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-07-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10634910/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"bioRxiv : the preprint server for biology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1101/2023.10.27.564407","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

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.

利用Julia的自动微分和符号计算来提高频谱DCM的灵活性和速度。
利用神经成像和电生理数据从理论电路中推断神经参数估计需要解决反问题。在这里,我们提供了一个新的Julia语言包,旨在i)使用ModelingToolkit以简单和模块化的方式组合复杂的动态模型。j1, ii)使用拉普拉斯近似实现基于谱动态因果建模(sDCM)的参数拟合,类似于SPM12中的MATLAB实现,以及iii)利用Julia的独特优势,通过在拟合过程中使用自动微分来提高准确性和速度。为了说明我们灵活的模块化方法的实用性,我们提供了一种方法来提高校正fMRI扫描仪场强(1.5T, 3T, 7T)时拟合模型到实际数据。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
文献相关原料
公司名称 产品信息 采购帮参考价格
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信