[Paper Review] Quantifying Mental Health from Social Media with Neural User Embeddings
This paper proposes a neural user embedding model that learns mental health-relevant representations from Twitter post histories, demonstrating that these embeddings capture homophilic patterns and improve prediction of depression and PTSD. The method outperforms baselines by adapting embeddings via subspace learning, significantly enhancing discrimination of mental health conditions with minimal labeled data.
Mental illnesses adversely affect a significant proportion of the population worldwide. However, the methods traditionally used for estimating and characterizing the prevalence of mental health conditions are time-consuming and expensive. Consequently, best-available estimates concerning the prevalence of mental health conditions are often years out of date. Automated approaches to supplement these survey methods with broad, aggregated information derived from social media content provides a potential means for near real-time estimates at scale. These may, in turn, provide grist for supporting, evaluating and iteratively improving upon public health programs and interventions. We propose a novel model for automated mental health status quantification that incorporates user embeddings. This builds upon recent work exploring representation learning methods that induce embeddings by leveraging social media post histories. Such embeddings capture latent characteristics of individuals (e.g., political leanings) and encode a soft notion of homophily. In this paper, we investigate whether user embeddings learned from twitter post histories encode information that correlates with mental health statuses. To this end, we estimated user embeddings for a set of users known to be affected by depression and post-traumatic stress disorder (PTSD), and for a set of demographically matched `control' users. We then evaluated these embeddings with respect to: (i) their ability to capture homophilic relations with respect to mental health status; and (ii) the performance of downstream mental health prediction models based on these features. Our experimental results demonstrate that the user embeddings capture similarities between users with respect to mental conditions, and are predictive of mental health.
Motivation & Objective
- To investigate whether user embeddings derived from social media posts encode information relevant to mental health status.
- To evaluate the ability of user embeddings to capture homophilic relationships among users with similar mental health conditions.
- To assess whether these embeddings can enhance downstream mental health prediction models compared to traditional text-based features.
- To explore the effectiveness of adapting general-purpose user embeddings using a small amount of task-specific labeled data.
Proposed method
- User embeddings are learned using a skip-gram model (User2Vec) and a paragraph vector variant (PV-dbow, PV-dm) trained on users' historical Twitter posts.
- Word embeddings are initialized using pre-trained skip-gram models on a large corpus to improve representation quality.
- A novel neural linear subspace embedding (NLSE) method is proposed to adapt general user embeddings to mental health prediction by projecting them into a task-specific subspace.
- The NLSE model uses a linear transformation with a learned projection matrix to refine embeddings based on labeled mental health status.
- Baseline models include bag-of-words (BOW), TF-IDF, and hybrid models combining user embeddings with textual features (u2v+bow, u2v+boe).
- Model training uses 10-fold cross-validation with early stopping and grid search over regularization and hyperparameters.
Experimental results
Research questions
- RQ1To what extent do user embeddings learned from social media post histories capture homophilic relations with respect to mental health status?
- RQ2Can user embeddings serve as effective features for discriminating between users with depression or PTSD and demographically matched controls?
- RQ3How does task-specific adaptation of user embeddings improve performance in mental health prediction compared to general-purpose embeddings?
- RQ4Do neural user embeddings outperform traditional text-based baselines such as BOW in classifying mental health conditions?
Key findings
- The BOW baseline outperformed most other models, indicating that explicit mentions of mental health conditions are strong predictors in social media data.
- User2Vec and PV-dm achieved comparable performance, while PV-dbow performed significantly worse, suggesting that predicting all words in a post yields better representations.
- The NLSE model, which adapts general user embeddings via subspace projection, outperformed all baselines, especially in detecting minority classes (depression and PTSD).
- The binary F1 score improvements of NLSE over baselines were most pronounced for depression and PTSD, indicating better discrimination of clinically relevant cases.
- Adapted embeddings showed enhanced ability to distinguish between controls and users with mental health conditions, as evidenced by improved clustering in t-SNE visualizations.
- The results confirm that even unsupervised user embeddings capture latent mental health-related signals, and that fine-tuning with minimal labeled data significantly improves downstream performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.