An explainable machine learning framework for analyzing and predicting mental health problems among university students in Bangladesh

Mental health problems (MHPs) among university students are an increasing public health concern globally, including in Bangladesh. While machine learning (ML) methods can capture complex patterns in mental health data, their application to non-probability, cross-sectional student samples requires cautious interpretation. This study applies an exploratory explainable ML framework to examine patterns of depression, anxiety, and stress within a high-symptom sample of Bangladeshi university students. A cross-sectional online survey was conducted among 424 students during a period of significant social and political unrest in July 2024. Within the study sample, high proportions of moderate-to-extremely severe symptoms were observed for depression (66.0%), anxiety (73.4%), and stress (52.4%), with substantial symptom overlap (48.1% meeting criteria for all three). Eight ML models were evaluated using repeated train-test splits and cross-validation. Support vector machine (SVM) models showed relatively stable performance for depression and stress prediction, while XGBoost demonstrated comparatively stronger discriminative ability for anxiety within the sample. Explainable ML analyses using SHAP and LIME indicated that features related to sleep disturbance, cognitive complaints, and self-reported behavioral difficulties contributed prominently to model predictions across outcomes. Academic discipline and internet addiction severity were more influential in anxiety-related predictions, whereas gender and university type showed greater relevance in depression-related models. The primary contribution of this study is methodological and exploratory, not predictive or clinical. These feature contributions reflect model behavior and overlapping symptom dimensions rather than independent or causal risk factors. Overall, this study demonstrates the feasibility of using explainable ML approaches for exploratory pattern recognition in student mental health data under exceptional contextual conditions, providing a transparent framework, benchmark performance metrics, and a methodological template for future research. The findings are exploratory and sample-specific and should not be interpreted as population-level prevalence estimates or deployable prediction tools.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-05-21
DOI
https://doi.org/10.1038/s41598-026-52351-8
Primary Topic
Mental Health via Writing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An explainable machine learning framework for analyzing and predicting mental health problems among university students in Bangladesh

Md. Mizanur Rahman, Rumana Rois, Atikur Rahman, Muhammad Khairul Alam et al.
Scientific Reports
Mental Health via Writing
article

An explainable machine learning framework for analyzing and predicting mental health problems among university students in Bangladesh

Md. Mizanur Rahman, Rumana Rois, Atikur Rahman, Muhammad Khairul Alam, Amrin Binte Ahmed, Mst. Nilufar Yasmin, Adisha Dulmini, Nusrat Y. Ahmed
article en

Abstract

Mental health problems (MHPs) among university students are an increasing public health concern globally, including in Bangladesh. While machine learning (ML) methods can capture complex patterns in mental health data, their application to non-probability, cross-sectional student samples requires cautious interpretation. This study applies an exploratory explainable ML framework to examine patterns of depression, anxiety, and stress within a high-symptom sample of Bangladeshi university students. A cross-sectional online survey was conducted among 424 students during a period of significant social and political unrest in July 2024. Within the study sample, high proportions of moderate-to-extremely severe symptoms were observed for depression (66.0%), anxiety (73.4%), and stress (52.4%), with substantial symptom overlap (48.1% meeting criteria for all three). Eight ML models were evaluated using repeated train-test splits and cross-validation. Support vector machine (SVM) models showed relatively stable performance for depression and stress prediction, while XGBoost demonstrated comparatively stronger discriminative ability for anxiety within the sample. Explainable ML analyses using SHAP and LIME indicated that features related to sleep disturbance, cognitive complaints, and self-reported behavioral difficulties contributed prominently to model predictions across outcomes. Academic discipline and internet addiction severity were more influential in anxiety-related predictions, whereas gender and university type showed greater relevance in depression-related models. The primary contribution of this study is methodological and exploratory, not predictive or clinical. These feature contributions reflect model behavior and overlapping symptom dimensions rather than independent or causal risk factors. Overall, this study demonstrates the feasibility of using explainable ML approaches for exploratory pattern recognition in student mental health data under exceptional contextual conditions, providing a transparent framework, benchmark performance metrics, and a methodological template for future research. The findings are exploratory and sample-specific and should not be interpreted as population-level prevalence estimates or deployable prediction tools.

Scientific Reports
University of Wollongong (AU), Children's Specialized Hospital (US), Jahangirnagar University (BD)
Reduced inequalities
Openalex Percentile: Top 4%
Mental Health via Writing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.