Evidence for Hypodescent in Visual Semantic AI

Robert Wolfe, Mahzarin R. Banaji, Aylin Caliskan

Introduction

Recent progress in multimodal ”visual semantic” artificial intelligence (AI) has produced CLIP (”Contrastive Language Image Pretraining”), the first language-and-image model that allows the definition of image classes in natural language and generalizes to datasets on which it was not explicitly trained (Radford et al., 2021). For the field of computer vision, CLIP was able to realize many of the benefits of large-scale self-supervised pretraining first seen in natural language processing (NLP). While its designers primarily evaluate CLIP in the context of image classification (Radford et al., 2021), features derived from the model have been used to train zero-shot object detection models and zero-shot image generation AI (Gu et al., 2021; Ramesh et al., 2021). Investigations of biases in CLIP have uncovered under-representation of women in image retrieval tasks (Wang et al., 2021a), the presence of biased and offensive content in an open-source training corpus similar to the one on which CLIP was trained (Birhane et al., 2021), and semantic biases (e.g., association of Muslims with terrorism), in multimodal neuron activations in the CLIP image encoder (Goh et al., 2021). In this research, we investigate whether the manner in which CLIP forms categorical boundaries between images of humans reflects a particular racial bias: the rule of hypodescent, or one-drop rule.

In the paper introducing CLIP, Radford et al. (2021) report that in the zero-shot setting, CLIP associates with a White text label only 58.3% of people with the White racial label in the FairFace dataset (Karkkainen and Joo, 2021), while associating 91.3% of individuals belonging to the six other racial and ethnic groups represented in FairFace with their FairFace label. While the FairFace dataset consists of visually noisy in-the-wild photographs, and relies not on self-identification of race but on the potentially biased labels of human perceivers (Amazon Mechanical Turkers), the results of Radford et al. (2021) indicate that a substantial minority of people who are perceived by other humans as White are associated with a race other than White by CLIP. The inverse does not appear to be true, as individuals who are perceived to belong to other racial or ethnic labels in the FairFace dataset are associated with those labels by CLIP. This result suggests the possibility that CLIP has learned the rule of ”hypodescent,” as described by social scientists: individuals with multiracial ancestry are more likely to be perceived and categorized as belonging to the minority or less advantaged parent group than to the equally legitimate majority or advantaged parent group. In other words, the child of a Black and a White parent is perceived to be more Black than White; and the child of an Asian and a White parent is perceived to be more Asian than White. Psychological research finds that a rule of hypodescent reflects a belief in racial hierarchy, and maintains and enhances the racial status quo (Ho et al., 2013).

We systematically test for evidence of hypodescent in CLIP. This is, to our knowledge, the first analysis of hypodescent in AI. We make research code public at https://github.com/wolferobert3/evidence_for_hypodescent. Three main results are highlighted:

CLIP shows hypodescent, or the one-drop rule, by biased association of images of multiracial people with minority ancestry. Faces of individuals who self-identified as Black, Asian, and Latino/a were morphed into faces of people who self-identified as White. At the halfway point of the morph series, the critical juncture, CLIP associates the majority of the morphed images with a Black, Asian, or Latino/a text label rather than a White text label. Hypodescent is more pronounced for images of women: at the halfway point, 69.7% of Black-White female multiracial images are associated with Black; 75.8% of Latina-White female multiracial images are associated with Latina; and 89.1% of Asian-White female multiracial images are associated with Asian. 53.8% of Black-White male multiracial images at the halfway point are associated with Black. We do not observe hypodescent for the Asian-White male or for the Latino-White male morph series.

White is the default race in CLIP, with other racial and ethnic groups defined by their deviation from White. For each morph series, we obtain Pearson’s ρ\rho for the cosine similarity of a ”person” label (with no text indicating race or ethnicity) and the cosine similarity of White, Black, Asian, and Latino/a text labels. In all cases, the correlation between person and White is higher (ρ∈[0.60,0.82]\rho\in[0.60,0.82]) than the correlation between person and Asian, Black, or Latino (ρ∈[0.11,0.40]\rho\in[0.11,0.40]), indicating that the most similar representation to a person is a White person in CLIP. As shown in Figure 1, the mean cosine similarity for the White label at each step of the morph series is nearly invariant, and nearly indistinguishable from that of the person label. On the other hand, the mean cosine similarity of the Black label varies as the mixing ratio of the source and target images changes, such that images are associated with Black based on deviation from the White default.

Valence bias (association with bad or unpleasant vs. good or pleasant concepts) correlates with association with the minority group. For each morph series, the SC-WEAT (Caliskan et al., 2017) is used to measure the association of each embedded image with unpleasant vs. pleasant concepts in the CLIP embedding space, represented using 2525 valenced words each (e.g., grief, agony, disaster vs. love, peace, cheer). The cosine similarity of each image with the minority race or ethnicity text label is obtained. For the 21,00021,000-image Black-White male morph series, the association with unpleasant concepts for an embedded image correlates with the image’s association with the Black label, with Pearson’s ρ=0.48\rho=0.48, p<10−90p<10^{-90}. The correlation is similar for the Black-White female morph series, with ρ=0.41\rho=0.41, p<10−90p<10^{-90}.

Although this work will discuss racial categories such as Asian, Black, Latino, and White, we use them in the manner in which the social and psychological sciences use them, i.e., to refer to social constructions, not biological realities (Association et al., 2020).

Related Work

This research draws on multiple strands of previous research on hypodescent, CLIP and multimodal AI, and bias in AI.

