mlsanityData to 7 Oct 2026

Twitter-Based Gender Recognition Using Transformers

arXiv 2205.06801 ↗First posted 24 Apr 2022cs.CL cs.AI cs.SIcited by 1

Not on the map. Why?

Abstract (arXiv)

Social media contains useful information about people and the society that could help advance research in many different areas (e.g. by applying opinion mining, emotion/sentiment analysis, and statistical analysis) such as business and finance, health, socio-economic inequality and gender vulnerability. User demographics provide rich information that could help study the subject further. However, user demographics such as gender are considered private and are not freely available. In this study, we propose a model based on transformers to predict the user's gender from their images and tweets. We fine-tune a model based on Vision Transformers (ViT) to stratify female and male images. Next, we fine-tune another model based on Bidirectional Encoders Representations from Transformers (BERT) to recognize the user's gender by their tweets. This is highly beneficial, because not all users provide an image that indicates their gender. The gender of such users could be detected form their tweets. The combination model improves the accuracy of image and text classification models by 6.98% and 4.43%, respectively. This shows that the image and text classification models are capable of complementing each other by providing additional information to one another. We apply our method to the PAN-2018 dataset, and obtain an accuracy of 85.52%.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 6 of its 39 references that are in the map. First posted on arXiv 24 Apr 2022.

Builds on

6 of 39 references.

References · 6

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Stand-Alone Self-Attention in Vision Modelscited by 542
  4. 2019Attention in Natural Language Processingcited by 100
  5. 2017Structured Attention Networkscited by 95
  6. 2018A visual approach for age and gender identification on Twittercited by 1

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.