AI-Based Classification of Multiple Sclerosis Using OCT Retinal Layer Thickness Across Two Centers
Abstract
1. Introduction
2. Material and Methods
2.1. OCT Acquisition
2.2. Retinal Thickness Evaluation
2.3. Statistical Analysis
2.4. AI Classification
- Each classifier was trained using the initial set of 48 features (FN = 48) and applying LOO cross validation. At each step, the model was trained on all eyes except one, which was used for validation, and SHAP values for each input feature were computed. After completing the LOO cycle, a confusion matrix and overall accuracy were calculated, along with mean SHAP values per feature.
- The least important feature (lowest mean SHAP value) was eliminated, reducing the number of features by one (FN = FN − 1), and Step 1 was repeated until only one feature remained.
3. Results
3.1. OCT Thickness Comparison
3.2. Classification
- Metric importance: mean thickness contributes slightly more to model performance than standard deviation (weight 0.2448 vs. 0.2135).
- The most influential retinal layers, in order of importance, are the GCL (weight = 0.134), IPL (weight = 0.1207), IRL complex (weight = 0.1135), and RNFL (weight = 0.0901).
- Key anatomical regions: Zone 1 (weight = 0.1661) is the most discriminative, followed by Zone 6 (superotemporal quadrant, weight = 0.1293). The weights for the other zones are as follows: Zone 4 = 0.0755, Zone 2 = 0.0459, Zone 5 = 0.0255, and Zone 3 = 0.016.
4. Discussion
- The median AUC value of the four analyzed structures, considering thickness measurements (mean, STD) across the six zones, ranged between 0.63 (IPL, mean variable) and 0.68 (IRL, mean variable).
- The median AUC value of the six anatomical zones, considering mean and STD for the four structures, ranged between 0.63 (Zone 5, Zone 6) and 0.69 (Zone 1).
- When analyzing mean and STD variables globally, the median AUC values were 0.66 and 0.65, respectively.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Montalban, X.; Lebrun-Frénay, C.; Oh, J.; Arrambide, G.; Moccia, M.; Amato, M.P.; Amezcua, L.; Banwell, B.; Bar-Or, A.; Barkhof, F.; et al. Diagnosis of multiple sclerosis: 2024 revisions of the McDonald criteria. Lancet Neurol. 2025, 24, 850–865, Correction in Lancet Neurol. 2025, 24, E13. https://doi.org/10.1016/S1474-4422(25)00355-2. Erratum in Lancet Neurol. 2025, 24, 850–865. https://doi.org/10.1016/S1474-4422(25)00270-4.. [Google Scholar] [CrossRef] [PubMed]
- Tintore, M.; Cobo-Calvo, A.; Carbonell, P.; Arrambide, G.; Otero-Romero, S.; Río, J.; Tur, C.; Comabella, M.; Nos, C.; Arévalo, M.J.; et al. Effect of Changes in MS Diagnostic Criteria Over 25 Years on Time to Treatment and Prognosis in Patients with Clinically Isolated Syndrome. Neurology 2021, 97, e1641–e1652. [Google Scholar] [CrossRef] [PubMed]
- Cobo-Calvo, A.; Tur, C.; Otero-Romero, S.; Carbonell-Mirabent, P.; Ruiz, M.; Pappolla, A.; Alvarez, J.V.; Vidal-Jordana, A.; Arrambide, G.; Castilló, J.; et al. Association of Very Early Treatment Initiation with the Risk of Long-term Disability in Patients With a First Demyelinating Event. Neurology 2023, 101, e1280–e1292. [Google Scholar] [CrossRef] [PubMed]
- Comi, G.; Radaelli, M.; Sørensen, P.S. Evolving concepts in the treatment of relapsing multiple sclerosis. Lancet 2017, 389, 1347–1356. [Google Scholar] [CrossRef] [PubMed]
- NICE. Multiple Sclerosis in Adults: Management NICE Guideline Reference Number: NG220. 2022. Available online: https://www.nice.org.uk/Guidance/Ng220 (accessed on 20 March 2026).
- Hobart, J.; Bowen, A.; Pepper, G.; Crofts, H.; Eberhard, L.; Berger, T.; Boyko, A.; Boz, C.; Butzkueven, H.; Celius, E.G.; et al. International consensus on quality standards for brain health-focused care in multiple sclerosis. Mult. Scler. J. 2019, 25, 1809–1818. [Google Scholar] [CrossRef] [PubMed]
- Uher, T.; Adzima, A.; Srpova, B.; Noskova, L.; Maréchal, B.; Maceski, A.M.; Krasensky, J.; Stastna, D.; Andelova, M.; Novotna, K.; et al. Diagnostic delay of multiple sclerosis: Prevalence, determinants and consequences. Mult. Scler. J. 2023, 29, 1437–1451. [Google Scholar] [CrossRef] [PubMed]
- Patti, F.; Chisari, C.G.; Arena, S.; Toscano, S.; Finocchiaro, C.; Fermo, S.L.; Judica, M.L.; Maimone, D. Factors driving delayed time to multiple sclerosis diagnosis: Results from a population-based study. Mult. Scler. Relat. Disord. 2021, 57, 103361. [Google Scholar] [CrossRef] [PubMed]
- Zürrer, W.E.; Cannon, A.E.; Ilchenko, D.; Gaitán, M.I.; Granberg, T.; Piehl, F.; Solomon, A.J.; Ineichen, B.V. Misdiagnosis and underdiagnosis of multiple sclerosis: A systematic review and meta-analysis. Mult. Scler. J. 2024, 30, 1409–1422. [Google Scholar] [CrossRef] [PubMed]
- Aytulun, A.; Cruz-Herranz, A.; Aktas, O.; Balcer, L.J.; Balk, L.; Barboni, P.; Blanco, A.A.; Calabresi, P.A.; Costello, F.; Sanchez-Dalmau, B.; et al. APOSTEL 2.0 Recommendations for Reporting Quantitative Optical Coherence Tomography Studies. Neurology 2021, 97, 68–79. [Google Scholar] [CrossRef] [PubMed]
- Mauceri, V.A.; Puthenparampil, M.; Gallo, P.; Petzold, A. Optic nerve as a 5th location in the revised McDonald diagnostic criteria for multiple sclerosis: Limitations of OCT in the acute phase. BMJ Neurol. Open 2025, 7, e001118. [Google Scholar] [CrossRef] [PubMed]
- Savastano, M.C.; Nociti, V.; Giannuzzi, F.; Cestrone, V.; Carlà, M.M.; Fossataro, C.; Biagini, I.; Rizzo, C.; Kilian, R.; Bisurgi, M.; et al. Optical Coherence Tomography Advanced Parameters in Patients with Multiple Sclerosis: Ophthalmological and Neurological Assessments. Am. J. Ophthalmol. 2024, 267, 41–49. [Google Scholar] [CrossRef] [PubMed]
- Cavaliere, C.; Vilades, E.; Alonso-Rodríguez, M.C.; Rodrigo, M.J.; Pablo, L.E.; Miguel, J.M.; López-Guillén, E.; Morla, E.M.S.; Boquete, L.; Garcia-Martin, E. Computer-Aided Diagnosis of Multiple Sclerosis Using a Support Vector Machine and Optical Coherence Tomography Features. Sensors 2019, 19, 5323. [Google Scholar] [CrossRef] [PubMed]
- López-Dorado, A.; Ortiz, M.; Satue, M.; Rodrigo, M.J.; Barea, R.; Sánchez-Morla, E.M.; Cavaliere, C.; Rodríguez-Ascariz, J.M.; Orduna-Hospital, E.; Boquete, L.; et al. Early Diagnosis of Multiple Sclerosis Using Swept-Source Optical Coherence Tomography and Convolutional Neural Networks Trained with Data Augmentation. Sensors 2021, 22, 167. [Google Scholar] [CrossRef] [PubMed]
- Ortiz, M.; Mallen, V.; Boquete, L.; Sánchez-Morla, E.M.; Cordón, B.; Vilades, E.; Dongil-Moreno, F.J.; Miguel-Jiménez, J.M.; Garcia-Martin, E. Diagnosis of multiple sclerosis using optical coherence tomography supported by artificial intelligence. Mult. Scler. Relat. Disord. 2023, 74, 104725. [Google Scholar] [CrossRef] [PubMed]
- Ortiz, M.; Pueyo, A.; Dongil, F.J.; Boquete, L.; Sánchez-Morla, E.M.; Barea, R.; Miguel-Jimenez, J.M.; López-Dorado, A.; Vilades, E.; Rodrigo, M.J.; et al. New Method of Early RRMS Diagnosis Using OCT-Assessed Structural Retinal Data and Explainable Artificial Intelligence. Transl. Vis. Sci. Technol. 2025, 14, 14. [Google Scholar] [CrossRef] [PubMed]
- Brownlee, W.J.; Miszkiel, K.A.; Tur, C.; Barkhof, F.; Miller, D.H.; Ciccarelli, O. Inclusion of optic nerve involvement in dissemination in space criteria for multiple sclerosis. Neurology 2018, 91, e1130–e1134. [Google Scholar] [CrossRef] [PubMed]
- Bsteh, G.; Hegen, H.; Altmann, P.; Auer, M.; Berek, K.; Di Pauli, F.; Kornek, B.; Krajnc, N.; Leutmezer, F.; Macher, S.; et al. Diagnostic Performance of Adding the Optic Nerve Region Assessed by Optical Coherence Tomography to the Diagnostic Criteria for Multiple Sclerosis. Neurology 2023, 101, e784–e793. [Google Scholar] [CrossRef] [PubMed]
- Foster, M.A.; Pontillo, G.; Davagnanam, I.; Collorone, S.; Prados, F.; Kanber, B.; Yiannakas, M.C.; Ogunbowale, L.; Burke, A.; Wheeler-Kingshott, C.A.M.G.; et al. Improving criteria for dissemination in space in multiple sclerosis by including additional regions. Ann. Clin. Transl. Neurol. 2024, 11, 2572–2582. [Google Scholar] [CrossRef] [PubMed]
- Galetta, S.; Brownlee, W. Assignment Completed. The Optic Nerve Should Graduate to Be the Fifth Lesion Site for the Diagnosis of Multiple Sclerosis. Neurology 2024, 102, e207913. [Google Scholar] [CrossRef] [PubMed]
- Vidal-Jordana, A.; Rovira, A.; Calderon, W.; Arrambide, G.; Castilló, J.; Moncho, D.; Rahnama, K.; Collorone, S.; Toosy, A.T.; Ciccarelli, O.; et al. Adding the Optic Nerve in Multiple Sclerosis Diagnostic Criteria. Neurology 2024, 102, e200805, Correction in Neurology 2024, 102, e209214. https://doi.org/10.1212/WNL.0000000000209214. [Google Scholar] [CrossRef] [PubMed]
- Khodabandeh, Z.; Rabbani, H.; Ashtari, F.; Zimmermann, H.G.; Motamedi, S.; Brandt, A.U.; Paul, F.; Kafieh, R. Discrimination of multiple sclerosis using OCT images from two different centers. Mult. Scler. Relat. Disord. 2023, 77, 104846. [Google Scholar] [CrossRef] [PubMed]
- Asrani, S.; Rosdahl, J.A.; Allingham, R.R. Novel software strategy for glaucoma diagnosis: Asymmetry analysis of retinal thickness. Arch. Ophthalmol. 2011, 129, 1205–1211. [Google Scholar] [CrossRef] [PubMed]
- Petzold, A.; Albrecht, P.; Balcer, L.; Bekkers, E.; Brandt, A.U.; Calabresi, P.A.; Deborah, O.G.; Graves, J.S.; Green, A.; Keane, P.A.; et al. Artificial intelligence extension of the OSCAR-IB criteria. Ann. Clin. Transl. Neurol. 2021, 8, 1528–1542. [Google Scholar] [CrossRef] [PubMed]
- Dongil-Moreno, F.J.; Ortiz, M.; Pueyo, A.; Boquete, L.; Sánchez-Morla, E.M.; Jimeno-Huete, D.; Miguel, J.M.; Barea, R.; Vilades, E.; Garcia-Martin, E. Diagnosis of multiple sclerosis using optical coherence tomography supported by explainable artificial intelligence. Eye 2024, 38, 1502–1508. [Google Scholar] [CrossRef] [PubMed]
- Guyon, I.; Weston, J.; Barnhill, S.; Vapnik, V. Gene Selection for Cancer Classification using Support Vector Machines. Mach. Learn. 2002, 46, 389–422. [Google Scholar] [CrossRef]
- Lundberg, S.M.; Lee, S.I. A unified approach to interpreting model predictions. In Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS2017), Long Beach, CA, USA, 4–9 December 2017. [Google Scholar]
- Paul, F.; Calabresi, P.A.; Barkhof, F.; Green, A.J.; Kardon, R.; Sastre-Garriga, J.; Schippling, S.; Vermersch, P.; Saidha, S.; Gerendas, B.S.; et al. Optical coherence tomography in multiple sclerosis: A 3-year prospective multicenter study. Ann. Clin. Transl. Neurol. 2021, 8, 2235–2251. [Google Scholar] [CrossRef] [PubMed]
- Pietroboni, A.M.; Carandini, T.; Dell’Arti, L.; Bovis, F.; Colombi, A.; De Riz, M.A.; Casazza, E.; Scola, E.; Fenoglio, C.; Arighi, A.; et al. Evidence of retinal anterograde neurodegeneration in the very early stages of multiple sclerosis: A longitudinal OCT study. Neurol. Sci. 2020, 41, 3175–3183. [Google Scholar] [CrossRef] [PubMed]
- Nolan-Kenney, R.C.; Liu, M.; Akhand, O.; Calabresi, P.A.; Paul, F.; Petzold, A.; Balk, L.; Brandt, A.U.; Martínez-Lapiscina, E.H.; Saidha, S.; et al. Optimal intereye difference thresholds by optical coherence tomography in multiple sclerosis: An international study. Ann. Neurol. 2019, 85, 618–629. [Google Scholar] [CrossRef] [PubMed]






