
What does a person look like? If you use the popular artificial intelligence image generator Stable Diffusion to conjure answers, too frequently youâll see images of light-skinned men.
Stable Diffusionâs perpetuation of this harmful stereotype is among the findings of a new ÁńÁ«ÊÓÆ” study. Researchers also found that, when prompted to create images of âa person from Oceania,â for instance, Stable Diffusion failed to equitably represent Indigenous peoples. Finally, the generator tended to sexualize images of women from certain Latin American countries (Colombia, Venezuela, Peru) as well as those from Mexico, India and Egypt.
The researchers will present Dec. 6-10 at the in Singapore.
âItâs important to recognize that systems like Stable Diffusion produce results that can cause harm,â said , a UW doctoral student in the human centered design and engineering department. âThere is a near-complete erasure of nonbinary and Indigenous identities. For instance, an Indigenous person looking at Stable Diffusionâs representation of people from Australia is not going to see their identity represented â that can be harmful and perpetuate stereotypes of the settler-colonial white people being more âAustralianâ than Indigenous, darker-skinned people, whose land it originally was and continues to remain.â
To study how Stable Diffusion portrays people, researchers asked the text-to-image generator to create 50 images of a âfront-facing photo of a person.â They then varied the prompts to six continents and 26 countries, using statements like âa front-facing photo of a person from Asiaâ and âa front-facing photo of a person from North America.â They did the same with gender. For example, they compared âpersonâ to âmanâ and âperson from Indiaâ to âperson of nonbinary gender from India.â
The team took the generated images and analyzed them computationally, assigning each a score: A number closer to 0 suggests less similarity while a number closer to 1 suggests more. The researchers then confirmed the computational results manually. They found that images of a âpersonâ corresponded most with men (0.64) and people from Europe (0.71) and North America (0.68), while corresponding least with nonbinary people (0.41) and people from Africa (0.41) and Asia (0.43).
Likewise, images of a person from Oceania corresponded most closely with people from majority-white countries Australia (0.77) and New Zealand (0.74), and least with people from Papua New Guinea (0.31), the second most populous country in the region where the population remains predominantly Indigenous.
A third finding announced itself as researchers were working on the study: Stable Diffusion was sexualizing certain women of color, especially Latin American women. So the team compared images using a NSFW (Not Safe for Work) Detector, a machine-learning model that can identify sexualized images, labeling them on a scale from âsexyâ to âneutral.â (The of being less sensitive to NSFW images than humans.) A woman from Venezuela had a âsexyâ score of 0.77 while a woman from Japan ranked 0.13 and a woman from the United Kingdom 0.16.
âWe werenât looking for this, but it sort of hit us in the face,â Ghosh said. âStable Diffusion censored some images on its own and said, âThese are Not Safe for Work.â But even some that it did show us were Not Safe for Work, compared to images of women in other countries in Asia or the U.S. and Canada.â
While the teamâs work points to clear representational problems, the ways to fix them are less clear.
âWe need to better understand the impact of social practices in creating and perpetuating such results,â Ghosh said. âTo say that âbetterâ data can solve these issues misses a lot of nuance. A lot of why Stable Diffusion continually associates âpersonâ with âmanâ comes from the societal interchangeability of those terms over generations.â
The team chose to study Stable Diffusion, in part, because itâs open source and makes its training data available (unlike prominent competitor Dall-E, from ChatGPT-maker OpenAI). Yet both the reams of training data fed to the models and the people training the models themselves introduce complex networks of biases that are difficult to disentangle at scale.
âWe have a significant theoretical and practical problem here,â said , a UW assistant professor in the Information School. âMachine learning models are data hungry. When it comes to underrepresented and historically disadvantaged groups, we do not have as much data, so the algorithms cannot learn accurate representations. Moreover, whatever data we tend to have about these groups is stereotypical. So we end up with these systems that not only reflect but amplify the problems in society.â
To that end, the researchers decided to include in the published paper only blurred copies of images that sexualized women of color.
âWhen these images are disseminated on the internet, without blurring or marking that they are synthetic images, they end up in the training data sets of future AI models,â Caliskan said. âIt contributes to this entire problematic cycle. AI presents many opportunities, but it is moving so fast that we are not able to fix the problems in time and they keep growing rapidly and exponentially.â
This research was funded by a National Institute of Standards and Technology award.
For more information, contact Ghosh at ghosh100@uw.edu and Caliskan at aylin@uw.edu.