Skip to main content
Computational and Mathematical Methods in Medicine logoLink to Computational and Mathematical Methods in Medicine
. 2021 Nov 9;2021:8437260. doi: 10.1155/2021/8437260

Diagnosis of Schizophrenia Based on Deep Learning Using fMRI

JinChi Zheng 1,, XiaoLan Wei 2, JinYi Wang 1, HuaSong Lin 3,, HongRun Pan 4, YuQing Shi 4
PMCID: PMC8594998  PMID: 34795793

Abstract

Schizophrenia is a brain disease that frequently occurs in young people. Early diagnosis and treatment can reduce family burdens and reduce social costs. There is no objective evaluation index for schizophrenia. In order to improve the classification effect of traditional classification methods on magnetic resonance data, a method of classification of functional magnetic resonance imaging data is proposed in conjunction with the convolutional neural network algorithm. We take functional magnetic resonance imaging (fMRI) data for schizophrenia as an example, to extract effective time series from preprocessed fMRI data, and perform correlation analysis on regions of interest, using transfer learning and VGG16 net, and the functional connection between schizophrenia and healthy controls is classified. Experimental results show that the classification accuracy of fMRI based on VGG16 is up to 84.3%. On the one hand, it can improve the early diagnosis of schizophrenia, and on the other hand, it can solve the classification problem of small samples and high-dimensional data and effectively improve the generalization ability of deep learning models.

1. Introduction

Schizophrenia is a serious and disabling mental illness. It is manifested as obstacles such as thinking, emotion, and behavior, the condition shows a slow and progressive development, and there are various degrees of social function defects. Symptoms include false beliefs, unclear or confused thinking, hearing voices that others cannot hear, reduced social participation and emotional expression, and lack of motivation. It not only brings great pain to the patient, but also a heavy burden to the family and society. It is about 1% of the diseased population worldwide [1]. Early diagnosis and effective intervention and treatment of schizophrenia can improve the disease. The cure rate is to prevent the prolonged course of the disease. However, the etiology and pathogenesis of schizophrenia are still unclear, and objective laboratory diagnostic indicators, as well as diagnostic criteria for equipment, are lacking. The clinical diagnosis is mainly based on medical history, combined with psychiatric symptoms and the law of progression of the disease and scales. Due to the complexity of the pathological mechanism, the early diagnosis of schizophrenia is still a challenging problem. Schizophrenia has a serious negative impact on human perception, thinking, emotion, and behavior, and it mostly occurs in people aged 15 to 34. This disease has the characteristics of early controllable, late recurrent attacks, and severely impaired cognitive function [2].

At present, the diagnosis of schizophrenia is mainly based on the patient's behavior, such as the commonly used positive and negative symptom scales for quantitative evaluation [3]. The clinical diagnosis of patients is mainly based on the doctor's experience and related scale evaluations, and there is a lack of objective diagnostic criteria. Some studies have even found that after effective treatment, the level of inflammatory factors in patients with schizophrenia will decrease significantly. IL-6 may be the most important cytokine involved in the inflammatory response. IL-8 is a member of the chemokine family. Previous studies have found that both are positively correlated with negative symptoms of schizophrenia [4]. Other scholars have found that IL-1β gene expression level is positively correlated with PANSS general psychopathological symptoms, and serum IL-1β of patients with schizophrenia is significantly positively correlated with PANSS total score. As a multifunctional proinflammatory factor, TNF-α has been found to be negatively correlated with the total score of PANSS and the score of general psychopathological symptoms in patients with chronic schizophrenia. It is suggested that the level of the abovementioned proinflammatory factors may be related to the symptoms of schizophrenia patients. However, it may be affected by confounding factors such as small sample size and failure to control substance use. Due to the complexity of the correlation between schizophrenia and inflammatory factors and the subjectivity of the doctor's diagnosis, missed and misdiagnosed situations may occur. Therefore, there is an urgent need to develop an effective computer-aided diagnosis system to assist doctors in achieving accurate diagnosis of schizophrenia.

With the rapid development of science and technology, with the implementation of deep learning [5], computer-aided diagnosis has been widely used in brain structure functional magnetic resonance image, fMRI research, such as brain tumor segmentation [68], Alzheimer's disease classification [911], and ADHD diagnosis [1214]; it also provides an effective method for the classification of schizophrenia.

