bioRxiv Science⌕ Search

Biology subjects

Rish, I.

Publications and source records attributed to Rish, I..

2 recordsLinked to original sources

MEEGNet: An open source python library for the application of convolutional neural networks to MEG

Artificial Neural Networks (ANNs) are rapidly gaining traction in neuroscience, proving invaluable for decoding and modeling brain signals from techniques such as electroencephalography (EEG) and functional magnetic resonance imaging (fMRI). Although these networks are beginning to find applications in magnetoencephalography (MEG), their use in this domain is still in the early stages. Here, we introduces MEEGNet, a novel Python library paired with an intuitive convolutional neural network (CNN) architecture designed primarily for MEG data, yet adaptable to EEG signals. The MEEGNet model was trained and cross-validated using MEG data from 643 participants across four classification tasks, including auditory and visual stimulus classification and age prediction. Our model achieves competitive performance across all tasks, with a notable balance of accuracy and efficiency--for instance, reaching 92.70% test accuracy in an auditory vs. visual classification task while maintaining shorter training times than other architectures. The MEEGNet pipeline also integrates latent space visualization tools, adapted for MEG and EEG data. These include saliency maps and Grad-CAM methods, which enhance the interpretability of ANN-based classification and help address the black-box critique of such models. Importantly, the MEEGNet library is designed for extensibility, allowing the neuroscience and machine learning communities to add functionalities and ANN models. By prioritizing usability, transparency, and interpretability, MEEGNet empowers MEG- and EEG-based research with a user-friendly and modular framework.

neuroscience↗

Learning Nonlinear Brain Dynamics: van der Pol Meets LSTM

Many real-world data sets, especially in biology, are produced by highly multivariate and nonlinear complex dynamical systems. In this paper, we focus on brain imaging data, including both calcium imaging and functional MRI data. Standard vector-autoregressive models are limited by their linearity assumptions, while nonlinear general-purpose, large-scale temporal models, such as LSTM networks, typically require large amounts of training data, not always readily available in biological applications; furthermore, such models have limited interpretability. We introduce here a novel approach for learning a nonlinear differential equation model aimed at capturing brain dynamics. Specifically, we propose a variable-projection optimization approach to estimate the parameters of the multivariate (coupled) van der Pol oscillator, and demonstrate that such a model can accurately represent nonlinear dynamics of the brain data. Furthermore, in order to improve the predictive accuracy when forecasting future brain-activity time series, we use this analytical model as an unlimited source of simulated data for pretraining LSTM; such model-specific data augmentation approach consistently improves LSTM performance on both calcium and fMRI imaging data.

neuroscience↗