Literature DB >> 33039266

Prediction of Loneliness in Older Adults Using Natural Language Processing: Exploring Sex Differences in Speech.

Varsha D Badal1, Sarah A Graham1, Colin A Depp2, Kaoru Shinkawa3, Yasunori Yamada3, Lawrence A Palinkas4, Ho-Cheol Kim5, Dilip V Jeste6, Ellen E Lee7.   

Abstract

OBJECTIVE: The growing pandemic of loneliness has great relevance to aging populations, though assessments are limited by self-report approaches. This paper explores the use of artificial intelligence (AI) technology to evaluate interviews on loneliness, notably, employing natural language processing (NLP) to quantify sentiment and features that indicate loneliness in transcribed speech text of older adults.
DESIGN: Participants completed semi-structured qualitative interviews regarding the experience of loneliness and a quantitative self-report scale (University of California Los Angeles or UCLA Loneliness scale) to assess loneliness. Lonely and non-lonely participants (based on qualitative and quantitative assessments) were compared.
SETTING: Independent living sector of a senior housing community in San Diego County. PARTICIPANTS: Eighty English-speaking older adults with age range 66-94 (mean 83 years). MEASUREMENTS: Interviews were audiotaped and manually transcribed. Transcripts were examined using NLP approaches to quantify sentiment and expressed emotions.
RESULTS: Lonely individuals (by qualitative assessments) had longer responses with greater expression of sadness to direct questions about loneliness. Women were more likely to endorse feeling lonely during the qualitative interview. Men used more fearful and joyful words in their responses. Using linguistic features, machine learning models could predict qualitative loneliness with 94% precision (sensitivity = 0.90, specificity = 1.00) and quantitative loneliness with 76% precision (sensitivity = 0.57, specificity = 0.89).
CONCLUSIONS: AI (e.g., NLP and machine learning approaches) can provide unique insights into how linguistic features of transcribed speech data may reflect loneliness. Eventually linguistic features could be used to assess loneliness of individuals, despite limitations of commercially developed natural language understanding programs. Published by Elsevier Inc.

Entities:  

Keywords:  Artificial Intelligence; gender; social isolation

Year:  2020        PMID: 33039266      PMCID: PMC7486862          DOI: 10.1016/j.jagp.2020.09.009

Source DB:  PubMed          Journal:  Am J Geriatr Psychiatry        ISSN: 1064-7481            Impact factor:   4.105


INTRODUCTION

The loneliness pandemic has been associated with serious physical and mental health consequences, rivaling smoking and obesity.1, 2, 3, 4, 5 Loneliness also has economic consequences like lost productivity, greater healthcare utilization, and indirect costs (estimated to be over $3 billion annually). These cost estimates included the increased risk of cognitive decline and development of dementia among lonely individuals, while controlling for demographic factors, social isolation, and mood symptoms.6, 7, 8, 9 Older individuals are at particularly high risk for loneliness due to loss of partners and friends, as well as declining physical health and mobility. While rates of loneliness have been previously found to be fairly stable, prevalence of loneliness among older adults may rise due to the rapidly growing older population, increased loneliness with aging, increased social isolation, , and potential contribution of physical distancing measures related to the COVID-19 pandemic. Qualitative analysis of interviews is an important approach to understanding the experience of loneliness, especially for vulnerable populations like older adults. While several reports have examined qualitative experiences of loneliness among immigrant populations, medically ill persons, , and people at highest risk for loneliness, there are few qualitative studies of independently living older adults. Our recent qualitative study of residents of senior housing communities found that despite living in a communal setting with services designed to reduce social isolation, many older adults reported feeling lonely. While loneliness and social isolation may be interrelated, loneliness is a distinct construct – some people feel “lonely in a crowd” while others are content with few social connections. Furthermore, findings from qualitative (e.g., open-ended or semi-structured interviews) and quantitative (e.g., based on the University of California Loneliness Scale - version 3 or UCLA-3) assessments of loneliness reflect discrepancies that warrant further investigation. For example, sex differences in loneliness appear to be driven by assessment type. In response to direct questions about loneliness (e.g., “Do you feel lonely?”), women may be more likely to report feeling lonely. However men and women have similar scores on the commonly used UCLA-3 loneliness scale (which does not explicitly use the term “lonely”). Better understanding of sex differences in reporting loneliness can refine assessment measures and guide interventions for loneliness. Due to the time- and effort-intensive nature of data analyses, most qualitative studies have been limited to small scales, e.g., experiences of 20–30 individuals, which may not capture a breadth of perspectives and to focusing on overall themes, which may be subject to the rater's biases. Such qualitative studies focus on commonly expressed viewpoints, rather that the sociodemographic and clinical features that may distinguish individuals with other opinions. Similarly, nuanced features such as word choice, expressed emotions, and sentence structure are not easily assessed by the human eye. Unstructured speech data are a unique window into an individual's experience of loneliness. Emerging data science strategies like automated speech-to-text (transcription), natural language processing (NLP) and machine learning (ML) can be used to gain novel insights from unstructured speech data and scale up qualitative analyses. NLP , refers to a variety of techniques (including but not limited to parts-of-speech tagging, named entity recognition and parsing) that process, analyze and manipulate text to get insights and information from unstructured text data. Natural language understanding (NLU) is a subset of NLP which is more aligned with comprehension of the analyzed text and enables tasks such as reasoning, translation, summarization, question-answering, sentiment and emotion analysis. Some recent investigations using NLP tools for psychiatric applications include predicting psychiatric readmission, suicidality , or mental health crises; diagnosing mental illnesses; and predicting treatment outcomes in patients with depression. These applications used a variety of NLP tools including rule-based systems (systems that use explicitly stated If/Then/Else rules), artificial neural networks (ANN, models inspired by neurons that use weighted sums of inputs and activation functions), and deep neural networks (multilayer ANN with each layer representing more advanced representation). NLP and NLU techniques can enable quantification of abstract fuzzy constructs such as loneliness on dimensions of sentiment and the embedded emotions, though their use has been limited in psychiatry. To our knowledge, specific text features of lonely individuals and their sex differences have not been previously examined in older adults. In this study, we conducted semi-structured qualitative interviews about loneliness and completed quantitative loneliness assessments with residents of a continuing care senior housing community. The interviews were analyzed using NLP to identify differences in transcribed speech patterns in lonely versus non-lonely individuals (based on qualitative and quantitative assessments). For this proof-of-concept study, we explored how NLP analytic methods could assess whether individuals reported feeling lonely in response to a direct question about loneliness (e.g., “Do you feel lonely?”). We explored how responses of lonely individuals differed in length, sentiment, and emotion from non-lonely individuals (using qualitative and quantitative measures of loneliness). We also explored sex differences in the response features. Lastly, we investigated the possibility of automated prediction of loneliness (through ML models) using only text features.