Between 2014 and 2018, more than 55% of neuroimaging studies of brain diseases used support vector machine (SVM) [15]. Lu et al. [16] proposed schizophrenia as MRI study calculated the gray matter and white matter volumes of each brain region of interest (ROI) and took the significant difference between the two as input features and used SVM classification. Liu et al. [17] constructed a hierarchical brain network by measuring the cortical thickness of each ROI of the brain, extracting the node and edge features of the network, and inputting it into the SVM to realize the auxiliary diagnosis of schizophrenia. Huang et al. use the mathematical tool Pearson's correlation coefficient to calculate the correlation coefficient between fMRI brain regions, and the features after dimensionality reduction by principal component analysis are used for SVM learning. Yang et al. used three methods to analyze fMRI images to obtain three fMRI features, and the three features were used to train three capsule neural networks. Finally, the classification result is obtained through the method of ensemble learning. Yang et al. input the functional connection coefficients after PCA dimensionality reduction as features into the neural network to obtain a classification model.

At present, some reviews have summarized and analyzed the application of deep learning [1821] in the field of medical imaging [22]. However, there is no literature to systematically sort out and summarize the deep learning methods based on magnetic resonance imaging used in the diagnosis of schizophrenia. In view of this, this article will start from the perspective of deep learning and use VGG16 to extract effective information from fMRI data to diagnose patients with schizophrenia.

2. Methodology

2.1. VGG16

The convolutional neural network (CNN) [22] is shown in Figure 1, which includes a convolutional layer, a downsampling layer, and a fully connected layer. Each layer has multiple feature maps, and each feature map has multiple neurons, and the input features are extracted through the convolution filter [23]. The parameter sharing mechanism of the convolutional layer greatly reduces the number of parameters [24].

Figure 1.

Figure 1

Convolutional neural network structure.

The research is based on the VGG16 network to optimize and improve the network. The main structure of VGG16 [16] consists of 5 convolution modules, 3 fully connected layers, and an input layer and output layer. Each convolution layer module is downsampled through max pool.

The expression of the convolutional layer is as follows:

xjl=fiMJxil1kijl+bjl. (1)

In Equation (1), assuming that l − 1 is the input layer or the pooling layer, and the l layer is the convolutional layer, then xil is the j-th feature map of the l convolutional layer; the right side of Equation (1) represents the feature map of the l − 1 layer. Perform convolution operation with the j-th convolution kernel kijl of the l layer and sum; b represents the bias; f(·) is the activation function ReLU.

The pooling layer closely follows the convolutional layer and plays the role of scaling dimensionality. The calculation equation is as follows:

xil=fβjldownxil1+bjl. (2)

In Equation (2), down(·) is the pooling function, which seeks the maximum value for a region of the feature map; βjl and bjl, respectively, represent the weight and bias of pooling.

The input layer size of VGG16 is 224 × 224 × 3, and the convolution module is composed of a stack of convolution layers and pooling layers. The convolution kernel is usually 3 × 3 with a step size of 1, and the pooling layer is a 2 × 2 max pool. Using the convolutional layer and the pooling layer to cooperate, on the one hand, the image size is reduced and the amount of model calculation is controlled. On the other hand, the convolution data of the large receptive field is obtained indirectly, and the high-dimensional feature map is obtained. The convolution module is followed by three fully connected layers to obtain the classification information of the feature map, and finally, the softmax layer is used to output the classification results. The structure diagram of the VGG16 network is shown in Figure 2.

Figure 2.

Figure 2

VGG16 structure.

The increase in the depth of the convolutional neural network in the VGG16 network and the use of small convolution kernels have a great impact on the final classification and recognition effect of the network. The convolutional layers all use the same 3-size convolution kernel parameters, and the pooling layers all use the same pooling kernel parameters. The combination of multiple 3 × 3 convolutional layers not only has a small amount of calculation, but also obtains the same receptive field of the large convolution kernel at the same time. The deep network structure verifies the conjecture that network performance can be improved by continuously deepening the network structure. But for some data, a too deep network only greatly increases the training time, but does not improve the accuracy. The convolution kernel of VGG16 increases from 64 to 512 sequentially, and the number of image channels is first reduced to 64 and then increased to 512. However, due to the large amount of image data, this change in the number of channels will cause the data to lose a lot of information. Increasing the time cost of training and the network structure of VGG16 for this research task, while increasing the depth of the network, cannot improve the accuracy of the network.

2.2. Improved VGG16 Model

Convolutional neural networks are mainly composed of convolutional layers, nonlinear units, pooling layers, and fully connected layers. In the classification problem, the convolutional layer, the nonlinear unit, and the pooling layer are used as the feature extraction layer to extract features, and the fully connected layer is used as the classification layer for classification. The convolutional layer is the core of the convolutional neural network, and the convolution equation is shown in Equation (3).