Hypodescent. Hypodescent refers to the association of people who have multiracial ancestry with the race of their minority parent group. The way multiracial individuals are perceived by others is of sociopolitical importance, as it can serve as an indication of whether intermarriage and miscegenation will result in the disturbance of racial hierarchyThe term ”racial hierarchy” is common in the social and psychological literature, and is the term we will employ here. Others such as Wilkerson (2020) have characterized the racial ordering of political and economic advantages in America as a caste system. In referring to racial hierarchy, we do not intend to lend legitimacy to this system, but to draw attention to the ways it operates to prevent its encoding in AI. (Ho et al., 2011). For example, if a society has a high number of multiracial births, those at the top of a racial hierarchy may make the hierarchy durable to demographic change by categorizing multiracial individuals as belonging to a minority racial or ethnic group (Ho et al., 2011). The minority group increases in size, but can be denied privileges providing access to life’s opportunities and outcomes, ranging from housing and loans, to education and jobs, to treatment by law and law enforcement (Hickman, 1996).

The primary psychological reference for the present research is the work of Ho et al. (2011), who uncovered evidence for a rule of hypodescent in human perceivers based on measures of both relatively more implicit and explicit cognition (Ho et al., 2011). To study the implicit bias of hypodescent, Ho et al. (2011) used a face morphing experiment, wherein the face of a Black person or an Asian person (subjectively strongly judged to be so) is ”morphed” across a series of images into a face of a White person. They find that human perceivers are more likely to classify intermediate images according to minority ancestry, reflecting a rule of hypodescent (Ho et al., 2011). Moreover, they show that perceivers presented with the family tree of a multiracial person with one Black or Asian parent and one White parent were more likely to classify that person as Black or Asian, respectively, than as White (Ho et al., 2011). Ho et al. (2011) find that biases of hypodescent are more significant for multiracial people with Black ancestry, but are also observed for multiracial people with Asian ancestry, a result reflecting the existence of American racial hierarchy (Hickman, 1996). As described in the Section 4, our research design draws insight from the work of Ho et al. (2011) to test for the bias of hypodescent in AI. If the result of Ho et al. (2011) is limited to a bias in human minds, it should not be observed in the analyses performed using visual semantic CLIP associations. If, on the other hand, hypodescent is reflected in the CLIP embedding space, the result will add to a growing body of research demonstrating the manner in which human biases are transduced into machine learning architectures.

In a subsequent study of the psychological underpinnings of hypodescent and racial hierarchy, Ho et al. (2013) find that a rule of hypodescent is employed when a minority group makes significant gains in social realms such as business and politics (a threat condition to the racial status quo), and that individuals high in social dominance orientation (an individual difference measure of preference for group-based hierarchies (Ho et al., 2015)) are more likely to categorize multiracial individuals according to a minority parent group. Ho et al. (2013) find that hypodescent can be seen as a ”hierarchy-enhancing” social categorization, in that it amplifies perception of racial differences such that racial boundaries and advantages are preserved despite changing demographics and social structures. More recently, Krosch et al. (2022) find that White perceivers who read about impending demographic shifts which will render the U.S. a majority-minority country are more likely to characterize multiracial faces as belonging to a minority group, reflecting a rule of hypodescent.

Other psychological studies have suggested that hypodescent is related to attention and to frequency of observation. Halberstadt et al. (2011) suggest that hypodescent is related to selective attention, wherein humans pay more attention to physical characteristics infrequently and first observed later in life, such that people who possess a mixture of majority-group and minority-group traits are perceived as belonging to the minority group. This has particular salience for computer vision, given prior research that finds that people who have darker skin tones, and in particular women who have darker skin tones, are significantly underrepresented in computer vision training datasets (Buolamwini and Gebru, 2018). Lewis (2016) finds that people who have more experience seeing Black faces are more likely to classify multiracial faces as belonging to a White person. Ho et al. (2017) find that Black perceivers may use hypodescent inclusively, extending Blackness to multiracial people with Black ancestry ”because they perceive that Black–White biracials face discrimination and consequently feel a sense of linked fate with them.” Peery and Bodenhausen (2008) finds that automatic (reflexive/implicit) racial categorizations by White perceivers reflect hypodescent, but that ”more complex racial identities may be acknowledged upon more thoughtful reflection.” Zarate and Smith (1990) find that white perceivers classify members of their own race more quickly, and that speed of categorization is linked to attribution of racial stereotypes.

While hypodescent has been observed for both males and females, Ho et al. (2011) observed stronger effects for men than women. This is consistent with research by Sidanius and Pratto (2001) and Navarrete et al. (2010), who find that histories of intergroup conflicts involving primarily male aggressors have resulted in stronger exclusionary biases toward outgroup males. The disparity in hypodescent patterns observed in experimental psychology may be a result of broader intersectional gender biases, wherein Black faces are less readily classified as female (Goff et al., 2008), and male faces are more likely to be classified as Black (Carpinella et al., 2015). We are not aware of studies examining hypodescent beyond a gender binary.

American Context of Hypodescent. A notable result that has emerged from the present work is that hypodescent in AI resembles hypodescent in human cognition, as observed by experimental psychologists. Our work focuses on hypodescent in an American context, for two reasons: because most modern psychological research of hypodescent studies American subjects and locates findings within the American context (Young et al., 2021); and because CLIP is trained on English-language internet data, the majority of which is based on a query list collected from an American website (English-language Wikipedia) (Radford et al., 2021), suggesting that what CLIP has learned about hypodescent is likely to be best understood within the American context. The historical context of hypodescent in the United States - as a mechanism for expanding slavery (Ball, 2007), for enforcing segregation (Hickman, 1996), and for preserving the stability of racial hierarchy (Liz, 2018) - has been noted by psychologists as a likely factor in modern Americans’ implicit biases with regard to the race of multiracial individuals (Ho et al., 2011).