RESEARCH DESIGN AND METHODS

Participants and Procedures

Study procedures and subjects have been described previously. , Briefly, subjects were recruited from the independent living sector of a senior housing community in San Diego County. This continuing care senior housing community has 278 independent residential units and offers all three levels of care: independent living, assisted living, and memory care. All subjects provided a written informed consent for study participation. Selection criteria for enrollment were: 1) English-speaking individuals ≥65 years, 2) Ability to complete study assessments and engage in a qualitative interview, and 3) No known diagnosis of dementia or any other disabling illness. This study protocol was approved by the University of California San Diego Human Research Protections Program and the administrators of the housing community. Participants were recruited through short presentations using Human Research Protections Program-approved script and flyers.

Sociodemographic and Clinical Measures

Trained study staff gathered sociodemographic data including age, sex assigned at birth, racial background, and marital status. They administered scales to assess emotional support (Emotional Support Scale), anxiety (Brief Symptom Inventory – Anxiety subscale), and depression (Patient Health Questionnaire, 9-item).

Quantitative Loneliness Measure

The UCLA Loneliness Scale (Version 3) or UCLA-3 is the most commonly used measure of loneliness, with strong test-retest reliability, high internal consistency, and validity. While the word “lonely” is never used explicitly in the 20-item scale, subjects are asked to report the frequency of specific experiences (e.g., “How often do you feel in tune with others around you?”) on a 4-point Likert scale (1 = “I never feel this way” to 4 = “I often feel this way.”) The cut-offs for loneliness severity on the UCLA-3 scale were adapted from Doryab (2019) and include: total score less than or equal to 40  as Not lonely, total score greater than 40 as Lonely.

Qualitative Interviews

Trained study staff conducted semi-structured interviews with participants between April 2018 and August 2019. The interview format followed a predetermined list of broad, research-driven probes developed by study investigators; however, the interview was intended to be conducted in a conversational way. The first question inquired directly about loneliness: (Q1) “Do you ever feel lonely, and if so, how often?” If the participant endorsed feeling lonely, the follow-up question was: (Q2) "What does loneliness feel like to you? What is your general mood during that time?" If the participant denied feeling lonely, the follow-up question was: (Q3) "Why do you think others may feel lonely?" Interviewers were trained in qualitative methods according to research techniques outlined by Patton. Each interview was audio-taped and transcribed (maximum length of 90 minutes).

Analytic Procedures

In order to create the dataset, we targeted the responses to primary questions from the interview to gain insights into loneliness. We identified the location of the first loneliness question in the transcript and analyzed the sentiment and emotional content of the responses to the loneliness question (Q1) using IBM Watson NLU iv program depicted in Figure 1 .
FIGURE 1

Processing pipeline for the qualitative interview data. API: application programming interface; NLU: natural language understanding; Q1: Question 1 (“Do you ever feel lonely, and if so, how often?”); Q2: Question 2 (“What does loneliness feel like to you? What is your general mood during that time?”); Q3: Question 3 (“Why do you think others may feel lonely?”); TF-IDF: term frequency – inverse document frequency.

Processing pipeline for the qualitative interview data. API: application programming interface; NLU: natural language understanding; Q1: Question 1 (“Do you ever feel lonely, and if so, how often?”); Q2: Question 2 (“What does loneliness feel like to you? What is your general mood during that time?”); Q3: Question 3 (“Why do you think others may feel lonely?”); TF-IDF: term frequency – inverse document frequency. We manually established ground truth for interview-based or qualitative assessment by interpreting the response text to Q1 (as acknowledging versus denying loneliness) and labeling the dataset (lonely versus not lonely). Each Q1 response was independently coded by two trained raters (EEL, SAG) to reflect qualitative loneliness (“yes” versus “no”). Kappa was 0.90, indicating a high degree of concordance among the raters. Disagreements in qualitative loneliness classification were adjudicated by a third author (VDB). We also used UCLA-3 scores to establish the ground truth for quantitative assessment. We used ML models to predict both classifications of loneliness.

