Attention: The EBRAINS IDM/IAM will be down tomorrow, Wednesday 17nd December, from 17:00 CET for up to 30 minutes for maintenance. Please be aware that this will affect all services that require login or authentication.


Dynamic Causal Modeling in Probabilistic Programming Languages (DCM_PPLs)

Version 17.1 by mhashemi on 2025/11/06 14:01

 

 

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}
}