[Paper Review] Towards Auditing Large Language Models: Improving Text-based Stereotype Detection
This paper introduces a new Multi-Grain Stereotype Dataset with 52,751 instances across gender, race, profession, and religion, and proposes a multi-class stereotype classifier for English text. The model outperforms one-vs-all binary baselines, demonstrates consistent feature importance via XAI tools, and reveals a measurable reduction in bias over time in GPT-family models, establishing a robust framework for auditing LLMs for stereotypic bias.
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 model to assess the stereotypic behaviour of the popular GPT family of models and observe the reduction of bias over time. In summary, our work establishes a robust and practical framework for auditing and evaluating the stereotypic bias in LLM.
Motivation & Objective
- To address the growing ethical concern of stereotypical outputs in large language models (LLMs) derived from biased training data.
- To create a comprehensive, multi-grain dataset capturing stereotypes across gender, race, profession, and religion.
- To develop a novel stereotype classifier that outperforms traditional one-vs-all binary approaches.
- To provide a practical, auditable framework for evaluating and monitoring stereotypic bias in LLMs.
- To analyze the evolution of bias in popular LLMs like the GPT family over time.
Proposed method
- Construction of the Multi-Grain Stereotype Dataset with 52,751 human-annotated instances across four stereotype categories.
- Design of a multi-class stereotype classifier trained on the new dataset to detect stereotypical associations in English text.
- Use of multiple explainable AI (XAI) tools to validate feature importance signals and ensure model interpretability.
- Training the classifier in both multi-class and one-vs-all binary settings for comparative evaluation.
- Application of the trained classifier to audit GPT-family models across different versions to track bias evolution.
- Employment of standardized evaluation protocols to compare model performance and bias trends.
Experimental results
Research questions
- RQ1Can a multi-class stereotype classifier outperform traditional one-vs-all binary classifiers in detecting text-based stereotypes?
- RQ2Do consistent feature importance signals emerge across multiple XAI tools, indicating reliable model behavior?
- RQ3How does the stereotypic bias in GPT-family models evolve across different generations and versions?
- RQ4To what extent does the new Multi-Grain Stereotype Dataset improve the detection of intersectional stereotypes?
- RQ5Can the proposed framework be used as a practical tool for auditing and monitoring bias in deployed LLMs?
Key findings
- The multi-class classifier achieved superior performance compared to one-vs-all binary baselines, demonstrating the benefit of joint stereotype detection.
- Multiple XAI tools produced consistent feature importance signals, confirming the model relies on relevant linguistic cues such as profession and gendered pronouns.
- The model detected a measurable reduction in stereotypic outputs across successive versions of the GPT family, indicating progress in bias mitigation.
- The Multi-Grain Stereotype Dataset effectively captures diverse, intersectional stereotypes across gender, race, profession, and religion.
- The proposed framework enables systematic auditing of LLMs for stereotypic bias, offering a scalable and interpretable evaluation pipeline.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.