Text processing

Due to semi-structured nature of the interview and unconstrained responses from interviewee, we identified location of relevant questions (and subsequently, the responses) using term frequency – inverse document frequency (TF-IDF) techniques, , that are commonly used in document retrieval and data mining. The TF-IDF scores serve as features in ML classification (described later). In the transcripts, each question starts on a new line preceded by the “Q:” characters. Each question is analogous to a “document” and the transcript to a “corpus” in TF-IDF terminology. The procedure is repeated for each transcript. First, the corpus (or collection of documents) is converted into vectors that capture both frequency of words (henceforth referred to as “terms”) and uniqueness of the terms contained in the document. Queries, or specific spans of text, are also vectorized and compared with documents to identify matches. TF-IDF “searches” for sections of text within each transcript that best match the query, thus extracting specific sections of text from transcripts. Further details regarding TF-IDF are available in the Supplemental materials (Appendix A). Once the location of question was identified, we extracted the following lines (marked with “A:” in the transcribed interview text) as the answer provided by the subject. The number of characters (including spaces and punctuations) constituted the length. As the length of responses varied greatly, from a few characters up to thousands of characters in length, the results were presented using a log scale (logarithm to base 10) for the histogram (e.g., 10 characters would be log(10) = 1, 100 characters would be log(100) = 2.)

IBM NLU tools

