Background: Encephalitis is a severe and potentially life-threatening inflammatory disorder of the central nervous system. Without prompt diagnosis and appropriate treatment, it often results in poor clinical outcomes. The study aimed to develop an artificial intelligence-based model that distinguishes autoimmune encephalitis from infectious encephalitis, encompassing a broad spectrum of autoimmune encephalitis phenotypes, serostatuses, and neuroimmunological entities. Methods: We conducted a retrospective analysis of patients diagnosed with autoimmune encephalitis, including paraneoplastic neurological syndromes and/or infectious encephalitis, at Vilnius University Hospital Santaros Klinikos from 2016 to 2024. Supervised machine learning techniques were used to train the models, and Shapley Additive Explanations analysis was applied to improve their interpretability. Results: A total of 233 patients were included in the study. The Random Forest model demonstrated the best performance in differentiating the etiology of encephalitis, achieving an AUROC of 0.966. Further analysis revealed that laboratory, electroencephalography, and clinical data were the most influential predictors, whereas imaging data contributed less to classification accuracy. Conclusions: We developed a machine learning model capable of distinguishing infectious encephalitis from both seropositive and seronegative autoimmune encephalitis. Since autoimmune cases may be misdiagnosed as infectious in the absence of detectable antibodies, our model has the potential to support clinical decision-making and reduce diagnostic uncertainty.
Objective: The differential diagnosis of neuroimmunological disorders remains a significant challenge in clinical practice, even with advancements in diagnostic techniques. Recently, the use of artificial intelligence (AI) for diagnosing and distinguishing between various neuroimmunological disorders has gained traction. Our objective was to conduct a systematic review and meta-analysis to evaluate the diagnostic performance of Machine Learning (ML) and Deep Learning (DL) techniques in differentiating these disorders. We aimed to identify the most effective approaches, compare their diagnostic outcomes, and offer recommendations for improving their applicability across multiple clinical centers and for future research. Methods: Following the PRISMA 2020 guidelines, a systematic search in PubMed and Web of Science was conducted to identify relevant articles published between 2000 and 2024 that fell within the scope of our research. QUADAS-2 tool was assessed to evaluate the risk of bias and applicability concerns. The performed meta-analysis allowed us to estimate the overall accuracy, sensitivity, and specificity of the developed models providing quantitative insights from this analysis. Results: Of 4,470 articles identified, 19 met inclusion criteria: 9 (47.4%) used ML and 10 (52.6%) used DL. Most models relied on MRI data to differentiate multiple sclerosis from neuromyelitis optica spectrum disorders. Pooled accuracy, sensitivity, and specificity were 0.87, 0.86, and 0.84, respectively. Substantial heterogeneity was observed, which decreased in a sensitivity analysis excluding larger-sample studies and varied between ML and DL models, with ML showing lower heterogeneity. Conclusion: New AI tools, primarily utilizing MRI data, are emerging and demonstrate the potential to differentiate between various neuroimmunological disorders. While most neuroimmunological conditions have accessible antibody tests with strong diagnostic performance, AI efforts should concentrate on seronegative diseases. This approach should incorporate clinical and epidemiological data into diagnostic algorithms for improved accuracy.