Detection of Multiple Sclerosis Lesions in MR Images Based on Convolutional Neural Networks

Document Type : Research Article

Authors

1 Department of Electrical and Electronics Engineering, Faculty of Engineering, Shomal University, Amol, Iran

2 Department of Biomedical Engineering, Faculty of Engineering, Shahed University, Tehran, Iran

10.22080/frai.2025.29274.1015

Abstract

Multiple Sclerosis (MS) is a chronic autoimmune disease that affects the central nervous system and can lead to neurological disabilities. Early and accurate diagnosis plays a key role in managing its long-term effects. This study proposes a novel model based on convolutional neural networks (CNN) for identifying MS lesions in MRI images.
This study used an MRI dataset from 60 individuals divided into training, validation, and test sets. The preprocessing included removing initial slices and applying data augmentation (random rotations) to increase the number of training images to 1080. A customized CNN architecture was designed to learn the features related to MS lesions. The model's performance was evaluated using accuracy, sensitivity, and specificity metrics on validation and test data. The CNN performance was also compared with two machine learning algorithms: decision tree and support vector machine.
The proposed CNN model showed promising performance in detecting MS lesions. It achieved an accuracy of 99% during training and 96.44% during validation, demonstrating its ability to generalize to new data. The test accuracy was 92.6%, with sensitivity and specificity reported as 84% and 95%, respectively. Compared to other methods, the CNN outperformed the support vector machine (accuracy 85%, sensitivity 82.61%, specificity 98%) and the decision tree (accuracy 98%, sensitivity 95%, specificity 83.72%), highlighting its high capability in detecting MS lesions.
This research successfully demonstrates the capability of convolutional neural networks (CNN) in the accurate and automated detection of MS lesions in MRI images, achieving a test accuracy of 92.6%. The superior performance of CNN compared to traditional machine learning methods offers a promising approach for improving diagnostic accuracy, reducing reliance on human factors, and accelerating therapeutic interventions. The development of such tools can assist clinical specialists, enhance diagnostic efficiency, and facilitate better patient management. In the future, it is recommended to focus on improving CNN architecture, utilizing broader datasets, and exploring its application in different types of MS and disease progression monitoring.