The IBM Cloud contains a suite of advanced data and artificial intelligence (AI) tools that are widely available for users [https://www.ibm.com/cloud]. IBM NLU iv (IBM, Watson NLU) was used for sentiment and emotion analysis of the text data. These tools were selected for their robustness and applicability for the research question. Other tools (reasoning, translation, summarization, and question-answering) attempt to solve more complex AI tasks, and the current state of art is not suitable to general application. Most systems for these problems are exploratory and work in very limited domains and scopes. Reasoning and translation were not relevant to the task. Usage details are publicly available and details of these tools are discussed in the supplemental material (Appendix B). Sentiment (positive and negative) is represented as a number [continuous range between −1.0 and 1.0], indicating speaker is in (total) disagreement or (total) agreement with the current context of conversation. Emotion is a five-tuple (sadness, joy, fear, disgust, anger) containing values [continuous range between 0.0 and 1.0], in proportion to the strength for each dimension of emotion. Complex emotions can be comprised from these basic dimensions. Once the response to Q1 is extracted, we used the IBM NLU tool to evaluate its sentiment and emotions. Supplemental Figure 1 depicts IBM NLU IV output of sentiment and emotion analysis based on a sample response to Q1. We compared lonely versus non-lonely individuals (by both qualitative and quantitative assessments) by length, sentiment, and emotional content using Mann-Whitney U tests (for continuous variables) and Fisher's exact test or Spearman's correlation (for categorical variables). For all analyses, unadjusted two-tailed p-values were considered significant at p less than 0.05. Significance was defined as Type I error alpha = 0.05 (two-tailed) for all analyses. The effect sizes presented include Cohen's d (parametric) and Cliff's delta (nonparametric). Cliff's delta was computed using available software. The statistical analyses were conducted using the IBM SPSS Version 25 (IBM Corp., Armonk, NY) and R.

ML models

Features for the ML models included sentiment and emotions (joy, fear, anger, disgust, sadness) obtained from NLU analysis of response to Q1, TF-IDF score of top matching document to Q1, as well as presence of Q2 and Q3. Of note, presence of follow-up questions Q2 and Q3 depended on the interviewee's response to Q1. We used these nine features to classify interviewees into: qualitative loneliness categories [True, False] and quantitative loneliness categories [True, False].We assessed ML performance using Orange3, a data-mining toolbox with random 80-20 training-testing data split. We selected a broad range of ML models in order to accommodate different types of data. ML methods included: support vector machine (SVM with variety of kernels: linear, polynomial, and radial basis function), k-Nearest Neighbors (kNN), Tree, AdaBoost, ANN (activation functions included tanh, rectified linear unit and logistic), random forest and a stacking of aforementioned methods. , We ranked the features for the two classification tasks using three popular methods (GINI, ANOVA, and chi-squared scores).45, 46, 47 These methods are described in greater detail in Appendix C. Ensemble techniques are a common approach where several ML models are used, especially to assess novel domains and applications, and achieve better performance than would be possible by committing to any single one. , , 48, 49, 50 We used Orange3 visual programming tool that provides sophisticated widgets for ML applications. The Orange3 processing code for all ML models used in the study are provided as a separate file and described in the Supplemental materials (Appendix D). Orange3 is available for public download from (https://orange.biolab.si).

RESULTS

Ninety-seven unique interviews were completed and manually transcribed. Seventeen of these transcripts were removed from the analyses (four lacked baseline data and thirteen lacked UCLA-3 data), resulting in eighty transcripts (sum total of 1,021,969 words and target document Q1 length of 10 words.) Distribution of transcript lengths are depicted in Supplemental Figure 4.

Description of the Study Sample

Mean age of interviewees was 83.0 years (SD = 6.9 years, range 66–94 years) (Table 1 ). Men were older than the women. Education, racial background, marital status, proportion with qualitative and quantitative loneliness, mean UCLA-3 scores, instrumental support, negative interactions, anxiety and depression were similar by sex. Women reported greater emotional support.
TABLE 1

Sociodemographic and Clinical Data of the Interviewees by Sex

Women
Men
NMeanSDNMeanSDt or X2dfpCohen's d
Age at Visit (years)5181.67.12985.55.7−2.51780.01−0.85
Education (years)5115.42.42916.32.1−1.76780.08−0.59
Race (% Caucasian)90.293.10.2010.66
Marital Status (% not single)37.351.71.5810.21
Qualitative Lonely (% yes)52.931.03.5810.06
Quantitatively Lonely (% yes)33.344.81.0410.31
UCLA-3 Score5136.59.42938.711.2−0.92780.36−0.30
Emotional Support (ESS-E)512.80.4292.50.52.15780.040.69
Instrumental Support (ESS-I)511.90.8291.80.80.88780.380.29
Negative social interactions (ESS-NI)510.70.8290.80.7−1.06780.29−0.35
Anxiety (BSIAS)511.62.6281.41.50.33770.750.12
Depression (PHQ-9)482.83.6273.03.6−0.31730.76−0.11

BSIAS: Brief Symptom Inventory Anxiety Scale; ESS-E: Emotional Support Scale – Emotional Support score; ESS-I: Emotional Support Scale – Instrumental Support score; ESS-NI: Emotional Support Scale – Negative Interaction Score; PHQ-9: Patient Health Questionnaire 9-item; UCLA-3: UCLA Loneliness Scale (Version 3).

Sociodemographic and Clinical Data of the Interviewees by Sex BSIAS: Brief Symptom Inventory Anxiety Scale; ESS-E: Emotional Support Scale – Emotional Support score; ESS-I: Emotional Support Scale – Instrumental Support score; ESS-NI: Emotional Support Scale – Negative Interaction Score; PHQ-9: Patient Health Questionnaire 9-item; UCLA-3: UCLA Loneliness Scale (Version 3). Overall incidence of loneliness by qualitative assessment was 45%. Of the 30 people with UCLA-3 scores above the lonely cutoff (37.5% of respondents), 11 (36.7%) did not report feeling lonely in response to Q1. Examples of specific responses to Q1 and the qualitative ratings are shown in Supplemental Table 1. The Kappa score of agreement between the qualitative and quantitative assessments of loneliness was 0.28.

Response Analyses

Location of answer corresponding to Q1 in the transcripts was identified correctly for all 80 interviewees. The presence of Q2 and Q3 TF-IDF scores were related to manually-scored Q1 responses (qualitative rating) (Supplemental Fig. 2). Length of Q1 responses varied greatly (word count M = 69.2 SD = 168.2; character count M = 331.2, SD = 802.5). Q1 responses were longer in respondents who were lonely by qualitative assessment (Mann-Whitney U = 426, p <0.001, Cliff's delta = 0.46) and also by quantitative assessment (UCLA-3 score >40) (Mann-Whitney U = 581.0, p = 0.047, Cliff's delta = 0.23) (Fig. 2 ).
FIGURE 2

Distribution of length of response to Question 1 by quantitatively assessed loneliness. Q1: Question 1 (“Do you ever feel lonely and if so, how often?”).

Distribution of length of response to Question 1 by quantitatively assessed loneliness. Q1: Question 1 (“Do you ever feel lonely and if so, how often?”). We mapped the distribution of emotions expressed in the responses to Q1. The respondents who acknowledged feeling lonely were more likely to express sadness in their responses (Mann-Whitney U = 543.0, p = 0.008, Cliff's delta = 0.31). Expression of sentiment and other emotions (disgust, anger, joy, fear) did not differ between lonely versus non-lonely groups (Fig. 3 ).
FIGURE 3

Emotional composition of response to Question 1 (“Do you ever feel lonely and if so, how often?”) by (A) Qualitative loneliness and (B) Quantitative assessment of loneliness (UCLA-3 Score). Dashed lines in the middle of distribution indicate median (second quartile) and dotted lines indicates first and third quartiles in the distribution.

Emotional composition of response to Question 1 (“Do you ever feel lonely and if so, how often?”) by (A) Qualitative loneliness and (B) Quantitative assessment of loneliness (UCLA-3 Score). Dashed lines in the middle of distribution indicate median (second quartile) and dotted lines indicates first and third quartiles in the distribution.

Sex Differences in Reported Loneliness

Discrepancies between qualitative and quantitative loneliness assessments differed by sex. Women were more likely than men to be lonely by qualitative but not quantitative assessments (endorsing loneliness in the interview and having UCLA-3 scores ≤40) (76.4% of women versus 46.1% of men). Men were more likely than women to be lonely by quantitative but not qualitative assessments (having UCLA-3 scores >40 and not endorsing loneliness in the interview.) Women were more likely to acknowledge feeling lonely in interviews, when they were quantitatively lonely compared to men (Fisher's exact p <0.001). Fourteen (27%) women reported feeling lonely during the qualitative interview despite having UCLA-3 scores less than or equal to 40, compared to only three (10%) men. On the other hand, four (8%) women did not acknowledge feeling lonely on the qualitative interview despite having UCLA-3 scores greater than 40, compared to seven (24%) men (Fisher's exact test =0.02, p <0.05). While there were no differences in response length by sex in the overall sample (Mann-Whitney U = 686.5, p = 0.30), quantitatively lonely men had longer responses compared to lonely women (Mann-Whitney U = 66.5, p = 0.03, Cliff's delta = −0.4). Men expressed more fear in their Q1 responses compared to women (overall sample: Mann-Whitney U = 559, p = 0.04, Cliff's delta = −0.24). Lonely men expressed more joy than women (quantitatively lonely subsample: Mann-Whitney U = 70.0, p = 0.05, Cliff's delta = −0.37) (Fig. 4 ).
FIGURE 4

Distribution of emotions (sadness, joy, fear, disgust, anger) in response to Question 1 (“Do you ever feel lonely and if so, how often?”) by sex. Dashed lines in the middle of distribution indicate median (second quartile) and dotted lines indicate first and third quartiles in the distribution.

Distribution of emotions (sadness, joy, fear, disgust, anger) in response to Question 1 (“Do you ever feel lonely and if so, how often?”) by sex. Dashed lines in the middle of distribution indicate median (second quartile) and dotted lines indicate first and third quartiles in the distribution.

ML Models to Predict Loneliness

Qualitative loneliness (based on manually scored responses to Q1) on test data was best predicted by the kNN model (F1 score of 0.94 on test data) (Table 2 , ROC curves in Supplemental Fig. 3A.)
TABLE 2

Performance of Machine Learning (ML) Models (80–20 Split) in Predicting Qualitative Loneliness (Lonely versus Not Lonely)

ML ModelAUCF1aPrecisionaRecalla
kNN0.960.940.940.93
Stack0.910.870.900.87
SVM linear0.950.870.900.87
ANN tanh0.930.870.900.87
ANN ReLu0.930.870.900.87
ANN Logistic0.950.870.900.87
SVM RBF0.910.810.820.81
SVM Polynomial0.880.810.870.81
Random Forest0.910.810.870.81
AdaBoost0.800.740.850.75
Tree0.710.690.740.68

Notes: Qualitative loneliness was manually determined based on responses to Question 1. Input features included: five emotions (joy, fear, anger, disgust, sadness), Question 1 TF-IDF score, Question 2 TF-IDF score, Question 3 TF-IDF score, and sentiment for Question 1. Results depicted reflect the best of 10 runs. Stack includes (SVM Polynomial, KNN, Tree, AdaBoost, ANN ReLu, random forest). AUC: area under curve (performance measure); kNN: K-nearest neighbor (algorithm), k = 9; ReLu: rectified linear unit (activation function); RBF: radial basis function (kernel function); SVM: support vector machine (algorithm); tanh: hyperbolic tangent (activation function); TF-IDF: term frequency – inverse document frequency. Bold values indicate the best performing model.

The performance measures shown are average over classes and computed as documented Orange.

Performance of Machine Learning (ML) Models (80–20 Split) in Predicting Qualitative Loneliness (Lonely versus Not Lonely) Notes: Qualitative loneliness was manually determined based on responses to Question 1. Input features included: five emotions (joy, fear, anger, disgust, sadness), Question 1 TF-IDF score, Question 2 TF-IDF score, Question 3 TF-IDF score, and sentiment for Question 1. Results depicted reflect the best of 10 runs. Stack includes (SVM Polynomial, KNN, Tree, AdaBoost, ANN ReLu, random forest). AUC: area under curve (performance measure); kNN: K-nearest neighbor (algorithm), k = 9; ReLu: rectified linear unit (activation function); RBF: radial basis function (kernel function); SVM: support vector machine (algorithm); tanh: hyperbolic tangent (activation function); TF-IDF: term frequency – inverse document frequency. Bold values indicate the best performing model. The performance measures shown are average over classes and computed as documented Orange. Quantitative loneliness (based on UCLA-3 scores) was also best predicted by the ANN tanh model (F1 score of 0.74) (Table 3 ; ROC curves in Supplemental Fig. 3B).
TABLE 3

Performance of Machine Learning (ML) Models (80–20 Split) in Predicting Quantitative Loneliness (Lonely Versus Not Lonely)

ML ModelAUCF1aPrecisionaRecalla
ANN tanh0.790.740.760.75
Tree0.690.680.690.68
Random Forest0.590.620.620.62
AdaBoost0.610.620.620.62
kNN0.600.550.550.56
Stack0.580.530.540.56
ANN Logistic0.600.530.540.56
SVM RBF0.650.530.770.62
SVM Polynomial0.690.530.770.62
SVM Linear0.530.530.770.62
ANN ReLu0.650.440.440.50

Notes: Quantitative loneliness was determined by total score on the UCLA Loneliness Scale (version 3): ≤40 = No/Low Loneliness and >40 as Lonely. Input features included: five emotions (joy, fear, anger, disgust, sadness), Question 1 TF-IDF score, Question 2 TF-IDF score, Question 3 TF-IDF score, and sentiment for Question 1. Results depicted reflect the best of 10 runs. Stack includes (SVM polynomial, KNN, Tree, AdaBoost, ANN ReLu, random forest). AUC: area under curve (performance measure); kNN: K-nearest neighbour (algorithm); ReLu: rectified linear unit (activation function); RBF: radial basis function (kernel function); SVM: support vector machine (algorithm); tanh: hyperbolic tangent (activation function); TF-IDF: term frequency – inverse document frequency. Bold values indicate the best performing model.

The performance measures shown are average over classes and computed as documented Orange.

Performance of Machine Learning (ML) Models (80–20 Split) in Predicting Quantitative Loneliness (Lonely Versus Not Lonely) Notes: Quantitative loneliness was determined by total score on the UCLA Loneliness Scale (version 3): ≤40 = No/Low Loneliness and >40 as Lonely. Input features included: five emotions (joy, fear, anger, disgust, sadness), Question 1 TF-IDF score, Question 2 TF-IDF score, Question 3 TF-IDF score, and sentiment for Question 1. Results depicted reflect the best of 10 runs. Stack includes (SVM polynomial, KNN, Tree, AdaBoost, ANN ReLu, random forest). AUC: area under curve (performance measure); kNN: K-nearest neighbour (algorithm); ReLu: rectified linear unit (activation function); RBF: radial basis function (kernel function); SVM: support vector machine (algorithm); tanh: hyperbolic tangent (activation function); TF-IDF: term frequency – inverse document frequency. Bold values indicate the best performing model. The performance measures shown are average over classes and computed as documented Orange. Cross-validation using 5-Fold analysis on all data yielded: an F1 score of 0.86 for qualitative loneliness using ANN tanh model and 0.75 for quantitative loneliness (UCLA-3) using random forest model respectively. The high F1 scores and area under the curve suggest data is well separated with a little overlap. Relative to other ML methods, the tanh activation function allows for faster learning for feature values close to 0 owing to its slope being maximum at 0. The Orange3 software provides readily available implementations of several ML models, that require simple configuration and connections using a visual programming tool. All the ML models used in the study were from Orange3 tool and how they were configured in a pipeline is provided as a separate file (nlp5_cutoff40.ows) and described in Supplemental materials (Appendix D).

Feature Ranking for Classification Tasks

Presence of Q3 in interview (indirectly) captures the expression of loneliness by interviewee and the choice of alternative questions by interviewer, making it the highest-ranking feature in both classification tasks (for both qualitative and quantitative loneliness) (Supplemental Tables 2 and 3). IBM sentiment (i.e., verbal agreement to Q1) ranks highly in qualitative loneliness classification, but not in the quantitative loneliness classification. Expressed emotions in the Q1 responses ranked comparably with the top feature (Q3) for quantitatively assessed loneliness, but not as highly for qualitative loneliness.

DISCUSSION

This study demonstrated the feasibility of using NLP analyses to examine transcribed speech data regarding loneliness. This work was a useful first step in understanding how to derive meaning from a large sample size of transcribed speech data, by traditional qualitative methods. We found that qualitatively lonely individuals had longer responses to direct questions about loneliness. Women were more likely to endorse loneliness during interviews when they were quantitatively lonely. Men were more likely to express fearful sentiment in their Q1 responses. ML models based on language features could predict the presence of loneliness (by both qualitative and qualitative assessments) with reasonable precision. ML models could predict qualitative loneliness with sensitivity (proportion of positives that were correctly identified) = 0.90, and specificity (proportion of negatives that were correctly identified) = 1.00. Quantitative loneliness could be predicted with sensitivity = 0.57 and specificity = 0.89. To our knowledge, this is one of the first published NLP studies with both qualitative and quantitative assessments of loneliness among older adults. The agreement of qualitative and quantitative assessments was fair, and male sex appeared to underlie the discrepancies between self-reported and scale-based loneliness. Other studies reported discrepancies between responses to direct questions about loneliness compared to scores on the UCLA-3 among younger male participants, attributed to stigma of acknowledging loneliness. Our findings were similar to these previous studies, with a larger proportion of older men who did not endorsing loneliness on interview despite having “lonely” UCLA-3 scores. Interpretation of participants’ responses using NLP should account for key sociodemographic factors such as age and sex. Further investigation into understanding these responses on a deeper semantic and structural level is needed. The exploratory analyses of sex differences also raised interesting foci for future investigations. Interestingly, male and female respondents had similar mean anxiety scores, depression scores, and measures of instrumental support and negative social interactions. Only emotional support scores differed – with women reporting more emotional supports, though this difference was not reflected by the loneliness assessments. Studies using the DeJong Giervald Loneliness scales specifically assess emotional loneliness (missing an intimate relationship) and social loneliness (missing a wider social network), and have reported that men are less emotionally lonely but more socially lonely than women. , Such nuances in the definition of loneliness may be important for future studies of sex differences in loneliness. While this study was limited to differences by sex assigned at birth, these differences may also reflect societal gender stereotypes rather than the effects of biological sex. Such nuances in the definition of loneliness and gender roles may be important for future studies of sex/gender differences in loneliness. There was an increased use of words of fearful sentiment in responses of men, both in the overall group as well as the subset of lonely individuals, though the effect sizes were small to medium. This finding contrasts a census-based Swedish study of older adults that reported lower levels of fear and loneliness among men, compared to women in response to direct loneliness questions. However, this study sample had key sex differences (younger men, higher proportion of men living independently and with someone) that may have contributed to increased loneliness and fear in women. Also, it is unclear how personal experiences of loneliness relate to linguistic expressions of fear. Lastly, these sex-based findings must be considered in the context of the sample characteristics (older age and lower emotional support in the male participants). Due to a general lack of standardization and calibration in NLU tools, we must limit the claim to being of theoretical interest. While these findings require further exploration with a nuanced emotional analyses of text data and a larger sample size to understand how the emotional content of these responses may differ by sex and loneliness, this is an important first step to understand how individuals may respond when asked about loneliness. The use of NLP methods to analyze subjective states like loneliness will require further study and refinement to understand the complex results and nature of loneliness. However, this proof-of-concept study demonstrates the value of incorporating a large number of perspectives in qualitative analyses. NLP and ML techniques can be scaled up to handle hundreds or thousands of interviews and can provide consistent ratings that may not be possible with human raters. The current study extends earlier qualitative work based on the traditional coding of 30 interviews. The manual coding method, while time-consuming and labor-intensive, allowed for specific and sensitive interpretation of the respondents’ risks for and experience of loneliness as well as their coping strategies. These results highlighted the importance of wisdom components (spirituality, emotional regulation, compassion) for preventing and coping with loneliness. However, the traditional approach could not capture perspectives of the full cohort, as was possible in this study, and was vulnerable to human error and bias, thus requiring parallel analyses by two independent reviewers. In order to further extend and complement traditional qualitative approaches, the current study's NLP approach can handle large datasets using semi-automated approaches, thus enabling future replication and subgroup analyses by sex. The NLP methods were able to quantify the expressed sentiment and emotion of the responses using a consistent algorithm. Through quantifying the text into specific features, the NLP methods were able to link transcript features to qualitative (interview-based) and quantitative (UCLA-3 score-based) loneliness and model the outcomes using ML. The current study illustrates how NLP methods provide an additional data-stream to combine with quantitative measures and create synergy with “higher order” themes identified by traditional qualitative methods.55, 56, 57 The current study identified kNN and ANN (with tanh activation) as the top-performing ML models for qualitative and quantitative loneliness classification tasks respectively. The outperformance of kNN model (F1 score 0.94) for qualitative classification suggests that samples of each class appear as clusters, possibly around an “archetype” for the class. There is little overlap between the two classes and the features used do indeed represent the inputs well. Best performance on quantitative loneliness was achieved using ANN (with tanh activation). A relatively weaker performance compared to the one achieved for qualitative loneliness implies that such (UCLA-3) assessments capture information not readily available in the interviews and/or are sparsely represented in the features used for classification. Further, the classification boundary is a complex one (required the use of non-linear classification). ANN models, in general, outperform SVM models in a number of cases. Performance of SVM models rely on the structure of features and appropriate choice of kernels (algorithms). ANN are trained using “Backpropagation” or backward propagation of error, an efficient method to train the model. The function tanh has higher derivatives and it is 0 centered, which provides advantages to learning. While challenging to fully interpret the model, this finding reflects the complex, non-linear nature of how transcribed speech data reflects quantitative loneliness. ML models had greater precision in predicting qualitative loneliness (kNN model F1 score of 0.94) based on linguistic features alone, compared to quantitative loneliness (ANN tanh F1 score of 0.74). However, the most predictive feature was the presence or absence of follow-up questions from the standardized battery. Thus, analysis of interviews could be automated, especially when the interviews are well-designed. In comparison, a lower F1 score for quantitative assessment of loneliness from the same set of features may indicate how linguistic features may be more reflective of qualitative rather than quantitative loneliness. Thus, to better predict quantitative loneliness, other features and participant characteristics (e.g., baseline response length, specific fearful words used, highest achieved education, neuroticism) may need to be considered in future models. While it is not possible to draw definitive conclusions from the best-fit ML models, the current study demonstrated the feasibility of using ML models for “fuzzy” psychological constructs such as loneliness. The study had several limitations. First, data were cross-sectional; thus, causal inference is not possible. Longitudinal studies are needed to understand the quality and trajectory of loneliness over time. Next, the sample size was too small to fully understand the potential of NLP in diagnosing loneliness. However, this proof-of-concept study serves to demonstrate how NLP of unstructured text data can be used in a deeply phenotyped sample. Second, the sample size was limited to residents within a San Diego housing community and thus, these findings may not be generalizable to other populations. Third, the qualitative and quantitative loneliness assessments may differ in timescale of loneliness. Q1 refers to “ever” feeling lonely, while the UCLA-3 does not inquire about a specific time period. Future studies should examine loneliness as a transient trait as well as a persistent trait. This sample included men who were on average older and had less emotional support than the women included in the study, which may confound the sex-based results. The current study focused on the potential of ML and NLP analyses to examine novel speech data. However, a thorough examination of all the ML models for this data was beyond the scope of the current paper. Future work should examine the nuances of the ML models in handling transcribed speech data. The analyses were not corrected for multiple comparisons due to their exploratory nature. Finally, NLU software methods and tools were developed to analyze conversational text data and were not developed specifically for clinical uses. For example, the five emotions used for the IBM NLU iv tool may not be best suited for understanding loneliness.

CONCLUSIONS

This proof-of-concept study demonstrates how text features can be used to predict loneliness. NLP and ML are effective and novel tools to analyze linguistic features of interview data for psychological constructs like loneliness. State-of-the-art sentiment and emotion analysis can provide insights into composition of a complex emotion (e.g., loneliness). Understanding sex differences in how older individuals discuss loneliness will be instrumental in detecting loneliness through text data. Future studies will need larger samples of diverse individuals, combined with other sensor data-streams (e.g., voice recordings, social interactions, GPS data, physical activity or sleep measures) to personalize the findings. Nuanced linguistic data will be key in developing future AI tools to detect loneliness among individuals based on their speech alone, enabling remote diagnosis of loneliness. Eventually, complex AI systems could intervene in real-time to help individuals to reduce their loneliness by adopting in positive cognitions, managing social anxiety, and engaging in meaningful social activities.

AUTHOR CONTRIBUTIONS

Varsha D. Badal: Helped design and implement the study, analyzed results, and helped prepare the manuscript; Sarah Graham: Edited and contributed to the manuscript; Colin A. Depp: Edited and contributed to the manuscript; Kaoru Shinkawa: Edited and contributed to the manuscript; Yasunori Yamada: Edited and contributed to the manuscript; Lawrence A. Palinkas: Edited and contributed to the manuscript; Ho-Cheol Kim: Oversaw the study, analyzed results, edited and contributed to the manuscript; Dilip V. Jeste: Oversaw the study, analyzed results, edited and contributed to the manuscript; Ellen E. Lee: Helped design and implement the study, analyzed results, and prepared the manuscript.
  9 in total

1.  Managing Perceived Loneliness and Social-Isolation Levels for Older Adults: A Survey with Focus on Wearables-Based Solutions.

Authors:  Aditi Site; Elena Simona Lohan; Outi Jolanki; Outi Valkama; Rosana Rubio Hernandez; Rita Latikka; Daria Alekseeva; Saigopal Vasudevan; Samuel Afolaranmi; Aleksandr Ometov; Atte Oksanen; Jose Martinez Lastra; Jari Nurmi; Fernando Nieto Fernandez
Journal:  Sensors (Basel)       Date:  2022-02-01       Impact factor: 3.576

2.  Improving sleep by fostering social connection for dementia patients in long-term care.

Authors:  Jordan N Kohn; Ellen E Lee
Journal:  Int Psychogeriatr       Date:  2021-06-03       Impact factor: 7.191

3.  The "timbre" of loneliness in later life.

Authors:  Miya Gentry; Barton W Palmer
Journal:  Int Psychogeriatr       Date:  2021-07-29       Impact factor: 7.191

4.  Automatic Assessment of Loneliness in Older Adults Using Speech Analysis on Responses to Daily Life Questions.

Authors:  Yasunori Yamada; Kaoru Shinkawa; Miyuki Nemoto; Tetsuaki Arai
Journal:  Front Psychiatry       Date:  2021-12-13       Impact factor: 4.157

5.  Do Words Matter? Detecting Social Isolation and Loneliness in Older Adults Using Natural Language Processing.

Authors:  Varsha D Badal; Camille Nebeker; Kaoru Shinkawa; Yasunori Yamada; Kelly E Rentscher; Ho-Cheol Kim; Ellen E Lee
Journal:  Front Psychiatry       Date:  2021-11-16       Impact factor: 4.157

6.  Dynamics of Loneliness Among Older Adults During the COVID-19 Pandemic: Pilot Study of Ecological Momentary Assessment With Network Analysis.

Authors:  Varsha D Badal; Ellen E Lee; Rebecca Daly; Emma M Parrish; Ho-Cheol Kim; Dilip V Jeste; Colin A Depp
Journal:  Front Digit Health       Date:  2022-02-07

Review 7.  Loneliness in older people and COVID-19: Applying the social identity approach to digital intervention design.

Authors:  Avelie Stuart; Dmitri Katz; Clifford Stevenson; Daniel Gooch; Lydia Harkin; Mohamed Bennasar; Lisa Sanderson; Jacki Liddle; Amel Bennaceur; Mark Levine; Vikram Mehta; Akshika Wijesundara; Catherine Talbot; Arosha Bandara; Blaine Price; Bashar Nuseibeh
Journal:  Comput Hum Behav Rep       Date:  2022-02-25

8.  Minority Stress and Loneliness in a Global Sample of Sexual Minority Adults: The Roles of Social Anxiety, Social Inhibition, and Community Involvement.

Authors:  Eddy M Elmer; Theo van Tilburg; Tineke Fokkema
Journal:  Arch Sex Behav       Date:  2022-01-27

9.  Ethical Applications of Artificial Intelligence: Evidence From Health Research on Veterans.

Authors:  Christos Makridis; Seth Hurley; Gil Alterovitz; Mary Klote
Journal:  JMIR Med Inform       Date:  2021-06-02
  9 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.