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 share the same cause. The algorithms’ training data is not representative of the population as a whole, and in these cases that has serious, sometimes even dangerous, consequences.
Gender bias can also occur in machine learning models, including self-learning algorithms that might be expected to be neutral. If bias is already present in the data fed into an algorithm, it may not only be reflected in the model’s output. It may even be amplified. Some of the techniques and methods within data science and/or AI where this occurs are highlighted below.
Image recognition models make it possible to learn from images without requiring specific knowledge.
Image recognition software, including software used by major providers, shows clear stereotypes. Images of shopping and doing laundry are linked to women; coaching sports and shooting are linked to men. Men in kitchens are also more often labelled as women by this software. In addition, when images of men and women are analysed, Google Cloud Vision, for example, assigns clearly different labels to each group.
Images of women are much more often labelled according to physical 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 an increasingly common method. Google has its own widely used model for this. Google itself has said that its speech recognition is 95% accurate. However, this accuracy is not the same for every group. For men, the tool is 13% more accurate than it is for women. It also works better for some dialects and accents than for others[5].
Examining how well speech recognition works for each group would make it possible to implement targeted improvements. This starts with the data fed into it: involving a diverse group gives a clearer picture of its accuracy.
Gender bias can also occur in Natural Language Processing, for example when using word embeddings [7]. Word embeddings are trained on the co-occurrence of words in text corpora. In one such model, trained on Google News data, the distance between the words ‘nurse’ and ‘woman’ is considerably smaller than the distance between ‘nurse’ and ‘man’. This indicates gender bias.
Machine learning models have so-called ‘debiasing’ methods that reduce bias. The word ‘nurse’ from the previous example, for instance, 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. Yet in this case, prevention is better than cure; the cause is already present in the data fed into the algorithm. Moreover, these debiasing methods can only be applied once the person designing the model 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 bias found in such algorithms. Every algorithm is strongly influenced by its underlying assumptions, 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 consequences in practice. But the first steps have been taken. Tackling the problem starts with recognising 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 is 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!