Keywords


  • Sedaghat, H. Jang, J. S. Athertya, M. Groezinger, J. Corey-Bloom, and J. Du, "The signal intensity variation of multiple sclerosis (MS) lesions on magnetic resonance imaging (MRI) as a potential biomarker for patients’ disability: A feasibility study," Frontiers in Neuroscience, vol. 17, p. 1145251, 2023.doi.org/ 10.3389/fnins.2023.1145251

 

  • Dobson and G. Giovannoni, "Multiple sclerosis–a review," European journal of neurology, vol. 26, no. 1,pp. 27-40, 2019.doi.org/10.1111/ene.13819

 

  • Rodríguez Murúa, M. F. Farez, and F. J. Quintana, "The immune response in multiple sclerosis," Annual Review of Pathology: Mechanisms of Disease, vol. 17, no. 1, pp. 121-139, 2022.doi.org/10.1146/annurev-pathol-052920-040318

 

  • Ochoa-Morales et al., "Quality of life in patients with multiple sclero6sis and its association with depressive symptoms and physical disability," Multiple sclerosis and related disorders, vol. 36, p. 101386, 2019.https://doi.org/10.1016/j.msard.2019.101386

 

  • C. Hemond and R. Bakshi, "Magnetic resonance imaging in multiple sclerosis," Cold Spring Harbor perspectives in medicine, vol. 8, no. 5, p. a028969, 2018.Available on: perspectivesinmedicine.cshlp.org

 

 

  • H. Jalalzadeh, A. Shalbaf, and A. Maghsoudi, "Compensation of brain shift during surgery using non- rigid registration of MR and ultrasound images," (in eng), Tehran University Medical Journal, Original Article vol. 78, no. 10, pp. 658-667, 2021. Available on: www.sid.ir/paper/391374/en

 

  • Krichen, "Convolutional neural networks: A survey," Computers, vol. 12, no. 8, p. 151, 2023.doi.org/10.3390/computers12080151

 

  • F. Ahmed et al., "Deep learning modelling techniques: current progress, applications, advantages, and challenges," Artificial Intelligence Review, vol. 56, no. 11, pp. 13521-13617, 2023.doi.org/10.1007/s10462-023-10466-8

 

  • H. Jalalzadeh, H. Ebrahimi, and M. Jahangiri Moghadam, "Classification of heart diseases using time- frequency representations of electrocardiogram signals by transfer learning networks," Majlesi Journal of Electrical Engineering, vol. 19, no. 1 (March 2025), pp.1-8, 03/01 2025. doi.org/10.57647/j.mjee.2025.1901.11.

 

  • Coll et al., "Deciphering multiple sclerosis disability with deep learning attention maps on clinical MRI," NeuroImage: Clinical, vol. 38, p. 103376, 2023.doi.org/10.1016/j.nicl.2023.103376

 

  • Cruciani et al., "Interpretable deep learning as a means for decrypting disease signature in multiple sclerosis," Journal of Neural Engineering, vol. 18, no. 4,p. 0460a6, 2021.doi.org/10.1088/1741-2552/ac0f4b

 

  • Filippi et al., "Present and future of the diagnostic work-up of multiple sclerosis: the imaging perspective," Journal of neurology, vol. 270, no. 3, pp. 1286-1299,2023.doi.org/10.1007/s00415-022-11488-y

 

  • Moazami, A. Lefevre-Utile, C. Papaloukas, and V. Soumelis, "Machine learning approaches in study of multiple sclerosis disease through magnetic resonance images," Frontiers in immunology, vol. 12, p. 700582, 2021.doi.org/10.3389/fimmu.2021.700582

 

  • Iwamura et al., "Thin-slice two-dimensional T2- weighted imaging with deep learning-based reconstruction: Improved lesion detection in the brain of patients with multiple sclerosis," Magnetic Resonance in Medical Sciences, vol. 23, no. 2, pp. 184-192, 2024.doi.org/10.2463/mrms.mp.2022-0112

 

 

  • Mani et al., "Applying deep learning to accelerated clinical brain magnetic resonance imaging for multiple sclerosis," Frontiers in neurology, vol. 12, p. 685276, 2021.doi.org/10.3389/fneur.2021.685276

 

  • Fenneteau, P. Bourdon, D. Helbert, C. Fernandez- Maloigne, C. Habas, and R. Guillevin, "Investigating efficient CNN architecture for multiple sclerosis lesion segmentation," Journal of Medical Imaging, vol. 8, no. 1, pp. 014504-014504, 2021.doi.org/10.1117/1.JMI.8.1.014504

 

  • Ortiz et al., "Diagnosis of multiple sclerosis using optical coherence tomography supported by artificial intelligence," Multiple Sclerosis and Related Disorders, vol. 74, p. 104725, 2023.doi.org/10.1016/j.msard.2023.104725

 

  • Pandey, D., Niwaria, K., & Chourasia, B. (2019). Machine learning algorithms: a review. Mach. Learn, 6(2)., Darpan, Kamal Niwaria, and Bharti Chourasia. "Machine learning algorithms: a review." Mach. Learn 6.2 (2019).Available on:www.d1wqtxts1xzle7.cloudfront.net

 

  • Habib and S. Qureshi, "Optimization and acceleration of convolutional neural networks: A survey," Journal of King Saud University-Computer and Information Sciences, vol. 34, no. 7, pp. 4244-4268,2022.doi.org/10.1016/j.jksuci.2020.10.004

 

  • H. Jalalzadeh, S. S. Talebi, and M. H. Kamangar, "Two-step registration of rigid and non-rigid MR-iUS for brain shift compensation using transfer learning," in 2024 20th CSI International Symposium on Artificial Intelligence and Signal Processing (AISP), 21-22 Feb. 2024, pp.1-5.doi.org/10.1109/AISP61396.2024.10475261.

 

  • Purwono, A. Ma'arif, W. Rahmaniar, H. I. K. Fathurrahman, A. Z. K. Frisky, and Q. M. ul Haq, "Understanding of convolutional neural network (cnn): A review," International Journal of Robotics and Control Systems, vol. 2, no. 4, pp. 739-748, 2022. doi.org/10.31763/ijrcs.v2i4.888

 

 

 

Volume 1, Issue 1
June 2025
Pages 11-18
  • Receive Date: 20 May 2025
  • Revise Date: 06 June 2025
  • Accept Date: 07 June 2025
  • First Publish Date: 07 June 2025
  • Publish Date: 01 June 2025