Cargando…

Machine learning of language use on Twitter reveals weak and non-specific predictions

Depressed individuals use language differently than healthy controls and it has been proposed that social media posts can be used to identify depression. Much of the evidence behind this claim relies on indirect measures of mental health and few studies have tested if these language features are spe...

Descripción completa

Detalles Bibliográficos
Autores principales: Kelley, Sean W., Mhaonaigh, Caoimhe Ní, Burke, Louise, Whelan, Robert, Gillan, Claire M.
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Nature Publishing Group UK 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8956571/
https://www.ncbi.nlm.nih.gov/pubmed/35338248
http://dx.doi.org/10.1038/s41746-022-00576-y
_version_ 1784676594545065984
author Kelley, Sean W.
Mhaonaigh, Caoimhe Ní
Burke, Louise
Whelan, Robert
Gillan, Claire M.
author_facet Kelley, Sean W.
Mhaonaigh, Caoimhe Ní
Burke, Louise
Whelan, Robert
Gillan, Claire M.
author_sort Kelley, Sean W.
collection PubMed
description Depressed individuals use language differently than healthy controls and it has been proposed that social media posts can be used to identify depression. Much of the evidence behind this claim relies on indirect measures of mental health and few studies have tested if these language features are specific to depression versus other aspects of mental health. We analysed the Tweets of 1006 participants who completed questionnaires assessing symptoms of depression and 8 other mental health conditions. Daily Tweets were subjected to textual analysis and the resulting linguistic features were used to train an Elastic Net model on depression severity, using nested cross-validation. We then tested performance in a held-out test set (30%), comparing predictions of depression versus 8 other aspects of mental health. The depression trained model had modest out-of-sample predictive performance, explaining 2.5% of variance in depression symptoms (R(2) = 0.025, r = 0.16). The performance of this model was as-good or superior when used to identify other aspects of mental health: schizotypy, social anxiety, eating disorders, generalised anxiety, above chance for obsessive-compulsive disorder, apathy, but not significant for alcohol abuse or impulsivity. Machine learning analysis of social media data, when trained on well-validated clinical instruments, could not make meaningful individualised predictions regarding users’ mental health. Furthermore, language use associated with depression was non-specific, having similar performance in predicting other mental health problems.
format Online
Article
Text
id pubmed-8956571
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Nature Publishing Group UK
record_format MEDLINE/PubMed
spelling pubmed-89565712022-04-11 Machine learning of language use on Twitter reveals weak and non-specific predictions Kelley, Sean W. Mhaonaigh, Caoimhe Ní Burke, Louise Whelan, Robert Gillan, Claire M. NPJ Digit Med Article Depressed individuals use language differently than healthy controls and it has been proposed that social media posts can be used to identify depression. Much of the evidence behind this claim relies on indirect measures of mental health and few studies have tested if these language features are specific to depression versus other aspects of mental health. We analysed the Tweets of 1006 participants who completed questionnaires assessing symptoms of depression and 8 other mental health conditions. Daily Tweets were subjected to textual analysis and the resulting linguistic features were used to train an Elastic Net model on depression severity, using nested cross-validation. We then tested performance in a held-out test set (30%), comparing predictions of depression versus 8 other aspects of mental health. The depression trained model had modest out-of-sample predictive performance, explaining 2.5% of variance in depression symptoms (R(2) = 0.025, r = 0.16). The performance of this model was as-good or superior when used to identify other aspects of mental health: schizotypy, social anxiety, eating disorders, generalised anxiety, above chance for obsessive-compulsive disorder, apathy, but not significant for alcohol abuse or impulsivity. Machine learning analysis of social media data, when trained on well-validated clinical instruments, could not make meaningful individualised predictions regarding users’ mental health. Furthermore, language use associated with depression was non-specific, having similar performance in predicting other mental health problems. Nature Publishing Group UK 2022-03-25 /pmc/articles/PMC8956571/ /pubmed/35338248 http://dx.doi.org/10.1038/s41746-022-00576-y Text en © The Author(s) 2022 https://creativecommons.org/licenses/by/4.0/Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Article
Kelley, Sean W.
Mhaonaigh, Caoimhe Ní
Burke, Louise
Whelan, Robert
Gillan, Claire M.
Machine learning of language use on Twitter reveals weak and non-specific predictions
title Machine learning of language use on Twitter reveals weak and non-specific predictions
title_full Machine learning of language use on Twitter reveals weak and non-specific predictions
title_fullStr Machine learning of language use on Twitter reveals weak and non-specific predictions
title_full_unstemmed Machine learning of language use on Twitter reveals weak and non-specific predictions
title_short Machine learning of language use on Twitter reveals weak and non-specific predictions
title_sort machine learning of language use on twitter reveals weak and non-specific predictions
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8956571/
https://www.ncbi.nlm.nih.gov/pubmed/35338248
http://dx.doi.org/10.1038/s41746-022-00576-y
work_keys_str_mv AT kelleyseanw machinelearningoflanguageuseontwitterrevealsweakandnonspecificpredictions
AT mhaonaighcaoimheni machinelearningoflanguageuseontwitterrevealsweakandnonspecificpredictions
AT burkelouise machinelearningoflanguageuseontwitterrevealsweakandnonspecificpredictions
AT whelanrobert machinelearningoflanguageuseontwitterrevealsweakandnonspecificpredictions
AT gillanclairem machinelearningoflanguageuseontwitterrevealsweakandnonspecificpredictions