Attention-Based Convolutional Recurrent Deep Neural Networks for the Prediction of Response to Repetitive Transcranial Magnetic Stimulation for Major Depressive Disorder

Int J Neural Syst. 2023 Feb;33(2):2350007. doi: 10.1142/S0129065723500077. Epub 2023 Jan 14.

Abstract

Repetitive Transcranial Magnetic Stimulation (rTMS) is proposed as an effective treatment for major depressive disorder (MDD). However, because of the suboptimal treatment outcome of rTMS, the prediction of response to this technique is a crucial task. We developed a deep learning (DL) model to classify responders (R) and non-responders (NR). With this aim, we assessed the pre-treatment EEG signal of 34 MDD patients and extracted effective connectivity (EC) among all electrodes in four frequency bands of EEG signal. Two-dimensional EC maps are put together to create a rich connectivity image and a sequence of these images is fed to the DL model. Then, the DL framework was constructed based on transfer learning (TL) models which are pre-trained convolutional neural networks (CNN) named VGG16, Xception, and EfficientNetB0. Then, long short-term memory (LSTM) cells are equipped with an attention mechanism added on top of TL models to fully exploit the spatiotemporal information of EEG signal. Using leave-one subject out cross validation (LOSO CV), Xception-BLSTM-Attention acquired the highest performance with 98.86% of accuracy and 97.73% of specificity. Fusion of these models as an ensemble model based on optimized majority voting gained 99.32% accuracy and 98.34% of specificity. Therefore, the ensemble of TL-LSTM-Attention models can predict accurately the treatment outcome.

Keywords: Transfer learning; attention mechanism; convolutional neural networks; long-short term memory; repetitive transcranial magnetic stimulation; treatment outcome prediction.

MeSH terms

  • Depressive Disorder, Major* / diagnostic imaging
  • Depressive Disorder, Major* / therapy
  • Electroencephalography / methods
  • Humans
  • Memory, Long-Term
  • Neural Networks, Computer
  • Transcranial Magnetic Stimulation / methods