Warning:  Due to planned infrastructure maintenance, the EBRAINS Wiki and EBRAINS Support system will be unavailable for up to three days starting Monday, 14 July. During this period, both services will be inaccessible, and any emails sent to the support address will not be received.

Attention: We are currently experiencing some issues with the EBRAINS Drive. Please bear with us as we fix this issue. We apologise for any inconvenience caused.


Dynamic Causal Modeling in Probabilistic Programming Languages

Last modified by mhashemi on 2025/05/09 17:29

 

 

This open-source tool, called DCM_PPLs, was developed at INS in Marseille.

Authors: Nina Baldy, Marmaduke Woodman, Viktor Jirsa, Meysam Hashemi

The aim was to provide inference services for Dynamical Causal Modeling of Event-Related Potentials (ERPs) measured with EEG/MEG, using SATO Probabilistic Programming Languages (PPLs):

Numpyro: https://num.pyro.ai/en/stable/

Blackjax: https://blackjax-devs.github.io/blackjax/

PyMC: https://www.pymc.io/welcome.html

Stan: https://mc-stan.org/

We have provided a taxonomy for model comparison tailored to algorithms: (1) adaptive Hamiltonian Monte Carlo, (2) automatic Laplace and (3) family of variational inference. We have provided solutions to address the deference by: 1) optimizing the hyperparameters, (2) leveraging initialization with prior information, (3) weighted stacking based on predictive accuracy.

Github: https://github.com/ins-amu/DCM_PPLs

Notebooks:

https://wiki.ebrains.eu/bin/view/Collabs/ebrains-task-3-3/Drive#notebooks/DCM_ERP_NumPyro

Tutorial:

https://wiki.ebrains.eu/bin/view/Collabs/ebrains-task-3-3/Drive#notebooks/EITN_tutorial 

@article{AutoDCM,
  title={Dynamic Causal Modeling in Probabilistic Programming Languages},
  author={Baldy, Nina and Woodman, Marmaduke and Jirsa, Viktor and Hashemi, Meysam},
  journal={bioRxiv},
  pages={2024--11},
  year={2024},
  publisher={Cold Spring Harbor Laboratory}
}