Brian A Zaboski, Sarah Kathryn Fineberg, Patrick D Skosnik, Stephen Kichuk, Madison Fitzpatrick, Christopher Pittenger
{"title":"Classifying Obsessive-Compulsive Disorder from Resting-State EEG using Convolutional Neural Networks: A Pilot Study.","authors":"Brian A Zaboski, Sarah Kathryn Fineberg, Patrick D Skosnik, Stephen Kichuk, Madison Fitzpatrick, Christopher Pittenger","doi":"10.1101/2025.05.06.25327094","DOIUrl":null,"url":null,"abstract":"<p><p><b>Objective:</b> Identifying obsessive-compulsive disorder (OCD) using brain data remains challenging. Resting-state electroencephalography (EEG) offers an affordable and noninvasive approach, but identifying predictive signals in EEG data has met with little success, even with the application of traditional machine learning methods. We explored whether convolutional neural networks (CNNs) applied to EEG time-frequency representations can distinguish individuals with OCD from healthy controls. <b>Method:</b> We collected resting-state EEG data from 20 unmedicated participants (10 with OCD, 10 healthy controls). Four-second EEG segments were transformed into time-frequency representations. We then trained a 2D CNN using a leave-one-subject-out cross-validation framework to perform subject-level classification and compared its performance to a more traditional support vector machine (SVM) approach. Next, using multimodal fusion, we examined whether adding clinical and demographic information improved classification. <b>Results:</b> The CNN classifier achieved high subject-level performance, distinguishing individuals with an accuracy of 85.0% and an area under the curve (AUC) of 0.88. This significantly outperformed the SVM baseline, which performed no better than chance (45.0% accuracy, AUC: 0.47). A subsequent multimodal analysis revealed that clinical and demographic variables did not contribute any additional independent information. <b>Conclusion:</b> CNNs applied to resting-state EEG show promise for identifying OCD, outperforming traditional machine learning methods. These findings highlight the potential of deep learning to uncover complex, diagnostically relevant patterns in neural data. While limited by sample size, this work supports further investigation into multimodal models for psychiatric classification, warranting replication in larger, more diverse samples.</p>","PeriodicalId":94281,"journal":{"name":"medRxiv : the preprint server for health sciences","volume":" ","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2025-09-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12083605/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"medRxiv : the preprint server for health sciences","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1101/2025.05.06.25327094","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Objective: Identifying obsessive-compulsive disorder (OCD) using brain data remains challenging. Resting-state electroencephalography (EEG) offers an affordable and noninvasive approach, but identifying predictive signals in EEG data has met with little success, even with the application of traditional machine learning methods. We explored whether convolutional neural networks (CNNs) applied to EEG time-frequency representations can distinguish individuals with OCD from healthy controls. Method: We collected resting-state EEG data from 20 unmedicated participants (10 with OCD, 10 healthy controls). Four-second EEG segments were transformed into time-frequency representations. We then trained a 2D CNN using a leave-one-subject-out cross-validation framework to perform subject-level classification and compared its performance to a more traditional support vector machine (SVM) approach. Next, using multimodal fusion, we examined whether adding clinical and demographic information improved classification. Results: The CNN classifier achieved high subject-level performance, distinguishing individuals with an accuracy of 85.0% and an area under the curve (AUC) of 0.88. This significantly outperformed the SVM baseline, which performed no better than chance (45.0% accuracy, AUC: 0.47). A subsequent multimodal analysis revealed that clinical and demographic variables did not contribute any additional independent information. Conclusion: CNNs applied to resting-state EEG show promise for identifying OCD, outperforming traditional machine learning methods. These findings highlight the potential of deep learning to uncover complex, diagnostically relevant patterns in neural data. While limited by sample size, this work supports further investigation into multimodal models for psychiatric classification, warranting replication in larger, more diverse samples.