arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.02005cs.CLcs.AIcs.LG
收藏

使用有限的Twitter数据进行性别预测

Gender prediction using limited Twitter Data

TNO(荷兰应用科学研究组织)

Maaike Burghoorn, Maaike H. T. de Boer, Stephan Raaijmakers

摘要:

Transformer模型在各种NLP任务上表现出令人印象深刻的性能。现成的预训练模型可以针对特定的NLP分类任务进行微调,从而减少对大量额外训练数据的需求。然而,很少有研究涉及需要多少数据来精确地微调这种预先训练的Transformer模型,以及需要多少数据来进行精确预测。本文探讨了BERT(一种用于词嵌入的Transformer模型)在社交媒体性别预测中的可用性。法医应用包括检测性别混淆,例如在聊天室中男性冒充女性。一个荷兰BERT模型在荷兰Twitter数据集的不同样本上进行了微调,这些样本被标记为性别,每个人使用的推文数量不同。结果表明,微调BERT有助于良好的性别分类性能(80%F1)时,微调只有200鸣叫每个人。但是,当每个人只使用20条推文时,我们的分类器的性能并没有急剧下降(到70% F1)。这些结果表明,即使使用相对少量的数据,也可以对BERT进行微调,以准确帮助预测Twitter用户的性别,因此,可以根据少量的推文来确定性别。这为迅速发现性别问题开辟了业务前景。

英文摘要:

Transformer models have shown impressive performance on a variety of NLP tasks. Off-the-shelf, pre-trained models can be fine-tuned for specific NLP classification tasks, reducing the need for large amounts of additional training data. However, little research has addressed how much data is required to accurately fine-tune such pre-trained transformer models, and how much data is needed for accurate prediction. This paper explores the usability of BERT (a Transformer model for word embedding) for gender prediction on social media. Forensic applications include detecting gender obfuscation, e.g. males posing as females in chat rooms. A Dutch BERT model is fine-tuned on different samples of a Dutch Twitter dataset labeled for gender, varying in the number of tweets used per person. The results show that finetuning BERT contributes to good gender classification performance (80% F1) when finetuned on only 200 tweets per person. But when using just 20 tweets per person, the performance of our classifier deteriorates non-steeply (to 70% F1). These results show that even with relatively small amounts of data, BERT can be fine-tuned to accurately help predict the gender of Twitter users, and, consequently, that it is possible to determine gender on the basis of just a low volume of tweets. This opens up an operational perspective on the swift detection of gender.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