AI for Everyone - AI Bias

The AI for Everyone class was interesting, although I strongly disagree with one aspect.

When I was in junior high school, I remember a teacher telling us that there is dignity in all jobs. So long as you take care of yourself and your family and stay out of trouble, you should be able to do any job and get a sense of pride in yourself.

My disagreement with the AI class is the relationship:

Man:Computer Programmer as Woman:Housewife

This is a complex ratio and could be answered in different ways. There is the “potential” ratio. A man can potentially become a computer programmer, just as a woman can also become a computer programmer.

Then there is the one to many ratio. Many men become computer programmers, to the point where the occupation may be taken mostly by men. So what occupation is almost exclusively taken by women? Housewifes. So I would say that the bias in AI assumption is incorrect. It answered the way it did because of its lack of bias.

We, as humans, don’t have the innocence of AI and we are the ones answering in a biased way. I argue that as humans, we have so many deep subconscious biases, that our thought processes react accordingly without realizing it. So if we want Ai to answer in a different way, we would actually be injecting bias into Ai.

I wonder what Ai would say to the following ratio:

Man:Garbageman as Woman:???

Hi Edwin,

A lot of people are concerned about inherent biases in AI models. Its important to remember that AI models are largely trained on public content from the Internet. If that content it is trained on has a bias (which is very likely) then the model actually learns that bias during training.

A good example is this - what is the capital city of Australia? Some models will confidently tell you it is Sydney. That’s a reasonable answer for a probabalistic model trained on data from the Internet. Why? If you look at that source data, there are a lot of people who think that Sydney is the capital of Australia, just because it is so well-known. But it is not the captital, Canberra is. This could be considered an example of a learned bias. Because the data the model exposed to during its training led it to consider Syndey to be a more probable answer than Canberra.

Some biases might be somewhat harmless or even a little funny, like this example. But there are very real concerns about very real biases that have been trained into models.

There’s a lot of very active research into how to deal with inherent baises. There are techniques like guardrails and evaluations available today that can help significantly, but those are post-training “band aids”.

Thanks a lot for your meaningful comments and reflections!

Mark - DeepLearning.ai mentor

Your comment made me remember a drill sergeant I had in the Army. Knowing that I was from Puerto Rico, he would ask me what is the capital of Puerto Rico. I would say San Juan, but he would correct me to say it was New York. Of course the intent is to see if the trainee has patience and control. So you either take it as a joke, or you blow up. Either reaction can be detrimental, so you would just stay quiet with eyes forward. But the question plays into a bias. In the 1950s, we had the biggest migration of people going to New York. Nearly half a million Puertorricans went to the Big Apple. With time, many Neuyorricans started considering the islanders as hillbillies. So there has been a long challenge of who are the real puertorricans, the ones in NY or the ones on the island. That’s how a trainee in Army basic training can blow up. I guess the basic idea is that bias can be very complex. However, I see the drill sergeant’s “intent”, as a formative element of that bias. So when Ai expresses a bias, is it simply learned and repeated, or is there an intent behind it. A child can repeat words, without even knowing they are wrapped with the bias of the adult world (an I have a few stories about that also). As human, those types of behaviors are corrected with education and sometimes even shame. I guess information alone is not enough if we were to control bias in Ai. If bias is complex, its control is likely just as complex.

AI has no intention.
It learns from its training set.
If the training set contains bias, then the model will learn the same bias.

First of all, programmatically interjecting or fixing bias within the model defeats the core purpose of machine learning, which is to learn directly from data.
​Now, if you are testing a model on data that does not have the same structure or distribution as the dataset it was trained on, it might seem like bias. In reality, the model is simply trying to give the correct prediction based on its objective function, but it hasn’t been trained on that specific data structure.
​So in those cases, the output might look biased toward something, but as Tom said, the model has no intent. It is simply a case of improper training coverage, out-of-distribution data, or model drift.

I’ve been trying all along to say the same. That Ai has no intent of bias, so how can it be biased, when Ai simply repeats what it has learned, without knowing the difference. The info learned can be biased, but we are the judge of that, and our very own judgement and tolerance can vary wildly on what bias can be. For that reason, I’ve stressed the idea that bias is a very complex thing. There are many factors that can vary the concept of bias between one person and another. It´s hard to conceive a straight and narrow definition of what bias is. It happens sometimes that a friend or a person of authority cracks a joke about a certain bias (such as the drill sergeant). Maybe the friend knows you and has a high level of trust to be able to crack that joke, knowing that in the comedy of the moment, it may not offend. You value your friendship more than the risk of the joke. Maybe you feel obligated to tolerate the person of authority. However, if a strange person were to crack the same joke, we would be less forgiving. And it is so interesting how comedy and irony can be a way to inject bias in a conversation. Ai would basically need a textbook approach to prevent bias. But, even from that point of view we, as humans, challenge ourselves to judge the possible bias that drives the ideas around us. It’s like reading a book. I have the tendency to look up information on the author to see what his background and politics are, even if I am reading fiction. Even history has been rewritten in many ways with the filter of different bias. In that effect, we see no world without bias and, if there is no world without bias, then how could there ever be any Ai without bias?

As a discussion topic, this is very interesting.
As a practical issue, there is no answer.