yt=xphtpdp=xt×ht. (3)

The nonlinear unit is the ReLU activation function, and its expression is shown in Equation (4).

y=max0,x. (4)

The pooling layer is a downsampling operation to reduce the dimensionality of the extracted features while retaining important information of the features.

The VGG16 network is trained on a large data set ImageNet. The ImageNet data set is a 1000 classification problem data set, so the classification layer parameters of the VGG16 network are huge. The diagnosis of schizophrenia is a two-class classification problem and does not require a complex classification layer. Therefore, the feature extraction layer of the VGG16 network is retained, the classification layer is redesigned, and the original 3-layer fully connected layer is improved to a 2-layer fully connected layer. We take the features of 3 convolutional layers and 3 pooling layers as an example, and the process of part of the extracted features is shown in Figure 3. Use the ReLU activation function, and add a dropout layer to prevent overfitting, and change the final output classification to two categories. The data can be divided into schizophrenia and nonschizophrenia, and the amount of parameters is reduced, so that the network converges faster, and the recognition speed of the data is improved. Figure 4 shows the improved VGG16 schizophrenia classification model.

Figure 3.

Figure 3

Feature visualization.

Figure 4.

Figure 4

The improved VGG16 schizophrenia classification model.

2.3. Transfer Learning

Transfer learning solves the shortcomings of deep learning that requires a large number of sample training models. By training a pretrained model on a large data set, it is possible to use a small number of data sets to train the model. Fine-tune is a training method that retains the model feature extraction layer and retrains the model classification layer. The pretraining model used is the VGG16 network pretrained on the ImageNet data set, and the feature extraction layer of the pretraining model is fixed. Retrain the improved classification layer of VGG16 to complete the training of the schizophrenia classification model. Figure 5 shows the transfer learning training process.

Figure 5.

Figure 5

Transfer learning training process.

3. Results

3.1. Data Set

This experimental data set comes from the public data set of the Center for Biomedical Research Excellence (COBRE). The address of the COBRE data set is http://fcon_1000.Projects.nitrc.org/indi/retro/cobre.html. The data set in this paper contains 200 samples between the ages of 18 and 65. The information is shown in Table 1. In this paper, the original data is preprocessed by binarization, standardization, and smoothing. The specific process is shown in Figure 6.

Table 1.

Participant information.

Category Healthy Sick P value
Number of people 102 98
Average age (standard deviation) 36.85 (11.86) 37.46 (12.99) 0.55
Gender (male/female) 55/47 59/39

Figure 6.

Figure 6

Data preprocessing process.

3.2. Evaluation Index

We use evaluation indicators commonly used in classification tasks: precision, recall, accuracy, and AUC. Table 2 illustrates the classification task through the confusion matrix. True positive (TP) indicates that the positive class is predicted as a positive class, and the number of sample positive classes was actually predicted by the model. False negative indicates (FN) that the positive class is predicted as a negative class, and the number of negative classes in the sample was actually predicted by the model. False positive (FP) indicates that the negative class is predicted as a positive class, and the number of positive classes of samples was actually predicted by the model. True negative (TN) indicates that the negative class is predicted as a negative class, and the number of sample negative classes was actually predicted by the model.

Table 2.

Confusion matrix.

Data type Predicted positive class Predicted negative class
Actual positive class TP FN
Actual negative class FP TN

The definition of recall rate: it is the proportion of the true correct accounted for all actual positive. The calculation equation is as follows.

Recall=TPTP+FN. (5)

The definition of accuracy: it is the proportion of all predictions that are truly correct. The calculation equation is as follows.

Precision=TPTP+FP. (6)

3.3. Model Comparison

The algorithm under study is implemented on the deep learning framework TensorFlow and PyTorch platform and is programmed in Python language. The experiment did a detailed study on the schizophrenia recognition rate, accuracy rate, recall rate, and area under curve (AUC). The framework proposed by the research uses the COBRE data set. In order to further verify the effectiveness and superiority of the model proposed in this research, the test set is compared with the existing mainstream framework models. Table 3 gives the results of the evaluation indicators of different models. It can be seen that the framework proposed in this study has the highest classification accuracy rate (87.85%) and the highest accuracy rate (87.11%) compared with the current several popular methods. And the highest recall rate is 89.63%. The diagnostic accuracy rates of AlexNet, VGG16, and ResNet50 models are 78.36%, 85.27%, and 83.09%, respectively. It shows that the proposed schizophrenia diagnosis network is better than other comparison models in accuracy, precision, and recall and can effectively complete the classification task. The receiver operating characteristic (ROC) curves of the four models are shown in Figure 7. Unlike other network models, the accuracy and recall rates of our proposed network model are relatively balanced. At the same time, the AUC index of our proposed model is also higher than that of other models, which proves our model that can learn the essential feature of the data. The generalization ability of the model is better.

