EEG-Based PTSD Classification Using Random Forest, CNN, and Ensemble Learning: A Comparative Study
Abstract
Post-traumatic stress disorder (PTSD) poses significant diagnostic challenges due to reliance on subjective assessment. This study presents an objective EEG-based classification framework leveraging handcrafted spectral features and deep learning representations. We extracted absolute power spectral density and coherence metrics from 19-channel EEG recordings across six canonical frequency bands, yielding 114 initial features. Three modeling strategies were evaluated: a Random Forest (RF) classifier with grid-searched hyperparameters and subsequent feature pruning; a modified AlexNet-based convolutional neural network (CNN) trained on 224×224 EEG images; and a soft-voting ensemble combining RF and CNN outputs. The RF model achieved 83.7% accuracy under 5-fold cross-validation, which improved to 88.4% after pruning to the top 45 features. The CNN attained 89.1% accuracy with stable convergence over 30 epochs. The soft-voting ensemble outperformed individual models, reaching 90.9% average cross-validated accuracy and an AUC of 0.92, with balanced precision and recall. Analysis of ROC curves highlighted sensitivity-specificity trade-offs in low false-positive regions, informing potential clinical threshold selection. These results demonstrate that integrating handcrafted and deep features yields a robust, objective approach for PTSD recognition from EEG. Future work will explore end-to-end raw signal modeling, adaptive ensemble weighting, and prospective clinical validation to enhance diagnostic utility. From a clinical perspective, the proposed framework may serve as a non-invasive and quantitative decision-support tool to aid clinicians in early detection and to reduce the likelihood of PTSD misdiagnosis.
References
- Lancaster, C. L., Teeters, J. B., Gros, D. F., & Back, S. E. (2016). Posttraumatic Stress Disorder: Overview of Evidence-Based Assessment and Treatment. Journal of Clinical Medicine, 5(11), 105. https: //doi.org/10.3390/jcm5110105
- Lynn M. Almli, Negar Fani, Alicia K. Smith, Kerry J. Ressler, Genetic approaches to understanding post-traumatic stress disorder, International Journal of Neuropsychopharmacology, Volume 17, Issue 2, February 2014, Pages 355–370, https: //doi.org/10.1017/S1461145713001090
- Peddi, A., Sendi, M. S. E., Minton, S. T., Langhinrichsen-Rohling, R., Hinojosa, C. A., West, E., Ressler, K. J., Calhoun, V. D., & van Rooij, S. J. H. (2025). Towards predicting posttraumatic stress symptom severity using portable EEG-derived biomarkers. Scientific Reports, 15, Article 5344. https: //doi.org/10.1038/s41598-025-88426-1
- Salazar-Castro, J. A., Peluffo-Ordóñez, D. H., & López, D. M. (2025). Advances in electroencephalography for post-traumatic stress disorder identification: A scoping review. IEEE Open Journal of Engineering in Medicine and Biology, 6, 332–344. https: //doi.org/10.1109/ojemb.2025.3538498
- Edlinger G, Rizzo C, Guger C: "Brain Computer Interface." Springer Handbook of Medical Technology. Springer, Berlin Heidelberg, 2011. 1003–1017.
- Peddi, A., Sendi, M.S.E., Minton, S.T. et al. Towards predicting posttraumatic stress symptom severity using portable EEG-derived biomarkers. Sci Rep 15, 5344 (2025). https: //doi.org/10.1038/s41598-025-88426-1
- S. M. Park et al., “Identification of Major Psychiatric Disorders from Resting‑State Electroencephalography Using a Machine Learning Approach, ” *Frontiers in Psychiatry*, vol. 12, art. 707581, Aug. 2021. [Online]. Available: https: //osf.io/8bsvr
- A. Krizhevsky, I. Sutskever, and G. E. Hinton, “ImageNet Classification with Deep Convolutional Neural Networks, ” in *Advances in Neural Information Processing Systems*, vol. 25, pp. 1097–1105, 2012. [Online]. Available: https: //dl.acm.org/ doi/pdf/10.1145/3065386