Classification of Psychiatry Clinical Notes by Diagnosis: A Deep Learning and Machine Learning Approach
Not on the map. Why?
Abstract (arXiv)
The classification of clinical notes into specific diagnostic categories is critical in healthcare, especially for mental health conditions like Anxiety and Adjustment Disorder. In this study, we compare the performance of various Artificial Intelligence models, including both traditional Machine Learning approaches (Random Forest, Support Vector Machine, K-nearest neighbors, Decision Tree, and eXtreme Gradient Boost) and Deep Learning models (DistilBERT and SciBERT), to classify clinical notes into these two diagnoses. Additionally, we implemented three oversampling strategies: No Oversampling, Random Oversampling, and Synthetic Minority Oversampling Technique (SMOTE), to assess their impact on model performance. Hyperparameter tuning was also applied to optimize model accuracy. Our results indicate that oversampling techniques had minimal impact on model performance overall. The only exception was SMOTE, which showed a positive effect specifically with BERT-based models. However, hyperparameter optimization significantly improved accuracy across the models, enhancing their ability to generalize and perform on the dataset. The Decision Tree and eXtreme Gradient Boost models achieved the highest accuracy among machine learning approaches, both reaching 96%, while the DistilBERT and SciBERT models also attained 96% accuracy in the deep learning category. These findings underscore the importance of hyperparameter tuning in maximizing model performance. This study contributes to the ongoing research on AI-assisted diagnostic tools in mental health by providing insights into the efficacy of different model architectures and data balancing methods.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 9 of its 53 references that are in the map. First posted on arXiv 1 Aug 2025.
Builds on
9 of 53 references.
References · 9
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,414
- 2023GPT-NER: Named Entity Recognition via Large Language Modelscited by 160
- 2020Stopwords in Technical Language Processingcited by 29
- 2020Machine Learning-based Approach for Depression Detection in Twitter Using Content and Activity Featurescited by 9
- 2023GersteinLab at MEDIQA-Chat 2023: Clinical Note Summarization from Doctor-Patient Conversations through Fine-tuning and In-context Learningcited by 9
- 2024Enhancing ASD detection accuracy: a combined approach of machine learning and deep learning models with natural language processingcited by 3
- 2024Traditional Machine Learning Models and Bidirectional Encoder Representations From Transformer (BERT)-Based Automatic Classification of Tweets About Eating Disorders: Algorithm Development and Validation Studycited by 2
- 2024Suicide Phenotyping from Clinical Notes in Safety-Net Psychiatric Hospital Using Multi-Label Classification with Pre-Trained Language Modelscited by 2
Built on by
Not cited yet.