Personality, self-compassion, and internet addiction: a machine learning perspective
Roshan Mousavi, Mobina Mohammadi, Hojjatollah Farahani, Azam Noferesti, Sajjad Bagheri
Key points
From the paper's conclusion- This study employed machine-learning methods to predict internet addiction among students at the University of Tehran based on personality traits and self-compassion dimensions.
Abstract
In today’s digital world, internet use has become an integral part of students’ daily lives. Although the internet offers numerous benefits, excessive use may develop into problematic or addictive patterns. This study employed machine-learning methods to predict internet addiction among students at the University of Tehran based on personality traits and self-compassion dimensions. A sample of 458 students completed the 10-item Big Five Inventory (BFI-10), Neff’s 26-item Self-Compassion Scale (SCS), and Young’s 20-item Internet Addiction Test (IAT). Seven regression algorithms (Linear Model, GLMNET, CART, Tree Bagging, Random Forest, Gradient Boosting, and XGBoost) were first compared using repeated nested cross-validation (five folds, three repeats) and were then re-tuned on a 70% training partition and evaluated once on the remaining 30% hold-out partition. Supplementary SHAP and sensitivity analyses, based on a Random Forest model re-estimated in Python with the same eleven predictors, were used to examine the direction, shape, and stability of predictor contributions. Random Forest was retained as the final model for subsequent reporting and interpretation. On the hold-out partition, it yielded R² = 0.27, RMSE = 10.88, and MAE = 9.01. However, its substantially higher training performance (R² = 0.89), its cross-validated performance comparable to that of the linear and elastic-net models, and the variability of test R² across ten additional random splits (0.08 to 0.28) indicate modest and split-dependent predictive accuracy. These results should therefore not be read as evidence that Random Forest, or machine learning more generally, is superior to the alternative approaches. Conscientiousness, neuroticism, isolation, and over-identification were consistently among the most important predictors across the permutation-importance and sensitivity analyses. SHAP analysis indicated that higher conscientiousness was associated with lower predicted internet-addiction scores, whereas higher neuroticism and isolation were associated with higher predicted scores; the contribution of over-identification was non-monotonic. Support for self-kindness and common humanity was weaker and less consistent across analyses. These findings illustrate the potential value of combining machine-learning models with interpretability and sensitivity analyses while highlighting the modest generalizability of the current predictions. The identified personality and self-compassion dimensions may inform future research, but the results should not be interpreted as evidence of causal or therapeutic effects.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Interpretable machine learning for identifying co-occurring internet addiction and maladaptive cognitive emotion regulation in older adults: a cross-sectional study.Frontiers in public health · 2026
- The dual effects of individual and contextual factors on adolescent problematic internet use: Machine learning approaches and SHAP explanationsJournal of Behavioral Addictions · 2026
- Detecting internet addiction risk in vocational college students: Based on machine learning approach and Latent Profile AnalysisComputers in Human Behavior Reports · 2025
- Impulsivity, Self-Esteem, Meaning in Life, and Internet Addiction Among University Students: A Moderated Mediation AnalysisPsychological Reports · 2026
- Random forest-based identification and ranking of predictive factors for physical activity in Chinese college studentsFrontiers in Public Health · 2025
- Machine learning based assessment of meditation for teen anger managementDiscover Artificial Intelligence · 2026