CLIP and Visual Semantic AI. We now describe the technical architecture of CLIP, the AI model we will test for evidence of hypodescent. CLIP was designed to be the first ”zero-shot” image classifier, meaning that it has learned to associate images in computer vision datasets with their text labels without seeing the training data provided for those datasets (Radford et al., 2021). This constituted a significant step forward in computer vision and multimodal AI, as CLIP advanced the zero-shot state-of-the-art on ImageNet from 11.5% (Li et al., 2017) to 76.2% (Radford et al., 2021). CLIP is known as a ”visual semantic” or ”multimodal” AI model, in that it encodes text and images and projects them into the same embedding space, such that the text most similar to an image can be matched to it by measuring the cosine similarity of the encoded text and the encoded image (Radford et al., 2021). While CLIP has been discussed primarily in terms of its performance as a zero-shot image classifier, the model learns ”transferable” visual features, meaning that the representations formed by CLIP can be easily adapted for many computer vision tasks, such as image retrieval (Wang et al., 2021a), and can be used to train specialized zero-shot computer vision models for tasks such as object detection (Gu et al., 2021) and image generation (Ramesh et al., 2021; Nichol et al., 2021). Moreover, the word and sentence representations formed by CLIP have been shown to be highly semantic, to the point that they set or match state-of-the-art on intrinsic evaluations (Wolfe and Caliskan, 2022a).

CLIP jointly trains a computer vision model (a ResNet (He et al., 2016) or a Vision Transformer (ViT) (Dosovitskiy et al., 2020)) and a contextualizing language model (a smaller version of GPT-2 (Radford et al., 2019)), and projects representations from each model into the same embedding space. Both GPT-2 and ViT are based on the transformer architecture, a deep learning network which uses self-attention to draw information from anywhere in its input window (Vaswani et al., 2017). CLIP’s success in generalizing across datasets is the result of applying a novel training objective to an internet-scale language-and-image corpus. CLIP trains on the WebImageText (WIT) corpus, a collection of 400 million images and their associated captions scraped from the internet (Radford et al., 2021). While WIT is not publicly available, Radford et al. (2021) note that it contains roughly as many words as the text corpus used to train GPT-2. The query list for WIT consists of all words occurring at least 100 times in English language Wikipedia, bigrams from Wikipedia which have high pointwise mutual information, the names of Wikipedia articles, and all WordNet synsets not included in the list (Radford et al., 2021). CLIP employs a ”contrastive learning” pretraining objective, which maximizes the cosine similarity of an encoded caption with its encoded image while minimizing its cosine similarity with all of the other encoded images in the batch (Radford et al., 2021; Tian et al., 2019). When this research refers to an image or text embedding, this means the multimodal representation formed by CLIP after projection to this joint embedding space. Our supplementary materials include a discussion of advances in deep learning visual semantic AI beginning with its origins in 2013.

This research tests for hypodescent in CLIP by comparing the cosine similarities of embedded images and embedded text labels corresponding to four racial or ethnic groups, an approach which reflects the typical zero-shot use of the model during inference (Radford et al., 2021). Biases observed in the embedding space will be reflected in the many zero-shot settings in which CLIP is used, including image retrieval (Wang et al., 2021a), image classification (Radford et al., 2021), and other settings which may benefit from transferable visual features. We examine the CLIP-ViT-Base-Patch32 model, which was downloaded from the Transformers library (Wolf et al., 2020) more than one million times during the month prior to this writing alone, accounting for more than 98% of the downloads of any CLIP model from the library.

Bias in AI. Social biases related to gender (Bolukbasi et al., 2016), age (Kim et al., 2021), religion (Abid et al., 2021), and sexuality (Sheng et al., 2019) have been observed in AI systems. Our review of the extensive related work in this area focuses on racial bias in AI and on biases observed in CLIP.

Implicit Bias and AI. CLIP offers the first opportunity to study implicit biases in machine-learned visual semantic representations. Where a supervised algorithm is provided with explicit class labels, CLIP is provided, like word embeddings and language models, with text (and accompanying images) collected from the internet. While unsupervised and self-supervised algorithms free machine learning from using a relatively small number of human-curated labels, and allow for the expansion of training datasets without the need for supervised labeling, unsupervised models learn the social biases of the data on which they are trained (Caliskan et al., 2017; Bender et al., 2021). The most direct adaptation of an implicit bias measurement to machine learned representations is the Word Embedding Association Test (WEAT) of Caliskan et al. (2017), which replicated in word embeddings an array of widely shared human associations and social biases previously observed in human subjects in the Implicit Association Test (IAT) (Greenwald et al., 1998). The WEAT was expanded to uncover racial, gender, and intersectional biases in contextualized word embeddings formed by language models like BERT and GPT-2 (Guo and Caliskan, 2021; Wolfe and Caliskan, 2022b), and in the generative computer vision model Image GPT (Steed and Caliskan, 2021). Our research is most similar to these studies, in that we test an AI model for a bias well-known in psychology.

GANs for Bias Assessment. Our study builds on prior work which uses GAN-generated synthetic images to study bias in AI. Denton et al. (2019) use a generative adversarial network (GAN) to generate series of counterfactual images for analyzing unintended biases in facial analysis AI. Li and Xu (2021) use series of images produced by a GAN to discover unknown biases in image classifiers. Ramaswamy et al. (2021) use a GAN to generate synthetic training data which is more balanced based on protected attributes such as race and gender. Most recently, Lang et al. (2021) train a GAN to explain the decisions of an image classifier by discovering the visual attributes which lead to its predictions.

