Evaluating the Usage of African-American Vernacular English in Large Language Models
Organizations: Yale University, New Haven CT 06511, USA
Abstract
In AI, most evaluations of natural language understanding tasks are conducted in standardized dialects such as Standard American English (SAE). In this work, we investigate how accurately large language models (LLMs) represent African American Vernacular English (AAVE). We analyze three LLMs to compare their usage of AAVE to the usage of humans who natively speak AAVE. We first analyzed interviews from the Corpus of Regional African American Language and TwitterAAE to identify the typical contexts where people use AAVE grammatical features such as ain't. We then prompted the LLMs to produce text in AAVE and compared the model-generated text to human usage patterns. We find that, in many cases, there are substantial differences between AAVE usage in LLMs and humans: LLMs usually underuse and misuse grammatical features characteristic of AAVE. Furthermore, through sentiment analysis and manual inspection, we found that the models replicated stereotypes about African Americans. These results highlight the need for more diversity in training data and the incorporation of fairness methods to mitigate the perpetuation of stereotypes.
Figures & tables
| CORAAL-style Prompt | TwitterAAE-style Prompt |
| Role: You are an African American {gender} from {city}, participating in an oral sociolinguistic interview. Guidelines: • Speak in a natural, conversational way, as though you are telling your life story, sharing experiences, and reflecting on everyday life. • Produce a continuous narrative roughly the length of a 30-minute conversation (around 4,000–5,000 words). • Include only the narrative text itself, with no headings, notes, or explanations. | Role: You are given the role of a casual Twitter user. Generate 250 tweets written in African American Vernacular English (AAVE). Guidelines: • Write them in the informal, conversational style of Twitter. • Keep each tweet short (under 280 characters). • Use natural, everyday topics (music, sports, friends, emotions, funny observations, etc.). • Put each tweet on a new line using the newline character. • Include no other extraneous information about the tweet, the task, or anything else. Include only the tweets. |
| Sentiment | Human | Gemma | GPT-4o | Llama |
| Average | 0.135 | 0.146 | 0.260 | 0.160 |
| AAVE Feature | Example Usage of Feature | Analogous Sentence in SAE |
|---|---|---|
| Ain’t | I ain’t doing all that. | I am not doing all of that. |
| Habitual Be | He be doing too much. | He is always doing too much. |
| Negative Concord | I don’t never have no problems. | I don’t ever have any problems. |
| Double Comparative | I am more happier when I’m alone. | I am happier when I’m alone. |
| Perfective Done | I done lost my wallet. | I have lost my wallet. |
| Multiple Modals | We might can go up there next Saturday. | We might be able to go up there next Saturday. |
| Double Comparative | Habitual Be | Multiple Modals | Negative Concord | Null Copula | Perfective Done | Ain’t | |
| Accuracy | 0.99 | 0.99 | 0.99 | 0.97 | 0.96 | 0.99 | 1.00 |
| Feature | V1 | V2 | V3 | V4 | V5 | V6 | V7 | V8 | V9 | V10 |
|---|---|---|---|---|---|---|---|---|---|---|
| Habitual be | 0.576 | 0.441 | 0.401 | 0.493 | 0.525 | 0.413 | 0.483 | 0.408 | 0.488 | 0.359 |
| Negative Concord | 2.738 | 2.828 | 2.778 | 2.832 | 2.931 | 2.868 | 2.730 | 2.815 | 2.749 | 2.857 |
| Ain’t | 2.279 | 2.620 | 2.378 | 2.306 | 2.406 | 2.372 | 2.655 | 2.373 | 2.530 | 2.356 |
| Double Comparative | 0.008 | 0.000 | 0.000 | 0.008 | 0.000 | 0.008 | 0.017 | 0.017 | 0.000 | 0.008 |
| Multiple Modals | 0.008 | 0.008 | 0.000 | 0.008 | 0.000 | 0.025 | 0.017 | 0.008 | 0.008 | 0.025 |
| Perfective Done | 0.125 | 0.183 | 0.142 | 0.125 | 0.183 | 0.149 | 0.133 | 0.150 | 0.168 | 0.092 |