Background: Mental illness is quickly becoming one of the most prevalent public health problems worldwide. Social network platforms, where users can express their emotions, feelings, and thoughts, are a valuable source of data for researching mental health, and techniques based on machine learning are increasingly used for this purpose.
Objective: The objective of this review was to explore the scope and limits of cutting-edge techniques that researchers are using for predictive analytics in mental health and to review associated issues, such as ethical concerns, in this area of research.
Methods: We performed a systematic literature review in March 2017, using keywords to search articles on data mining of social network data in the context of common mental health disorders, published between 2010 and March 8, 2017 in medical and computer science journals.
Results: The initial search returned a total of 5386 articles. Following a careful analysis of the titles, abstracts, and main texts, we selected 48 articles for review. We coded the articles according to key characteristics, techniques used for data collection, data preprocessing, feature extraction, feature selection, model construction, and model verification. The most common analytical method was text analysis, with several studies using different flavors of image analysis and social interaction graph analysis.
Conclusions: Despite an increasing number of studies investigating mental health issues using social network data, some common problems persist. Assembling large, high-quality datasets of social media users with mental disorder is problematic, not only due to biases associated with the collection methods, but also with regard to managing consent and selecting appropriate analytics techniques.
Mental illness is quickly becoming one of the most serious and prevalent public health problems worldwide . Around 25% of the population of the United Kingdom have mental disorders every year [ ]. According to statistics published by the World Health Organization, more than 350 million people have depression. In terms of economic impact, the global costs of mental health problems were approximately US $2.5 trillion in 2010. By 2030, it is estimated that the costs will increase further to US $6.0 trillion [ ]. Mental disorders include many different illnesses, with depression being the most prominent. Additionally, depression and anxiety disorders can lead to suicidal ideation and suicide attempts [ ]. These figures show that mental health problems have effects across society, and demand new prevention and intervention strategies. Early detection of mental illness is an essential step in applying these strategies, with the mental illnesses typically being diagnosed using validated questionnaires designed to detect specific patterns of feelings or social interaction [ - ].
Online social media have become increasingly popular over the last few years as a means of sharing different types of user-generated or user-curated content, such as publishing personal status updates, uploading pictures, and sharing current geographical locations. Users can also interact with other users by commenting on their posts and establishing conversations. Through these interactions, users can express their feelings and thoughts, and report on their daily activities , creating a wealth of useful information about their social behaviors [ ]. To name just 2 particularly popular social networks, Facebook is accessed regularly by more than 1.7 billion monthly active users [ ] and Twitter has over 310 million active accounts [ ], producing large volumes of data that could be mined, subject to ethical constraints, to find meaningful patterns in users’ behaviors.
The field of data science has emerged as a way of addressing the growing scale of data, and the analytics and computational power it requires. Machine learning techniques that allow researchers to extract information from complex datasets have been repurposed to this new environment and used to interpret data and create predictive models in various domains, such as finance , economics [ ], politics [ ], and crime [ ]. In medical research, data science approaches have allowed researchers to mine large health care datasets to detect patterns and accrue meaningful knowledge [ - ]. A specific segment of this work has focused on analyzing and detecting symptoms of mental disorders through status updates in social networking websites [ ].
Based on the symptoms and indicators of mental disorders, it is possible to use data mining and machine learning techniques to develop automatic detection systems for mental health problems. Unusual actions and uncommon patterns of interaction expressed in social network platforms  can be detected through existing tools, based on text mining, social network analysis, and image analysis.
Even though the current performance of predictive models is suboptimal, reliable predictive models will eventually allow early detection and pave the way for health interventions in the forms of promoting relevant health services or delivering useful health information links. By harnessing the capabilities offered to commercial entities on social networks, there is a potential to deliver real health benefits to users.
This systematic review aimed to explore the scope and limits of cutting-edge techniques for predictive analytics in mental health. Specifically, in this review we tried to answer the following questions: (1) What methods are researchers using to collect data from online social network sites such as Facebook and Twitter? (2) What are the state-of-the-art techniques in predictive analytics of social network data in mental health? (3) What are the main ethical concerns in this area of research?
We conducted a systematic review to examine how social media data have been used to classify and predict the mental health state of users. The procedure followed the guidelines of the Preferred Reporting Items for Systematic Reviews and Meta-Analyses (PRISMA) to outline and assess relevant articles .
Literature Search Strategy
We searched the literature in March 2017, collecting articles published between 2010 and March 8, 2017 in medical and computer science databases. We searched PubMed, Institute of Electrical and Electronics Engineers (IEEE Xplore), Association for Computing Machinery (ACM Digital Library), Web of Science, and Scopus using sets of keywords focused on the prediction of mental health problems based on data from social media. We restricted our searches to common mental health disorders, as defined by the UK National Institute for Health and Care Excellence : depression, generalized anxiety disorder, panic disorder, phobias, social anxiety disorder, obsessive-compulsive disorder (OCD), and posttraumatic stress disorder (PTSD). To ensure that our literature search strategy was as inclusive as possible, we explored Medical Subject Headings (MeSH) for relevant key terms. MeSH terms were used in all databases that made this option available. Search terms are outlined in .
In addition, we manually searched the proceedings of the Computational Linguistics and Clinical Psychology Workshops (CLPsych) and the outputs of the World Well-Being Project  to find additional articles that our search terms might have excluded. Furthermore, we examined the reference lists of included articles for additional sources.
Search strategy to identify articles on the prediction of mental health problems based social media data.
Medical Subject Headings (MeSH)
- Depression/ or Mental Health/ or Mental Disorders/ or Suicide or Life Satisfaction/ or Well Being/ or Anxiety/ or Panic/ or Phobia/ or OCD/ or PTSD
- Social Media/ or Social Networks/ or Facebook/ or Twitter/ or Tweet
- Machine Learning/ or Data Mining/ or Big Data/ or Text Analysis/ or Text Mining/ or Predictive Analytics/ or Prediction/ or Detection/ or Deep Learning
- (1) and (2)
- (1) and (3)
Inclusion and Exclusion Criteria
We further filtered the titles and abstracts of articles retrieved using the search terms outlined in. Only articles published in peer-reviewed journals and written in English were included. Further inclusion criteria were that studies had to (1) focus on predicting mental health problems through social media data, and (2) investigate prediction or classification models based on users’ text posts, network interactions, or other features of social network platforms. Within this review, we focused on social network platforms—that is, those allowing users to create personal profiles, post content, and establish new or maintain existing relationships.
Studies were excluded if they (1) only analyzed the correlation between social network data and symptoms of mental illness, (2) analyzed textual contents only by human coding or manual annotation, (3) examined data from online communities (eg, LiveJournal), (4) focused on the relationship between social media use and mental health disorders (eg, so-called Internet addiction), (5) examined the influence of cyberbullying on mental health, or (6) did not explain where the datasets came from.
After screening articles and obtaining a set of studies that met our inclusion criteria, we extracted the most relevant data from the main texts. These are title, author, aims, findings, methods, data collection on machine learning techniques, sampling, questionnaire, platform, and language.
presents a PRISMA flow diagram of the results of searching and screening articles following the above search methodology. The initial search resulted in a total of 5371 articles plus 11 additional articles obtained through CLPsych, 1 from the World Well-Being Project, and 3 from the reference lists of included articles. We removed 1864 of these articles because of duplication. Each of the remaining articles (n=3522) was screened by reviewing its title and abstract. If an article analyzed data from other sources (such as brain signals, mental health detection from face detection, or mobile sensing), we discarded it. This resulted in a set of 106 articles. By matching these with our inclusion and exclusion criteria, we removed a further 58 articles. To sum up, we excluded 5338 articles and included 48 in the review (see ).
We extracted data from each of the 48 articles.and (whose format is adapted from previous work [ , ]) show the key characteristics of the selected studies [ - ], ordered by year published. Of the studies reviewed, 46 were published from 2013 onward, while only 2 peer-reviewed articles were published between 2011 and 2012. None of the selected articles was published in 2010.
|First author, date, reference||Aims||Findings|
|Wang, 2017 ||To explore and characterize the structure of the community of people with eating disorders using Twitter data and then classify users into those with and without the disorder.||There was assortativity among users with eating disorder. The classifier distinguished 2 groups of people.|
|Volkava, 2016 ||To explore academic discourse from tweets and build predictive models to analyze the data.||Tweets from students across 44 universities were related to student surveys on satisfaction and happiness.|
|Saravia, 2016 ||To present a new data collection method and classify individuals with mental illness and nonmental illness.||The proposed method and a classifier were built as an online system, which distinguished 2 groups of individuals and provided mental illness information.|
|Kang, 2016 ||To propose classification models to detect tweets of users with depression for a long period of time. Classifiers were based on the texts, emoticons, and images they posted.||The models detected users with depression.|
|Schwartz, 2016 ||To present predictive models to estimate individual well-being through textual content on social networks.||A combination of message- and user-level aggregation of posts performed well.|
|Chancellor, 2016 ||To explore posts from Instagram to forecast levels of mental illness severity of pro-eating disorder.||Future mental illness severity could be predicted from user-generated messages.|
|Braithwaite, 2016 ||To explore machine learning algorithms to measure suicide risk in the United States.||Machine learning algorithms successfully classified users with suicidal ideation.|
|Coppersmith, 2016 ||To explore linguistics and emotional patterns in Twitter users with and without suicide attempt.||There were quantifiable signals of suicide attempt in tweets.|
|Lv, 2015 ||To build a Chinese suicide dictionary, based on Weibo posts, to detect suicide risk.||The Chinese suicide dictionary detected individuals and tweets at suicide risk.|
|O’Dea, 2015 ||To explore machine learning models to automatically detect the level of concern for each suicide-related tweet.||Machine learning classifiers estimated the level of concern from suicide-related tweets.|
|Liu, 2015 ||To investigate and predict users’ subjective well-being based on Facebook posts.||Users’ subjective well-being could be predicted from posts and their time frame.|
|Burnap, 2015 ||To explore suicide-related tweets to understand users’ communications on social media.||Classification models classified tweets into relevant suicide categories.|
|Park, 2015 ||To analyze the relationships between Facebook activities and the depression state of users.||Participants with depression had fewer interactions, such as receiving likes and comments. Depressed users posted at a higher rate.|
|Hu, 2015 ||To present classifiers with different lengths of observation time to detect depressed users.||Behavioral and linguistic features predicted depression. A 2-month period of observation enabled prediction cues of depression half a month in advance.|
|Tsugawa, 2015 ||To develop a model to recognize individuals with depression from non-English social media posts and activities.||Activities extracted from Twitter were useful to detect depression; 2 months of observation data enabled detection of symptoms of depression. The topics estimated by LDAa were useful.|
|Zhang, 2015 ||To explore 2 natural language processing algorithms to identify posts predicting the probability of suicide.||LDA automatically detected suicide probability from textual contents on social media.|
|Coppersmith, 2015 ||To explore tweet content with self-reported health sentences and language differences in 10 mental health conditions.||There were quantifiable signals of 10 mental health conditions in social network messages and relations between them.|
|Preotiuc-Pietro, 2015 ||To implement linear classifiers to detect users with PTSDc and depression based on user metadata, and several textual and topic features.||The combination of linear classifiers performed better than average classifiers. All unigram features performed well.|
|Mitchell, 2015 ||To use several natural language processing techniques to explore the language of schizophrenic users on Twitter.||Character ngram features were used to train models to classify users with and without schizophrenia. LDA outperformed linguistic inquiry and word count.|
|Preotiuc-Pietro, 2015 ||To study differences in language use in tweets about mental health depending on the role of personality, age, and sex of users.||Personality and demographic data extracted from tweets detected users with depression or PTSD.|
|Pedersen, 2015 ||To explore and study the accuracy of decision lists of ngrams to classify users with depression and PTSD.||Bigram features underperformed ngram 1-6 features.|
|Resnik, 2015 ||To build classifiers to categorize depressed and nondepressed users, based on supervised topic models.||LDA mined useful information from tweets. Supervised topic models such as supervised LDA and supervised anchor model improved LDA accuracy.|
|Resnik, 2015 ||To build classifiers with TF-IDFd weighting, using support vector machine with a linear kernel or radial basis function kernel.||TF-IDF showed good performance, and TF-IDF with supervised topic model performed even better.|
|Durahim, 2015 ||To explore data from social networks to measure the Gross National Happiness of Turkey.||Sentiment analysis estimated Gross National Happiness levels similar to Turkish statistics.|
|Guan, 2015 ||To explore 2 types of classifiers to detect posts revealing high suicide risk.||Users’ profiles and their generated text were used to classify users with high or low suicide risk.|
|Landeiro Dos Reis, 2015 ||To explore exercise-related tweets to measure their association with mental health.||Users who posted workouts regularly tended to express lower levels of depression and anxiety.|
|De Choudhury, 2014 ||To explore several types of Facebook data to detect and predict postpartum depression.||Postpartum depression was predicted from an increase of social isolation and a decrease of social capital.|
|Huang, 2014 ||To present a framework to detect posts related to suicidal ideation.||The best predictive model was based on support vector machine.|
|Wilson, 2014 ||To explore the types of mental health information posted and shared on Twitter.||The study distinguished 8 themes of information about depression in Twitter posts, each having different features.|
|Coppersmith, 2014 ||To present a novel method to collect posts related to PTSD and build a classifier.||The classifier distinguished users with and without self-reported PTSD.|
|Kuang, 2014 ||To create the Chinese version of the extended PERMAe corpus and use it to measure happiness scores.||The proposed model measured happiness.|
|Hao, 2014 ||To propose machine learning models to measure subjective well-being of social media users.||The model measured subjective well-being from social media data.|
|Prieto, 2014 ||To develop a machine learning model to detect and measure the prevalence of health conditions.||The proposed methods identified the presence of health conditions on Twitter.|
|Lin, 2014 ||To develop a deep neural network model to classify users with or without stress.||The trained model detected stress from user-generated content.|
|Schwartz, 2014 ||To build predictive models to detect depression based on Facebook text.||Facebook updates enabled distinguishing depressed users. Predictive models offered insights into seasonal affective disorder.|
|Coppersmith, 2014 ||To analyze tweets related to health and propose a new method to quickly collect public tweets containing statements of mental illnesses.||There were differences in quantifiable linguistic signals of bipolar disorder, depression, PTSD, and seasonal affective disorder in tweets.|
|Homan, 2014 ||To examine the potential of tweet content to classify suicidal risk factors.||Annotations from novices and experts were used to train classifiers, although expert annotations outperformed novice annotations.|
|Park, 2013 ||To develop a Web app to detect symptoms of depression from features extracted from Facebook.||Depressed users had fewer Facebook friends, used fewer location tags, and tended to have fewer interactions.|
|Wang, 2013 ||To build a depression detection model based on sentiment analysis of data from social media.||Sentiment analysis with 10 features detected users with depression, with 80% accuracy.|
|Wang, 2013 ||To explore a detection model, based on node and linkage features, to recognize the presence of depression in social media users. This was an extended version of their earlier study .||The node and linkage features model performed better than the model based just on node features.|
|Tsugawa, 2013 ||To explore the effectiveness of an analytic model to estimate depressive tendencies from users’ activities on a social network.||There was a correlation between the Zung Self-Rating Depression Scale and the model estimations.|
|De Choudhury, 2013 ||To explore predictive models to classify mothers with a tendency to change behavior after giving birth or to experience postpartum depression.||Tweets during prenatal and early postnatal periods predicted future behavior changes, with an accuracy of 71%. Data over 2-3 weeks after giving birth improved prediction results, with an accuracy of 80%-83%.|
|De Choudhury, 2013 ||To explore the potential of a machine learning model to measure levels of depression in populations.||The proposed model estimated levels of depression.|
|De Choudhury, 2013 ||To develop a prediction model to classify individual users with depression.||The predictive model classified users with depression.|
|Schwartz, 2013 ||To analyze tweets from different US counties to predict well-being of people in those areas.||Topic features provided useful information about life satisfaction.|
|Hao, 2013 ||To explore the mental state of users through their online behavior.||Online behavior enabled prediction of mental health problems.|
|Jamison-Powell, 2012 ||To explore the characteristics of tweets that included the #insomnia hashtag.||Tweets about insomnia contained more negative words. People used Twitter to express their symptoms and ideas for coping strategies.|
|Bollen, 2011 ||To explore an online social network to measure subjective well-being levels of users and calculated assortativity.||There was assortativity among Twitter users.|
aLDA: latent Dirichlet allocation.
bCLPsych: Computational Linguistics and Clinical Psychology Workshops.
cPTSD: posttraumatic stress disorder.
dTF-IDF: term frequency-inverse document frequency.
ePERMA: positive emotions, engagement, relationships, meaning, and accomplishment.
The selected studies can be divided into several distinct categories. Several studies [, - , - , , - , - , , ] used datasets from social networks to examine depression. Postpartum depression disorder was explored by De Choudhury et al [ , ], PTSD was investigated by 8 studies [ , , - , , ]. Anxiety and OCD were investigated by 2 studies [ , ]. Borderline disorder and bipolar disorder were investigated by 3 studies [ , , ]. Seasonal affective disorder was studied by Coppersmith et al [ , ]. Eating disorder was explored by Chancellor et al [ ], Coppersmith et al [ ], and Prieto et al [ ]. Attention-deficit/ hyperactivity disorder, anxiety, and schizophrenia were examined by Coppersmith et al [ ], and sleep disorder was studied by Jamison-Powell et al [ ]. None of the included studies explored phobias or panic disorders. Users with suicidal ideation were investigated by 8 studies [ - , , , , ]. Happiness, satisfaction with life, and well-being were investigated by 7 studies [ , , , , , , ].
Of the studies included in this review, 31 analyzed social network contents written in English [- , - , - , , , , , - , - , , ]; 11 studies investigated Chinese text [ , , , , , , , , , , ]; 2 focused on Korean [ , ] and 2 on Japanese text [ , ], 1 looked at Turkish content [ ], and 1 jointly at Spanish and Portuguese [ ].
Data Collection Techniques
Each of the selected articles was based on a dataset directly or indirectly obtained from social networks. We identified 2 broad approaches to data collection: (1) collecting data directly from the participants with their consent using surveys and electronic data collection instruments (eg, Facebook apps), and (2) aggregating data extracted from public posts.
The methods for collecting data directly from participants varied with the purpose of the studies and the target platform. These methods included posting project information on relevant websites inviting participants to take part in the project [, , ] and posting tasks on crowdsourcing platforms asking for project volunteers [ , , , ]. For crowdsourcing, researchers posted detailed information about their studies on platforms such as Amazon Mechanical Turk [ ] to attract participants. As part of a questionnaire, the participants would typically be asked to provide informed consent allowing collection of their social network data.
A range of questionnaires were used to measure participants’ levels of depression and life satisfaction, including the Center for Epidemiologic Studies Depression Scale [, , , , ], Patient Health Questionnaire-9 [ ], Beck Depression Inventory [ , , , ], Zung Self-Rating Depression Scale [ ], Depressive Symptom Inventory-Suicidality Subscale [ ], and Symptom Checklist-90-Revised [ ]. The instruments used to detect suicidal ideation and the possibility of an individual committing suicide were the Suicide Probability Scale [ , , ], the Acquired Capability for Suicide Scale [ ], and the Interpersonal Needs Questionnaire [ ]. Satisfaction with life and well-being were measured with the Satisfaction with Life Scale [ , ], the Positive and Negative Affect Schedule [ ], and the Psychological Well-Being Scale [ ]. One study used the Revised NEO Personality Inventory-Revised to assess personality [ ].
The second approach was to pool only public posts from social network platforms, by using regular expressions to search for relevant posts, such as “I was diagnosed with [condition name]” [, , , ].
To collect social network data, each data source required a custom capture mechanism, due to a lack of standards for data collection. Facebook-based experiments gathered user datasets by developing custom tools or Web apps connecting to the Facebook application programming interfaces (APIs) [, , ]. Another group of studies used Twitter APIs to explore cues for mental disorders [ - , , , , , , , , , - , - , , ]. A similar approach was used for Instagram APIs [ ] and Sina Weibo APIs [ , , , , , , , , ].
Another way of obtaining data was promoted by the myPersonality project, which provides both social network data and a variety of psychometric test scores for academic researchers , and was used by 3 studies [ , , ]. Some studies [ , - ] originated from workshops where the organizers shared data already approved by an institutional review board (IRB) for analysis.
Translating Collected Data Into Knowledge and Results
In all of the selected studies, several standard steps had to be taken before machine learning algorithms could be applied to data. First, data were cleaned and preprocessed to ensure that they were in the form required by the analytical algorithms. Second, the key features (the term “feature” in machine learning denotes a set of observations that is relevant to the modelling problem, typically represented numerically ) related to the research domain were prepared for model construction. Overall, this involves feature extraction and feature selection, producing sets of features to be used in learning and validating predictive models.
The corpus of data is typically preprocessed by (1) removing unsuitable samples and (2) cleaning and preparing the data for analysis. Information and questionnaires from participants might contain useless data and incomplete details, which are usually removed from studies in order to improve the accuracy of prediction and classification results. Participants who take an abnormally short or long time to complete the questionnaires were excluded from 4 studies [, , , ]. Low-activity participants who had published less than a defined threshold of posts were removed from 8 studies [ , , , , , , , ]. Participants with poor correlations between 2 different questionnaires were excluded from the final dataset in 2 studies [ , ].
As part of the data cleaning process, each post was checked for the majority written language (eg, contained at least 70% English words [, , , , , ]). This ensured that the available tools were suitable to analyze the posts. Each post was preprocessed by eliminating stop words and irrelevant data (eg, retweets, hashtags, URLs), lowercasing characters, and segmenting sentences [ , , , , , , ]. Emoticons were converted to other forms such as ASCII codes [ ] to ensure data were machine readable. Anonymization was also performed to remove any potentially identifiable usernames [ , , , , , ].
There are many potential techniques to extract features that could be used for predicting mental health problems in social network users. Several studies have attempted to investigate the textual contents of social networks to understand what factors contain cues for mental disorders. However, some research projects have used alternative techniques. In this review, we identified three broad approaches to feature extraction: text analysis, image analysis, and social interaction.
In text mining, sentiment analysis is a popular tool for understanding emotion expression. It is employed to classify the polarity of a given text into categories such as positive, negative, and neutral . Several studies [ , , , , , , , , - , , , - , ] used the well-known linguistic inquiry and word count (LIWC) [ ] to extract potential signals of mental problems from textual content (eg, the word frequency of the first personal pronoun “I” or “me” or of the second personal pronoun, positive and negative emotions being used by a user or in a post). OpinionFinder [ ] was used by Bollen et al [ ] and SentiStrength [ ] was used by Kang et al [ ] and by Durahim and Coşkun [ ] to carry out sentiment analysis. Custom tools were also developed for performing sentiment analysis. Affective Norms for English Words [ ] was used to qualify the emotional intensity of English words in 2 studies [ , ], while topic modelling was employed in 4 studies [ , , , ] to extract topics from user-generated posts.
Social media posts tend to be rich in various emoticons. As a consequence, several studies [, ] looked into the meaning and mood states associated with their use.
Apart from posting text messages, social network platforms allow users to post images. Some studies investigated these images for cues of mental disorders [, ]. Color compositions and scale-variant feature transform descriptor techniques were used to extract emotional meanings of each individual image [ ]. Image properties, comprising color theme, saturation, brightness, color temperature, and color clarity, were analyzed be Lin et al [ ].
Finally, social network platforms contain millions of interactions and relationships among users. Social network users not only can connect and add online friends, but also can post, comment, and reply to their friends. The resulting graph structure, comprising information about interactions, relationships, and friendships, was mined to understand the cues that can be connected to symptoms of mental disorders (eg, interactions among depressed users and assortative mixing patterns) [, , ].
Feature selection isolates a relevant subset of features that are able to predict symptoms of mental disorders or correctly label participants, while avoiding overfitting. Statistical analysis is typically performed to discover a set of parameters that can differentiate between users with mental disorders and users without mental disorders. The techniques used in the selected studies were Pearson correlation coefficient [, , ], correlation-based feature selection [ ], Spearman rank correlation coefficient [ ], and Mann-Whitney U test [ ]. The dimensionality of features was reduced by principal component analysis [ , , - ], randomized principal component analysis [ ], convolutional neural network with cross-autoencoder technique [ ], forward greedy stepwise [ ], binary logistic regression [ ], gain ratio technique [ ], and relief technique [ ].
Predictive Model Construction
In the selected studies, prediction models were used to detect and classify users according to mental disorders and satisfaction with life. To build a predictive model, a selected set of features is used as training data for machine learning algorithms to learn patterns from those data.
All the articles included in this review used supervised learning techniques, where the sample data contain both the inputs and the labeled outputs. The model learns from these to predict unlabeled inputs from other sources and provide prediction outputs . The techniques used in these studies included support vector machine (SVM) [ , , , , , , ], linear SVM [ , , , , ], and SVM with a radial basis function kernel [ , , , , - ]. Regression techniques included ridge regression [ ], linear regression [ , ], log-linear regression [ , ], logistic regression [ , , , , , , ], binary logistic regression with elastic net regularization [ , ], linear regression with stepwise selection [ , , ], stepwise logistic regression with forward selection [ ], regularized multinomial logistic regression [ ], linear support vector regression [ , ], least absolute shrinkage and selection operator [ , ], and multivariate adaptive regression splines [ ]. Other algorithms used for binary classification were decision trees [ , , , , ], random forest [ , , ], rules decision [ ], naive Bayes [ , , , , , ], k-nearest neighbor [ , ], maximum entropy [ ], neural network [ ], and deep learning neural network [ ].
Following model construction, its accuracy was measured using a test dataset. The most common model validation technique was n-fold cross-validation, which randomly partitions a dataset into n equal subsets and proceeds to iterate n times, with each subset used for validation exactly once, while the remaining n– 1 subsets are used as training data . Several studies [ , , , - , , , , , ] employed 10-fold cross-validation to verify their prediction models and classifiers, while 5-fold cross-validation was used by 4 studies [ , , , ]. Leave-one-out cross-validation was used in 2 studies [ , ].
The performance of predictive models can also be evaluated in other datasets. Several studies [- , , , , , , , , ] divided the collected dataset into training and test subsets to measure the accuracy of their models. Some [ , , , , ] collected a new dataset to evaluate the accuracy of the predicted results and compare the predicted results with a set of known statistics (eg, depression rates in US cities, student satisfaction survey, and Gross National Happiness percentages of provinces of Turkey).
The ethical aspects of using social network data for research are still not clearly defined, particularly when working with information that is publicly available. Thus, the studies that we surveyed adopted a wide range of approaches to handle ethical constraints.
Among the articles included in this review, 9 [, , , , , , , , ] were approved by their authors’ IRBs, and 8 [ , - , , , , ] reported receiving informed consent from participants prior to data analysis. For public data collected from crowdsourcing platforms, participants who opted in provided their consent to data sharing [ ]. For myPersonality data, Liu et al [ ] stated that the dataset itself had IRB approval, so the authors did not report obtaining any further approval from their institution. Youyou et al [ ] also concluded that no IRB approval was needed for using myPersonality data. Chancellor et al [ ] did not seek IRB approval, because their study used Instagram data without personally identifiable information.
Researchers in 6 studies [, , , , , ] reported that the social network datasets collected from participants were anonymized. O’Dea et al [ ] removed names, user identifiers, and user identities, and the data collected had to be analyzed after 3 months. Names and usernames in tweets were removed or replaced with other text in 3 studies [ , , ]. Jamison-Powell et al [ ] reported that they removed user identifiers from tweets illustrated in their published article.
The performance of these models is still fuzzy and unstable. As a consequence, none of these studies presented the model’s predicted output to participants themselves. Schwartz et al  also noted that mental health predictive models are still under development and not sufficiently accurate to be used in practice, and little research has been done on user acceptability of such tools.
The purpose of this review was to investigate the state of development of research on machine learning techniques predicting mental health from social network data. This review also focused on identifying gaps in research and potential applications to detect users with mental health problems. Despite the thousands of articles collected through our search terms, the results of our review suggest that there is a relatively small but growing number of studies using machine learning models to predict mental health problems from social network data. From the initial set of matched articles, only 48 met our inclusion criteria and were selected for review. Some of the excluded studies focused on analysis of the effects of social media use on mental health and well-being states of individual users, and the influence of cyberbullying in social networks on other users.
What Were the Most Surprising Findings?
From the above results, we observed that the same methods could be adapted to analyze posts in different languages. For example, Tsugawa et al  adapted De Choudhury’s methods [ ], originally designed for the analysis of English textual content, to Japanese textual content. Both of them achieved similar results, although some outcomes were dissimilar due to differences in contexts and cultures. This example illustrates that same methods can be used to facilitate studies in different languages.
Several sites were used as sources of data. Facebook is possibly the most popular social network platform. However, only a few studies relied on Facebook datasets to predict mental disorders. One reason for this might be that, by default, users on this site do not make their profiles publicly accessible. Another reason is that getting data from Facebook requires consent from users.
From the selected studies, we can acknowledge several benefits and drawbacks of the methods used in the experiments.
Twitter was a popular source of social network data in the surveyed articles. It provides two different ways of accessing the data: retrospective (using their search APIs) and prospective (via their streaming APIs). Retrospective access allows a regular expression search on the full set of historical tweets, while prospective access allows a search to be set to capture all matching tweets going forward. However, the prospective search grants access to a sample of only 1% of all real-time public tweets based on specific filters. Twitter provides an alternative resource, Firehose, which can provide a standing search over all public tweets, as used in some studies [- ], but it is only accessible through paid subscription [ ].
There are some important differences between studies conducted on Facebook and those using microblogging platforms like Twitter or Sina Weibo. Facebook does not allow developers to access interactions and friendships between users. In addition, users must provide explicit consent to allow an app to pool their data. As a consequence of this, no previous research has used social network analysis to measure and predict mental health problems from Facebook data. On the other hand, microblogging sites grant access to such data. These sites provide APIs that allow developers to get information about followers and followees, and to construct social network graphs of interacting users.
In terms of data collection from users, there are some differences between obtaining data through participants’ consent and using regular expression to search for relevant posts. The former option can provide us the real results of the prevalence of mental disorders from participants. The latter approach reduces the time and cost of identifying users with mental illness .
Feature Extraction Techniques
The LIWC tool is mostly used for text analysis in psychological research. It extracts many category features, such as style words, emotional words, and parts of speech, from textual contents. It is relatively easy to use and does not require programming skills. Users can just select and open a file or a set of files and LIWC will extract the relevant features and values of each feature. However, there are some disadvantages too. First, LIWC is a proprietary software and users have to purchase a license to use it. Second, the feature database of the tool is not easy to modify. To do this, researchers might need programming skills.
To overcome these shortcomings, there are alternative tools to extract features. However, these tools are rather limited in that they can extract only some features. WordNet is a large English lexicon that can be used to extract parts of speech from text and find semantic meanings of words . SentiStrength assesses the polarity between positive and negative words and the levels of strength of positive and negative words in a textual message [ ]. OpinionFinder performs subjectivity, objectivity, and sentiment analysis [ ]. Mallet is a useful natural language processing tool to classify or cluster documents, create topics, and perform sequence labelling [ ]. Latent Dirichlet allocation is a useful and powerful technique to create topic models. Latent Dirichlet allocation analyzes latent topics, based on word distribution, and then assigns a topic to each document [ ]. Each word from an assigned text can be tagged with parts of speech by Part-Of-Speech Tagger [ ].
What Can Be Done to Improve the Area?
The selected articles were largely focused on depression, at around 46% (22/48), while 17% (8/48) focused on suicide. Nearly 15% (7/48) of the articles reported a study of well-being and happiness. The rest of the articles investigated postpartum depression, eating disorder, and PTSD. Worthy of note, there is a lack of models for detection of chronic stress and anxiety disorders. Only 1 study in our sample built a stress state detection model . Therefore, this is likely to become an interesting avenue for future research. If a user has a long period of chronic stress, he or she might be becoming depressed. For instance, Hammen [ ] reported that chronic stress is a symptomatic source of depression and can develop into other disorders.
Furthermore, based on the selected articles, no study used social network data from actual patients with mental illnesses clinically identified by a doctor or psychologist. Most of the studies included in our review assessed mental disorders with surveys, which are open to self-identifying biases. It would be interesting to promote a closer collaboration between computer scientists and doctors or psychologists, who could provide access to patients with a diagnosis of mental disorders. This might improve the accuracy and reliability of data, making it possible to build predictive models based on features extracted from real patients’ social networks. However, mental health conditions might only be formally diagnosed in a specific subset of patients with those conditions, which may lead to a different type of bias.
Importantly, this area of research can benefit from the adoption of open science standards . Many of the studies we reviewed were based on an analysis of openly available data from social networking sites or from the myPersonality project. Parts of the materials used in some of the studies are posted online (eg, [ , ]) or available upon request (eg, [ ]). However, most of the studies did not share their entire computational workflow, including not only the datasets, but also the specific code used to preprocess and analyze them. Therefore, future studies should comply with the Transparency and Openness Promotion guidelines [ ] at level 2 (which requires authors to deposit data and code in trusted repositories) or 3 (which also requires the reported analyses to be reproduced independently before publication). Of course, to avoid the dissemination of sensitive personal information, the datasets should be properly deidentified when necessary.
What Are the Novel Trends?
The next generation of predictive models will include more technical analyses. Most of the selected studies relied on textual analysis. But apart from text mining techniques, other methods can be used to gain insights into mental disorders in collected datasets. For instance, image analysis can be used to extract meaningful features from images posted by users. Users facing mental disorders may post images with specific color filters or contents. Among our reviewed studies, 2 found a significant relationship between emotions and color use [, ]. Another interesting technique is social network analysis. In this review, we selected 3 studies that used social network analysis to examine mental health. However, only 2 studies analyzed symptoms of mental disorders through social network analysis [ , ], while 1 study explored well-being [ ]. One study reported that symptoms of depression can be observed through social networks. In other words, depression can be detected through each person’s friends [ ]. These examples show that social network analysis is a promising tool to investigate the prevalence of mental illness among online users.
A wide range of machine learning algorithms were used in the reviewed studies. Only 1 study used deep learning algorithms to build a classifier , with the rest relying on SVMs, regression models, and decision trees to build classification models. It is expected that, with the rise in popularity of deep learning techniques, this will be changing soon. However, deep learning models are a black box, as opposed to human-interpretable models, such as regression and decision trees, raising the issue of whether it is possible, or indeed necessary, to have these algorithms validated by clinical experts [ ].
As this review showed, it is now possible to detect social network users with mental health problems. However, a supporting methodology needs to be developed to translate this innovation into practice and provide help to individuals. Thus, mechanisms are needed to integrate the data science efforts with digital interventions on social network platforms, such as promoting access to health services, offering real-time interventions , delivering useful health information links, and conducting cognitive behavioral therapy [ ] (see ).
Several studies outside the scope of this review are particularly useful in highlighting the importance of ethical issues in this area of research. For instance, researchers from Facebook and Cornell University  collected and used datasets from Facebook, without offering the possibility to opt out. According to the US Federal Policy for the Protection of Human Subjects (‘Common Rule’), all studies conducted in the United States are required to offer an opt-out for participants. However, private companies do not fall under this rule [ ]. This study was not approved by the Cornell University IRB either, “[b]ecause this experiment was conducted by Facebook, Inc. for internal purposes, the Cornell University IRB determined that the project did not fall under Cornell’s Human Research Protection Program” [ ].
Another study collected public Facebook posts and made the dataset publicly available to other researchers on the Internet . The posts were manually collected by accessing authors’ friends’ profiles, and anonymizing them. But even so, the posts could still be easily identified [ ].
As a result of privacy issues in research with human subjects, the Association of Internet Researchers and other authors have proposed not only ethical questions to evaluate the ethical implications of a research project before starting, but also specific guidelines to eliminate and deal with these issues [, ].
Surprisingly, few of the studies focused on ethical issues. Conway  provided a taxonomy of ethical concepts to bear in mind when using Twitter data for public health studies. Conway [ ] and McKee [ ] reviewed and presented normative rules for using public Twitter data, including paraphrasing collected posts, receiving informed consent from participants, hiding a participant’s identity, and protecting collected data. Some ethical issues, including context sensitivity, complication of ethics and methodology, and legitimacy requirements, were explicitly addressed by Vayena et al [ ].
Mikal et al  focused on the perspectives of participants in using social media for population health monitoring. The authors reported that most research participants agreed to have their public posts used for health monitoring, with anonymized data, although they also thought that informed consent would be necessary in some cases.
One approach to reducing the ethical issues of accessing to and using personal information in this area of research is to anonymize the collected datasets to prevent the identification of participants. Wilkinson et al  suggested that researchers should not directly quote messages or the public URLs of messages in publication, because these can be used to identify content creators. Sula [ ] provided strategies to deal with research in social media including involving participants in studies (not just collect public contents), not collect personally identifiable information (eg, social network profile names), provide participants with a chance to opt out, and make resulting research findings easily accessible and understandable to participants. In most localities, doing any research that collects private information (including social networking posts) from human participants is required to provide project information to IRBs or ethics committees to obtain approval prior to data collection [ , ].
This review focused on studies building predictive machine learning models to automatically detect mental health conditions from social network data. Some studies linking mental health and other sources of data did not meet our selection criteria but provide interesting insights about research trends in this area. For instance, previous research has tried to predict mental health conditions or suicidal risk from alternative sources of data such as clinical notes , voice analysis [ , ], face analysis [ ], and multimodal analysis [ ]. We excluded other studies from this review because they used social media data to predict different outcomes; for example, Hanson et al [ ] used Twitter data to predict drug abuse. Additionally, recent work has investigated reasons behind Twitter users posting about their mental health [ ].
The purpose of this review was to provide an overview of the state-of-the-art in research on machine learning techniques predicting mental health from social network data. Most of the selected studies approached this problem using text analysis. However, some studies also relied on image analysis and social network analysis to gain insights into mental health problems from social network datasets. Predictive models and binary classifiers can be trained based on features obtained from all these techniques. Based on our selected articles, there were relatively few studies applying predictive machine learning models to detect users with mental disorders in real social networks. Moving forward, this research can help in designing and validating new classification models for detecting social network users with mental illnesses and recommend a suitable individually tailored intervention. These interventions might be delivered in the form of advertisements, information links, online advice, or cognitive behavioral therapy; for example, Facebook is considering offering users deemed at risk of suicide online help in real time . However, the reliability of the provided social network data and the general desirability of such interventions should be carefully studied with the users.
With advances in smart data capture devices, such as mobile phones, smart watches, and fitness accessories, future research could combine physical symptoms, such as movements, heart signs, or sleep patterns, with online social network activity to improve the accuracy and reliability of predictions. Finally, scholars interested in conducting research in this area should pay particular attention to the ethical issues of research with human subjects and data privacy in social media, as these are still not fully understood by ethics boards and the wider public.
AW is fully funded by scholarships from the Royal Thai Government to study for a PhD, and MAV was supported by grant 2016-T1/SOC-1395 from Madrid Science Foundation. This research was supported by the UK National Institute for Health Research (NIHR) Biomedical Research Centre based at Guy’s and St Thomas’ NHS Foundation Trust and King’s College London. The views expressed are those of the author(s) and not necessarily those of the National Health Service, the NIHR, or the Department of Health. Open access for this article was funded by King’s College London. We would like to thank Dr Elizabeth Ford for useful comments while finalizing the manuscript.
Conflicts of Interest
Multimedia Appendix 1
Summaries of methodologies of the selected articles.PDF File (Adobe PDF File), 179KB
- Marcus M, Yasamy M, van Ommeren OM, Chisholm D. Depression: a global public health concern. Geneva, Switzerland: World Health Organization, Department of Mental Health and Substance Abuse; 2012. URL: http://www.who.int/mental_health/management/depression/who_paper_depression_wfmh_2012.pdf [accessed 2016-08-24] [WebCite Cache]
- McManus S, Meltzer H, Brugha T, Bebbington P, Jenkins R. Adult Psychiatric Morbidity in England: Results of a Household Survey. Leeds, UK: NHS Information Centre for Health and Social Care; 2007.
- Bloom D, Cafiero E, Jané-Llopis E, Abrahams-Gessel S, Bloom R, Fathima S, et al. The global economic burden of noncommunicable diseases.: World Economic Forum; 2011. URL: http://www3.weforum.org/docs/WEF_Harvard_HE_GlobalEconomicBurdenNonCommunicableDiseases_2011.pdf [accessed 2012-11-26] [WebCite Cache]
- Hamilton M. Development of a rating scale for primary depressive illness. Br J Soc Clin Psychol 1967 Dec;6(4):278-296. [Medline]
- Zung WWK. A self-rating depression scale. Arch Gen Psychiatry 1965 Jan 01;12(1):63. [CrossRef]
- Radloff LS. The CES-D Scale: a self-report depression scale for research in the general population. Appl Psychol Meas 1977 Jun 01;1(3):385-401. [CrossRef]
- Kaplan AM, Haenlein M. Users of the world, unite! The challenges and opportunities of social media. Bus Horiz 2010 Jan;53(1):59-68. [CrossRef]
- Barbier G, Liu H. Data mining in social media. In: Aggarwal CC, editor. Social Network Data Analytics. Volume 6, number 7. New York, NY: Springer; 2011:327-352.
- Facebook. Facebook reports second quarter 2016 results. 2016. URL: https://investor.fb.com/investor-news/press-release-details/2016/Facebook-Reports-Second-Quarter-2016-Results/default.aspx [accessed 2016-12-21] [WebCite Cache]
- Twitter. Twitter usage and company facts. 2016. URL: https://about.twitter.com/company [accessed 2016-12-21] [WebCite Cache]
- Khadjeh Nassirtoussi A, Aghabozorgi S, Ying Wah T, Ngo DCL. Text mining for market prediction: a systematic review. Expert Syst Appl 2014 Nov;41(16):7653-7670. [CrossRef]
- Yu Q, Miche Y, Séverin E, Lendasse A. Bankruptcy prediction using extreme learning machine and financial expertise. Neurocomputing 2014 Mar;128:296-302. [CrossRef]
- Jungherr A. Twitter use in election campaigns: a systematic literature review. J Inf Technol Polit 2015 Dec 21;13(1):72-91. [CrossRef]
- Wang T, Rudin C, Wagner D, Sevieri R. Learning to detect patterns of crime. In: Blockeel H, Kersting K, Nijssen S, Zelezny F, editors. Machine Learning and Knowledge Discovery in Databases. ECML PKDD 2013. Lecture Notes in Computer Science. Volume 8190. Berlin, Germany: Springer; 2013:515-530.
- Kaur H, Wasan SK. Empirical study on applications of data mining techniques in healthcare. J Comput Sci 2006 Feb 1;2(2):194-200. [CrossRef]
- Cortés R, Bonnaire X, Marin O, Sens P. Stream processing of healthcare sensor data: studying user traces to identify challenges from a big data perspective. Procedia Comput Sci 2015;52:1004-1009. [CrossRef]
- Jensen PB, Jensen LJ, Brunak S. Mining electronic health records: towards better research applications and clinical care. Nat Rev Genet 2012 Jun;13(6):395-405. [CrossRef] [Medline]
- Herland M, Khoshgoftaar TM, Wald R. A review of data mining using big data in health informatics. J Big Data 2014;1(1):2. [CrossRef]
- Moreno MA, Jelenchick LA, Egan KG, Cox E, Young H, Gannon KE, et al. Feeling bad on Facebook: depression disclosures by college students on a social networking site. Depress Anxiety 2011 Jun;28(6):447-455 [FREE Full text] [CrossRef] [Medline]
- Liberati A, Altman DG, Tetzlaff J, Mulrow C, Gøtzsche PC, Ioannidis JPA, et al. The PRISMA statement for reporting systematic reviews and meta-analyses of studies that evaluate health care interventions: explanation and elaboration. PLoS Med 2009 Jul 21;6(7):e1000100 [FREE Full text] [CrossRef] [Medline]
- National Institute for Health and Care Excellence. Common mental health problems: identification and pathways to care. 2011 May. URL: https://www.nice.org.uk/guidance/cg123 [accessed 2017-03-13] [WebCite Cache]
- Penn Positive Psychology Center. World Well-Being Project. Philadelphia, PA: Penn Positive Psychology Center; 2017. URL: http://www.wwbp.org/ [accessed 2017-03-05] [WebCite Cache]
- Robinson J, Cox G, Bailey E, Hetrick S, Rodrigues M, Fisher S, et al. Social media and suicide prevention: a systematic review. Early Interv Psychiatry 2015 Feb 19:103-121. [CrossRef] [Medline]
- Wang T, Brede M, Ianni A, Mentzakis E. Detecting and characterizing eating-disorder communities on social media. 2017 Presented at: Tenth ACM International Conference on Web Search and Data Mining - WSDM ’17; Feb 6-10, 2017; Cambridge, UK p. 91-100. [CrossRef]
- Volkova S, Han K, Corley C. Using social media to measure student wellbeing: a large-scale study of emotional response in academic discourse. In: Spiro E, Ahn YY, editors. Social Informatics. SocInfo 2016. Lecture Notes in Computer Science. Volume 10046. Cham, Switzerland: Springer; 2016:510-526.
- Saravia E, Chang C, De Lorenzo RJ, Chen Y. MIDAS: mental illness detection and analysis via social media. 2016 Presented at: IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM); Aug 18-21, 2016; San Francisco, CA, USA p. 1418-1421. [CrossRef]
- Kang K, Yoon C, Kim E. Identifying depressive users in Twitter using multimodal analysis. 2016 Presented at: International Conference on Big Data and Smart Computing (BigComp); Jan 18-20, 2016; Hong Kong, China p. 18-20. [CrossRef]
- Schwartz HA, Sap M, Kern ML, Eichstaedt JC, Kapelner A, Agrawal M, et al. Predicting individual well-being through the language of social media. Pac Symp Biocomput 2016;21:516-527 [FREE Full text] [Medline]
- Chancellor S, Lin Z, Goodman E, Zerwas S, De Choudhury CM. Quantifying and predicting mental illness severity in online pro-eating disorder communities. 2016 Presented at: 19th ACM Conference on Computer-Supported Cooperative Work & Social Computing; Feb 27-Mar 2, 2016; San Francisco, CA, US p. 1171-1184. [CrossRef]
- Braithwaite SR, Giraud-Carrier C, West J, Barnes MD, Hanson CL. Validating machine learning algorithms for Twitter data against established measures of suicidality. JMIR Ment Health 2016 May 16;3(2):e21 [FREE Full text] [CrossRef] [Medline]
- Coppersmith G, Ngo K, Leary R, Wood A. Exploratory analysis of social media prior to a suicide attempt. 2016 Presented at: 3rd Workshop on Computational Linguistics and Clinical Psychology: From Linguistic Signal to Clinical Reality; Jun 16, 2016; San Diego, CA, USA p. 106-117.
- Lv M, Li A, Liu T, Zhu T. Creating a Chinese suicide dictionary for identifying suicide risk on social media. PeerJ 2015;3:e1455 [FREE Full text] [CrossRef] [Medline]
- O'Dea B, Wan S, Batterham PJ, Calear AL, Paris C, Christensen H. Detecting suicidality on Twitter. Internet Interv 2015 May;2(2):183-188. [CrossRef]
- Liu P, Tov W, Kosinski M, Stillwell DJ, Qiu L. Do Facebook status updates reflect subjective well-being? Cyberpsychol Behav Soc Netw 2015 Jul;18(7):373-379. [CrossRef] [Medline]
- Burnap P, Colombo W, Scourfield J. Machine classification and analysis of suicide-related communication on Twitter. 2015 Presented at: 26th ACM Conference on Hypertext & Social Media; Sep 1-4, 2015; Guzelyurt, Northern Cyprus p. 75-84. [CrossRef]
- Park S, Kim I, Lee S, Yoo J, Jeong B, Cha M. Manifestation of depression and loneliness on social networks. 2015 Presented at: 18th ACM Conference on Computer Supported Cooperative Work & Social Computing - CSCW ’15; Mar 14-18, 2015; Vancouver, BC, Canada p. 14-18. [CrossRef]
- Hu Q, Li A, Heng F, Li J, Zhu T. Predicting depression of social media user on different observation windows. 2015 Presented at: IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology; Dec 6-9, 2015; Singapore p. 361-364. [CrossRef]
- Tsugawa S, Kikuchi Y, Kishino F, Nakajima K, Itoh Y, Ohsaki H. Recognizing depression from Twitter activity. 2015 Presented at: 33rd Annual ACM Conference on Human Factors in Computing Systems; Apr 18-23, 2015; Seoul, Republic of Korea p. 3187-3196. [CrossRef]
- Zhang L, Huang X, Liu T, Li A, Chen Z, Zhu T. Using linguistic features to estimate suicide probability of Chinese microblog users. In: Zu Q, Hu B, Gu N, Seng S, editors. Human Centered Computing. HCC 2014. Lecture Notes in Computer Science. Volume 8944. Cham, Switzerland: Springer; 2015:549-559.
- Coppersmith G, Dredze M, Harman C, Hollingshead K. From ADHD to SAD: analyzing the language of mental health on Twitter through self-reported diagnoses. 2015 Presented at: 2nd Workshop on Computational Linguistics and Clinical Psychology: From Linguistic Signal to Clinical Reality; June 5, 2015; Denver, CO, USA p. 1-10.
- Preotiuc-Pietro D, Sap M, Schwartz H, Ungar L. Mental illness detection at the World Well-Being Project for the CLPsych 2015 shared task. 2015 Presented at: 2nd Workshop on Computational Linguistics and Clinical Psychology: From Linguistic Signal to Clinical Reality; June 5, 2015; Denver, CO, USA p. 40-45.
- Mitchell M, Hollingshead K, Coppersmith G. Quantifying the language of schizophrenia in social media. 2015 Presented at: 2nd Workshop on Computational Linguistics and Clinical Psychology: From Linguistic Signal to Clinical Reality; June 5, 2015; Denver, CO, USA p. 11-20.
- Preotiuc-Pietro D, Eichstaedt J, Park G, Sap M, Smith L, Tobolsky V, et al. The role of personality, age, and gender in tweeting about mental illness. 2015 Presented at: 2nd Workshop on Computational Linguistics and Clinical Psychology: From Linguistic Signal to Clinical Reality; June 5, 2015; Denver, CO, USA p. 21-30. [CrossRef]
- Pedersen T. Screening Twitter users for depression and PTSD with lexical decision lists. 2015 Presented at: 2nd Workshop on Computational Linguistics and Clinical Psychology: From Linguistic Signal to Clinical Reality; June 5, 2015; Denver, CO, USA p. 46-53.
- Resnik P, Armstrong W, Claudino L, Nguyen T, Nguyen VA, Boyd-Graber J. Beyond LDA: exploring supervised topic modeling for depression-related language in Twitter. 2015 Presented at: 2nd Workshop on Computational Linguistics and Clinical Psychology: From Linguistic Signal to Clinical Reality; June 5, 2015; Denver, CO, USA p. 99-107.
- Resnik P, Armstrong W, Claudino L, Nguyen T, Nguyen V, Boyd-Graber J. The University of Maryland CLPsych 2015 shared task system. 2015 Presented at: 2nd Workshop on Computational Linguistics and Clinical Psychology: From Linguistic Signal to Clinical Reality; June 5, 2015; Denver, CO, USA p. 54-60.
- Durahim AO, Coşkun M. #iamhappybecause: Gross National Happiness through Twitter analysis and big data. Technol Forecast Soc Change 2015 Oct;99:92-105. [CrossRef]
- Guan L, Hao B, Cheng Q, Yip PS, Zhu T. Identifying Chinese microblog users with high suicide probability using internet-based profile and linguistic features: classification model. JMIR Ment Health 2015;2(2):e17 [FREE Full text] [CrossRef] [Medline]
- Landeiro Dos Reis V, Culotta A. Using matched samples to estimate the effects of exercise on mental health from Twitter. 2015 Presented at: Twenty-Ninth AAAI Conference on Artificial Intelligence; Jan 25-30, 2015; Austin, TX, USA p. 182-188.
- De Choudhury M, Counts S, Horvitz E, Hoff A. Characterizing and predicting postpartum depression from shared Facebook data. 2014 Presented at: 17th ACM conference on Computer supported cooperative work & social computing - CSCW ’14; Feb 15-19, 2014; Baltimore, MD, USA p. 626-638. [CrossRef]
- Huang X, Zhang L, Chiu D, Liu T, Li X, Zhu T. Detecting suicidal ideation in Chinese microblogs with psychological lexicons. 2014 Presented at: 2014 IEEE International Conference on Scalable Computing and Communications and its Associated Workshops; Dec 9-12, 2014; Bali, Indonesia p. 844-849. [CrossRef]
- Wilson M, Ali S, Valstar M. Finding information about mental health in microblogging platforms. 2014 Presented at: 5th Information Interaction in Context Symposium; Aug 26-30, 2014; Regensburg, Germany p. 8-17. [CrossRef]
- Coppersmith G, Harman C, Dredze M. Measuring post traumatic stress disorder in Twitter. 2014 Presented at: 8th International AAAI Conference on Weblogs and Social Media; Jun 2-4, 2014; Ann Arbor, MI, USA p. 23-45.
- Kuang C, Liu Z, Sun M, Yu F, Ma P. Quantifying Chinese happiness via large-scale microblogging data. 2014 Presented at: Web Information System and Application Conference; Sep 12-14, 2014; Tianjin, China p. 227-230. [CrossRef]
- Hao B, Li L, Gao R, Li A, Zhu T. Sensing subjective well-being from social media. In: Slezak D, Schaefer G, Vuong ST, Kim YS, editors. Active Media Technology. AMT 2014. Lecture Notes in Computer Science. Volume 8610. Cham, Switzerland: Springer; 2014:324-335.
- Prieto VM, Matos S, Álvarez M, Cacheda F, Oliveira JL. Twitter: a good place to detect health conditions. PLoS One 2014;9(1):e86191 [FREE Full text] [CrossRef] [Medline]
- Lin H, Jia J, Guo Q, Xue Y, Li Q, Huang J, et al. User-level psychological stress detection from social media using deep neural network. 2014 Presented at: 22nd ACM international conference on Multimedia; Nov 3-7, 2014; Orlando, FL, USA p. 507-516. [CrossRef]
- Schwartz HA, Eichstaedt J, Kern ML, Park G, Sap M, Stillwell D, et al. Towards assessing changes in degree of depression through Facebook. 2014 Presented at: Workshop on Computational Linguistics and Clinical Psychology: From Linguistic Signal to Clinical Reality; Jun 27, 2014; Baltimore, MD, USA p. 118-125.
- Coppersmith G, Dredze M, Harman C. Quantifying mental health signals in Twitter. 2014 Presented at: 2nd Workshop on Computational Linguistics and Clinical Psychology: From Linguistic Signal to Clinical Reality; Jun 27, 2014; Baltimore, MD, USA p. 51-60. [CrossRef]
- Homan C, Johar R, Liu T, Lytle M, Silenzio V, Ovesdotter AC. Toward macro-insights for suicide prevention: analyzing fine-grained distress at scale. 2014 Presented at: Workshop on Computational Linguistics and Clinical Psychology: From Linguistic Signal to Clinical Reality; Jun 27, 2014; Baltimore, MD, USA p. 107-117.
- Park S, Lee SW, Kwak J, Cha M, Jeong B. Activities on Facebook reveal the depressive state of users. J Med Internet Res 2013;15(10):e217 [FREE Full text] [CrossRef] [Medline]
- Wang X, Zhang C, Ji Y, Sun L, Wu L, Bao Z. A Depression detection model based on sentiment analysis in micro-blog social network. In: Li J, Cao L, Wang C, Chen Tan K, Liu B, Pei J, et al, editors. Trends and Applications in Knowledge Discovery and Data Mining. PAKDD 2013. Lecture Notes in Computer Science. Volume 7867. Berlin, Germany: Springer; 2013:201-213.
- Wang X, Zhang C, Sun L. An improved model for depression detection in micro-blog social network. 2013 Presented at: IEEE 13th International Conference on Data Mining Workshops; Dec 7-10, 2013; Dallas, TX, USA p. 80-87. [CrossRef]
- Tsugawa S, Mogi Y, Kikuchi Y, Kishino F, Fujita K, Itoh Y, et al. On estimating depressive tendencies of Twitter users utilizing their tweet data. 2013 Presented at: IEEE Virtual Reality; Mar 18-20, 2013; Lake Buena Vista, FL, USA. [CrossRef]
- De Choudhury M, Counts S, Horvitz E. Predicting postpartum changes in emotion and behavior via social media. 2013 Presented at: SIGCHI Conference on Human Factors in Computing Systems; Apr 27-May 2, 2013; Paris, France p. 3267-3276. [CrossRef]
- De Choudhury M, Counts S, Horvitz E. Social media as a measurement tool of depression in populations. 2013 Presented at: 5th Annual ACM Web Science Conference; May 2-4, 2013; Paris, France p. 47-56. [CrossRef]
- De Choudhury M, Gamon M. Predicting depression via social media. 2013 Presented at: Seventh International AAAI Conference on Weblogs and Social Media; Jul 8-11, 2013; Cambridge, MA, USA p. 128-137.
- Schwartz H, Eichstaedt J, Kern M, Dziurzynski L, Lucas R, Agrawal M, et al. Characterizing geographic variation in well-being using tweets. 2013 Presented at: Seventh International AAAI Conference on Weblogs and Social Media; Jul 8-11, 2013; Cambridge, MA, USA.
- Hao B, Li L, Li A, Zhu T. Predicting mental health status on social media. In: Rau PLP, editor. Cross-Cultural Design. Cultural Differences in Everyday Life. CCD 2013. Lecture Notes in Computer Science. Volume 8024. Berlin, Germany: Springer; 2013:101-110.
- Jamison-Powell S, Linehan C, Daley L, Garbett A, Lawson S. “I can’t get no sleep”: discussing #insomnia on Twitter. 2013 Presented at: SIGCHI Conference on Human Factors in Computing Systems; May 5-10, 2012; Austin, TX, USA p. 1501-1510. [CrossRef]
- Bollen J, Gonçalves B, Ruan G, Mao H. Happiness is assortative in online social networks. Artif Life 2011;17(3):237-251. [CrossRef] [Medline]
- Seligman MEP. Flourish: A Visionary New Understanding of Happiness and Well-being. London, UK: Free Press; 2011.
- Coppersmith G, Dredze M, Harman C, Hollingshead K, Mitchell M. CLPsych 2015 shared task depression and PTSD on Twitter. 2015 Presented at: 2nd Workshop on Computational Linguistics and Clinical Psychology: From Linguistic Signal to Clinical Reality; June 5, 2015; Denver, CO, USA p. 31-39.
- Kittur A, Chi E, Suh B. Crowdsourcing user studies with Mechanical Turk. 2008 Presented at: SIGCHI Conference on Human Factors in Computing Systems - CHI ’08; Apr 5-10, 2008; Florence, Italy p. 453-456. [CrossRef]
- Kosinski M, Matz SC, Gosling SD, Popov V, Stillwell D. Facebook as a research tool for the social sciences: opportunities, challenges, ethical considerations, and practical guidelines. Am Psychol 2015 Sep;70(6):543-556. [CrossRef] [Medline]
- Chaoji V, Hoonlor A, Szymanski B. Recursive data mining for role identification. 2008 Presented at: 5th international conference on Soft computing as transdisciplinary science and technology - CSTST ’08; Oct 28-31, 2008; Cergy-Pontoise, France p. 217-225. [CrossRef]
- Kiritchenko S, Zhu X, Mohammad S. Sentiment analysis of short informal texts. J Artif Intell Res 2014;50:723-762. [CrossRef]
- Tausczik YR, Pennebaker JW. The psychological meaning of words: LIWC and computerized text analysis methods. J Lang Soc Psychol 2009 Dec 08;29(1):24-54. [CrossRef]
- Wilson T, Hoffmann P, Somasundaran S, Kessler J, Wiebe J, Choi Y, et al. OpinionFinder: a system for subjectivity analysis. 2005 Presented at: HLT/EMNLP on Interactive Demonstrations; Oct 7, 2005; Vancouver, BC, Canada p. 34-35. [CrossRef]
- Thelwall M, Buckley K, Paltoglou G, Cai D, Kappas A. Sentiment strength detection in short informal text. J Assoc Inform Sci Technol 2010 Dec 15;61(12):2544-2558. [CrossRef]
- Bradley M, Lang P. Affective Norms for English Words (ANEW): instruction manual and Affective Ratings. Technical Report C-. Gainesville, FL: The Center for Research in Psychophysiology, University of Florida; 1999. URL: http://www.uvm.edu/pdodds/teaching/courses/2009-08UVM-300/docs/others/everything/bradley1999a.pdf [accessed 2016-08-29] [WebCite Cache]
- Mohri M, Rostamizadeh A, Talwalkar A. Foundations of Machine Learning. Cambridge, Massachusetts: MIT Press; 2012.
- Youyou W, Kosinski M, Stillwell D. Computer-based personality judgments are more accurate than those made by humans. Proc Natl Acad Sci U S A 2015 Jan 27;112(4):1036-1040 [FREE Full text] [CrossRef] [Medline]
- Morstatter F, Pfeffer J, Liu H, Carley K. Is the sample good enough? Comparing data from Twitter's streaming API with Twitter's Firehose. Palo Alto, CA: AAAI Press; 2013 Presented at: 7th International AAAI Conference on Weblogs and Social Media. ICWSM 2013; July 8-11, 2013; Boston, MA, USA p. 400-408 URL: https://arxiv.org/pdf/1306.5204.pdf
- Miller GA. WordNet: a lexical database for English. Commun ACM 1995 Nov;38(11):39-41. [CrossRef]
- McCallum AK. MALLET: a machine learning for language toolkit. 2002. URL: https://people.cs.umass.edu/~mccallum/mallet/ [accessed 2017-06-06] [WebCite Cache]
- Blei D, Ng A, Jordan M. Latent Dirichlet allocation. J Machine Learning Res 2003;3(Jan):993-1022.
- Toutanova K, Klein D, Manning C, Singer Y. Feature-rich part-of-speech tagging with a cyclic dependency network. 2003 Presented at: 2003 Conference of the North American Chapter of the Association for Computational Linguistics on Human Language Technology - NAACL ’03; May 27-Jun 1, 2003; Edmonton, AB, Canada p. 173-180. [CrossRef]
- Hammen C. Stress and depression. Annu Rev Clin Psychol 2005;1:293-319. [CrossRef] [Medline]
- Stodden V, McNutt M, Bailey DH, Deelman E, Gil Y, Hanson B, et al. Enhancing reproducibility for computational methods. Science 2016 Dec 09;354(6317):1240-1241. [CrossRef] [Medline]
- Nosek BA, Alter G, Banks GC, Borsboom D, Bowman SD, Breckler SJ, et al. Promoting an open research culture. Science 2015 Jun 26;348(6242):1422-1425 [FREE Full text] [CrossRef] [Medline]
- Valdez P, Mehrabian A. Effects of color on emotions. J Exp Psychol Gen 1994 Dec;123(4):394-409. [Medline]
- Nolan RF, Dai Y, Stanley PD. An investigation of the relationship between color choice and depression measured by the Beck Depression Inventory. Percept Mot Skills 1995 Dec;81(3 Pt 2):1195-1200. [CrossRef] [Medline]
- Rosenquist JN, Fowler JH, Christakis NA. Social network determinants of depression. Mol Psychiatry 2011 Mar;16(3):273-281 [FREE Full text] [CrossRef] [Medline]
- Castelvecchi D. Can we open the black box of AI? Nature 2016 Dec 06;538(7623):20-23. [CrossRef] [Medline]
- Balatsoukas P, Kennedy CM, Buchan I, Powell J, Ainsworth J. The role of social network technologies in online health promotion: a narrative review of theoretical and empirical factors influencing intervention effectiveness. J Med Internet Res 2015;17(6):e141 [FREE Full text] [CrossRef] [Medline]
- Rice SM, Goodall J, Hetrick SE, Parker AG, Gilbertson T, Amminger GP, et al. Online and social networking interventions for the treatment of depression in young people: a systematic review. J Med Internet Res 2014;16(9):e206 [FREE Full text] [CrossRef] [Medline]
- Kramer ADI, Guillory JE, Hancock JT. Experimental evidence of massive-scale emotional contagion through social networks. Proc Natl Acad Sci U S A 2014 Jun 17;111(24):8788-8790 [FREE Full text] [CrossRef] [Medline]
- Verma IM. Editorial expression of concern: experimental evidence of massive-scale emotional contagion through social networks. Proc Natl Acad Sci U S A 2014 Jul 22;111(29):10779 [FREE Full text] [CrossRef] [Medline]
- Lewis K, Kaufman J, Gonzalez M, Wimmer A, Christakis N. Tastes, ties, and time: a new social network dataset using Facebook.com. Social Networks 2008 Oct;30(4):330-342. [CrossRef]
- Zimmer M. “But the data is already public”: on the ethics of research in Facebook. Ethics Inf Technol 2010 Jun 4;12(4):313-325. [CrossRef]
- Markham A, Buchanan E. Ethical decision-making and internet research: recommendations from the AoIR Ethics Working Committee (version 2.0).: The Association of Internet Researchers; 2012. URL: http://aoir.org/reports/ethics2.pdf [accessed 2016-09-23] [WebCite Cache]
- Wilkinson D, Thelwall M. Researching personal information on the public web: methods and ethics. Soc Sci Comput Rev 2010 Aug 17;29(4):387-401. [CrossRef]
- Conway M. Ethical issues in using Twitter for public health surveillance and research: developing a taxonomy of ethical concepts from the research literature. J Med Internet Res 2014;16(12):e290 [FREE Full text] [CrossRef] [Medline]
- McKee R. Ethical issues in using social media for health and health care research. Health Policy 2013 May;110(2-3):298-301. [CrossRef] [Medline]
- Vayena E, Salathé M, Madoff LC, Brownstein JS. Ethical challenges of big data in public health. PLoS Comput Biol 2015 Feb;11(2):e1003904 [FREE Full text] [CrossRef] [Medline]
- Mikal J, Hurst S, Conway M. Ethical issues in using Twitter for population-level depression monitoring: a qualitative study. BMC Med Ethics 2016 Apr 14;17:22 [FREE Full text] [CrossRef] [Medline]
- Sula CA. Research ethics in an age of big data. Bull Assoc Inf Sci Technol 2016 Feb 01;42(2):17-21. [CrossRef]
- Working Party on Ethical Guidelines for Psychological Research. Code of human research ethics. Leicester, UK: The British Psychological Society; 2010. URL: http://www.bps.org.uk/sites/default/files/documents/code_of_human_research_ethics.pdf [accessed 2016-11-23] [WebCite Cache]
- Poulin C, Shiner B, Thompson P, Vepstas L, Young-Xu Y, Goertzel B, et al. Predicting the risk of suicide by analyzing the text of clinical notes. PLoS ONE 2014 Jan 28;9(3):e85733. [CrossRef] [Medline]
- Roark B, Mitchell M, Hosom J, Hollingshead K, Kaye J. Spoken language derived measures for detecting mild cognitive impairment. IEEE Trans Audio Speech Lang Process 2011 Sep 01;19(7):2081-2090 [FREE Full text] [CrossRef] [Medline]
- Fraser KC, Meltzer JA, Graham NL, Leonard C, Hirst G, Black SE, et al. Automated classification of primary progressive aphasia subtypes from narrative speech transcripts. Cortex 2014 Jun;55:43-60. [CrossRef] [Medline]
- Ooi K, Low L, Lech M, Allen N. Prediction of clinical depression in adolescents using facial image analysis. 2011 Presented at: WIAMIS 2011: 12th International Workshop on Image Analysis for Multimedia Interactive Services; Apr 13-15, 2011; Delft, the Netherlands.
- Gupta R, Malandrakis N, Xiao B, Guha T, Van SM, Black M, et al. Multimodal prediction of affective dimensionsand depression in human-computer interactions. 2014 Presented at: 4th International Workshop on Audio/Visual Emotion Challenge - AVEC ’14; Nov 7, 2014; Orlando, FL, USA p. 33-40. [CrossRef]
- Hanson CL, Cannon B, Burton S, Giraud-Carrier C. An exploration of social circles and prescription drug abuse through Twitter. J Med Internet Res 2013;15(9):e189 [FREE Full text] [CrossRef] [Medline]
- Berry N, Lobban F, Belousov M, Emsley R, Nenadic G, Bucci S. #WhyWeTweetMH: understanding why people use Twitter to discuss mental health problems. J Med Internet Res 2017 Apr 05;19(4):e107 [FREE Full text] [CrossRef] [Medline]
- Callison-Burch V, Guadagno J, Davis A. Facebook. 2017. Building a safer community with new suicide prevention tools URL: http://newsroom.fb.com/news/2017/03/building-a-safer-community-with-new-suicide-prevention-tools/ [accessed 2017-03-14] [WebCite Cache]
|API: application programming interface|
|CLPsych: Computational Linguistics and Clinical Psychology Workshops|
|IRB: institutional review board|
|LIWC: linguistic inquiry and word count.|
|MeSH: Medical Subject Headings|
|OCD: obsessive-compulsive disorder|
|PRISMA: Preferred Reporting Items for Systematic Reviews and Meta-Analyses|
|PTSD: posttraumatic stress disorder|
|SVM: support vector machine|
Edited by I Weber; submitted 22.12.16; peer-reviewed by M De Choudhury, G Coppersmith, C Giraud-Carrier; comments to author 06.02.17; revised version received 14.03.17; accepted 27.04.17; published 29.06.17Copyright
©Akkapon Wongkoblap, Miguel A Vadillo, Vasa Curcin. Originally published in the Journal of Medical Internet Research (http://www.jmir.org), 29.06.2017.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research, is properly cited. The complete bibliographic information, a link to the original publication on http://www.jmir.org/, as well as this copyright and license information must be included.