Racial Bias in Computer Vision. Buolamwini and Gebru (2018) find that state-of-the-art AI facial recognition systems fail to detect the faces of women with darker skin, and that this problem is traceable to the underrepresentation of women and people with darker skin in widely used facial recognition datasets. Wilson et al. (2019) finds that this problem is not limited to facial recognition, and that state-of-the-art object detection systems also perform poorly for people with darker skin. Moreover, emotion detection AI systems have been shown to disproportionately detect unpleasant emotions such as anger in emotionally ambiguous or neutral images of members of minority racial or ethnic groups (Rhue, 2018).There are ethical questions related to whether technologies like facial recognition and emotion detection are beneficial, as they are used for purposes of surveillance and social control (Leibold, 2020), and recent research focuses on ways to circumvent mass surveillance (Guetta et al., 2021). Where such systems are used, the research of scholars such as Buolamwini and Gebru (2018) makes clear the over-representation of men and people who have lighter skin in AI training data, and the failure of commercial AI systems to perform equally for women and for people who have darker skin. Steed and Caliskan (2021) show that Image GPT, which generates image completions given a visual prompt (Chen et al., 2020), implicitly associates images of Black individuals with images of weapons.

Racial Bias in NLP. May et al. (2019) find evidence of sentence-level racial bias in language models, while Sheng et al. (2019) show that the text output of language models like GPT-2 contains biases demonstrating low regard for members of marginalized groups, including racial minorities. Wolfe and Caliskan (2021) find that under-representation of women and marginalized racial and ethnic groups in the training corpora of language models produces representations more likely to be biased and overfit to stereotypical pretraining contexts. Dodge et al. (2021) show that filtering algorithms used to construct the C4 training corpus remove information by and about people belonging to marginalized populations.

Bias in CLIP. Radford et al. (2021) and Agarwal et al. (2021) catalogue social biases in CLIP, including that images of people who are labeled as Black in the FairFace dataset (Karkkainen and Joo, 2021) are the most likely to be mislabeled as animals. In highlighting multimodal neurons in CLIP which respond to photographic, symbolic, or textual depictions of a concept, Goh et al. (2021) find that the activation of these neurons reflect stereotypes, such as association of terrorism with Muslims. Birhane et al. (2021) find that LAION-400m (Schuhmann, 2021), a multimodal image-and-language dataset similar to CLIP’s training corpus, contains racial and ethnic slurs and stereotypes, along with images of sexual violence and other obscene adult content.

Data

We use the Chicago Face Database (CFD), a dataset of images produced for studies of race in psychology (Ma et al., 2015). The CFD includes 597597 high-resolution (2,4442,444 x 1,7181,718 pixel) images of male and female study volunteers, with labels (Asian, Black, Latino/a, and White) based on self-identified race or ethnic group (Ma et al., 2015). The subjects of the photos faced the camera, and images are standardized such that they are all set against a White background, with the face occupying the same area of the image. CFD subjects were recruited in the United States. The CFD includes photos of all subjects with a ”neutral” facial expression, and of a subset with ”happy (open mouth),” ”happy (closed mouth),” ”angry,” and ”fearful” facial expressions. The experiments of Ho et al. (2011) used images of subjects with a neutral facial expression, and for consistency we use only the images with neutral facial expressions for this research.

GAN-Generated Images. Consistent with the research design of Ho et al. (2011), who produce face morphs between racial or ethnic groups in 5% increments, we morph faces of people who self-identify as Black, Asian, and Latino/a into faces of people who self-identify as White in the CFD. Specifically, for each morph series, an image of a person who self-identifies as Black, Asian, or Latino/a is selected, and nineteen intermediate images are generated which blend facial features between that image and the image of a person who self-identifies as White. At each morph step, the morphed image becomes less similar to the image of the person who self-identifies as Black, Asian, or Latino/a, and more similar to the person who self-identifies as White. Using a 21-step series allows the definition of 75%, 50%, and 25% mixture ratios between the source and target images at the 6th, 11th, and 16th morph indices respectively.

For each pair of racial or ethnic groups, we produce 1,0001,000 unique morph series to ensure the statistical significance of our results. Let nn denote the number of images for a ”source” racial or ethnic group in the Chicago Face Database, i.e., for the group which serves as the initial image in the morph series, rather than the final image in the morph series. For each image in the source group, we randomly select ⌈1,000n⌉\lceil\frac{1,000}{n}\rceil (i.e., the largest integer ≥1,000n\geq\frac{1,000}{n}) images from the target group to serve as final images in the morph series. This method enables maximum variety in the morph series. Because this produces slightly more than 1,0001,000 morph series per paired source and target group, we randomly downsample to 1,0001,000 morph series (a total of 21,00021,000 images) per pair to ensure uniformity between morph series comparisons. To produce highly realistic images, we use StyleGAN2-ADAA GAN may itself exhibit bias based on its training dataset; for example, if images of White individuals are overrepresented in the training data, the GAN may lighten the skin tone of generated images, or produce noisy or lower quality images of individuals with physical characteristics underrepresented in the training dataset (Jain et al., 2020). We note that inspection of several thousand generated images by multiple domain experts suggests inter-annotator reliability of these series for quantifying bias. pretrained on the FFHQ dataset (Karras et al., 2020). Images are normalized by cropping around the face, such that facial features appear in positions similar to the positions of the facial features in the pretraining dataset. Failing to do this produces distorted and distended faces bearing little similarity to either of the images between which the morph occurs. To produce morph series using the GAN, we train on the source image and the target image. We use the default hyperparameters of StyleGAN2-ADA, and train for 125 steps per image, beyond which we observe no benefit given the high-resolution, standardized images we provide to the GAN. This produces a source embedding, and a target embedding, for which we use the generator to produce the first and last images in the series. For the rest of the morph series, we take the difference between these two embeddings and divide it by the number of intermediate images to be produced.Steps for morphing between images are derived from the work of Heaton (2020). At each step, we add the divided difference, and create a new image using the generator. This creates a series of 2121 high-resolution (1,024x1,024 pixel) synthetic images, such as those seen in Figure 2. Our supplementary materials include an example of a morph series for each source and target group pair.

