Three lessons from our AI projects
Over two years, we supported dozens of AI projects, from initial exploration to a model that runs every night. Some went exactly as planned; others…
The examples above have the same underlying cause. The algorithms’ training data is not representative of the population as a whole, with serious and sometimes even dangerous consequences in these cases.
Gender bias can also occur in machine learning models, including self-learning algorithms that you might expect to be neutral. If the data fed into an algorithm already contains bias, that bias may not only be reflected in the model’s output; it may even be amplified. Below, we highlight several data science and/or AI techniques and methods where this occurs.
Image recognition models can learn from images without requiring specific prior knowledge.
Image recognition software, including software used by major providers, clearly shows stereotypes. Images of shopping and washing are associated with women; sports coaching and shooting with men. The software is also more likely to label men standing in kitchens as women. In addition, tools such as Google Cloud Vision assign markedly different labels to images of men and images of women.
Images of women are much more often labelled according to their appearance, while images of men are labelled according to professional characteristics. This is also shown in the image. Women are also less likely to be recognised in images than men.
Voice AI, or speech recognition, is being used increasingly often. Google has its own widely used model for this. Google has stated that its speech recognition is 95% accurate. However, that accuracy is not the same for every group. The tool is 13% more accurate for men than for women. It also works better for some dialects and accents than for others[5].
Assessing how well speech recognition works for each group would make it possible to introduce targeted improvements. This also starts with the data fed into the system: involving a diverse group gives a clearer picture of its accuracy.
Gender bias can also occur in Natural Language Processing. One example is the use of word embeddings [7]. Word embeddings are trained on how often words occur together in text corpora. In one such model, trained on Google News data, the distance between the words ‘nurse’ and ‘woman’ is much smaller than the distance between ‘nurse’ and ‘man’. This indicates gender bias.
There are so-called ‘debias’ methods for machine learning models that reduce bias. For example, the word ‘nurse’ from the previous example can be moved closer to the midpoint between ‘man’ and ‘woman’. It is also often possible to reduce the amplification of bias caused by some machine learning models. Still, prevention is better than cure here: the cause is already present in the data fed into the algorithm. What’s more, these debias methods can only be applied once the person designing the algorithm has noticed the bias. Only when you, as a data scientist, are aware of the bias in the data can you do something about it.
Gender bias is not the only kind of bias found in such algorithms. Every algorithm is strongly influenced by the assumptions behind it, so gender bias is just one illustration of why the data fed into an algorithm matters.
Gender bias in data therefore plays a significant role and clearly has real-world consequences. But the first steps have been taken. Addressing the problem starts with acknowledging it. Awareness appears to be growing, and the issue is becoming more visible. The ‘person’ behind the algorithm is therefore crucial to its outcome. So, more women in data science would certainly be a good start!
ReferencesOver two years, we supported dozens of AI projects, from initial exploration to a model that runs every night. Some went exactly as planned; others…
Many organisations have now run an AI pilot. The model works, the demo gets applause, and then nothing else happens. In our experience, most projects…
Artificial Intelligence is developing rapidly. New models appear almost every week, and more and more organisations are experimenting with AI. At the…
Want to be the first to hear about a new blog post?
Thanks for signing up!