Detecting Post-Traumatic Stress Disorder Trauma with Hybrid Expert System and Machine Learning
DOI:
https://doi.org/10.33050/ccit.v19i2.4379Keywords:
Forward Chaining, Hybrid Expert System, PTSD, Random Forest, SMOTEAbstract
Post-Traumatic Stress Disorder (PTSD) remains a critical mental health challenge, yet conventional diagnostics often struggle with subjective bias and linguistic ambiguity. This research addresses these limitations by developing a Hybrid Expert System that integrates Forward Chaining with a Random Forest machine learning algorithm to classify PTSD trauma severity into three levels: Low, Medium, and High. The hybrid architecture combines rigid clinical logic with adaptive pattern recognition to better interpret complex patient narratives. To overcome the prevalent issue of class imbalance in medical data, the Synthetic Minority Over-sampling Technique (SMOTE) was employed. Experimental results demonstrate that the proposed system achieves a high accuracy of 99.02%, significantly outperforming traditional keyword-matching methods and standalone rule-based systems. While maintaining high precision, the integration of SMOTE successfully enhanced the model’s sensitivity in detecting severe trauma cases. This study underscores the importance of hybrid intelligence in mental health informatics, providing a more objective, transparent, and reliable diagnostic tool. Such technology is vital for early clinical intervention, potentially reducing the long-term socio-economic impact of undiagnosed psychological trauma and supporting medical professionals in delivering more accurate mental health services.
Downloads
References
World Health Organization, “Post-traumatic stress disorder,” WHO. Accessed: Apr. 09, 2026. [Online]. Available: https://www.who.int/news-room/fact-sheets/detail/post-traumatic-stress-disorder
I. M. Sh Abukar, A. A. A. Rage, and M. O. Warsame, “Prevalence of Post-Traumatic Stress Disorder and Associated Factors Among Internally Displaced Persons (IDPS) In Mogadishu Cross-Sectional Study,” Psychol. Res. Behav. Manag., vol. 18, pp. 183–196, 2025, doi: 10.2147/PRBM.S488388.
D. Vigo, L. Jones, R. Atun, and G. Thornicroft, “The true global disease burden of mental illness: still elusive,” Feb. 01, 2022, Elsevier Ltd. doi: 10.1016/S2215-0366(22)00002-5.
E. Y. Suwandana, E. P. Mandyartha, and F. P. Aditiawan, “Sistem Pakar untuk Mendeteksi Awal Gangguan Kecemasan pada Remaja (Anxiety Disorder) Menggunakan Metode Forward Chaining,” Merkurius : Jurnal Riset Sistem Informasi dan Teknik Informatika, vol. 3, no. 2, pp. 36–47, Feb. 2025, doi: 10.61132/merkurius.v3i2.705.
I. Gunawan, A. P. Widyassari, I. Y. Panessai, and Jonathan Rante Carreon, “Hybrid Expert System for Academic Stress Diagnosis Using Forward Chaining and Score Weighting,” Advance Sustainable Science Engineering and Technology, vol. 7, no. 4, p. 02504036, Oct. 2025, doi: 10.26877/asset.v7i4.2586.
S. A. W. Kusumaningrum, O. Soleh, and N. Azizah, “Design of an Expert System for Early Detection of Domestic Violence Using Keyword Matching, Sentiment Analysis and Forward Chaining,” G-Tech: Jurnal Teknologi Terapan, vol. 10, no. 1, pp. 526–535, Jan. 2026, doi: 10.70609/g-tech.v10i1.8977.
Z. Sadeghi et al., “A review of Explainable Artificial Intelligence in healthcare,” Computers and Electrical Engineering, vol. 118, Aug. 2024, doi: 10.1016/j.compeleceng.2024.109370.
J. Sawalha, M. Yousefnezhad, Z. Shah, M. R. G. Brown, A. J. Greenshaw, and R. Greiner, “Detecting Presence of PTSD Using Sentiment Analysis From Text Data,” Front. Psychiatry, vol. 12, Feb. 2022, doi: 10.3389/fpsyt.2021.811392.
M. Ula, I. Saputra, R. Afdelina, and M. Ikhsan, “Science Midwifery Application of Expert System With Forward Chaining Method in Detecting Infectious Diseases in Children,” Online, 2022. [Online]. Available: www.midwifery.iocspublisher.orgJournalhomepage:www.midwifery.iocspublisher.org
L. ALI, T. C. Gun, and W. Alhasan, “Comparative Analysis of Machine Learning Algorithms in Enhancing Healthcare Outcomes,” European Modern Studies Journal, vol. 8, no. 3, pp. 606–618, Jul. 2024, doi: 10.59573/emsj.8(3).2024.38.
L. A. Martini, G. A. Pradipta, and R. R. Huizen, “Analysis of the Impact of Data Oversampling on the Support Vector Machine Method for Stroke Disease Classification,” Journal of Electronics, Electromedical Engineering, and Medical Informatics, vol. 7, no. 2, pp. 404–421, Apr. 2025, doi: 10.35882/jeeemi.v7i2.698.
S. Beddar-Wiesing, A. Moallemy-Oureh, M. Kempkes, and J. M. Thomas, “Absolute Evaluation Measures for Machine Learning: A Survey,” Jul. 2025, [Online]. Available: http://arxiv.org/abs/2507.03392.
D. Kurniawan, D. Triyanto, L. Sari Marita, and A. christian, “Perbandingan Kinerja Algoritma Machine Learning dalam Klasifikasi Penyakit Fundus Menggunakan Citra Fundus Digital,” Jurnal Ilmiah Sistem Informasi Akuntansi (JIMASIA), vol. 5, no. 2, pp. 179–188, 2025, doi: 10.33365/jimasia.v5i2.1476.
S. Sharmin and M. M. Islam, “Comprehensive Post-Traumatic Stress Disorder (PTSD) Analysis Dataset for Demographic and Symptom Insights,” 2024. doi: 10.17632/3sjms2g2mf.1.
K. Ghosh, C. Bellinger, R. Corizzo, P. Branco, B. Krawczyk, and N. Japkowicz, “The class imbalance problem in deep learning,” Mach. Learn., vol. 113, no. 7, pp. 4845–4901, 2024, doi: 10.1007/s10994-022-06268-8.
W. Rahayu et al., “Synthetic Minority Oversampling Technique (SMOTE) for Boosting the Accuracy of C4.5 Algorithm Model,” Journal of Artificial Intelligence and Engineering Applications (JAIEA), vol. 3, no. 3, pp. 624–630, Jun. 2024, doi: 10.59934/jaiea.v3i3.469.
M. Masadeh, †∥ M., C. Chola, and A. Y. Muaad, “Investigating the Impact of Preprocessing Techniques and Representation Models on Arabic Text Classification Using Machine Learning,” International Journal of Advanced Computer Science and Applications, vol. 15, pp. 1–9, Jan. 2024, doi: 10.14569/IJACSA.2024.01501110.
G. Husain et al., “SMOTE vs. SMOTEENN: A Study on the Performance of Resampling Algorithms for Addressing Class Imbalance in Regression Models,” Algorithms, vol. 18, no. 1, Jan. 2025, doi: 10.3390/a18010037.
J. Wang et al., “The application of machine learning techniques in posttraumatic stress disorder: a systematic review and meta-analysis,” Dec. 01, 2024, Nature Research. doi: 10.1038/s41746-024-01117-5.
H. Izzat, N. L. Adam, and Z. Ibrahim, “Performance Analysis of Machine Learning Techniques for Sentiment Analysis,” 2021, pp. 205–213. doi: 10.1007/978-3-030-90235-3_18.
S. Kabir, M. S. Hossain, and K. Andersson, “A Review of Explainable Artificial Intelligence from the Perspectives of Challenges and Opportunities,” Sep. 01, 2025, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/a18090556.
Y. Tan, P. P. Shenoy, B. Sherwood, C. Shenoy, M. Gaddy, and M. E. Oehlert, “Bayesian Network Models for PTSD Screening in Veterans,” INFORMS J. Comput., vol. 36, no. 2, pp. 495–509, Mar. 2024, doi: 10.1287/ijoc.2021.0174.
F. Ndikumana et al., “Machine learning-based predictive modelling of mental health in Rwandan Youth,” Sci. Rep., vol. 15, no. 1, Dec. 2025, doi: 10.1038/s41598-025-00519-z.
M. Ramdhany Edy and N. Fakhrunnisaa, “Predicting Mental Health Disorders Using Machine Learning and Symptom-Based Behavioral Features,” INTEC Journal: Information Technology Education Journal, vol. 4, no. 1, 2025.
A. Rosyida and T. B. Sasongko, “Early Detection of Alzheimer’s Disease with the C4.5 Algorithm Based on BPSO (Binary Particle Swarm Optimization),” Jurnal Sisfokom (Sistem Informasi dan Komputer), vol. 12, no. 3, pp. 341–349, Nov. 2023, doi: 10.32736/sisfokom.v12i3.1716.
P. Boraste and M. Deshmukh, “Advancing mental health diagnostics: A hybrid ensemble approach using machine learning and deep learning,” in AIP Conference Proceedings, American Institute of Physics, Jul. 2025. doi: 10.1063/5.0289459.