A projected image embedding is obtained from CLIP for each of the 2121 images in each morph series. Then, projected text embeddings reflecting the self-identified race or ethnicity of the source group image, the self-identified race or ethnicity of the target group image, three multiracial group labels (”multiracial,” ”biracial,” and ”mixed race”), and a ”person” label (with race omitted) are obtained from CLIP. Following the prompt of Radford et al. (2021), who recommend using ”a photo of [[image class]]” for best performance with zero-shot CLIP, we use ”a photo of a [[race or ethnicity]] person” as the text input to the model for each of the text labels.

Note that we do not morph faces across genders. That is, we morph images of men into men, and images of women into women. The reasons for this are three-fold: first, psychological research has tested morphs of men into men and women into women, and we are able to compare our results to prior work in this light. Second, prior research indicates that the rule of hypodescent is applied more to men than to women, and we intend to test this hypothesis with CLIP. Third, our experiments test for a bias based on race, rather than gender. It is unclear whether gender-related stimuli changing across a series of morphs would introduce noise which distorts the model’s association based on race. Future research designs might study how CLIP’s biases change when gender stimuli vary along with racial stimuli.

Approach and Experiments

We conduct three experiments. The first tests whether CLIP associates images of multiracial people with minority ancestry, according to a rule of hypodescent. The second tests whether CLIP embeds White as a default racial group. The third tests a relationship between valence association (good vs. bad) and association with a minority group label.

Test of Hypodescent. At each step in the morph series, we measure the percentage of morphed images for which the image’s cosine similarity with the minority group label is higher than with the White label. If hypodescent is reflected in CLIP, we would expect that the majority of images which blend source features and target features most equally (i.e., those in the middle of the morph series) would be more similar to the embedded text corresponding to the disadvantaged group. We also characterize the skewness of each distribution of associations, defined as m3m23/2\frac{m_{3}}{m_{2}^{3/2}}, with the biased iith central moment given by mi=1N∑1N(x[n]−xˉ)im_{i}=\frac{1}{N}\sum_{1}^{N}(x[n]-\bar{x})^{i}, and xˉ\bar{x} referring to the sample mean. Skewness measures of the symmetry of a distribution: negative skewness indicates that the distribution of associations leans toward the minority racial or ethnic group, while positive skewness indicates a distribution that leans toward White.

Test of White as a Default Race. For the 21,00021,000 images of each morph series (1,0001,000 images at each morph step), we obtain the cosine similarity with the source (Asian, Black, or Latino/a) group text label, the White text label, and a person label with no race or ethnicity included. We then take Pearson’s ρ\rho between the cosine similarities for the person label with those for the minority group label, and with those for the White label. If CLIP encodes White as a default race, we would expect to observe stronger correlations between White and person than between other racial or ethnic groups and person. Next, we take the mean cosine similarity at every morph index (corresponding to a 5% morph increment) for each racial or ethnic group label with the 1,0001,000 GAN-generated images at that morph index. Mean cosine similarity can be thought of as the average association with a text class at a morph step. To validate that results using the mean are representative of the full series, we report the standard deviation of 21,00021,000 cosine similarities for each text label. If CLIP encodes White as a default race, we would expect to observe correspondence between the cosine similarity for White and person, with other racial and ethnic groups defined in relation to White.

Test of Relationship Between Valence and Race or Ethnicity. The third analysis focuses on the association of race or ethnicity with valence (good or pleasant vs. bad or unpleasant), which is fundamental to any psychological analysis of social cognition and social interaction (Greenwald et al., 1998; Osgood, 1964). Previous research has shown that static word embeddings encode the concept of Black (represented using 2525 African-American names) such that it is more associated with unpleasantness than the concept of White (represented using 2525 European-American names), a result of training on large language corpora scraped from the internet (Caliskan et al., 2017). This result confirmed demonstrations of human implicit social cognition showing evidence that even those individuals who report no racial bias nevertheless demonstrate automatic association of Black with bad and White with good (Greenwald et al., 1998). The WEAT, and the IAT before it, measure racial bias using two sets of attribute words: one good or pleasant group, and one bad or unpleasant group. These groups correspond to the psycholinguistic property of valence, or the pleasantness or unpleasantness of a stimulus (Osgood, 1964). Below are the pleasant and unpleasant attribute words used in the IAT and the WEAT, which we also employ:

Pleasant: caress, freedom, health, love, peace, cheer, friend, heaven, loyal, pleasure, diamond, gentle, honest, lucky, rainbow, diploma, gift, honor, miracle, sunrise, family, happy, laughter, paradise, vacation

Unpleasant: abuse, crash, filth, murder, sickness, accident, death, grief, poison, stink, assault, disaster, hatred, pollute, tragedy, divorce, jail, poverty, ugly, cancer, kill, rotten, vomit, agony, prison

In addition to measuring the standardized difference in valence between two groups of target words (e.g., European-American names and African-American names), the WEAT is also able to measure the valence of a single target stimulus using the single-category WEAT (SC-WEAT). We adapt the SC-WEAT to measure the valence of a visual semantic representation of an encoded image, rather than a word. The formula for the SC-WEAT is:

