Personality, self-compassion, and internet addiction: a machine learning perspective

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.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-11-24
DOI
https://doi.org/10.1038/s41598-026-80639-2
Primary Topic
Impact of Technology on Adolescents
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Personality, self-compassion, and internet addiction: a machine learning perspective

Hojjatollah Farahani, Azam Noferesti, Sajjad Bagheri, Mobina Mohammadi et al.
3 links
Scientific Reports
Impact of Technology on Adolescents
article

Personality, self-compassion, and internet addiction: a machine learning perspective

Hojjatollah Farahani, Azam Noferesti, Sajjad Bagheri, Mobina Mohammadi, Roshan Mousavi
article en

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.

Scientific Reports
Tarbiat Modares University (IR), University of Tehran (IR), Shahid Beheshti University (IR)
Good health and well-being
Impact of Technology on Adolescents
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.

Laika access coming soon