AI is a man too: how sexism creeps into artificial intelligence

Updated: Oct 31
For the images on my blog, I write prompts for an image generator. Black and white, soft daylight, a wooden desk, a cup of coffee. I describe everything as precisely as I can, with the fussiness of someone ordering a sandwich with seven modifications.
There's a reason for that. Whatever I don't describe, the model fills in by itself, and what it fills in is not random.
Ask an image generator for a CEO without further instructions and there's a good chance you'll get a slice of the 1950s back, in very high resolution. Which raises the question of why.
The short answer: AI learns from everything people have ever written, photographed and decided. That archive contains a few thousand years of inequality. AI has no opinion about women, but it absorbs the lopsided proportions in its data, and as a result it quietly turns out to be a man more often than you'd expect.
What you don't describe, AI fills in
I work with AI every day and I think it's a fantastic tool. That's exactly why I want to know where it grows crooked.
Wherever there's a gap, a model picks the most likely answer. The most likely answer is based on the past. So if you say nothing, you get the past back, prejudices included, at no extra charge.
Why do voice assistants have a female voice?
Because companies designed them that way, with very few women in the room. In 2019 UNESCO published a report under the telling title I'd blush if I could.
That was Siri's reply when a user verbally abused her. Not "that's inappropriate", but a bashful giggle in text form.
Siri, Alexa and Google Assistant all had a female voice by default: helpful, patient and available at the drop of a "hey". According to UNESCO, women at the time made up only 12 per cent of AI researchers and 6 per cent of software developers.
Apple has since changed Siri's answer. By then, the image of the digital assistant who puts up with anything had already travelled the world.
What does AI think a CEO looks like?
A white man in a suit. In 2023 Bloomberg asked the image generator Stable Diffusion to draw more than 5,000 people in various professions. For every woman there were almost three men, and in every well-paid profession, from judge to CEO, light-skinned men were in the majority.
Researchers at Hugging Face found something similar with DALL-E 2: 97 per cent of the images for roles such as CEO or director showed white men.
Try it yourself. Ask an image generator for a CEO, then for a nurse, and see who turns up for which job.
Does AI recognise women as well as men?
Not always. In the 2018 study Gender Shades, Joy Buolamwini and Timnit Gebru tested three commercial facial analysis systems.
For women with darker skin, the error rate was as high as 34.7 per cent. For men with lighter skin it was 0.8 per cent at most.
A system that almost always gets one group right and gets another wrong a third of the time is not what most people would call neutral.
Is any of this still relevant?
Partly. Some of these studies are a few years old and companies have adjusted their systems since. That's good news, and it happened mostly because someone measured the problem and wrote about it.
The underlying problem doesn't solve itself. As long as AI learns from a world that's skewed, someone has to keep an eye on it. How skewed that world still is in tech, I looked at in How many women work in tech and marketing?
What can you do as a marketer?
Look, ask and correct. A few things that help:
Look at every AI image before it goes out into the world: who's in the middle, who's helping and who's in charge?
Describe in your prompt exactly who you want to see, rather than leaving it to the model.
Check AI copy for stereotypes, such as the director who is always he and the assistant who is always she.
A hammer has no opinion
AI is a tool. A hammer has no opinion either, yet people manage to hit their thumb with one all the time. Anyone who works with AI is responsible for what comes out of it.
Frequently asked questions
Is AI sexist?
AI has no opinion of its own, but it learns from data that contains inequality. As a result it can adopt stereotypes, such as a CEO who is almost always shown as a man.
Why do voice assistants have a female voice?
Companies chose it as the default. According to UNESCO, this reinforced the image of women as helpful assistants, in a sector where only 12 per cent of AI researchers were women at the time.
How do you avoid sexism in AI images?
Describe in your prompt exactly who you want to see, and look at every image before you use it: who's in the middle, who's helping and who's in charge?


Comments