where i⃗\vec{i} refers to the multimodal image representation, and AA and BB refer to multimodal text representations of sets of attribute words. The SC-WEAT returns an effect size, Cohen’s dd (Cohen, 1992), and a pp-value denoting statistical significance. We obtain Pearson’s ρ\rho between the SC-WEAT effect size (association with unpleasant vs. pleasant) for the 21,00021,000 images, with the cosine similarities between the images and a text label corresponding to the minority racial or ethnic group (i.e., the degree of association with the minority group). For this experiment, a positive effect size denotes association with unpleasantness, such that a positive correlation denotes association of a minority racial or ethnic group with unpleasantness, and a negative correlation denotes association with pleasantness.

By relying on visual, face-based stimuli, our research overcomes the limitation imposed by words, as there is little question about whether a face is a face or not, whereas words may contain multiple meanings. Moreover, both research on word embeddings and human subjects research using pictorial stimuli can use only limited inputs, typically 88 faces or 2525 words, to represent social groups (Dasgupta et al., 2000). Using the current methodology expands the stimulus input to be two orders of magnitude greater than the inputs used in previous research with humans or word embeddings. If the present analyses support previous small-scale input studies, the inferences that can be drawn about the strength and generality of group valence associations will be significantly strengthened.

Validating the SC-WEAT for Visual Semantics. The WEAT and SC-WEAT are well-established methods for measuring biases in linguistic representations (Caliskan et al., 2017; Guo and Caliskan, 2021; Wolfe and Caliskan, 2021, 2022b), and have been adapted to measure bias in image embeddings by Steed and Caliskan (2021). As this is the first application of the SC-WEAT to a visual semantic model, we test that using the SC-WEAT produces human-interpretable results. For each image included in the OASIS norms, a dataset of 900 images which includes labels reflecting the human-rated valence of each image (Kurdi et al., 2017), we obtain an SC-WEAT effect size measuring the pleasantness of the image’s embedding in CLIP. Comparing the SC-WEAT effect sizes with the human-rated valence norms yields Pearson’s ρ=0.77\rho=0.77, p<10−30p<10^{-30}, on par with similar semantic evaluations of the best static and contextualized word embeddings on valence-labeled linguistic lexica of comparable size (Toney-Wails and Caliskan, 2021; Wolfe and Caliskan, 2022b). This means, concretely, that CLIP associates images depicting war, sickness, and so on with unpleasantness; and images related to nature, family, and so on with pleasantness, and that the SC-WEAT can be used to detect these associations.

Results

Our results provide evidence for hypodescent in the CLIP embedding space, a bias applied more strongly to images of women. Results further indicate that CLIP associates images with racial or ethnic labels based on deviation from White, with White as the default. Finally, an image’s valence association correlates with its association with a minority racial label. For readability, some tables below refer to series of Asian-White morphed images as ”A-W,” of Black-White morphed images as ”B-W,” and of Latino/a-White morphed images as ”L-W.”

Evidence for hypodescent in CLIP. For the 1,0001,000 morph series of 2121 images each between Black males and White males, CLIP assigns a higher cosine similarity to the Black text label 67.5%67.5\% of the time at a 55%55\% mixing ratio (MR) (i.e., step 9 out of 20, wherein the image is 55%55\% similar to the source (Black) image and 45%45\% similar to the target (White) image), 53.8%53.8\% of the time at 50%50\% MR, and 42.5%42.5\% of the time at 45%45\% MR. Hypodescent is not observed at 50% MR for the Asian-White male or Latino-White male morph series. Female morph series reflect stronger biases of hypodescent, with 89.1%89.1\% of Asian-White female morphed images associated with Asian at 50%50\% MR, 69.7%69.7\% of Black-White female morphed images associated with Black at 50%50\% MR, and 75.8%75.8\% of Latina-White female morphed images associated with Latina at 50%50\% MR. The Black-White female morph series yields a majority of Black associations until 40%40\% MR, while the Asian-White and Latina-White morph series yield a majority of Asian and Latina associations, respectively, until 20%20\% MR. Full results for 25%, 45%, 50%, 55%, and 75% MR steps are provided in Table 1, and association curves across the six morph series are visualized in Figure 3.

Four of the morph series exhibit negative skewness, indicating asymmetry in the distribution of associations which leans toward a racial minority group label. Table 2 shows that results also reflect a stronger bias of hypodescent for women than for men, with a largest male series skew of -0.06 (Black-White male series), and a largest female series skew of -0.84 (Asian-White female series). The smallest female series skew is -0.30 (Black-White female series).

Evidence that White is the Default Racial Group in CLIP. As shown in Table 3, the correlation between the cosine similarity of an image with person and cosine similarity of an image with White is higher in all morph series than the correlation between the cosine similarity of an image with person and with a minority racial group. Correlations are for 21,00021,000 images each, and pp-values are <10−50<10^{-50} in all cases. While the mean cosine similarities with 1,0001,000 encoded images at each morph step vary according to mixing ratio for minority racial and ethnic groups, the mean cosine similarity of the White text label with encoded images is nearly invariant across the morph series, and nearly indistinguishable from the person text label. Table 4 captures standard deviation by text label for 21,00021,000 images in all six morph series, and shows that standard deviations for the White label fall within [0.007,0.010][0.007,0.010], while standard deviations for Black, Asian, and Latino/a labels fall within [0.013,0.028][0.013,0.028], with all Black and Asian labels ≥0.019\geq 0.019. Standard deviations are small because cosine similarity ranges from 0 to 1, and has a narrow span for one kind of image (faces).