| PwMS | Controls | |||||
|---|---|---|---|---|---|---|
| MSH | RCH | Statics | MSH | RCH | Statics | |
| N (eyes) | 98 | 14 | - | 135 | 58 | - |
| Male/female eyes | 21/77 | 2/12 | p = 0.53 | 34/101 | 8/50 | p = 0.078 |
| Age (years) | 42.54 ± 10.12 | 35.14 ± 9.43 | 0.019 | 48.20 ± 12.22 | 44.77 ± 11 .89 | 0.051 |
| Disease duration (years) | 1.42 ± 0.72 | 6.82 ± 2.57 | <0.001 | NA | NA | NA |
| EDSS (median) [range] | 1.28 (0–3) | 2.40 (1–6.5) | <0.001 | NA | NA | NA |
| Variable: MEAN | Variable: STD | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| RNFL | GCL | IPL | IRL | RNFL | GCL | IPL | IRL | Median of Each Zone | |
| Zone 1 | 0.73 | 0.74 | 0.72 | 0.72 | 0.73 | 0.66 | 0.67 | 0.53 | 0.72 |
| Zone 2 | 0.69 | 0.72 | 0.69 | 0.69 | 0.72 | 0.52 | 0.62 | 0.61 | 0.69 |
| Zone 3 | 0.68 | 0.63 | 0.58 | 0.68 | 0.64 | 0.67 | 0.65 | 0.70 | 0.66 |
| Zone 4 | 0.68 | 0.62 | 0.58 | 0.69 | 0.65 | 0.68 | 0.63 | 0.69 | 0.67 |
| Zone 5 | 0.63 | 0.65 | 0.59 | 0.65 | 0.61 | 0.65 | 0.61 | 0.61 | 0.62 |
| Zone 6 | 0.58 | 0.63 | 0.59 | 0.62 | 0.61 | 0.68 | 0.68 | 0.67 | 0.63 |
| Median of variable per layer | RNFL: 0.68 | GCL: 0.64 | IPL: 0.59 | IRL: 0.69 | RNFL: 0.65 | GCL: 0.67 | IPL: 0.64 | IRL: 0.64 | |
| Median of variable | MEDIAN: 0.67 | STD: 0.65 | |||||||
| Median values per layer, considering variables MEAN and STD | |||||||||
| RNFL | 0.66 | ||||||||
| GCL | 0.65 | ||||||||
| IPL | 0.63 | ||||||||
| IRL | 0.68 | ||||||||
| Method | Accuracy (%) | Sensitivity (%) | Specificity (%) |
|---|---|---|---|
| SVM-RBF | 84.59 | 71.43 | 92.23 |
| SVM-Linear | 79.34 | 52.68 | 94.82 |
| LR | 77.38 | 52.68 | 91.71 |
| LDA | 78.03 | 50.89 | 93.78 |
| KNN | 81.97 | 64.29 | 92.23 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Ortiz, M.; Dongil-Moreno, J.; Rebolleda, G.; Artiaga, N.; Boquete, L.; Miguel-Jimenez, J.M.; Rodrigo, M.J.; López-Dorado, A.; Zamora, R.; García Vicente, E.; et al. AI-Based Classification of Multiple Sclerosis Using OCT Retinal Layer Thickness Across Two Centers. Biomedicines 2026, 14, 1613. https://doi.org/10.3390/biomedicines14071613
Ortiz M, Dongil-Moreno J, Rebolleda G, Artiaga N, Boquete L, Miguel-Jimenez JM, Rodrigo MJ, López-Dorado A, Zamora R, García Vicente E, et al. AI-Based Classification of Multiple Sclerosis Using OCT Retinal Layer Thickness Across Two Centers. Biomedicines. 2026; 14(7):1613. https://doi.org/10.3390/biomedicines14071613
Chicago/Turabian StyleOrtiz, Miguel, Javier Dongil-Moreno, Gema Rebolleda, Naiara Artiaga, Luciano Boquete, Juan M. Miguel-Jimenez, Maria J. Rodrigo, Almudena López-Dorado, Rosario Zamora, Eduardo García Vicente, and et al. 2026. "AI-Based Classification of Multiple Sclerosis Using OCT Retinal Layer Thickness Across Two Centers" Biomedicines 14, no. 7: 1613. https://doi.org/10.3390/biomedicines14071613
APA StyleOrtiz, M., Dongil-Moreno, J., Rebolleda, G., Artiaga, N., Boquete, L., Miguel-Jimenez, J. M., Rodrigo, M. J., López-Dorado, A., Zamora, R., García Vicente, E., Sánchez-Morla, E. M., Andres-Luna, B., Muñoz Negrete, F. J., & Garcia-Martin, E. (2026). AI-Based Classification of Multiple Sclerosis Using OCT Retinal Layer Thickness Across Two Centers. Biomedicines, 14(7), 1613. https://doi.org/10.3390/biomedicines14071613