Table 3.

Comparison of effects of different models.

Different models Accuracy Precision Recall AUC
AlexNet 78.36% 81.29% 75.66% 0.76
VGG16 85.27% 86.33% 87.48% 0.83
ResNet 83.09% 86.59% 79.98% 0.81
Our model 87.58% 87.11% 89.63% 0.85

Figure 7.

Figure 7

The ROC curves of the four models.

4. Discussion

In this study, the diagnosis model of schizophrenia patients and normal people is based on the deep learning algorithm of fMRI data. Schizophrenia is a very serious mental disorder. At present, it is diagnosed clinically based on the corresponding diagnostic scale and doctor's experience, mainly based on the progress of the disease. This study uses objective EEG data and uses deep learning algorithms to establish a mathematical model for differential diagnosis of the disease, and good results have been achieved.

It can provide a reference for clinical diagnosis and improve the diagnosis ability of clinicians for schizophrenia so as to find the condition in time and give timely treatment.

In order to solve the problems of low accuracy in pathological recognition and complex feature engineering construction in traditional artificial recognition, a schizophrenia diagnosis model based on convolutional neural network algorithm was constructed through deep learning. The network first uses VGG16 for migration learning, then extracts the features of fMRI by designing the convolution structure of the neural network, and finally uses the fully connected layer for training and continuous optimization to obtain the optimal weight parameters.

Finally, the recognition of schizophrenia diagnosis can be achieved. The proposed model has a strong characterization ability for data features and achieved an accuracy of 87.85% in COBRE, which is 2.31 percentage points higher than the existing VGG16 algorithm. Further improvements are needed to meet actual application requirements. It has good application prospects. The application of deep learning in the diagnosis of schizophrenia based on magnetic resonance imaging is a research direction with both challenges and opportunities. In order to promote the transformation of deep learning models from the research stage to practical applications, researchers still need to conduct more systematic and in-depth exploration.

Acknowledgments

This research is funded by the Science Foundation of Quanzhou (No. 2020N046s).

Contributor Information

JinChi Zheng, Email: 445310297@qq.com.

HuaSong Lin, Email: huasonglin980@163.com.

Data Availability

