A Transformer-Driven Adversarial Framework for Gender Inference With Usernames and Display Names in Online Social Networks
Concurrency and Computation: Practice and Experience, cilt.38, sa.22, 2026 (SCI-Expanded, Scopus)
- Yayın Türü: Makale / Tam Makale
- Cilt numarası: 38 Sayı: 22
- Basım Tarihi: 2026
- Doi Numarası: 10.1002/cpe.71024
- Dergi Adı: Concurrency and Computation: Practice and Experience
- Derginin Tarandığı İndeksler: Science Citation Index Expanded (SCI-EXPANDED), Scopus, Aerospace Database, Applied Science & Technology Source, Compendex, INSPEC, zbMATH, Technology Collection (ProQuest)
- Anahtar Kelimeler: attribute inference, gender inference, machine learning, Online Social Networks, privacy
- Atatürk Üniversitesi Adresli: Evet
Özet
Online Social Networks (OSNs) are incredibly popular, acting as platforms where hundreds of millions of people share vast amounts of valuable data. Gender inference or prediction has been studied many times before due to its importance across various applications and is predominantly approached as a binary classification task. This study addresses gender inference in OSNs from an adversarial perspective, focusing exclusively on the use of usernames and display names. Unlike prior work that relies on extensive profile information or network features, the proposed approach operates under minimal and privacy-relevant user data. Using data from Turkish Facebook users, two user subsets are extracted and used to construct five large-scale datasets, each comprising 120K usernames and/or display names. A broad range of learning models, including traditional classifiers, deep learning methods, and transformer-based architectures, is evaluated alongside multiple embedding techniques such as fastText. Experimental results demonstrate that a modified transformer-based model, namely, Multi-Pooling BERT classifier, achieves superior performance, attaining an F1-score of 0.952 on a hybrid dataset combining usernames and first names. This result represents a state-of-the-art performance for machine learning–based gender inference of Turkish OSN users using only usernames and display names. To the best of our knowledge, this is the first study devoted to systematically investigating this problem setting, thereby providing both a novel contribution and a highly effective solution.