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 model, achieved the highest F1-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 F1-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 F1-score of 0.931 (precision = 0.873, recall = 0.998) for the "age" class. We deployed ReportAGE on 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.
翻译:提高社交媒体数据对研究应用的效用,需要使用各种方法自动检测关于社交媒体研究人口的人口信息,包括用户年龄。本研究的目的是开发和评价一种方法,根据在推特中的自我报告自动确定用户的确切年龄。我们的端到端自动自然语言处理管道,ReportAGE, 包括检索可能提到年龄的推文的查询模式, 用来区分自报用户准确年龄("年龄"推文)和不自报("不年龄"推文)的推文, 以及用于识别年龄的基于规则的提取方法。 为了直接开发和评估“ReportAGAGAGE ”, 我们手动了11 000个与查询模式模式模式匹配的推文。 根据所有5个注解者加注的1000个推文, 内部公告协议(Fleys'kappappa), 用于分辨“年龄”和“没有年龄”的推文推文, 用于识别“年龄”的推文的推文的推文, 和“年龄”的推文中经评的推文数,经批同意的推算“年龄”。