The image data used to support the findings of this study have been deposited in the Center for Biomedical Research Excellence (COBRE) data set (http://fcon_1000.Projects.nitrc.org/indi/retro/cobre.html).

Conflicts of Interest

The authors declare no conflicts of interest.

Authors' Contributions

JinChi Zheng and XiaoLan Wei contributed equally to this paper.

References

  • 1.Freedman R. Schizophrenia. The New England Journal of Medicine . 2003;349(18):1738–1749. doi: 10.1056/NEJMra035458. [DOI] [PubMed] [Google Scholar]
  • 2.Klosterkotter J., Schultze-Lutter F., Bechdolf A., Ruhrmann S. Prediction and prevention of schizophrenia: what has been achieved and where to go next? World Psychiatry . 2011;10(3):165–174. doi: 10.1002/j.2051-5545.2011.tb00044.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Key S. The positive and negative syndrome (PANSS) for schizophrenia. Biological Psychiatry . 1987;20 [Google Scholar]
  • 4.Lv M. H., Tan Y. L., Yan S. X., et al. Decreased serum TNF-alpha levels in chronic schizophrenia patients on long-term antipsychotics: correlation with psychopathology and cognition. Psychopharmacology . 2015;232(1):165–172. doi: 10.1007/s00213-014-3650-y. [DOI] [PubMed] [Google Scholar]
  • 5.Tang Z., Zhao G., Ouyang T. Two-phase deep learning model for short-term wind direction forecasting. Renewable Energy . 2021;173(72):1005–1016. doi: 10.1016/j.renene.2021.04.041. [DOI] [Google Scholar]
  • 6.Tajbakhsh N., Shin J. Y., Gurudu S. R., et al. Convolutional neural networks for medical image analysis: full training or fine tuning? IEEE Transactions on Medical Imaging . 2016;35(5):1299–1312. doi: 10.1109/TMI.2016.2535302. [DOI] [PubMed] [Google Scholar]
  • 7.Zhao X., Wu Y., Song G., Li Z., Zhang Y., Fan Y. A deep learning model integrating FCNNs and CRFs for brain tumor segmentation. Medical Image Analysis . 2018;43:98–111. doi: 10.1016/j.media.2017.10.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Xiao Z., Huang R., Ding Y., et al. A deep learning-based segmentation method for brain tumor in MR images. 2016 IEEE 6th International Conference on Computational Advances in Bio and Medical Sciences (ICCABS); 2016; Atlanta, GA, USA. pp. 1–6. [DOI] [Google Scholar]
  • 9.Sarraf S., Tofighi G., for the Alzheimer’s Disease Neuroimaging Initiative DeepAD: Alzheimer's disease classification via deep convolutional neural networks using MRI and fMRI. 2016. https://www.biorxiv.org/content/10.1101/070441v1.
  • 10.Sarraf S., Tofighi G. Classification of Alzheimer's disease using fMRI data and deep learning convolutional neural networks. 2016. https://arxiv.org/abs/1603.08631.
  • 11.Li F., Tran L., Thung K. H., Ji S., Shen D., Li J. Robust Deep Learning for Improved Classification of AD/MCI Patients 5th International Workshop, MLMI . Vol. 8679. Springer International Publishing; 2014. [DOI] [Google Scholar]
  • 12.Chang C. W., Ho C. C., Chen J. H. ADHD classification by a texture analysis of anatomical brain MRI data. Frontiers in Systems Neuroscience . 2012;6:p. 66. doi: 10.3389/fnsys.2012.00066. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Kuang D., He L. Classification on ADHD with deep learning. 2014 International Conference on Cloud Computing and Big Data; 2014; Wuhan, China. pp. 27–32. [DOI] [Google Scholar]
  • 14.Vahid A., Bluschke A., Roessner V., Stober S., Beste C. Deep learning based on event-related EEG differentiates children with ADHD from healthy controls. Journal of Clinical Medicine . 2019;8(7):p. 1055. doi: 10.3390/jcm8071055. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Sakai K., Yamada K. Machine learning studies on major brain diseases: 5-year trends of 2014–2018. Japanese journal of radiology . 2019;37(1):34–72. doi: 10.1007/s11604-018-0794-4. [DOI] [PubMed] [Google Scholar]
  • 16.Lu X., Yang Y., Wu F., et al. Discriminative analysis of schizophrenia using support vector machine and recursive feature elimination on structural MRI images. Medicine . 2016;95(30, article e3973) doi: 10.1097/MD.0000000000003973. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Liu J., Li M., Pan Y., Wu F. X., Chen X., Wang J. Classification of schizophrenia based on individual hierarchical brain networks constructed from structural MRI images. IEEE Transactions on Nanobioscience . 2017;16(7):600–608. doi: 10.1109/TNB.2017.2751074. [DOI] [PubMed] [Google Scholar]
  • 18.Krizhevsky A., Sutskever I., Hinton G. E. ImageNet classification with deep convolutional neural networks. Advances in Neural Information Processing Systems . 2017;60(6):84–90. doi: 10.1145/3065386. [DOI] [Google Scholar]
  • 19.Tschumperlé D., Deriche R. Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition. IEEE Computer Society . 2016;1 [Google Scholar]
  • 20.Simonyan K., Zisserman A. Very deep convolutional networks for large-scale image recognition. 2014. https://arxiv.org/abs/1409.1556 .
  • 21.He K., Zhang X., Ren S., Sun J. Deep residual learning for image recognition. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR); 2016; Las Vegas, NV, USA. pp. 770–778. [Google Scholar]
  • 22.Yan Z., Zhang H., Piramuthu R., et al. HD-CNN: hierarchical deep convolutional neural networks for large scale visual recognition. IEEE International Conference on Computer Vision (ICCV 2015); 2015; Santiago, Chile. pp. 2740–2748. [Google Scholar]
  • 23.Schirrmeister R. T., Springenberg J. T., Fiederer L. D. J., et al. Deep learning with convolutional neural networks for EEG decoding and visualization. Human Brain Mapping . 2017;38(11):5391–5420. doi: 10.1002/hbm.23730. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Shin H. C., Roth H. R., Gao M., et al. Deep convolutional neural networks for computer-aided detection: CNN architectures, dataset characteristics and transfer learning. IEEE Transactions on Medical Imaging . 2016;35(5):1285–1298. doi: 10.1109/TMI.2016.2528162. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The image data used to support the findings of this study have been deposited in the Center for Biomedical Research Excellence (COBRE) data set (http://fcon_1000.Projects.nitrc.org/indi/retro/cobre.html).


Articles from Computational and Mathematical Methods in Medicine are provided here courtesy of Wiley

RESOURCES