How AI Fails: An Interactive Pedagogical Tool for Demonstrating Dialectal Bias in Automated Toxicity Models

Subhojit Ghimire
11/10/2025
cs.CLcs.CYcs.HC

No official code found. Best implementation: SubhojitGhimire/Dialectal_Bias_Analyser (0 stars, MIT, last commit 2025-11-14).

Abstract

Now that AI-driven moderation has become pervasive in everyday life, we often hear claims that "the AI is biased". While this is often said jokingly, the light-hearted remark reflects a deeper concern. How can we be certain that an online post flagged as "inappropriate" was not simply the victim of a biased algorithm? This paper investigates this problem using a dual approach. First, I conduct a quantitative benchmark of a widely used toxicity model (unitary/toxic-bert) to measure performance disparity between text in African-American English (AAE) and Standard American English (SAE). The benchmark reveals a clear, systematic bias: on average, the model scores AAE text as 1.8 times more toxic and 8.8 times higher for "identity hate". Second, I introduce an interactive pedagogical tool that makes these abstract biases tangible. The tool's core mechanic, a user-controlled "sensitivity threshold," demonstrates that the biased score itself is not the only harm; instead, the more-concerning harm is the human-set, seemingly neutral policy that ultimately operationalises discrimination. This work provides both statistical evidence of disparate impact and a public-facing tool designed to foster critical AI literacy.

View on arXivView PDF

Code Implementations(1)

MIT

Tool Supporting my Research Paper "How AI Fails: An Interactive Pedagogical Tool for Demonstrating Dialectal Bias in Automated Toxicity Models"

00HTML, PythonNov 8, 202511 months agoMIT

Similar Papers

Cite this paper

@article{ghimire2025fails,
  title  = {How AI Fails: An Interactive Pedagogical Tool for Demonstrating Dialectal Bias in Automated Toxicity Models},
  author = {Subhojit Ghimire},
  year   = {2025},
  eprint = {2511.06676},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.06676v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.06676.svg)](https://codeofpaper.com/paper/2511.06676)

Discussion