Algorithmic Fairness in NLP: Persona-Infused LLMs for Human-Centric Hate Speech Detection
Ewelina Gajewska, Arda Derbent, Jaroslaw A Chudziak, Katarzyna Budzynska
TL;DR
This work tackles biases in hate speech detection arising from annotator identities by introducing Persona-LLMs that simulate in-group and out-group perspectives. It compares shallow and deeply contextualised persona prompting using Gemini-2.0-Flash and GPT-4.1-mini on a Toxigen-derived dataset across six identity pairings, evaluating with macro-$F1$, $FPR$, and $FNR$. Findings indicate that in-group-oriented annotations improve detection accuracy, and that deeply contextualised prompting generally yields higher accuracy while reducing bias gaps, compared to shallow prompting and non-persona baselines. The study highlights the potential and challenges of identity-aware annotation for fairer content moderation and advocates human-in-the-loop oversight to mitigate risks of stereotype reinforcement and adversarial misuse.
Abstract
In this paper, we investigate how personalising Large Language Models (Persona-LLMs) with annotator personas affects their sensitivity to hate speech, particularly regarding biases linked to shared or differing identities between annotators and targets. To this end, we employ Google's Gemini and OpenAI's GPT-4.1-mini models and two persona-prompting methods: shallow persona prompting and a deeply contextualised persona development based on Retrieval-Augmented Generation (RAG) to incorporate richer persona profiles. We analyse the impact of using in-group and out-group annotator personas on the models' detection performance and fairness across diverse social groups. This work bridges psychological insights on group identity with advanced NLP techniques, demonstrating that incorporating socio-demographic attributes into LLMs can address bias in automated hate speech detection. Our results highlight both the potential and limitations of persona-based approaches in reducing bias, offering valuable insights for developing more equitable hate speech detection systems.
