Abstract
Content Warning: This paper presents textual examples that may be offensive or upsetting. A stereotype is a generalized perception of a specific group of humans. It is often potentially encoded in human language, which is more common in texts on social issues. Previous works simply define a sentence as stereotypical and anti-stereotypical. However, the stereotype of a sentence may require fine-grained quantification. In this paper, to fill this gap, we quantify stereotypes in language by annotating a dataset. We use the pre-trained language models (PLMs) to learn this dataset to predict stereotypes of sentences. Then, we discuss stereotypes about common social issues such as hate speech, sexism, sentiments, and disadvantaged and advantaged groups. We demonstrate the connections and differences between stereotypes and common social issues, and all four studies validate the general findings of the current studies. In addition, our work suggests that fine-grained stereotype scores are a highly relevant and competitive dimension for research on social issues.
Introduction: Beyond Binary Classifications
In Natural Language Processing (NLP), social bias has traditionally been evaluated using binary benchmarks. Datasets like StereoSet and CrowS-Pairs categorize sentences as either "stereotypical" or "anti-stereotypical." However, this binary approach fails to capture the nuanced intensity of stereotypes found in natural language. A sentence can be mildly biased or overtly harmful, and a simple toggle cannot reflect this spectrum.
Furthermore, binary labels can be inconsistent across different contexts. To address these limitations, this research proposes a continuous scale from -1 to 1 to quantify the intensity of stereotypes. This allows for a more fine-grained and accurate representation of how bias manifests in text.
Methodology
The researcher employed a multi-step approach to turn a subjective concept into a measurable variable:
- Best-Worst Scaling (BWS): Instead of asking annotators to give a sentence an absolute score (which is notoriously inconsistent), they used BWS. Annotators were shown "quaternions" (groups of four sentences) and asked to identify the most and least stereotypical ones. This relative comparison is much more reliable for capturing human judgment.
- Continuous Scoring: Using the Iterative Luce Spectral Ranking algorithm, these relative comparisons were converted into a continuous "stereotype score" ranging from -1 (low/no stereotype) to 1 (high stereotype).
- Model Training: Three popular Pre-trained Language Models (PLMs)—BERT, DistilBERT, and RoBERTa—were fine-tuned on this newly annotated data (2,976 sentences) to predict stereotype scores for unseen text.
- Downstream Validation: The models were then tested against other social issues like hate speech, sexism, and sentiment analysis to see if the stereotype scores provided meaningful insights.
Key Insights and Results
The research yielded several significant findings regarding the nature of stereotypes in language:
Stereotypes and Hate Speech
A primary validation of the continuous scoring method was its application to hate speech detection. The study found a strong correlation between high stereotype scores and text labeled as hate speech. As shown in Figure 3, across all three models (BERT, DistilBERT, and RoBERTa), sentences classified as "hate" consistently exhibited significantly higher stereotype scores than "non-hate" sentences.
Integrating these stereotype scores as a feature in hate speech detection models led to substantial performance gains. For instance, the ALBERT model's F1-score on the ETHOS dataset improved from 0.5902 to 0.7519 when stereotype intensity was included as a feature.
Identifying Subtle Sexism
The stereotype score proved particularly effective at identifying "benevolent" or non-aggressive sexism that standard toxicity metrics often miss. While toxicity scores focus on aggressive language, the stereotype score flags the underlying biased assumptions, making it a more robust tool for detecting subtle social biases regardless of the tone.
Bias Distribution and Sentiment
The models revealed that stereotypes related to religion and race generally carry higher intensity scores than those related to gender or profession within the studied datasets. Additionally, a clear link was found between negative sentiment and stereotype intensity, suggesting that negative emotional contexts often trigger more stereotypical language.
Limitations and Future Directions
While this work provides a new framework for quantifying bias, several challenges remain. Stereotypes are inherently subjective and culturally dependent, meaning annotation can vary based on the observer's background. Currently, the scope is limited to four bias types (race, gender, profession, religion) and sentence-level analysis. Future research should aim to expand these categories and apply quantification to longer, more complex forms of media. Additionally, exploring the use of Large Language Models (LLMs) for automated pre-annotation could help scale the creation of fine-grained stereotype datasets.
Summary updated