mlsanityData to 7 Oct 2026

Stereotype Detection in LLMs: A Multiclass, Explainable, and Benchmark-Driven Approach

arXiv 2404.01768 ↗First posted 2 Apr 2024cs.CL cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Stereotype detection is a challenging and subjective task, as certain statements, such as "Black people like to play basketball," may not appear overtly toxic but still reinforce racial stereotypes. With the increasing prevalence of large language models (LLMs) in human-facing artificial intelligence (AI) applications, detecting these types of biases is essential. However, LLMs risk perpetuating and amplifying stereotypical outputs derived from their training data. A reliable stereotype detector is crucial for benchmarking bias, monitoring model input and output, filtering training data, and ensuring fairer model behavior in downstream applications. This paper introduces the Multi-Grain Stereotype (MGS) dataset, consisting of 51,867 instances across gender, race, profession, religion, and other stereotypes, curated from multiple existing datasets. We evaluate various machine learning approaches to establish baselines and fine-tune language models of different architectures and sizes, presenting a suite of stereotype multiclass classifiers trained on the MGS dataset. Given the subjectivity of stereotypes, explainability is essential to align model learning with human understanding of stereotypes. We employ explainable AI (XAI) tools, including SHAP, LIME, and BertViz, to assess whether the model's learned patterns align with human intuitions about stereotypes.Additionally, we develop stereotype elicitation prompts and benchmark the presence of stereotypes in text generation tasks using popular LLMs, employing the best-performing stereotype classifiers.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 32 of its 58 references that are in the map. First posted on arXiv 2 Apr 2024.

Builds on

32 of 58 references.

References · 32

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  5. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  6. 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
  7. 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,304
  8. 2019Attention is not Explanationcited by 916
  9. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 911
  10. 2016Semantics derived automatically from language corpora contain human-like biasescited by 894
  11. 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 703
  12. 2021BBQ: A Hand-Built Bias Benchmark for Question Answeringcited by 683
20 more
  1. 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 410
  2. 2019On Measuring Social Biases in Sentence Encoderscited by 397
  3. 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
  4. 2019Identifying and Reducing Gender Bias in Word-Level Language Modelscited by 214
  5. 2019Racial Bias in Hate Speech and Abusive Language Detection Datasetscited by 208
  6. 2020Recall and Learn: Fine-tuning Deep Pretrained Language Models with Less Forgettingcited by 169
  7. 2021A Token-level Reference-free Hallucination Detection Benchmark for Free-form Text Generationcited by 137
  8. 2018Assessing Gender Bias in Machine Translation -- A Case Study with Google Translatecited by 121
  9. 2019The role of artificial intelligence in achieving the Sustainable Development Goalscited by 100
  10. 2020Multi-Dimensional Gender Bias Classificationcited by 80
  11. 2019explAIner: A Visual Analytics Framework for Interactive and Explainable Machine Learningcited by 69
  12. 2023SeeGULL: A Stereotype Benchmark with Broad Geo-Cultural Coverage Leveraging Generative Modelscited by 66
  13. 2022Dbias: Detecting biases and ensuring Fairness in news articlescited by 28
  14. 2021Knowledge-intensive Language Understanding for Explainable AIcited by 25
  15. 2021Intersectional Bias in Causal Language Modelscited by 24
  16. 2022Evaluating the Explainers: Black-Box Explainable Machine Learning for Student Success Prediction in MOOCscited by 17
  17. 2020Large Dimensional Analysis and Improvement of Multi Task Learningcited by 9
  18. 2019Natural Language Interaction with Explainable AI Modelscited by 8
  19. 2022Reinforcement Guided Multi-Task Learning Framework for Low-Resource Stereotype Detectioncited by 7
  20. 2020A machine learning approach for efficient multi-dimensional integrationcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.