Explainable AI Modeling of Hope in Youth Using Feature Attribution of Optimism, Goal Orientation, and Family Support
Abstract
Objective: The objective of this study was to develop and interpret an explainable artificial intelligence model of youth hope by quantifying the individual and interactive contributions of optimism, goal orientation, and family support. Methods and Materials: This cross-sectional study was conducted with 653 adolescents and emerging adults aged 15–24 from educational and community institutions in Georgia, United States. Participants completed standardized measures of hope, optimism, goal orientation, and perceived family support. Machine learning models including Random Forest, Gradient Boosting, and XGBoost were trained to predict hope, with model performance evaluated using cross-validation and error metrics. Explainability was achieved through SHAP and permutation-based feature attribution methods, enabling identification of global and individual predictor effects and nonlinear interactions. Findings: The XGBoost model demonstrated the strongest predictive performance, explaining 84% of the variance in youth hope (R² = .84, RMSE = 2.19, MAE = 1.68). Feature attribution analyses indicated that family support contributed the largest proportion of predictive influence (38.6%), followed by optimism (32.1%) and goal orientation (25.3%). Significant interaction effects were observed between optimism and family support, as well as between goal orientation and family support, amplifying their combined impact on hope. Conclusion: Youth hope is best explained as a multilevel construct arising from the integrated influence of motivational beliefs and family relational processes. Explainable AI offers a powerful methodological framework for advancing theoretical understanding and guiding personalized intervention strategies.
Fields of Study & Subjects
Optimism
Hope
and Well-being
Psychological Well-being and Life Satisfaction
Education
Achievement
and Giftedness
Publication details
- Volume
- 7
- Issue
- 1
- Pages
- 1–9
- Publication date
- 1 January 2026
- Language
- EN