Adding Multiracial, Biracial, and Mixed Race labels reveals that, on average, the model associates intermediate morph steps with the Mixed Race text label rather than with Black or White, as shown in Figure 4. This result corresponds well to the research of Peery and Bodenhausen (2008), who found evidence of hypodescent as an automatic, reflexive bias, but also found that humans acknowledge more complex racial identities when presented with option to choose them. However, cosine similarity with the Multiracial, Biracial, and Mixed Race text labels does not increase uniformly from both sides to a maximum at morph index 11 (50% mixing ratio), as might be expected if the label denoted that the model has perceived a blend of features. Rather, these labels have higher mean cosine similarity when the images are more similar to Black source images, and lower mean cosine similarity as images are more similar to White target images. That CLIP prefers the Mixed Race label of the three, and assigns lower probability to Multiracial than even the default White label, may be a consequence of the model being trained on internet image captions, such that more colloquial descriptions are preferred.

Evidence that Valence Correlates with Minority Group Association. As depicted in Figure 5, mean valence association (association with bad or unpleasant vs. with good or pleasant) varies with the mixing ratio over the Black-White male morph series, such that CLIP encodes associations with unpleasantness for the faces most similar to CFD volunteers who self-identify as Black. As shown in Table 5, for the 21,00021,000 images of the Black-White male morph series, Pearson’s ρ\rho between valence association and the cosine similarity of an image with the Black text label is 0.480.48, p<10−90p<10^{-90}; ρ\rho between mean valence association and mean cosine similarity with the Black label at each morph step is ρ=0.97\rho=0.97, p<10−12p<10^{-12}. A similar effect is observed for the Black-White female morph series, with ρ=0.41\rho=0.41, p<10−90p<10^{-90} over 21,00021,000 images. The negative correlations for Asian-White morph series indicate that Asian faces are more associated with pleasantness relative to White faces.

Discussion

The evidence indicates a rule of hypodescent, or one-drop rule, in CLIP. The effect occurs in four of six morph series, and is more pronounced for images of women than images of men, such that the largest negative skew for male images is -0.06, for the Black-White male morph series, while the skew of associations for female images ranges between -0.30 (Black-White female series) and -0.84 (Asian-White female series). The three female morph series do not see a majority of associations with White until 40% mixing ratio (Black-White series) or 20% mixing ratio (Asian-White and Latina-White series). We describe a few possible causes for a primary effect based on gender. First, Radford et al. (2021) observe that CLIP directs more attention to the physical features of women (such as hair), likely the result of training captions which describe women in terms of physical appearance. Such attention to physical features may render CLIP more sensitive to what the model perceives as race in women. On the other hand, Halberstadt et al. (2011) have suggested that hypodescent in human subjects is related to attention, such that a perceiver notices deviation from the physical features most frequently observed. Prior research in computer vision and in NLP finds that women with darker skin (Buolamwini and Gebru, 2018) or who are Black, Asian, or Latina (Wolfe and Caliskan, 2021) are underrepresented in machine learning training data. Hypodescent as it pertains to women may thus be related to underrepresentation in CLIP’s WIT training corpus.

The evidence indicates that CLIP encodes White as a default race. This is supported by the stronger correlations between White cosine similarities and person cosine similarities than for any other racial or ethnic group, with Pearson’s ρ∈[0.60,0.82]\rho\in[0.60,0.82]. Standard deviations for both person and White labels are also much lower than for Asian, Black, or Latino/a labels. This accords with the near invariance of the means of the White label across all steps of the morph series, such that images are associated with a minority racial or ethnic group based on deviation from White. That White is a default race in CLIP is further supported by image associations with Multiracial, Biracial, and Mixed Race text labels, which do not increase from both sides of the series to a peak at 50% mixing ratio, but are higher when the image is similar to an image of a Black person, and lower when more similar to a White person.

The evidence indicates that the valence of an image correlates with racial association, with Pearson’s ρ=0.48\rho=0.48, p<10−90p<10^{-90} for images in the Black-White male series. More concretely, our results indicate that the more certain the model is that an image reflects a Black individual, the more associated with the unpleasant embedding space the image is. We note three consequences of this result. First, it indicates that multiracial people whom the model associates more strongly with Black are subject to valence biases in visual semantic AI. Second, it suggests that an implicit bias - of Black individuals with unpleasantness - is linked to the perception of race in visual semantic AI. This accords with research of Zarate and Smith (1990), who found that the speed of racial categorization by human perceivers is linked to the attribution of racial stereotypes to a subject. Third, this result affirms the results of smaller studies of implicit bias in word embeddings and in human subjects.

Observing a correlation between pleasantness and probability of the Asian text label may correspond to the ”model minority” stereotype, wherein people of Asian ancestry are lauded for their upward mobility and assimilation into American culture, and even associated with ”good behavior” (Wu, 2015). This is likely a stereotype held in conjunction with Asian individuals being perceived and marked as outsiders (Lee et al., 2009), and the strong negative response during the pandemic (Tessler et al., 2020). While this is consistent with CLIP’s association of faces of Asian people relative to the White default group, further work is needed to confirm the underlying positive association to Asian and its dissociation from acts of discrimination.

Impact on AI. As indicated by the title of the paper introducing CLIP, the model is designed to learn ”transferable” visual features, i.e., features which can be used in a wide variety of settings and applications (Radford et al., 2021). One of these uses is to serve as ground truth for creating other specialized multimodal models: among the first uses of CLIP was to train the zero-shot image generation model DALL-E (Ramesh et al., 2021; Radford et al., 2021). A larger, non-public version of the CLIP architecture was used in the training of DALL-E 2 (Ramesh et al., 2022). Commensurate with the findings of the present research, the Risks and Limitations described in the DALL-E 2 model card note that it ”produces images that tend to overrepresent people who are White-passing” (Ramesh et al., 2022). Such uses demonstrate the potential for the biases learned by CLIP to spread beyond the model’s embedding space, as its features are used to guide the formation of semantics in other state-of-the-art AI models. Moreover, due in part to the advances realized by CLIP and similar models for associating images and text in the zero-shot setting, multimodal architectures have been described as the foundation for the future of widely used internet applications, including search engines (Nayak, 2021). Our results indicate that additional attention to what such models learn from natural language supervision is warranted.

