Machine Learning-Based Prediction of Nightmares in Children: A Pediatric Psychological Integration
Lamia Islam, Md. Basim Al Zabir Shammo, Md. Rashed, Md. Imran Hossain, M. Miya, Moumita Haque Mohona
2025 IEEE 2nd International Conference on Computing, Applications and Systems October 23, 2025 DOI: 10.1109/compas67506.2025.11381639 (opens in new tab)
Study at a glance
AI-extracted from the abstract| Characteristics | Comparative machine learning model development study Peer reviewed |
|---|---|
| Population | Children with fear-related nightmares |
| Measures | precision, recall, F1 score, confusion matrices |
| Topics | Dreaming |
| Key points | LightGBM outperformed logistic regression, decision trees, SVM, KNN, and naive Bayes in predicting fear-related nightmares in children, achieving 99.77% accuracy, 100% precision, 99.53% recall, and a 99.77% F1 score. The authors propose it as a reliable data-driven approach for early detection and timely mental health intervention. |
Abstract
Identifying fear-related nightmares in children is particularly challenging, as young children often struggle to articulate their experiences or recall dream content. These nightmares, however, can severely disrupt sleep, hinder academic performance, and heighten psychological vulnerability, underscoring the need foraccurate and early prediction for effective intervention. This study explores various ML approaches, including LR, DT, SVM, KNN, NB, and LightGBM, to develop a robust predictive framework. The dataset undergoes comprehensive preprocessing, incorporating categorical encoding, numerical feature scaling, insufficient data handling, and the SMOTE to mitigate class imbalance. Each model is systematically trained and key performance indicators such as precision, recall, and F1 score were used for evaluation, with confusion matrices providing further insight into classification performance. Among the models evaluated, Light-GBM demonstrated the highest predictive performance, achieving an accuracy of 99.77%, a precision of 100%, a recall of 99.53%, and an F1 score of 99.77%, surpassing all other approaches. In this research, LightGBM is introduced as the proposed model, demonstrating superior predictive capability compared to alternative approaches and underscoring its effectiveness in predicting fear-related nightmares with high reliability. The study advances ongoing research efforts focused on machine learning applications in psychological assessment, offering a data-driven approach to early detection and facilitating timely mental health interventions.
Citations in the library
Cites 4
- Understanding and Treating Nightmares: A Comprehensive Review of Psychosocial Strategies for Adults and Children. Cureus September 1, 2024
- Nightmares and Sleep Disturbances in Children with PTSD: A Polysomnographic and Actigraphy Approach Evaluation. Journal of Clinical Medicine October 17, 2023
- Prevalence and correlates of disturbed dreaming in children. Pathologie-biologie October 1, 2014
- Frequent nightmares in children: familial aggregation and associations with parent-reported behavioral and mood problems. Sleep April 1, 2011