Explainable Artificial Intelligence for Workplace Mental Health Prediction
Tsholofelo Mokheleli, Tebogo Bokaba, Elliot Mbunge
University of Johannesburg
Key points
From the paper's conclusion- These findings show the importance of explainable ML models in informing timely, targeted interventions, such as improving access to mental health resources, promoting stigma-free workplaces, and supporting treatment-seeking behaviour, while ensuring the ethical and transparent integration of AI into workplace mental health management.
Abstract
The increased prevalence of mental health issues in the workplace affects employees’ well-being and organisational success, necessitating proactive interventions such as employee assistance programmes, stress management workshops, and tailored wellness initiatives. Artificial intelligence (AI) techniques are transforming mental health risk prediction using behavioural, environmental, and workplace data. However, the “black-box” nature of many AI models hinders trust, transparency, and adoption in sensitive domains such as mental health. This study used the Open Sourcing Mental Illness (OSMI) secondary dataset (2016–2023) and applied four ML classifiers, Random Forest (RF), xGBoost, Support Vector Machine (SVM), and AdaBoost, to predict workplace mental health outcomes. Explainable AI (XAI) techniques, SHapley Additive exPlanations (SHAP) and Local Interpretable Model-agnostic Explanations (LIME), were integrated to provide both global (SHAP) and instance-level (LIME) interpretability. The Synthetic Minority Oversampling Technique (SMOTE) was applied to address class imbalance. The results show that xGBoost and RF achieved the highest cross-validation accuracy (94%), with xGBoost performing best overall (accuracy = 91%, ROC AUC = 90%), followed by RF (accuracy = 91%). SHAP revealed that sought_treatment, past_mh_disorder, and current_mh_disorder had the most significant positive impact on predictions, while LIME provided case-level explanations to support individualised interpretation. These findings show the importance of explainable ML models in informing timely, targeted interventions, such as improving access to mental health resources, promoting stigma-free workplaces, and supporting treatment-seeking behaviour, while ensuring the ethical and transparent integration of AI into workplace mental health management.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Building trust in mental health models using explainabilityFrontiers in Medicine · 2026
- AI-based models for risks of work-related musculoskeletal disorders in office workers: exploring generalisability, interpretability and use of binary scales.Ergonomics · 2026
- Mental health monitoring in the workplace using artificial intelligence: A scoping review.PLOS digital health · 2026
- Development of an artificial intelligence model to estimate psychiatrist-assessed mental health-related presenteeism.Journal of occupational health · 2026
- Development and evaluation of an explainable machine learning-based prediction model for workplace bullying among clinical nursesFrontiers in Psychology · 2026
- Explainable machine learning for mental health prediction from social media behavior: a nested cross-validation study with SHAP and LIME interpretabilityDiscover Mental Health · 2026