Impact on the Sciences. Our results suggest that visual semantic AI models like CLIP may prove useful tools for studying societal-level biases. For example, word embeddings have been used to study the consistency of gender stereotypes across child and adult language corpora (Charlesworth et al., 2021), as well as changes in gender and ethnic stereotypes over one hundred years (Garg et al., 2018). Visual semantic AI may facilitate similar scientific research enabling the study of human biases which can be observed in the statistical relationship between language and images.

Impact on Society. As human interaction with AI systems becomes more common, hypodescent and valence bias in visual semantic AI may affect the human perception of multiracial individuals. Greenwald et al. (2015) find that implicit racial biases in humans can ”explain discriminatory impacts that are societally significant either because they can affect many people simultaneously or because they can repeatedly affect single persons.” Given their ubiquity and ease of use, modern AI applications may, on an unprecedented scale, affect the way human beings perceive other human beings.

Limitations and Future Work. This research examines only one visual semantic model, which prevents assessment of whether our results generalize across architectures. CLIP is the first in a new generation of multimodal AI, and until late December 2021 was the only English-language zero-shot visual semantic model available open source for scientific study. Further work will be necessary to test hypodescent in new zero-shot visual semantic models such as SLIP (Mu et al., 2021), and in other CLIP architectures. Moreover, CLIP creates highly contextual text representations, and using different labels may produce different results. We employ a principled method by adhering to the prompt outlined by Radford et al. (2021), and operationalizing only the racial and ethnic categories specified in the CFD. 2019 Google N-Gram frequency statistics indicate that these are also by far the most common ways to describe each racial or ethnic group in all English N-Gram sources (Lin et al., 2012). Nonetheless, using different text prompts is likely to affect associations in the model, and might be explored in future work. Future work might also use a GAN-based approach such as that of Lang et al. (2021) to test what characteristics of an image directly influence hypodescent and valence bias. Such a study might test our hypothesis that increased attention to physical features results in stronger bias of hypodescent for women, a finding which varies from studies of hypodescent in human perceivers, for which hypodescent is observed more strongly for men (Ho et al., 2011; Sidanius and Pratto, 2001; Navarrete et al., 2010).

Conclusion

The primary result of the present research is the demonstration of hypodescent in a state-of-the-art visual semantic AI system. Additionally, the results reflect that women are more likely to be classified according to a rule of hypodescent, that White is a default race in the model, and that stereotype-congruent pleasantness bias correlates with association with Black. This work adds to a body of literature showing that AI encodes the implicit and explicit biases of the society and language on which it trains.

References

Appendix A History of Multimodal AI

In designing CLIP, Radford et al. (2021) build directly on the research of Zhang et al. (2020), who train ConVIRT, a medical image classifier which consists of an image encoder (ResNet 50) and a contextualizing language model (BERT (Devlin et al., 2019)) trained on a contrastive learning objective. Foundational research on visual semantic embedding spaces was performed by Socher et al. (2013), who developed methods for zero-shot cross-modal transfer between image and language representations. Frome et al. (2013) subsequently used a deep learning approach in DeViSE to embed images and text in a joint embedding space, allowing generalization to unseen classes. Other advances in vision-and-language AI have produced models such as VisualBERT, which aligns language and images and can ground relevant language to regions of an iamage (Li et al., 2019), and VilBERT, which set new state-of-the-art on caption-based image retrieval (Lu et al., 2019). More recent zero-shot image classifiers include the ALIGN model of Jia et al. (2021), which trains on contrastive loss between a BERT language model and an EfficientNet-L2 (Xie et al., 2020), and the Turing-Bletchley model of Tiwary (2021), which realizes CLIP-like zero-shot capabilities for 94 languages. Wang et al. (2021b) introduce a visual semantic model trained on language modeling loss instead of contrastive loss, known as SimVLM. Mu et al. (2021) introduce SLIP (”Self-Supervision meets Language-Image Pretraining”), a model which improves on CLIP’s zero-shot results by adding view-based self-supervision of images to the training objective.

Appendix B CLIP Download Statistics

The number of downloads in the past month of the three CLIP models available on the Huggingface Transformers library is reported below, based on figures obtained from the library’s website on April 26, 2022 (Wolf et al., 2020):

CLIP ViT-Base-Patch32: 1,073,126 downloads

CLIP ViT-Base-Patch32 is also the default model used in example code provided in the official OpenAI Github repository for the model.

Appendix C Synthetic Image Series

To aid the reader in visualizing our experiments, we include via Figures 6 through 11 below a single morph series for each of the six pairs of racial and ethnic groups we examine in this work. All images, including the first and last, are generated by StyleGAN2-ADA. Morph index 1 (source image of an Asian, Black, or Latino/a individual) corresponds to the upper left image, while morph index 21 (target image of an White individual) corresponds to the bottom right image. Note that the images output by the GAN are 1,024x1,0241,024x1,024 pixels, and the morph series we include are reduced in size to fit in this appendix but are fed to the CLIP preprocessor at full size.

Example of Asian to White Male morph series.

Example of Asian to White Female morph series.

Example of Black to White Male morph series.

Example of Black to White Female morph series.

Example of Latino to White Male morph series.

Example of Latina to White Female morph series.