Abstract
While biases disadvantaging African American Language (AAL) have been uncovered in models for tasks such as speech recognition and toxicity detection, there has been little investigation of these biases for language generation models like ChatGPT. We evaluate how well LLMs understand AAL in comparison to White Mainstream English (WME), the encouraged "standard" form of English taught in American classrooms. We measure large language model performance on two tasks: a counterpart generation task, where a model generates AAL given WME and vice versa, and a masked span prediction (MSP) task, where models predict a phrase hidden from their input. Using a novel dataset of AAL texts from a variety of regions and contexts, we present evidence of dialectal bias for six pre-trained LLMs through performance gaps on these tasks.
Introduction
As Large Language Models (LLMs) are increasingly integrated into high-stakes domains such as healthcare, law, and mental health counseling, the risk of linguistic discrimination becomes a critical concern. African American Language (AAL) is a rule-governed, grammatically patterned variety of English, yet it is severely underrepresented in the massive web-scale datasets used to train LLMs. For instance, AAL represents only an estimated 0.07% of the C4 dataset. This research investigates the "dialectal bias" present in generative models, focusing on how well they interpret and produce AAL compared to White Mainstream English (WME).
Methodology
The study evaluates six pre-trained models—GPT-3, ChatGPT, GPT-4, T5, Flan-T5, and BART—across two primary tasks:
- Counterpart Generation: A "dialect translation" task where models rewrite AAL into WME (interpretation) and WME into AAL (production).
- Masked Span Prediction (MSP): Models predict hidden phrases to measure their "surprise" or perplexity regarding specific dialectal patterns.
The researchers utilized a novel dataset of 346 AAL-WME sentence pairs sourced from social media (e.g., r/BlackPeopleTwitter), linguistic corpora (CORAAL), and artistic expression (hip-hop lyrics). Evaluation included automatic metrics (ROUGE, BERTScore) and human judgments from AAL speakers.
Key Results
Automatic metrics reveal a consistent performance gap between WME and AAL. Models generally perform better at producing WME than AAL, but even in interpretation tasks, they struggle to maintain the integrity of the original text.
Human evaluation further highlights these disparities. While models like GPT-4 are highly capable of generating WME, their ability to produce human-like, accurate AAL was rated significantly lower. Crucially, human judges found that models often failed to preserve the meaning and tone of the original AAL text during translation.
Notably, a version of Flan-T5 fine-tuned on a small set of AAL data (Flan-T5 FT) performed the best across several metrics, suggesting that targeted data can effectively mitigate some of these biases.
Discussion: Grammatical and Neutralization Biases
The study identified specific linguistic features where LLMs consistently fail. Models often misinterpret unique AAL grammatical markers, such as the remote past been (mistaken for past perfect) and the existential it (mistaken for a pronoun).
Furthermore, the researchers observed a "neutralization bias." Models frequently "cleaned up" AAL by removing profanity or culturally specific emphasis when translating to WME. While often framed as a safety feature, this results in representational harm by over-standardizing the tone and stripping the speaker's emotional intent.
Conclusion
The findings demonstrate that state-of-the-art LLMs exhibit significant dialectal bias against AAL. These models are more "surprised" by AAL grammatical structures and struggle to preserve nuance in translation. Addressing these gaps is essential to ensure that AI tools do not provide lower-quality service to AAL speakers or reinforce linguistic prejudices.
Citation: Deas, N., Grieser, J., Kleiner, S., Patton, D., Turcan, E., & McKeown, K. (2023). Evaluation of African American Language Bias in Natural Language Generation. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing (EMNLP), 6805–6824.
Summary updated