Towards Auditing Large Language Models: Improving Text-based Stereotype Detection
Wu Zekun, Sahan Bulathwela, Adriano Soares Koshiyama

TL;DR
This paper introduces a new dataset and classifier to detect stereotypes in text, enabling better auditing of large language models for societal biases and demonstrating bias reduction in GPT models over time.
Contribution
The work presents a novel multi-grain stereotype dataset and a classifier, along with experiments showing improved detection and bias assessment in LLMs.
Findings
Multi-class training outperforms binary classification.
The new model uses relevant text features effectively.
Bias in GPT models has decreased over time.
Abstract
Large Language Models (LLM) have made significant advances in the recent past becoming more mainstream in Artificial Intelligence (AI) enabled human-facing applications. However, LLMs often generate stereotypical output inherited from historical data, amplifying societal biases and raising ethical concerns. This work introduces i) the Multi-Grain Stereotype Dataset, which includes 52,751 instances of gender, race, profession and religion stereotypic text and ii) a novel stereotype classifier for English text. We design several experiments to rigorously test the proposed model trained on the novel dataset. Our experiments show that training the model in a multi-class setting can outperform the one-vs-all binary counterpart. Consistent feature importance signals from different eXplainable AI tools demonstrate that the new model exploits relevant text features. We utilise the newly created…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Text Readability and Simplification
MethodsAttention Is All You Need · Linear Layer · Refunds@Expedia|||How do I get a full refund from Expedia? · Adam · Weight Decay · Cosine Annealing · Multi-Head Attention · Residual Connection · Byte Pair Encoding · Dense Connections
