AI Still Has A Major Problem With Race and Gender
Tags: development, ai, equality, racism
Published: 2024-01-25 20:24:20

---
title: AI Still Has A Major Problem With Race and Gender
published: true
date: 2023-12-21 21:00:00 UTC
tags: Development,AI,equality,racism
canonical_url: https://barretblake.dev/2023/12/ai-still-has-a-major-problem-with-race-and-gender/?utm_source=rss&utm_medium=rss&utm_campaign=ai-still-has-a-major-problem-with-race-and-gender
---

AI has a serious problem. Ok, it’s got a lot of problems. It’s not a panacea that will solve all the issues that business, or the world, faces. Neither is it Skynet or the world ending evil super AI Tom Cruise goes off to battle. It has great potential for both good and ill, but it’s still a long way from either. And yes, I know what I’m going to point out in this post is nothing new. But I felt I needed to add to the voices calling out some of it’s greatest deficiencies. In this particular case, I’m talking about sexism and racism.

I was playing around with some AI image generators just trying some random prompts to see what came up. I tried several different generators: Bing Image Creator, Microsoft Designer, DALL-E, Pixlr, Deep AI, and a handful of others. As I tried the same prompts across each platform, some very disturbing trends were quickly obvious to me. And these trends were pretty much universal with two exceptions (one good and one bad) that I’ll get to later.

Let’s start with the following prompts:

- older software developer mentoring a young software developer just starting out on their career journey
- software development team working together in a team meeting
- software developers working on a code issue
- business team gathered together in conference room for a meeting with donuts
- business team gathered together in conference room for a meeting with boss drawing on a white board
- software developers

Here’s a sampling of the images that these prompts generated from across the various platforms.

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.44.50-older-software-developer-mentoring-a-young-software-developer-just-starting-out-on-their-career-journey.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.44.57-older-software-developer-mentoring-a-young-software-developer-just-starting-out-on-their-career-journey.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.45.32-software-development-team-working-together-in-a-team-meeting.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.45.39-software-development-team-working-together-in-a-team-meeting.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.46.14-software-developers-working-on-a-code-issue.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.46.20-software-developers-working-on-a-code-issue.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.46.47-business-team-gathered-together-in-conference-room-for-a-meeting-with-donuts.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.46.54-business-team-gathered-together-in-conference-room-for-a-meeting-with-donuts.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.47.33-business-team-gathered-together-in-conference-room-for-a-meeting-with-boss-drawing-on-a-white-board.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.47.39-business-team-gathered-together-in-conference-room-for-a-meeting-with-boss-drawing-on-a-white-board.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-1.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-3.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-5.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-7.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-11.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-13.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-15.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-18.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-20.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-22.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-24.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-27.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-29.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-30.jpeg)

Notice anything in particular? Yep, it’s something like 90% white males, most with beards. That’s bad. Egregiously so. Nothing in any of the prompts suggests a particular race or gender. And yet, there it is. Where are the women? Where are the people of color? There’s one or two here or there. But largely, they’re absent.

_Note: Let’s ignore the fact that the people in the images that DALL-E generates have really creepily distorted eyes that give them a Night of the Living Dead kind of vibe._

So, next I tried the following prompts:

- fast food worker handing a customer their order
- retail worker helping a customer
- waiter taking a customer’s order
- telemarketer calling a customer from a call center
- builders working on constructing a house
- fast food worker

It came back with these images:

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.48.06-fast-food-worker-handing-a-customer-their-order.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.48.12-fast-food-worker-handing-a-customer-their-order.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.48.39-retail-worker-helping-a-customer.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.48.45-retail-worker-helping-a-customer.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.49.52-waiter-taking-a-customers-order.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-10.50.22-waiter-taking-a-customers-order.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-11.09.49-builders-working-on-constructing-a-house.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-11.09.57-builders-working-on-constructing-a-house.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-11.10.25-fast-food-worker.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-11.10.30-fast-food-worker.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/DALL%C2%B7E-2023-12-21-11.10.32-fast-food-worker.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-32.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-33.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-34.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-36.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-37.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-38.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-39.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-40.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-42.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-46.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-47.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-50.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-52.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-54.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-55.jpeg)

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer-56.jpeg)

Oh, so there’s all the women and people of color. I guess AI assumes they’re only viable job opportunities are in low paying service jobs. That’s not right. AI is letting us down. Or rather, the people who are creating AI are letting us down. It needs to change. Software development, as an industry, needs to change.

## Exceptions

I mentioned earlier there two exceptions. First, the bad one. Deep AI generated images that were almost entire white male for all of the above prompts, not just the “white collar” ones. Of all the files generated, only 1 included someone who wasn’t white male.

