A Transformer‐Driven Adversarial Framework for Gender Inference With Usernames and Display Names in Online Social Networks
Abdulfattah Ba Alawi, Önder Çoban, Ferhat Bozkurt
Key points
From the paper's conclusion- 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.
Abstract
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 F 1‐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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Analyzing Occupational Gender Bias across the LLM Training LifecyclearXiv · 2026
- GRAP: Gender Rubric-Aware Probing for Analyzing Gender Bias in LLMsarXiv · 2026
- Fairness Definitions in Language Models ExplainedWiley Interdisciplinary Reviews Data Mining and Knowledge Discovery · 2026
- Once Upon a Bias: Gender Stereotyping in LLM-Generated Children's StoriesarXiv · 2026
- Mitigating Demographic Disparities in Explanation-Human Alignment via Rationale RegularizationarXiv · 2026
- Mem2Fair: Online Fairness Control for Text-to-Video Generation via Fair MemoryarXiv · 2026