Cargando…

ReportAGE: Automatically extracting the exact age of Twitter users based on self-reports in tweets

Advancing the utility of social media data for research applications requires methods for automatically detecting demographic information about social media study populations, including users’ age. The objective of this study was to develop and evaluate a method that automatically identifies the exa...

Descripción completa

Detalles Bibliográficos
Autores principales: Klein, Ari Z., Magge, Arjun, Gonzalez-Hernandez, Graciela
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8789116/
https://www.ncbi.nlm.nih.gov/pubmed/35077484
http://dx.doi.org/10.1371/journal.pone.0262087
_version_ 1784639695918989312
author Klein, Ari Z.
Magge, Arjun
Gonzalez-Hernandez, Graciela
author_facet Klein, Ari Z.
Magge, Arjun
Gonzalez-Hernandez, Graciela
author_sort Klein, Ari Z.
collection PubMed
description Advancing the utility of social media data for research applications requires methods for automatically detecting demographic information about social media study populations, including users’ age. The objective of this study was to develop and evaluate a method that automatically identifies the exact age of users based on self-reports in their tweets. Our end-to-end automatic natural language processing (NLP) pipeline, ReportAGE, includes query patterns to retrieve tweets that potentially mention an age, a classifier to distinguish retrieved tweets that self-report the user’s exact age (“age” tweets) and those that do not (“no age” tweets), and rule-based extraction to identify the age. To develop and evaluate ReportAGE, we manually annotated 11,000 tweets that matched the query patterns. Based on 1000 tweets that were annotated by all five annotators, inter-annotator agreement (Fleiss’ kappa) was 0.80 for distinguishing “age” and “no age” tweets, and 0.95 for identifying the exact age among the “age” tweets on which the annotators agreed. A deep neural network classifier, based on a RoBERTa-Large pretrained transformer model, achieved the highest F(1)-score of 0.914 (precision = 0.905, recall = 0.942) for the “age” class. When the age extraction was evaluated using the classifier’s predictions, it achieved an F(1)-score of 0.855 (precision = 0.805, recall = 0.914) for the “age” class. When it was evaluated directly on the held-out test set, it achieved an F(1)-score of 0.931 (precision = 0.873, recall = 0.998) for the “age” class. We deployed ReportAGE on a collection of more than 1.2 billion tweets, posted by 245,927 users, and predicted ages for 132,637 (54%) of them. Scaling the detection of exact age to this large number of users can advance the utility of social media data for research applications that do not align with the predefined age groupings of extant binary or multi-class classification approaches.
format Online
Article
Text
id pubmed-8789116
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-87891162022-01-26 ReportAGE: Automatically extracting the exact age of Twitter users based on self-reports in tweets Klein, Ari Z. Magge, Arjun Gonzalez-Hernandez, Graciela PLoS One Research Article Advancing the utility of social media data for research applications requires methods for automatically detecting demographic information about social media study populations, including users’ age. The objective of this study was to develop and evaluate a method that automatically identifies the exact age of users based on self-reports in their tweets. Our end-to-end automatic natural language processing (NLP) pipeline, ReportAGE, includes query patterns to retrieve tweets that potentially mention an age, a classifier to distinguish retrieved tweets that self-report the user’s exact age (“age” tweets) and those that do not (“no age” tweets), and rule-based extraction to identify the age. To develop and evaluate ReportAGE, we manually annotated 11,000 tweets that matched the query patterns. Based on 1000 tweets that were annotated by all five annotators, inter-annotator agreement (Fleiss’ kappa) was 0.80 for distinguishing “age” and “no age” tweets, and 0.95 for identifying the exact age among the “age” tweets on which the annotators agreed. A deep neural network classifier, based on a RoBERTa-Large pretrained transformer model, achieved the highest F(1)-score of 0.914 (precision = 0.905, recall = 0.942) for the “age” class. When the age extraction was evaluated using the classifier’s predictions, it achieved an F(1)-score of 0.855 (precision = 0.805, recall = 0.914) for the “age” class. When it was evaluated directly on the held-out test set, it achieved an F(1)-score of 0.931 (precision = 0.873, recall = 0.998) for the “age” class. We deployed ReportAGE on a collection of more than 1.2 billion tweets, posted by 245,927 users, and predicted ages for 132,637 (54%) of them. Scaling the detection of exact age to this large number of users can advance the utility of social media data for research applications that do not align with the predefined age groupings of extant binary or multi-class classification approaches. Public Library of Science 2022-01-25 /pmc/articles/PMC8789116/ /pubmed/35077484 http://dx.doi.org/10.1371/journal.pone.0262087 Text en © 2022 Klein et al https://creativecommons.org/licenses/by/4.0/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 author and source are credited.
spellingShingle Research Article
Klein, Ari Z.
Magge, Arjun
Gonzalez-Hernandez, Graciela
ReportAGE: Automatically extracting the exact age of Twitter users based on self-reports in tweets
title ReportAGE: Automatically extracting the exact age of Twitter users based on self-reports in tweets
title_full ReportAGE: Automatically extracting the exact age of Twitter users based on self-reports in tweets
title_fullStr ReportAGE: Automatically extracting the exact age of Twitter users based on self-reports in tweets
title_full_unstemmed ReportAGE: Automatically extracting the exact age of Twitter users based on self-reports in tweets
title_short ReportAGE: Automatically extracting the exact age of Twitter users based on self-reports in tweets
title_sort reportage: automatically extracting the exact age of twitter users based on self-reports in tweets
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8789116/
https://www.ncbi.nlm.nih.gov/pubmed/35077484
http://dx.doi.org/10.1371/journal.pone.0262087
work_keys_str_mv AT kleinariz reportageautomaticallyextractingtheexactageoftwitterusersbasedonselfreportsintweets
AT maggearjun reportageautomaticallyextractingtheexactageoftwitterusersbasedonselfreportsintweets
AT gonzalezhernandezgraciela reportageautomaticallyextractingtheexactageoftwitterusersbasedonselfreportsintweets