Detecting Emergent Intersectional Biases: Contextualized Word Embeddings Contain a Distribution of Human-like Biases
Wei Guo, Aylin Caliskan
Introduction
State-of-the-art off-the-shelf neural language models such as the multi-million dollar GPT-3, associates men with competency and occupations demonstrating higher levels of education, in downstream natural language processing (NLP) tasks such as sequence prediction (Brown et al. 2020). When GPT-3’s user interface for academic access is prompted for language generation with the input “What is the gender of a doctor,” the first answer is “A: Doctor is a masculine noun;” whereas when prompted with “What is the gender of a nurse,” the first answer is “It’s female.” Propagation of social group bias in NLP applications such as automated resume screening, that shapes the workforce by making consequential decisions about job candidates, would not only perpetuate existing biases but potentially exacerbate harmful bias in society to affect future generations (De-Arteaga et al. 2019; Raghavan and Barocas ). To enhance transparency in NLP, we use the representations of words learned from word co-occurrence statistics to discover social biases. Our methods uncover unique intersectional biases associated with individuals that are members of multiple minority groups. After identifying these emergent biases, we use numeric representations of words that vary according to neighboring words to analyze how prominent bias is in different contexts. Recent work has shown that human-like biases are embedded in the statistical regularities of language that are learned by word representations, namely word embeddings (Caliskan, Bryson, and Narayanan 2017; Blodgett et al. 2020). We build a method on this work to automatically identify intersectional biases, such as the ones associated with African American and Mexican American women from static word embeddings (SWE). Then, we measure how human-like biases manifest themselves in contextualized word embeddings (CWE), which are dynamic word representations generated by neural language models that adapt to their context.
Artificial intelligence systems are known not only to perpetuate social biases, but they may also amplify existing cultural assumptions and inequalities (Campolo et al. 2017). While most work on biases in word embeddings focuses on a single social category (e.g., gender, race) (Caliskan, Bryson, and Narayanan 2017; Bolukbasi et al. 2016; Garg et al. 2018; Zhao et al. 2018; Gonen and Goldberg 2019), the lack of work on identifying intersectional biases, the bias associated with populations defined by multiple categories (Cabrera et al. ), leads to an incomplete measurement of social biases (Hancock 2007; Hurtado and Sinha 2008). For example, Caliskan, Bryson, and Narayanan (2017)’s Word Embedding Association Test (WEAT) quantifies biases documented by the validated psychological methodology of the Implicit Association Test (IAT) (Greenwald, McGhee, and Schwartz 1998; Greenwald, Nosek, and Banaji 2003). The IAT provides the sets of words to represent social groups and attributes to be used while measuring bias. Consequently, the analysis of bias via WEAT is limited to the types of IATs and their corresponding words contributed by the IAT literature, which happens to include intersectional representation for only African American women. To overcome these constraints of WEATs, we extend WEAT to automatically identify attributes associated with individuals that are members of more than one social group. While this allows us to discover emergent intersectional biases, it is also a promising step towards automatically identifying all biased associations embedded in the regularities of language. To fill the gap in understanding the complex nature of intersectional bias, we develop a method called Intersectional Bias Detection (IBD) to automatically identify intersectional biases without relying on pre-defined attribute sets from the IAT literature.
Biases associated with intersectional group members contain emergent elements that do not overlap with the biases of their constituent minority identities (Ghavami and Peplau 2013; Arrington-Sanders et al. 2015). For example, "hair weaves" is stereotypically associated with African American females but not with African Americans or females. We extend IBD and introduce a method called Emergent Intersectional Bias Detection (EIBD) to identify the emergent intersectional biases of an intersectional group in SWE. Then, we construct new tests to quantify these intersectional and emergent biases in CWE. To investigate the influence of different contexts, we use a fill-in-the-blank task called masked language modeling. The goal of the task is to generate the most probable substitution for the [MASK] that is surrounded with neighboring context words in a given sentence. BERT, a widely used language model trained on this task, substitutes [MASK] in “Men/women excel in [MASK].” with “science” and “sports”, reflecting stereotype-congruent associations. However, when we feed in similar contexts “The man/woman is known for his/her [MASK],” BERT fills “wit” in both sentences, which indicates gender bias may not appear in these contexts. Prior methods use templates analogous to masked language modeling to measure bias in CWE (May et al. 2019; Tan and Celis 2019; Kurita et al. 2019). The templates are designed to substitute words from WEAT’s sets of target words and attributes in a simple manner such as "This is [TARGET]" or "[TARGET] is a [ATTRIBUTE]".In this work, we propose the Contextualized Embedding Association Test (CEAT), a test eschewing templates and instead generating the distribution of effect magnitudes of biases in different contexts from a control corpus. To comprehensively measure the social and intersectional biases in this distribution, a random-effects model designed to combine effect sizes of similar bias interventions summarizes the overall effect size of bias in the neural language model (DerSimonian and Kacker 2007). As a result, instead of focusing on biases template-based contexts, CEAT measures the distribution of biased associations in a language model.
Contributions. In summary, this paper presents three novel contributions along with three complementary methods (CEAT, IBD, and EIBD) to automatically identify intersectional biases as well as emergent intersectional biases in SWE, then use these findings to measure all available types of social biases in CWE. We find that ELMo is the most biased, followed by BERT, then GPT, with GPT-2 being the least biased. The overall level of bias correlated with how contextualized the CWE generated by the models are. Our results indicate that the strongest biased associations are embedded in the representations of intersectional group members such as African American women. Data, source code, and detailed results are available.
Intersectional Bias Detection (IBD). We develop a novel method for SWE to detect words that represent biases associated with intersectional group members. To our knowledge, IBD is the first algorithmic method to automatically identify individual words that are strongly associated with intersectionality. IBD reaches an accuracy of 81.6% and 82.7%, respectively, when evaluated on intersectional biases associated with African American females and Mexican American females that are provided in Ghavami and Peplau (2013)’s validation dataset. In these machine learning settings, the random chances of correct identification are 14.3% and 13.3%. Currently, the validation datasets represent gender as a binary label. Consequently, our method uses binary categorization when evaluating for gender related biases. However, we stress that our method generalizes to multiple categories from binary. In future work, we aim to design non-categorical methods that don’t represent individuals as members of discrete categories compared to potentially using continuous representations. Accordingly, we also plan to compile validation datasets that won’t constrain our evaluation to categorical assumptions about humans.
Emergent Intersectional Bias Detection (EIBD). We contribute a novel method to identify emergent intersectional biases that do not overlap with biases of constituent social groups in SWE. To our knowledge, EIBD is the first algorithmic method to detect the emergent intersectional biases in word embeddings automatically. EIBD reaches an accuracy of 84.7% and 65.3%, respectively, when validating on the emergent intersectional biases of African American females and Mexican American females that are provided provided in Ghavami and Peplau (2013)’s validation dataset. In these machine learning settings, the random chances of correct identification are 9.2% and 6.1%.
Contextualized Embedding Association Test (CEAT). WEAT measures human-like biases in SWE. We extend WEAT to the dynamic setting of neural language models to quantify the distribution of effect magnitudes of social and intersectional biases in contextualized word embeddings and summarize the combined magnitude of bias by pooling effect sizes with the validated random-effects methodology (Hedges 1983; Borenstein, Hedges, and Rothstein ). We show that the magnitude of bias greatly varies according to the context in which the stimuli of WEAT appear. Overall, the pooled mean effect size is statistically significant in all CEAT tests including intersectional bias measurements and all models contain biased representations.
Related Work
SWE are trained on word co-occurrence statistics of corpora to generate numeric representations of words so that machines can process language (Mikolov et al. 2013; Pennington, Socher, and Manning 2014). Previous work on bias in SWE has shown that human-like biases that have been documented by the IAT are embedded in the statistical regularities of language (Caliskan, Bryson, and Narayanan 2017). The IAT (Greenwald, McGhee, and Schwartz 1998) is a widely used measure of implicit bias in human subjects that quantifies the differential reaction time to pairing two concepts. Analogous to the IAT, Caliskan, Bryson, and Narayanan (2017) developed the WEAT to measure the biases in SWE by quantifying the relative associations of two sets of target words (e.g., African American and European American) that represent social groups with two sets of polar attributes (e.g., pleasant and unpleasant). WEAT computes an effect size (Cohen’s ) that is a standardized bias score and its -value based on a one-sided permutation test. WEAT measures biases pre-defined by the IAT such as racism, sexism, ableism, and attitude towards the elderly, as well as widely shared non-discriminatory non-social group associations. Swinger et al. (2019) presented an adaptation of the WEAT to identify biases associated with clusters of names.
Regarding the biases of intersectional groups categorized by multiple social categories, there is prior work in the social sciences focusing on the experiences of African American females (Crenshaw 1989; Hare-Mustin and Marecek 1988; Kahn and Yoder 1989; Thomas and Miles 1995). Buolamwini et al. demonstrated intersectional accuracy disparities in commercial gender classification in computer vision (Buolamwini and Gebru 2018). May et al. (2019) and Tan and Celis (2019) used the attributes presented in Caliskan, Bryson, and Narayanan (2017) to measure emergent intersectional biases of African American females in CWE. We develop the first algorithmic method to automatically identify intersectional bias and emergent bias attributes in SWE, which can be measured in both SWE and CWE. Furthermore, we construct new embedding association tests for the intersectional groups. As a result, our work is the first to discuss biases regarding Mexican American females in word embeddings. Ghavami and Peplau (2013) used a free-response procedure in human subjects to collect words that represent intersectional biases. They show that emergent intersectional biases exist in several gender-by-race groups in the U.S. We use the validation dataset constructed by Ghavami and Peplau (2013) to evaluate our methods.
Recently, neural language models, which use neural networks to assign probability values to sequences of words, have achieved state-of-the-art results in NLP tasks with their dynamic word representations, CWE (Edunov et al. 2018; Bohnet et al. 2018; Yang et al. 2019). Neural language models typically consist of an encoder that generates CWE for each word based on its accompanying context in the input sequence. Specifically, the collection of values on a particular layer’s hidden units forms the CWE (Tenney et al. 2019), which has the same vector shape as a SWE. However, unlike SWE that represent each word, including polysemous words, with a fixed vector, CWE of the same word vary according to its context window that is encoded into its representation by the neural language model. Ethayarajh, Duvenaud, and Hirst (2019) demonstrate how these limitations of SWE impact measuring gender biases. With the wide adaption of neural language models (Edunov et al. 2018; Bohnet et al. 2018; Yang et al. 2019), human-like biases were observed in CWE (Kurita et al. 2019; Zhao et al. 2019; May et al. 2019; Tan and Celis 2019). To measure human-like biases in CWE, May et al. (2019) applied the WEAT to contextualized representations in template sentences. Tan and Celis (2019) adopted the method of May et al. (2019) by applying Caliskan, Bryson, and Narayanan (2017)’s WEAT to the CWE of the stimuli tokens in templates such as “This is a [TARGET]”. Kurita et al. (2019) measured biases in BERT based on the prediction probability of the attribute in a template that contains the target and masks the attribute, e.g., [TARGET] is [MASK]. Hutchinson et al. (2020) reveal biases associated with disabilities in CWE and demonstrate undesirable biases towards mentions of disability in applications such as toxicity prediction and sentiment analysis.
Nadeem, Bethke, and Reddy (2020) present a large-scale natural language dataset in English to measure stereotypical biases in the domains of gender, profession, race, and religion. Their strategy cannot be directly compared to ours since it is not aligned with our intersectional bias detection method, which is complementary to CEAT. The majority of prior work measures bias in a limited selection of contexts to report the unweighted mean value of bias magnitudes, which does not reflect the scope of contextualization of biases embedded in a neural language model.
Data
Identifying and measuring intersectional and social biases in word embeddings as well as neural language models requires four types of data sources that are detailed in this section. (1) SWE carry the signals for individual words that have statistically significant biased associations with social groups and intersectionality. Application of our methods IBD and EIBD to SWE automatically retrieves biased associations. (2) CWE extracted from sentence encodings of neural language models provide precise word representations that depend on the context of word occurrence. We apply CEAT to summarize magnitude of bias in neural language models. (3) A corpus provides the samples of sentences used in CEAT when measuring the overall bias and analyzing the variance of contexts in CWE of neural language models. (4) Stimuli designed by experts in social psychology represent validated concepts in natural language including social group and intersectional targets in addition to their corresponding attributes.
We use GloVe (Pennington, Socher, and Manning 2014) SWE trained on the word co-occurrence statistics of the Common Crawl corpus to automatically detect words that are highly associated with intersectional group members. The Common Crawl corpus consists of 840 billion tokens and more than 2 million unique vocabulary words collected from a crawl of the world wide web. Consequently, GloVe embeddings capture the language representation of the entire Internet population that contributed to its training corpus. GloVe embeddings learn fine-grained semantic and syntactic regularities (Pennington, Socher, and Manning 2014). Caliskan, Bryson, and Narayanan (2017) have shown that social biases are embedded in the linguistic regularities learned by GloVe.
Contextualized Word Embeddings (CWE)
We generate the CWE by widely used neural language model implementations of ELMo from https://allennlp.org/elmo, BERT, GPT and GPT-2 from https://huggingface.co/transformers/v2.5.0/model_doc/ (Peters et al. 2018; Devlin et al. 2018; Radford et al. 2018, 2019). Specifically, CWE is formed by the collection of values on a particular layer’s hidden units in the neural language model. BERT, GPT and GPT-2 use subword tokenization. Since GPT and GPT-2 are unidirectional language models, CWE of the last subtokens contain the information of the entire word (Radford et al. 2019). We use the CWE of the last subtoken in the word as its representation in GPT and GPT-2. For consistency, we use the CWE of the last subtoken in the word as its representation in BERT. BERT and GPT-2 provide several versions. We use BERT-small-cased and GPT-2-117m trained on cased English text. The sizes of the training corpora detailed below have been verified from Aßenmacher and Heumann (2020). We obtained academic access to GPT-3’s API which does not provide training data or the CWE. Accordingly, we are not able to systematically study GPT-3.
ELMo is a 2-layer bidirectional long short term memory (Bi-LSTM) (Hochreiter and Schmidhuber 1997) language model trained on the Billion Word Benchmark dataset (Chelba et al. 2013) that takes up 9GB memory. ELMo has 93.6 million parameters. It is different from the three other models since CWE in ELMo integrate the hidden states in all layers instead of using the hidden states of the top layer. We follow standard usage and compute the summation of hidden units over all aggregated layers of the same token as its CWE (Peters et al. 2018). CWE of ELMo have 1,024 dimensions.
BERT (Devlin et al. 2018) is a bidirectional transformer encoder (Vaswani et al. 2017) trained on a masked language model and next sentence prediction. BERT is trained on BookCorpus (Zhu et al. 2015) and English Wikipedia dumps that take up 16GB memory (Bender et al. 2021). We use BERT-small-case with 12 layers that has 110 million parameters. We extract the values of hidden units on the top layer corresponding to the token as its CWE of 768 dimensions.
GPT (Radford et al. 2018) is a 12-layer transformer decoder trained on a unidirectional language model on BookCorpus that takes up 13GB memory (Zhu et al. 2015). We use the values of hidden units on the top layer corresponding to the token as its CWE. This implementation of GPT has 110 million parameters. The CWE have 768 dimensions.
GPT-2 (Radford et al. 2019) is a transformer decoder trained on a unidirectional language model and is a scaled-up version of GPT. GPT-2 is trained on WebText that takes up 40GB memory (Radford et al. 2019). We use GPT-2-small which has 12 layers and 117 million parameters. We use the values of hidden units on the top layer corresponding to the token as its CWE. CWE of GPT-2 have 768 dimensions.
We provide the source code, detailed information, and documentation in our open source repository at https://github.com/weiguowilliam/CEAT.
Corpus
We need a comprehensive representation of all contexts a word can appear in naturally occurring sentences in order to investigate how bias associated with individual words varies across contexts. Identifying the potential contexts in which a word can be observed is not a trivial task. Consequently, we simulate the distribution of contexts a word appears in, by randomly sampling sentences that the word occurs in a large corpus.
Voigt et al. (2018) have shown that social biases are projected into Reddit comments. Consequently, we use a Reddit corpus to generate the distribution of contexts that words of interest appear in. The corpus consists of 500 million comments made in the period between 1/1/2014 and 12/31/2014. We take all the stimuli used in Caliskan, Bryson, and Narayanan (2017)’s WEAT that measures effect size of bias for social groups and related attributes. For each WEAT type, we retrieve the sentences from the Reddit corpus that contain one of these stimuli. In this way, we collect a great variety of CWE from the Reddit corpus to measure bias comprehensively in a neural language model while simulating the natural distribution of contexts in language. We discuss the justification of sampling 10,000 sentences from the Reddit corpus in the upcoming sections.
Stimuli
Caliskan, Bryson, and Narayanan (2017)’s WEAT is inspired by the IAT literature (Greenwald and Banaji 1995; Greenwald, McGhee, and Schwartz 1998; Greenwald, Nosek, and Banaji 2003) that measures implicit associations of concepts by representing them with stimuli. Experts in social psychology and cognitive science select stimuli which are words typically representative of various concepts. These linguistic or sometimes picture-based stimuli are proxies to overall representations of concepts in cognition. Similarly, in the word embedding space, WEAT uses these unambiguous stimuli as semantic representations to study biased associations related to these concepts. Since the stimuli are chosen by experts to most accurately represent concepts, they are not polysemous or ambiguous words. Each WEAT, designed to measure a certain type of association or social group bias, has at least 32 stimuli. There are 8 stimuli for each one of the four concepts. Two of these concepts represent target groups and two of them represent polar attributes. WEAT measures the magnitude of bias by quantifying the standardized differential association or targets with attributes. The larger the set of appropriate stimuli to represent a concept, the more statistically significant and accurate the representation becomes (Caliskan, Bryson, and Narayanan 2017).
Validation data for intersectional bias. To investigate intersectional bias with respect to race and gender, we represent members of social groups with target words provided by WEAT and Parada et al. (Caliskan, Bryson, and Narayanan 2017; Parada 2016). WEAT and Parada et al. represent racial categories with frequent given names that signal group membership. WEAT contains a balanced combination of common female and male names of African Americans and European Americans whereas Parada et al. presents the Mexican American names for women and men combined. The intersectional bias detection methods identify attributes that are associated with these target group representations. Human subjects provide the validation set of intersectional attributes with ground truth information in prior work (Ghavami and Peplau 2013). The evaluation of intersectional bias detection methods uses this validation set. One limitation of these validation sets is the way they represent gender as a binary category. We will address this constraint in future work by constructing our own validation sets that won’t have to represent people by discrete categorical labels of race and gender.
Approach
Our approach includes four components. (1) (Caliskan, Bryson, and Narayanan 2017)’s WEAT for SWE is the foundation of our approach to summarizing overall bias in CWE generated by neural language models. (2) Random-effects models from the meta analysis literature summarizes the combined effect size for a neural language model’s CWE via combining 10,000 WEAT samples by weighting each result with the within-WEAT and between-WEAT variances (Hedges 1983). (3) Our novel method IBD automatically detects words associated with intersectional biases. (4) Our novel method EIBD automatically detects words that are uniquely associated with members of multiple minority or disadvantaged groups, but do not overlap with the biases of their constituent minority identities.
Supplementary materials includes the details of all the bias types studied in this paper, namely, WEAT biases introduced by Caliskan, Bryson, and Narayanan (2017) as well as intersectional biases and their validation set introduced by Ghavami and Peplau (2013) and Parada (2016).
WEAT, designed by Caliskan, Bryson, and Narayanan (2017), measures the effect size of bias in SWE, by quantifying the relative associations of two sets of target words (e.g., career, professional; and family, home) with two sets of polar attributes (e.g., woman, female; and man, male). Two of these WEATs measure baseline associations that are widely accepted such as the attitude towards flowers vs. insects or the attitude towards musical instruments vs. weapons. Human subjects and word embeddings tend to associate flowers and musical instruments with pleasantness that corresponds to positive valence. However, human subjects associate insects and weapons with unpleasantness that corresponds to negative valence. Greenwald, McGhee, and Schwartz (1998) refers to these as universally accepted stereotypes since they are widely shared across human subjects and are not potentially harmful to society. However, the rest of the tests measure the magnitude of social-group associations, such as gender and race stereotypes and attitude towards the elderly or people with disabilities. Biased social-group associations in word embeddings can potentially be prejudiced and harmful to society. Especially, if downstream applications of NLP that use static or dynamic word embeddings to make consequential decisions about individuals, such as resume screening for job candidate selection, perpetuate existing biases to eventually exacerbate historical injustices (De-Arteaga et al. 2019; Raghavan and Barocas ). The formal definition of Caliskan, Bryson, and Narayanan (2017)’s WEAT, the test statistic, and the statistical significance of biased associations are detailed in the appendices.
Intersectional Bias Detection (IBD)
IBD identifies words associated with intersectional group members, defined by two social categories simultaneously. Our method automatically detects the attributes that have high associations with the intersectional group from a set of SWE. Analogous to the Word Embedding Factual Association Test (WEFAT) (Caliskan, Bryson, and Narayanan 2017), we measure the standardized differential association of a single stimulus with two social groups and using the following statistic.
We refer to the above statistic as the association score, which is used by WEFAT to verify that gender statistics are embedded in linguistic regularities. Targets and are words that represent males (e.g., he, him) and females (e.g., she, her) and is a set of occupations. For example, nurse has an association score that measures effect size of gender associations. WEFAT has been shown to have high predictive validity () in quantifying facts about the world (Caliskan, Bryson, and Narayanan 2017).
We extend WEFAT’s gender association measurement to quantify the relative association to other social categories (e.g., race), by following an approach similar to lexicon induction that quantifies certain associations without annotating large-scale ground truth training data (Hatzivassiloglou and McKeown 1997; Riloff and Wiebe 2003; Turney and Littman 2003). Let ) (e.g., African American and European American) be a pair of social groups, and be a set of attribute words. We calculate the association score for . If is greater than the positive effect size threshold , is detected to be associated with group . Let be the associated word list for each pair .
We detect the biased attributes associated with an intersectional group defined by two social categories with and subcategories () (e.g., African American females by race () and gender ()). We assume, there are three racial categories , and two gender categories in our experiments because of the limited structure of representation for individuals in the validation dataset as well as the stimuli. We plan to extend these methods to non-binary individuals and non-categorical representations. However, precisely validating such an approach would require us to construct the corresponding validation sets, which currently don’t exist. Generalizing the method to represent humans with continuous values as opposed to categorical group labels is left to future work. There are in total combinations of intersectional groups . We use all groups to build WEFAT pairs . Then, we detect lists of words associated with each pair based on threshold determined by an ROC curve. We detect the attributes highly associated with the intersectional group, for example C11, from all WEFAT pairs. We define the words associated with intersectional biases of group C11 as and these words are identified by
W11 contains validated words associated with C11. Each Wij contains validated words associated with one intersectional group (Ghavami and Peplau 2013). Wrandom contains random words, which are stimuli taken from WEAT that are not associated with any Cij, thus represent true negatives.
To identify the thresholds, we treat IBD as a one-vs-all verification classifier in machine learning to determine whether attributes belong to group . We select the threshold with the highest value of (). When multiple thresholds have the same values, we select the one with the highest to detect more attributes associated with . Detection accuracy is calculated as true positives plus true negatives over true positives plus true negatives plus false positives plus false negatives . The attributes which are associated with and are detected as are . The attributes which are not associated with and are not detected as are . The attributes which are associated with but are not detected as are . The attributes which are not associated with but are detected as are .
Emergent Intersectional Bias Detection (EIBD)
EIBD identifies words that are uniquely associated with intersectional group members. These emergent biases are only associated with the intersectional group (e.g., African American females ) but not associated with its constituent category such as African Americans or females . EIBD is a modified and extended version of IBD. The formal definition is in the appendices.
Conceptually, to detect words uniquely associated with African American females in a set of attributes , we assume there are two classes (females, males) of gender and two classes (African Americans, European Americans) of race. We measure the relative association of all words in first with African American females and African American males, second with African American females and European American females, third with African American females and European American males. (Fourth is the comparison of the same groups, which leads to effect size, which is always below the detection threshold.) The union of attributes with an association score greater than the selected threshold represents intersectional biases associated with African American females. Then, we calculate the association scores of these IBD attributes first with females and males, second with African Americans and European Americans. We remove the attributes with scores greater than the selected threshold from these IBD attributes, that are highly associated with single social categories. The union of the remaining attributes are the emergent intersectional biases.
Contextualized Embedding Association Test (CEAT)
CEAT quantifies social biases in CWE by extending the WEAT methodology that measures human-like biases in SWE (Caliskan, Bryson, and Narayanan 2017). WEAT’s bias metric is effect size (Cohen’s ). In CWE, since embeddings of the same word vary based on context, applying WEAT to a biased set of CWE will not measure bias comprehensively. To deal with a range of dynamic embeddings representing individual words, CEAT measures the distribution of effect sizes that are embedded in a neural language model.
In WEAT’s formal definition (Caliskan, Bryson, and Narayanan 2017), and are two sets of target words of equal size; and are two sets of evaluative polar attribute words of equal size. Each word in these sets of words is referred to as a stimulus. Let stand for the cosine similarity between vectors and . WEAT measures the magnitude of bias by computing the effect size () which is the standardized differential association of the targets and attributes. The -value () of WEAT measures the probability of observing the effect size in the null hypothesis, in case biased associations did not exist. According to Cohen’s effect size metric, and are medium and large effect sizes, respectively (Rice and Harris 2005).
In a neural language model, each stimulus from WEAT contained in input sentences has at most different CWE depending on the context in which it appears. If we calculate effect size with all different for a stimulus and keep the CWE for other stimuli unchanged, there will be at most different values of effect size. For example, if we assume each stimulus occurs in 2 contexts and each set in has 5 stimuli, the total number of combinations for all the CWE of stimuli will be . The numerous possible values of construct a distribution of effect sizes, therefore we extend WEAT to CEAT.
For each CEAT, all the sentences, where a CEAT stimulus occurs, are retrieved from the Reddit corpus. Then, we generate the corresponding CWE from these sentences with randomly varying contexts. In this way, we generate CWE from extracted sentences for each stimulus , where can vary according to the contextual variance of each stimulus. We sample random combinations of CWE for each stimulus times. In the sample out of , for each stimulus that appears in at least sentences, we randomly sample one of its CWE vectors without replacement. If a stimulus occurs in less than sentences, especially when is very large, we randomly sample from its CWE vectors with replacement so that they can be reused while preserving their distribution. We provide the analysis and extended results in the appendices for both and , which result in similar bias magnitudes. Based on the sampled CWEs, we calculate each sample’s effect size , sample variance and -value in WEAT. Then, we generate of these samples to approximate the distribution of effect sizes via CEAT.
The distribution of bias effects in CEAT represents random effects computed by WEAT where we do not expect to observe the same effect size due to variance in context (Hedges 1983). As a result, in order to provide comprehensive summary statistics, we applied a random-effects model from the validated meta-analysis literature to compute the weighted mean of the effect sizes and statistical significance (Rosenthal and DiMatteo 2002; Borenstein, Hedges, and Rothstein ). The summary of the effect magnitude of a particular bias in a neural language model, namely combined effect size (CES), is the weighted mean of a distribution of random effects,
where is the inverse of the sum of in-sample variance and between-sample variance in the distribution of random effects . Methodological details are in the appendices.
Random-Effects Model
Meta-analysis is the statistical procedure for combining data from multiple studies (Hedges and Vevea 1998). Meta-analysis describes the results of each separate study by a numerical index (e.g., effect size) and then summarizes the results into combined statistics. In bias measurements, we are dealing with effect size. Based on different assumptions whether the effect size is fixed or not, there are two kinds of methods: fixed-effects model and random-effects model. Fixed-effects model expects results with fixed-effect sizes from different intervention studies. On the other hand, random-effects model treats the effect size as they are samples from a random distribution of all possible effect sizes (DerSimonian and Laird 1986; Hedges and Olkin 2014). The expected results of different intervention studies in the random-effects model don’t have to match other studies’ results. In our case, since the effect sizes calculated with the CWE in different contexts are expected to vary, we cannot assume a fixed-effects model. Instead, we use a random-effects model that is appropriate for the type of data we are studying.
We apply a random-effects model from the validated meta-analysis literature using the methods of Hedges and Vevea (1998). Specifically, we describe the procedures for estimating the comprehensive summary statistic, combined effect size (CES), which is the weighted mean of a distribution of random-effect sizes. Each effect size is weighted by the variance in calculating that particular effect size in addition to the overall variance among all the random-effect sizes.
We combine effect size estimates from independent WEATs. The details of CES are in the appendices.
Results and Evaluation
We measure ten types of social biases via WEAT (C1-C10) and construct our own intersectional bias tests in ELMo, BERT, GPT, and GPT-2. Accordingly, we present four novel intersectional bias tests via IBD and EIBD for studying African American, European American, and Mexican American men and women.
We use the stimuli introduced in Section Stimuli to represent the target groups. For intersectional and emergent bias tests, we use the attributes associated with the intersectional minority or disadvantaged group members vs the majority European American males as the two polar attribute sets. We sample combinations of CWE for each CEAT since according to various evaluation trials, the resulting CES and -value remain consistent under this parameter.
We use IBD and EIBD to automatically detect and retrieve the intersectional and emergent biases associated with intersectional group members (e.g., African American females, Mexican American females) in GloVe SWE. To evaluate our methods IBD and EIBD, we use validated stimuli provided in prior work that represents each social group with frequent given names, as explained in Section Data. IBD and EIBD experiments use the same test set consisting of 98 attributes associated with 2 groups defined by gender (females, males), 3 groups defined by race (African American, European American, Mexican American), 6 intersectional groups in total defined by race and gender, in addition to random words taken from WEAT not associated with any group (Ghavami and Peplau 2013). These random words represent the true negatives for evaluating the identification task.
We draw the ROC curves of four bias detection tasks in Figure 2, then select the highest value of as thresholds for each intersectional group. IBD achieves an accuracy of 81.6% and 82.7%, respectively, when detecting the intersectional biases of African American females and Mexican American females, where the random correct identification rates are 14.3% and 13.3%. EIBD reaches an accuracy of 84.7% and 65.3%, respectively, when detecting the emergent intersectional biases unique to African American females and Mexican American females. The probability of random correct attribute detection in EIBD tasks are 9.2% and 6.1%. Intersectional biases have the highest magnitude compared to other biases across all language models, potentially disadvantaging members that belong to multiple minority groups in downstream applications.
The current validation set with ground truth information about each word constrains our evaluation to a closed-world machine learning classification task, where we know the category each stimulus belongs to. On the other hand, evaluating the entire semantic space resembles an open-world machine learning problem where millions of stimuli in the entire word embedding vocabulary belong to unknown categories, thus require human-subject annotation studies. In future work, a human subject study can further evaluate the threshold selection criteria, which would require validating a large set of biases retrieved from the entire vocabulary.
Evaluation of CEAT
Congruent with Caliskan, Bryson, and Narayanan (2017)’s WEAT findings, Table 1 presents significant effect sizes for all previously documented and validated biases. GPT-2 exhibited less bias than other neural language models. Our method CEAT, designed for CWEs, computes the combined bias score of a distribution of effect sizes present in neural language models. We find that the effect magnitudes of biases reported by Tan and Celis (Tan and Celis 2019) are individual samples in the distributions generated by CEAT. We can view their method as a special case of CEAT that calculates the individual bias scores of a few pre-selected samples. In order to comprehensively measure the overall bias score in a neural language model, we apply a random-effects model from the meta-analysis literature that computes combined effect size and combined statistical significance from a distribution of bias measurements. As a result, when CEAT reports significant results, some of the corresponding bias scores in prior work are not statistically significant. Furthermore, our results indicate statistically significant bias in the opposite direction in some cases. These negative results suggest that some WEAT stimuli tend to occur in stereotype-incongruent contexts more frequently.
We sampled combinations of CWE times for each CEAT test; nonetheless, we observed varying intensities of the same social bias in different contexts. Using a completely random set vs fixed set of contexts derived from sentences lead to low variance in corresponding bias scores. Using a fixed set of contexts for each model makes it possible to evaluate the magnitude of bias across models for the same variables. Experiments conducted with , , samples of CWE lead to similar bias scores with low variance. As a result, the number of samples can be adjusted according to computational resources. However, future work on evaluating the lower bound of sampling size with respect to model and corpus characteristics would optimize the sampling process. Accordingly, the computation of overall bias in the language model would become more efficient.
IBD, EIBD, and CEAT Results
We report the overall magnitude of bias (CES) and -value in Table 1. We pick an example from Table 1 that reflects the great disparity in bias magnitudes between the two models. We present the distribution histograms of effect sizes in Figure 1, which show the overall biases that can be measured with a comprehensive contextualized bias test related to the emergent biases associated with occurrences of stimuli unambiguously regarding Mexican American females (See row I4 in Table 1) with ELMo and GPT-2. The distribution plots for other bias tests are provided in our project repository.
We find that CEAT uncovers more evidence of intersectional bias than gender or racial biases. This findings suggest that, members of multiple minority or disadvantaged groups are associated with the strongest levels of bias in neural language representations. To quantify the intersectional biases in CWEs, we construct tests I1-I4. Tests with Mexican American females tend to have stronger bias with a higher CES than those with African American females. Specifically, 13 of 16 instances in intersection-related tests (I1-I4) have significant stereotype-congruent CES; 9 of 12 instances in gender-related tests (C6-C8) have significant stereotype-congruent CES; 8 of 12 instances in race-related tests (C3-C5) have significant stereotype-congruent CES. In gender bias tests, the gender associations with career and family are stronger than other biased gender associations. In all models, the significantly biased intersectionality associations have larger effect sizes than racial biases.
According to CEAT results in Table 1, ELMo is the most biased whereas GPT-2 is the least biased with respect to the types of biases CEAT measures. We notice that significant negative CES exist in BERT, GPT and GPT-2, which imply that stereotype-incongruent biases with small effect size exist.
Discussion
According to our findings, GPT-2 has the highest variance in bias magnitudes followed by GPT, BERT, and ELMo (see an example in Figure 1). The overall magnitude of bias decreases in the same order for the types of biases we measured. The similar number of parameters in these models or the size of the training corpora do not explain the distribution of bias that we observe w.r.t. variance and overall magnitude. However, Ethayarajh (2019) note the same descending pattern when measuring words’ self-similarity, after adjusting for anisotropy (non-uniform directionality), across their CWE in GPT-2, BERT, and ELMo. (ELMo is compared in three layers due to its architecture.) Ethayarajh (2019) also find that upper layers of contextualizing models produce more context-specific representations. Quantifying how contextualized these dynamic embeddings are supports our findings that the highest variance in bias magnitude, low overall bias, and low self-similarity correlate. This correlation may explain the results that we are observing. As more recent models are learning highly-contextualized CWE in upper layers, the representations in highly-contextualized layers are almost overfitting to their contexts. Since words appear in numerous contexts, the more contextualized and diverse a word’s representation becomes, the less overall bias and general stereotypical associations.
We present and validate a bias detection method generalizable to identifying biases associated with any social group or intersectional group member. We detect and measure biases associated with Mexican American and African American females in SWE and CWE. Our emergent intersectional bias measurement results for African American females are in line with previous findings (May et al. 2019; Tan and Celis 2019). IBD and EIBD can detect intersectional biases from SWE with high accuracy in an unsupervised manner by following a lexicon induction strategy (Hatzivassiloglou and McKeown 1997). This approach can be complementary to the stimuli list predefined by social psychologists. Our current intersectional bias detection validation approach can be used to identify association thresholds when generalizing this work to the entire word embedding dictionary. Exploring all the potential biases associated with targets is left to future work since it requires extensive human subject validation studies in collaboration with social psychologists. We list all the stimuli representing biased associations in the supplementary materials. To name a few, the superset of intersectional biases associated with African American females are: aggressive, assertive, athletic, bigbutt, confident, darkskinned, fried-chicken, ghetto, loud, overweight, promiscuous, unfeminine, unintelligent, unrefined. Emergent intersectional biases associated with African American females are: aggressive, assertive, bigbutt, confident, darkskinned, fried-chicken, overweight, promiscuous, unfeminine. The superset of intersectional biases associated with Mexican American females are: attractive, cook, curvy, darkskinned, feisty, hardworker, loud, maids, promiscuous, sexy, short, uneducated, unintelligent. Emergent intersectional biases associated with Mexican American females are: cook, curvy, feisty, maids, promiscuous, sexy.
We follow the conventional method of using the most frequent given names in a social group that signal group membership in order to accurately represent targets (Caliskan, Bryson, and Narayanan 2017; Greenwald, McGhee, and Schwartz 1998). Our results indicate that the conventional method that relies on stimuli selected by experts in social psychology works accurately. Prior work on lexicon induction methods compensates for the lack of existing annotated data on valence (Hatzivassiloglou and McKeown 1997; Riloff and Wiebe 2003; Turney and Littman 2003). Nevertheless, principled and robust lexicon induction methods that can be validated in this domain, when measuring the representation accuracy of target group lexica or any semantic concept. Developing these principled methods is left to future work.
Semantics of languages can be represented by the distributional statistics of word co-occurrences (Firth 1957; Harris 1954). Consequently, our methods are language agnostic and can be applied to neural language models as well as word embeddings in any language as long as the stimuli for accurately representing the semantics of concepts are available. Project Implicit (https://implicit.harvard.edu/implicit) has been hosting IATs for human subjects all over the world in numerous languages for two decades. As a result, their IATs, that inspired WEATs, provide stimuli for targets and attributes in numerous languages. We leave generalizing our methods to other languages to future work since state-of-the-art neural language models are not widely or freely available for languages other than English as of 2021.
When simulating contexts for WEAT, we make an assumption that the Reddit corpus represents naturally occurring sentences. Nevertheless, we acknowledge that the Reddit corpus also reflects the biases of the underlying population contributing to its corpus. Studying the accuracy of simulating the most common distribution of contexts and co-occurring stimuli is left to future work since we don’t have validated ground truth data for evaluating the distribution parameters of contexts in large-scale corpora. Instead, for evaluation, validation, and comparison, we rely on validated ground truth information about biases documented by Caliskan, Bryson, and Narayanan (2017) in word embeddings as well as biases documented by millions of people over decades via the implicit association literature (Nosek, Banaji, and Greenwald 2002) and Ghavami and Peplau (2013)’s intersectional biases.
Given the energy and funding considerations, we are not able to train these language models on the same large-scale corpora to compare how a neural language model’s architecture learns biases, because the training processes for these models are computationally and financially expensive (Bender et al. 2021). The size of state-of-the-art models increase by at least a factor of 10 every year. BERT-Large from 2018 has 355 million parameters, GPT-2 from early 2019 reaches 1.5 billion, and GPT-3 from mid-2020 finally gets to 175 billion parameters. The GPT-2 model used 256 Google Cloud TPU v3 cores for training, which costs 256 US dollars per hour. GPT-2 requires approximately 168 hours or 1 week of training on 32 TPU v3 chips (Strubell, Ganesh, and McCallum 2019). GPT-3 is estimated to cost 12 million US dollars (Floridi and Chiriatti 2020) and we are not able to get access to its embeddings or training corpora. Regardless, measuring the scope of biases with validated bias quantification and meta-analysis methods, we are able to compare the biased associations learned by neural language models that are widely used. Being able to study neural language models comprehensively is critical since they are replacing SWE in many NLP applications due to their high accuracy in various machine learning tasks.
We would like to conclude the discussion with our ethical concerns regarding the dual use of IBD and EIBD, that can detect stereotypical associations for an intersectional group or disadvantaged individuals. Words retrieved by our methods may be used in the generation of offensive or stereotypical content that perpetuates or amplifies existing biases. For example, information influence operations in the 1970s used Osgood (1964)’s semantic differential technique among human subjects to retrieve the words that would most effectively induce a negative attitude in a South American population towards their administration (Landis et al. 1982). Similarly, biased neural language models may be exploited to automate large-scale information influence operations that intend to sow discord among social groups Toney et al. (2020); Toney and Caliskan (2020). The biased outputs of these language models, that get recycled in future model generation’s training corpora, may lead to an AI bias feedback cycle.
Conclusion
We introduce methods called IBD and EIBD to identify biases associated with members of multiple minority groups. These methods automatically detect the intersectional biases and emergent intersectional biases captured by word embeddings. Intersectional biases associated with African American and Mexican American females have the highest effect size compared to other social biases. Complementary to pre-defined sets of attributes to measure widely known biases, our methods automatically discover biases. IBD reaches an accuracy of 81.6% and 82.7% in detection, respectively, when validating on the intersectional biases of African American females and Mexican American females. EIBD reaches an accuracy of 84.7% and 65.3% in detection, respectively, when validating on the emergent intersectional biases of African American females and Mexican American females.
We present CEAT to measure biases identified by IBD and EIBD in language models. CEAT uses a random-effects model to comprehensively measure social biases embedded in neural language models that contain a distribution of context-dependent biases. CEAT simulates this distribution by sampling () combinations of CWEs without replacement from a large-scale natural language corpus. Unlike prior work that focuses on a limited number of contexts defined by templates to measure the magnitude of particular biases, CEAT provides a comprehensive measurement of overall bias in contextualizing language models. Our results indicate that ELMo is the most biased, followed by BERT, and GPT. GPT-2 is the least biased language model with respect to the social biases we investigate. The overall magnitude of bias negatively correlates with the level of contextualization in the language model. Understanding how the architecture of a language model contributes to biased and contextualized word representations can help mitigate the harmful effects to society in downstream applications.
Appendices
We present a formal definition of Caliskan, Bryson, and Narayanan (2017)’s WEAT. Let and be two sets of target words of equal size, and , be two sets of attribute words. Let stand for the cosine similarity between the embeddings of words and . Here, the vector is the embedding for word . The test statistic is
A permutation test calculates the statistical significance of association . The one-sided is
where represents all the partitions of in two sets of equal size. Random permutations of these stimuli sets represent the null hypothesis as if the biased associations did not exist so that we can perform a statistical significance test by measuring the unlikelihood of the null hypothesis, given the effect size of WEAT.
Formal Definition of EIBD
We first detect ’s intersectional biases with IBD. Then, we detect the biased attributes associated with only one constituent category of the intersectional group (e.g., associated only with race - or only with gender ). Each intersectional category has M constituent subcategories and category has N constituent subcategories . and are the constituent subcategories of intersectional group .
There are in total groups defined by all the single constituent subcategories. We use all groups to build WEFAT pairs and . Then, we detect lists of words associated with each pair and based on the same positive threshold used in IBD. We detect the attributes highly associated with the constituent subcategories and of the target intersectional group from all WEFAT pairs. We define the words associated with emergent intersectional biases of group as and these words are identified by the formula
Random-Effects Model Details
The estimation of in-sample variance is , which is the square of . We use the same principle as estimation of the variance components in ANOVA to measure the between-sample variance , which is calculated as:
The weight assigned to each WEAT is the inverse of the sum of estimated in-sample variance and estimated between-sample variance in the distribution of random-effects .
CES, which is the sum of the weighted effect sizes divided by the sum of all weights, is then computed as
To derive the hypothesis test, we calculate the standard error (SE) of CES as the square root of the inverse of the sum of the weights.
Based on the central limit theorem, the limiting form of the distribution of is the standard normal distribution (Montgomery and Runger 2010). Since we notice that some CES are negative, we use a two-tailed which can test the significance of biased associations in two directions. The two-tailed of the hypothesis that there is no difference between all the contextualized variations of the two sets of target words in terms of their relative similarity to two sets of attribute words is given by the following formula, where is the standard normal cumulative distribution function and stands for the standard error.
Meta-Analysis Details for CEAT
In this section, we first construct all CEAT in the main paper (C1-C10,I1-I4) with sample size to provide a comparison of results with different sample sizes. We report CES and combined in Table 2. We replicate these results with instead of using the original to show that even with , we get valid results. Accordingly, we proceed to calculate all types of biases associated with intersectional groups based on the attributes used in original WEAT. We notice that there are five tests which are significant with sample size but insignificant with sample size . They are C10 with Bert, C4 with GPT, C7 with GPT-2, I3 with GPT-2 and I4 with GPT-2. We also notice that CES of same test can be different with different sample size but all differences are smaller than .
We also construct four types of supplementary CEAT for all pairwise combinations of six intersectional groups: African American females (AF), African American males (AM), Mexican American females (MF), Mexican American males (MM), European American females (EF), European American males (EM). We use two intersectional groups as two target social groups. For each pairwise combination, we build four CEAT : first, measure attitudes with words representing pleasantness and unpleasantness as two attribute groups (as in C1); second, measure career and family associations that are particularly important in gender stereotypes with the corresponding two attribute groups (as in C6); third, similar to the career-family stereotypes for gender, measure math and arts associations that are particularly important in gender stereotypes with the corresponding two attribute groups (as in C7); fourth, similar to the math-arts stereotypes for gender, measure science (STEM) and arts associations that are particularly important in gender stereotypes with the corresponding two attribute groups (as in C8). We report the CES () and combined () in Table 2 with sample size . All of these attributes are from the C1, C6, C7 and C8 WEAT of Caliskan et al. (Caliskan, Bryson, and Narayanan 2017).
Stimuli
The stimuli used to represent targets and attributes in CEAT (C1-C10) are taken from Caliskan et al.(Caliskan, Bryson, and Narayanan 2017). We construct four intersection-related CEAT for African American females and Mexican American females.
When conducting intersection-related CEAT , we use the names from Caliskan et al. (Caliskan, Bryson, and Narayanan 2017) and Parada et al. (Parada 2016) to represent the target intersectional groups. Caliskan et al.’s WEAT provides the female and male names of African Americans and European Americans from the first Implicit Association Test in 1998 (Greenwald, McGhee, and Schwartz 1998). Parada et al. provide the female and male names of Mexican Americans (Parada 2016). To determine and verify the gender of names, we use three gender checkers (Huang et al. 2019). We only use the name as a target word in our experiments, if the name is categorized to belong to the same gender by all of the three checkers. Human subjects provide the validation set of intersectional attributes with ground truth information (Ghavami and Peplau 2013). We use this validation set for evaluating the intersection-related CEAT, IBD and EIBD experiments. To follow the order of stereotype-congruity, we use European American males as the second target group and use the attributes associated with their intersectional biases as the second attribute set in intersection-related CEAT. There are only three emergent intersectional biases associated with European American males in the validation set, which doesn’t provide a sufficient number of stimuli. A small set of stimuli does not satisfy the requirements for generating statistically significant concept representation and WEATs. Related stimuli details are discussed in the dataset and stimuli sections of the main paper. In addition, if the size of the first attribute set is smaller than that of the attributes of European American males, we randomly select an equal number of attributes associated with the intersectional biases of European American males. WEAT requires equal-sized sets of attributes.
We use the frequent given names of African American females and European American males as two target social groups and use the attributes associated with the intersectional biases of African American females and attributes associated with the intersectional biases of European American males as the two attribute groups.
Since ‘assertive’ is associated with both African American females and European American males, we do not include it in this test.
African American females: Aisha, Keisha, Lakisha, Latisha, Latoya, Malika, Nichelle, Shereen, Tamika, Tanisha, Yolanda, Yvette
European American males: Andrew, Brad, Frank, Geoffrey, Jack, Jonathan, Josh, Matthew, Neil, Peter, Roger, Stephen
Intersectional biases of African American females: aggressive, athletic, bigbutt, confident, darkskinned, fried-chicken, ghetto, loud, overweight, promiscuous, unfeminine, unintelligent, unrefined
Intersectional biases of European American males: all-American, arrogant, attractive, blond, high-status, intelligent, leader, privileged, racist, rich, sexist, successful, tall
CEAT I2
We use the frequent given names of African American females and European American males as two target groups. We use attributes associated with emergent intersectional biases of African American females and attributes associated with intersectional biases of European American males as two attribute groups.
Since ‘assertive’ is associated with emergent intersectional bias of African American females and intersectional bias of European American males, we do not include it in this test.
African American females: Aisha, Keisha, Lakisha, Latisha, Latoya, Malika, Nichelle, Shereen, Tamika, Tanisha, Yolanda, Yvette
European American males: Andrew, Brad, Frank, Geoffrey, Jack, Jonathan, Josh, Matthew, Neil, Peter, Roger, Stephen
Emergent intersectional biases of African American females: aggressive, bigbutt, confident, darkskinned, fried-chicken, overweight, promiscuous, unfeminine
Intersectional biases of European American males: arrogant, blond, high-status, intelligent, racist, rich, successful, tall
CEAT I3
We use the frequent given names of Mexican American females and European American males as the target groups and the words associated with their intersectional biases as the attribute groups.
Since ‘attractive’ is associated with intersectional biases of both Mexican American females and European American males, we do not include it in this test.
Mexican American females: Adriana, Alejandra, Alma, Brenda, Carolina, Iliana, Karina, Liset, Maria, Mayra, Sonia, Yesenia
European American males: Andrew, Brad, Frank, Geoffrey, Jack, Jonathan, Josh, Matthew, Neil, Peter, Roger, Stephen
Intersectional biases of Mexican American females: cook, curvy, darkskinned, feisty, hardworker, loud, maids, promiscuous, sexy, short, uneducated, unintelligent
Intersectional biases of European American males: all-American, arrogant, blond, high-status, intelligent, leader, privileged, racist, rich, sexist, successful, tall
CEAT I4
We use the frequent given names of Mexican American females and European American males as target groups. We use words associated with the emergent intersectional biases of Mexican American females and words associated with the intersectional biases of European American males as the two attribute groups.
Mexican American females: Adriana, Alejandra, Alma, Brenda, Carolina, Iliana, Karina, Liset, Maria, Mayra, Sonia, Yesenia
European American males: Andrew, Brad, Frank, Geoffrey, Jack, Jonathan, Josh, Matthew, Neil, Peter, Roger, Stephen
Emergent intersectional biases of Mexican American females: cook, curvy, feisty, maids, promiscuous, sexy
Intersectional biases of European American males: arrogant, assertive, intelligent, rich, successful, tall
IBD and EIBD
We detect the attributes associated with the intersectional biases and emergent intersectional biases of African American females and Mexican American females in GloVe SWE. We assume that there are three subcategories under the race category (African American, Mexican American, European American) and two subcategories under the gender category (female, male). We use the frequent given names to represent each intersectional group. Again, we note that, in future work we’d generalize this work to subcategories under each category. Further, in future work, instead of categorizing people into social groups, we’d like to explore representing individuals in social data with continuous real-valued variables as opposed to associating them with category labels.
African American females: Aisha, Keisha, Lakisha, Latisha, Latoya, Malika, Nichelle, Shereen, Tamika, Tanisha, Yolanda, Yvette
African American males: Alonzo, Alphonse, Hakim, Jamal, Jamel, Jerome, Leroy, Lionel, Marcellus, Terrence, Tyrone, Wardell
European American females: Carrie, Colleen, Ellen, Emily, Heather, Katie, Megan, Melanie, Nancy, Rachel, Sarah, Stephanie
European American males: Andrew, Brad, Frank, Geoffrey, Jack, Jonathan, Josh, Matthew, Neil, Peter, Roger, Stephen
Mexican American females: Adriana, Alejandra, Alma, Brenda, Carolina, Iliana, Karina, Liset, Maria, Mayra, Sonia, Yesenia
Mexican American males: Alberto, Alejandro, Alfredo, Antonio, César, Jesús, José, Juan, Miguel, Pedro, Rigoberto, Rogelio
We list all the attributes used in validation experiments. These are stimuli associated with different social groups and a set of random words that are not expected to be associated with social groups. These random attributes are borrowed from the insect target category of the ‘universally accepted stereotypes’ IAT, which is a baseline WEAT. We use 98 words in total in the validation experiments.
We also list the probability of random chance of correct classification in parentheses next to each social group. The goal here is to present the success rate of the machine learning detection method in a meaningful way. To calculate the probability of random chance of correct classification, we treat the detection task as if this were a one-vs-all verification task, which is one type of a classification task, that aims to verify the membership of a data point in the main class. All the other data points from the open world, that don’t belong to the main class we are testing for, can belong to any other class. However, in reality, our detection method is a semi-supervised non-parametric prediction method which relies on the threshold . Some of the attributes of some social groups overlap. For example, ‘assertive’ is associated with emergent intersectional biases of African American females and also associated with emergent intersectional biases of European American males. As a result, the sum of all random chances of different groups is not 100%.
Biases of Females: attractive, caring, dependent, emotional, feminine, jealous, manipulative, materialistic, motherly, petite, soft, submissive, talkative (random chance of correct classification: 13.3%)
Biases of Males: aggressive, ambitious, arrogant, fixer-upper, high-status, intelligent, leader, messy, provider, respected, sexist, tall, unfaithful (random chance of correct classification: 13.3%)
Biases of African Americans: athletic, criminals, dangerous, gangsters, ghetto, lazy, loud, poor, tall, uneducated, unrefined, violent (random chance of correct classification: 12.2%)
Emergent Intersectional Biases of African American Females: aggressive, assertive, bigbutt, confident, darkskinned, fried-chicken, overweight, promiscuous, unfeminine (random chance of correct classification: 9.2%)
Intersectional Biases of African American Females: aggressive, assertive, athletic, bigbutt, confident, darkskinned, fried-chicken, ghetto, loud, overweight, promiscuous, unfeminine, unintelligent, unrefined (random chance of correct classification: 14.3%)
Emergent Intersectional Biases of African American Males: darkskinned, hypersexual, rapper (random chance of correct classification: 3.1%)
Intersectional Biases of African American Males: athletic, criminals, dangerous, darkskinned, gangsters, hypersexual, lazy, loud, poor, rapper, tall, unintelligent, violent (random chance of correct classification: 13.3%)
Biases of European Americans: all-American, arrogant, attractive, blond, blue-eyes, high-status, ignorant, intelligent, overweight, patronizing, privileged, racist, red-neck, rich, tall (random chance of correct classification: 15.3%)
Emergent Intersectional Biases of European American Females: ditsy (random chance of correct classification: 1.0%)
Intersectional Biases of European American Females: arrogant, attractive, blond, ditsy, emotional, feminine, high-status, intelligent, materialistic, petite, racist, rich, submissive, tall (random chance of correct classification: 14.3%)
Emergent Intersectional Biases of European American Males: assertive, educated, successful (random chance of correct classification: 3.1%)
Intersectional Biases of European American Males: all-American, arrogant, assertive, attractive, blond, educated, high-status, intelligent, leader, privileged, racist, rich, sexist, successful, tall (random chance of correct classification: 15.3%)
Biases of Mexican Americans: darkskinned, day-laborer, family-oriented, gangster, hardworker, illegal-immigrant, lazy, loud, macho, overweight, poor, short, uneducated, unintelligent (random chance of correct classification: 14.3%)
Emergent Intersectional Biases of Mexican American Females: cook, curvy, feisty, maids, promiscuous, sexy (random chance of correct classification: 6.1%)
Intersectional Biases of Mexican American Females: attractive, cook, curvy, darkskinned, feisty, hardworker, loud, maids, promiscuous, sexy, short, uneducated, unintelligent (random chance of correct classification: 13.3%)
Emergent Intersectional Biases of Mexican American Males: drunks, jealous, promiscuous, violent (random chance of correct classification: 4.1%)
Intersectional Biases of Mexican American Males: aggressive, arrogant, darkskinned, day-laborer, drunks, hardworker, illegal-immigrant, jealous, macho, poor, promiscuous, short, uneducated, unintelligent, violent (random chance of correct classification: 15.3%)
Random (Insects): ant, bedbug, bee, beetle, blackfly, caterpillar, centipede, cockroach, cricket, dragonfly, flea, fly, gnat, hornet, horsefly, locust, maggot, mosquito, moth, roach, spider, tarantula, termite, wasp, weevil (random chance of correct classification: 25.5%)
Open Source Code, Data, and Documentation
https://github.com/weiguowilliam/CEAT is the link to our open source git repository. Code and links to datasets are available in the project repository. In addition, answers to frequently asked questions about the details of extracting the contextualized word embeddings are documented. The extracted embeddings for the stimuli take up approximately memory.