Skip to content

ins-amu/infr_szr_prpgtn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

235 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Epileptic Patient (VEP)

Introduction / Objective

Success rates of Epilepsy surgery in patients with drug-resistant Epilepsy has remained about 60% for the past decade. In order to improve the success rates of the surgeries better methods are necessary for pre-surgical estimation of the pathological brain regions. The VEP model aims to provide a model driven diagnostic solution by combining dynamical systems with statistical and machine learning methods which can help clinicians better identify pathological brain regions in Epilepsy.

Overview

This repository provides a end-to-end Bayesian framework to build personalized virtual brain models of Epileptic patients from multimodal neural datasets such as diffusion MRI images and Stereotactic EEG time series recordings. The VEP framework mainly consists of three parts:

  1. Preprocessing data and extracting robust and relevant features from the SEEG time series data.
  2. Defining statistical models of the time series using existing mathematical models of Epilepsy dynamics called Epileptor to constrain the latent state transition probabilities.
  3. Performing Bayesian model inversion to estimate parameters of the Epileptor model using statistical and machine learning techniques such as:
    • Variational Inference using classical Gaussian approximations and deep learning based neural density estimators such as Normalizing Flows, Masked Autoregressive Flows (MAF), Free-form Jacobian of Reversible Dynamics (FFJORD)
    • Markov Chain Monte Carlo (MCMC) based sampling methods like Hamiltonian Monte Carlo (HMC) and No-U-Turn saampler (NUTS)
    • Maximum a posteriori (MAP) estimation using optimization techniques such as L-BFGS and ADAM.

Model Variants

Various models provided in this repository are organized in different branches as follows:

Neural Mass Model

The nfvi_nmm branch implements neural mass variant of 2D Epileptor model.

Neural Field Model

The neural_fields branch implements neural field extension of 2D Epileptor model.

NOTE: Neural field models are computationally very expensive to perform simulation which makes computing gradients for variational inference infeasible. To address this, Spherical Harmonic Transforms are used to improve computational performance thereby allowing use of automatic differentiation for computing gradients.

References

  • Vattikonda, A.N., Hashemi, M., Sip, V., Woodman, M.M., Bartolomei, F. and Jirsa, V.K., 2021. Identifying spatio-temporal seizure propagation patterns in epilepsy using Bayesian inference. Communications biology, 4(1), p.1244.
  • Hashemi, M., Vattikonda, A.N., Sip, V., Guye, M., Bartolomei, F., Woodman, M.M. and Jirsa, V.K., 2020. The Bayesian Virtual Epileptic Patient: A probabilistic framework designed to infer the spatial map of epileptogenicity in a personalized large-scale brain model of epilepsy spread. NeuroImage, 217, p.116839.
  • Jha, J., Hashemi, M., Vattikonda, A.N., Wang, H. and Jirsa, V., 2022. Fully Bayesian estimation of virtual brain parameters with self-tuning Hamiltonian Monte Carlo. Machine Learning: Science and Technology, 3(3), p.035016.
  • Hashemi, M., Vattikonda, A.N., Jha, J., Sip, V., Woodman, M.M., Bartolomei, F. and Jirsa, V.K., 2023. Amortized Bayesian inference on generative dynamical network models of epilepsy using deep neural density estimators. Neural Networks, 163, pp.178-194.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 99.5%
  • Other 0.5%