![](https://barretblake.dev/wp-content/uploads/2023/12/0ab95638-1661-4521-bb33-6b17bf4a660a.jpg)

![](https://barretblake.dev/wp-content/uploads/2023/12/5d3def27-a14f-4482-9995-64d1a9904e1a.jpg)

![](https://barretblake.dev/wp-content/uploads/2023/12/18d5bb1d-2d50-4239-924b-d1a6ecc65414.jpg)

![](https://barretblake.dev/wp-content/uploads/2023/12/82d81f41-7b70-4368-b2f8-e91253a96890.jpg)

![](https://barretblake.dev/wp-content/uploads/2023/12/14611eab-3efd-4e3d-b51f-12182dd330d1.jpg)

![](https://barretblake.dev/wp-content/uploads/2023/12/6108980b-5f63-4111-86fd-0d9234e642b0.jpg)

![](https://barretblake.dev/wp-content/uploads/2023/12/a45a4c66-4f37-4cd3-9395-efd60a8780bd.jpg)

![](https://barretblake.dev/wp-content/uploads/2023/12/ad8fe888-4a80-4053-bff6-b0f3f7eec15a.jpg)

![](https://barretblake.dev/wp-content/uploads/2023/12/d2d0f56e-7767-4e3b-b4bc-6f5de35ab54d.jpg)

![](https://barretblake.dev/wp-content/uploads/2023/12/e1033393-6c1f-4573-9254-37201586fbea.jpg)

![](https://barretblake.dev/wp-content/uploads/2023/12/fba77632-68e8-41cb-9ca6-c7134e94ad78.jpg)

![](https://barretblake.dev/wp-content/uploads/2023/12/fd7caac4-f3fd-4250-bb78-9597cd1509be.jpg)

Then there was the example towards the positive end: Pixlr. The images generated by this site had a well balanced mix of both race and gender across all the prompts. And that was refreshing to see. Maybe it’s cultural. Most of the other sites are US/Western culture based development groups and Pixlr is based out of Singapore. Maybe that’s not it. But I think it’s got to be at least a contributing factor.

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-4b756166-5989-43ae-bcab-cae2ce5a3020.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-8ac69157-71b9-4a3e-8c8e-f415be9da5d7.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-16fdec97-a66b-432e-86f1-07e9dc25d654.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-50f66a92-0fba-4605-b99b-7d22a2609cc6.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-62feca99-45b0-46fa-8b3b-d17b13992c23.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-65bff511-07af-46b7-9fe6-44681a9f9a2c.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-319a3c40-6bdc-4847-b44c-6d01324ae98c.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-455d9d7d-cedb-4ee4-bc4f-eeec2d95e59e.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-790b2a2e-a93e-4de4-bc67-b71c6d3a9f08.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-129413fa-481e-4e19-841e-476d507fa5e0.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-b48ec20e-2a79-4b37-afde-5d62588bfa5d.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-b308ac9b-41a1-4fec-9027-56b12a0de7fa.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-b79669f6-0d19-44a8-af28-d7c0dd0f9142.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-c8e7338a-7ab5-4f60-b287-0aae1319acc7.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-fcf13f2b-43c7-4fd2-8a55-451d71d40afb.png)

![](https://barretblake.dev/wp-content/uploads/2023/12/pixlr-image-generator-fded26de-d8a4-4be4-8b44-0618f631e915.png)

## Mutants

AI has one other problem: Hands. It’s not good at counting hands. I was able to get Microsoft Designer to create an image with the following prompt:

- Two software developers, one of them black, one of them female

It made one of them black, and female. The other was still white male, with a beard. Go figure. But it also gave her one additional feature: three hands. At least, it might be her hand. Or, it could be that Thing has taken up software development. Who knows?

![](https://barretblake.dev/wp-content/uploads/2023/12/Designer.png)

## Conclusion

This isn’t a new problem. There are plenty of examples of this. From security image recognition software that can’t tell one black man from another to the X-Box Kinect that refused to recognize the existence of people of color at all, to a multitude of other examples where software developers have let down anyone who wasn’t mainstream white male, this problem has been going on for ages. It needs to stop. It needs to change. This is a solvable problem. It just needs for those in control to make it a priority.

We shouldn’t rely on or wait for government regulation to do it. It isn’t going to happen. Biden’s reaction to Mission Impossible aside, government is too corrupt and too much in the pocket of big business to ever step up to the plate. It’s going to take us, the lowly software developers, to step up and do what management and government won’t do: Make AI fair and equitable for all.

The post [AI Still Has A Major Problem With Race and Gender](https://barretblake.dev/2023/12/ai-still-has-a-major-problem-with-race-and-gender/) first appeared on [Barret Codes](https://barretblake.dev).