[Paper Review] Examining Racial Bias in an Online Abuse Corpus with Structural Topic Modeling
This paper uses structural topic modeling (STM) to detect racial bias in a social media abuse dataset by incorporating predicted African-American English (AAE) usage as a covariate. It finds that one topic—strongly linked to AAE—is disproportionately associated with abusive annotations, revealing a key source of bias in hate speech detection datasets.
We use structural topic modeling to examine racial bias in data collected to train models to detect hate speech and abusive language in social media posts. We augment the abusive language dataset by adding an additional feature indicating the predicted probability of the tweet being written in African-American English. We then use structural topic modeling to examine the content of the tweets and how the prevalence of different topics is related to both abusiveness annotation and dialect prediction. We find that certain topics are disproportionately racialized and considered abusive. We discuss how topic modeling may be a useful approach for identifying bias in annotated data.
Motivation & Objective
- To investigate racial bias in annotated social media datasets used for hate speech detection.
- To examine whether African-American English (AAE) usage correlates with abusive language annotations.
- To use structural topic modeling (STM) to uncover latent topics and their associations with both abusiveness and AAE.
- To identify how language patterns linked to AAE may lead to false positives in automated abuse detection.
- To demonstrate that topic modeling can expose hidden biases in annotated NLP datasets.
Proposed method
- Applied a pre-trained language model to predict the probability of each tweet being written in African-American English (AAE).
- Used structural topic modeling (STM) with abusiveness annotation and AAE probability as covariates to model topic prevalence.
- Preprocessed tweets by removing URLs, mentions, punctuation, numbers, and stopwords, and retained only terms appearing in at least five tweets.
- Dropped duplicate tweets and documents with only rare terms, resulting in a final sample of 75,023 tweets.
- Selected K=30 topics using quantitative diagnostics and qualitative inspection to balance model fit and interpretability.
- Estimated topic proportions using the estimateEffect function to model the relationship between topic prevalence, AAE probability, and abusiveness annotation.
Experimental results
Research questions
- RQ1Are certain topics in abusive language datasets disproportionately associated with African-American English (AAE) usage?
- RQ2How does the prevalence of specific topics vary between tweets annotated as abusive and those labeled as normal?
- RQ3Is there a significant interaction between AAE probability and topic prevalence in abusive tweets?
- RQ4Can structural topic modeling reveal hidden biases in annotated hate speech datasets?
- RQ5Do topics linked to AAE show stronger associations with abusive annotations, suggesting potential false positives?
Key findings
- Topic 4 shows a strong positive association between AAE probability and topic prevalence, especially in abusive tweets, with 80% AAE probability predicting over 50% topic proportion.
- Topic 20 exhibits a negative association between AAE probability and topic prevalence in abusive tweets, indicating lower topic use as AAE likelihood increases.
- The vast majority of topics (28 out of 30) show weak or negligible associations between topic prevalence and AAE probability, suggesting most content is not racially biased.
- Topics 12 and 24 show nearly flat relationships between AAE probability and topic proportion, regardless of annotation, indicating minimal relevance to abusiveness.
- The results demonstrate that only two topics—4 and 20—are strongly linked to both AAE and abusive annotations, highlighting a specific source of bias in the dataset.
- The study confirms that topic modeling with covariates can uncover latent structural biases in annotated text data, particularly in relation to race and dialect.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.