TL;DR
This paper introduces a novel method to measure intersectional biases in language models by analyzing how social group terms influence the "valence" (pleasantness/unpleasantness) of the word "person." They found that larger, more capable models exhibit more pronounced biases, particularly concerning gender identity, social class, and sexual orientation.
What Problem Does This Paper Address?
Large language models (LLMs) are trained on vast amounts of text data, which inevitably contain societal biases. These biases can manifest in the model's outputs, perpetuating harmful stereotypes. While previous work has focused on measuring bias in static word embeddings or through simpler contextualized embeddings, this paper tackles the challenge of evaluating intersectional biases in the dynamic, context-dependent representations generated by modern LLMs. Specifically, they aim to understand how multiple social group identities (e.g., race, gender, sexual orientation) interact within a model's understanding and how these interactions contribute to biased associations, especially for underrepresented groups.
Methods
The core of the paper's contribution lies in its novel methodology:
- Learning an Affective Dimension: Instead of relying on pre-defined semantic spaces, the authors train a Support Vector Classifier (SVC) to learn a "valence dimension" from a set of pleasant and unpleasant words. This dimension captures the pleasantness/unpleasantness axis within the LLM's embedding space. This is done without post-processing the embeddings, preserving their original information.
- Contextualized Word Embedding Association Test (SC-WEAT): They adapt the established Word Embedding Association Test (WEAT) to work with contextualized embeddings. The key innovation is to measure the effect a social group term has on the valence association of the word "person" when placed in an intersectional context. This is achieved by projecting the contextualized embedding of "person" onto the learned valence dimension.
- Differential Bias Measurement: The SC-WEAT quantifies bias by comparing the valence association of "person" when paired with one social group category versus its opposing category (e.g., "heterosexual" vs. "homosexual"). This yields an effect size (Cohen's d) and a p-value, similar to traditional WEAT.
- Intersectional Contexts: The method allows for the creation of complex, intersectional contexts by combining multiple social group descriptors (e.g., "a young, thin, white, heterosexual, cisgender, educated, literate, affluent, Christian male person").
Datasets
- Training Data: The paper utilizes five pre-trained language models (GPT-Neo, XLNet, ALBERT, RoBERTa, T5) trained on various large-scale text corpora (e.g., The Pile, Common Crawl, Wikipedia, BookCorpus).
- Evaluation Data:
- Valence Lexicon: Bellezza's lexicon of 399 words rated for valence was used for the ValNorm intrinsic evaluation task.
- Pleasant/Unpleasant Word Sets: Standard sets of pleasant and unpleasant words, adapted from previous WEAT research, were used to train the SVC for learning the valence dimension.
- Social Bias Categories: 12 social bias categories (age, weight, height, intelligence, education, literacy, race, religion, sex, sexual orientation, social class, gender identity) were defined, each with two contrasting terms (e.g., "young" vs. "old," "affluent" vs. "destitute").
Key Insights and Ideas
- Valence as a Key Dimension: The research strongly suggests that the valence dimension is a primary axis for capturing semantics and biases in the upper layers of contextualized language models.
- Larger Models, Stronger Biases: Contrary to the intuition that larger, more capable models might be less biased, the study found that they often exhibit more pronounced biases, effectively learning and reflecting the biases present in their training data.
- Intersectional Bias is Real and Pronounced: The method effectively captures how multiple social identities combine to create nuanced biases, particularly highlighting strong negative associations with "homosexual" and "transgender" individuals.
- Beyond Binary Bias: The approach allows for measuring biases without requiring strictly binary opposing categories, making it more inclusive and adaptable to complex social identities.
- Robustness Across Architectures: The proposed method demonstrates effectiveness across diverse LLM architectures and pretraining objectives, indicating its generalizability.
Key Results
- Improved ValNorm Scores: The proposed method, using a learned valence dimension, significantly improved ValNorm scores (a measure of semantic accuracy) in the upper layers of all five tested language models compared to traditional cosine similarity, especially in anisotropic embedding spaces. For GPT-Neo, the score increased from 0.56 to 0.81.
- Pronounced Biases: The SC-WEAT revealed significant biases across models, with the most severe ones related to:
- Gender Identity: Large effect sizes (d=1.34 for ALBERT, d=1.22 for RoBERTa) for cisgender vs. transgender.
- Social Class: Medium to large effect sizes (d=1.10 for GPT-Neo) for affluent vs. destitute.
- Sexual Orientation: Medium effect sizes (d=0.64 for GPT-Neo) for heterosexual vs. homosexual.
- GPT-Neo's Bias Profile: GPT-Neo, the largest model tested, showed the most extensive set of biases, with six effect sizes of 0.5 or greater across the 12 bias tests.
- Top Biased Categories (GPT-Neo):
- Most Pleasant: Over 93% contained "heterosexual," and over 70% contained "cisgender."
- Most Unpleasant: Over 99% contained "homosexual," and over 93% contained "transgender."
- Gender Bias Nuance: While most models showed stereotype-congruent biases, three models (ALBERT, GPT-Neo, RoBERTa) showed a slight tendency to associate men more positively than women, deviating from some psychological findings and potentially reflecting misogynistic content in training data.
Limitations and Future Work
- Artificial Contexts: The paper acknowledges that the generated intersectional contexts (e.g., "a young, thin, white, heterosexual, cisgender, educated, literate, affluent, Christian male person") are unlikely to occur naturally in human text, as people are rarely described with so many attributes simultaneously.
- Word Order Impact: The study did not explore the full combinatorial space of word orders within the sentence templates, which could influence the measured biases.
- Future Directions:
- Investigate the impact of word order on bias measurements.
- Apply the method to more naturalistic contexts derived from human-authored text.
- Explore learning other semantic subspaces beyond valence (e.g., political spectrum).
- Extend the method to assess biases in longer descriptive sequences and intersectional identities beyond pairwise comparisons.
- Further explore the link between embedding biases and downstream model behaviors like language generation.
Summary updated