City Research Online

Predicting Loneliness Using Machine Learning and Self-Logged Behavioural Data

Bennasar, M., Katz, D., Stuart, A. , Bennaceur, A., Gooch, D., Bandara, A., Price, B. & Nuseibeh, B. ORCID: 0000-0002-3476-053X (2025). Predicting Loneliness Using Machine Learning and Self-Logged Behavioural Data. Procedia Computer Science, 270, pp. 4967-4977. doi: 10.1016/j.procs.2025.09.623

Abstract

Loneliness is a growing public health concern, particularly among older adults, and has been linked to adverse physical and mental health outcomes. This study presents a machine learning approach to predict levels of loneliness using behavioural and emotional data collected from 124 participants through a mobile phone application over a 71-day period. The dataset includes 27 features derived from self-logged information such as wellbeing scores, mood fluctuations, and time spent in various home locations. Feature selection was applied to identify the most discriminative indicators, with classification and regression models evaluated using both Support Vector Machine (SVM), and Random Forest (RF). We applied feature selection to identify the most discriminative indicators and evaluated both Support Vector Machine (SVM) and Random Forest (RF) models for classification and regression. The highest classification accuracy - 69.19% on a 7-point loneliness scale - was achieved using a five-fold SVM with the top 13 features. In the regression task, the best performance was observed using 26 features, resulting in a minimum Mean Squared Error (MSE) of 0.6752. These findings indicate that a selected subset of behavioural and emotional features can offer a meaningful estimation of loneliness levels. This has potential to inform the design of real-time, personalised digital tools aimed at identifying and supporting individuals at risk of loneliness.

Publication Type: Article
Additional Information: © 2025 The Author(s). Published by Elsevier B.V. This article is available under the Creative Commons CC-BY-NC license and permits non-commercial use, distribution and reproduction in any medium, provided the original work is properly cited.
Publisher Keywords: Loneliness prediction, Feature selection, Behavioural data, Mood analysis
Subjects: B Philosophy. Psychology. Religion > BF Psychology
T Technology > T Technology (General)
Departments: School of Science & Technology
SWORD Depositor:
[thumbnail of 1-s2.0-S187705092503296X-main.pdf]
Preview
Text - Published Version
Available under License Creative Commons Attribution Non-commercial.

Download (1MB) | Preview

Export

Add to AnyAdd to TwitterAdd to FacebookAdd to LinkedinAdd to PinterestAdd to Email

Downloads

Downloads per month over past year

View more statistics

Actions (login required)

Admin Login Admin Login