AI learns the world's bias, not just yours, and that is the hardest kind to fix
About 45% of ImageNet's images come from North America and just 1% from India, and automated systems have favored men in Amazon's hiring and Apple's credit card decisions. Nikita Tiwari, Sr. Solutions Architect for Enterprise AI at NVIDIA and a contributor to IEEE's AI Ethics and Bias standards groups, traces seven ways bias enters an AI system. What can a team that never chose the training data check before trusting a model?
See the fairness metrics and open source tools she uses to catch bias before a model ships
Nikita Tiwari, Sr. Solutions Architect for Enterprise AI at NVIDIA, walks through seven types of bias that enter AI systems during data generation, model building and deployment, illustrated with cases such as Amazon's hiring algorithm, ImageNet and COMPAS. She then explains fairness metrics and open source tools such as IBM's AI Fairness 360 and Google's What-If Tool, and argues that responsible AI principles and human oversight belong in every stage of the AI lifecycle.
“And that's where I would like to highlight the point like your training data is very important, but your inferencing data is equally important.”
“So you can identify bias and that's all that you need to do.”
What you will learn
Distinguish seven types of AI bias across the lifecycle: historical, representation, measurement, aggregation, learning, evaluation and deployment.
Apply fairness metrics such as group unaware, group threshold, demographic parity, equal opportunity and equal accuracy to a decision model.
Audit a foundational model or data set before use by checking its published training sources, guardrails and demographic composition.
Use open source tools such as IBM's AI Fairness 360 and Google's What-If Tool to detect bias and test mitigation algorithms.
Decide where to keep a human in the loop and how to weigh fairness against accuracy for a specific application.
Key takeaways from the speaker
Enabling ethical and equitable AI requires a comprehensive approach around people, processes, systems, data, and algorithms. Learn practical approaches to incorporate Responsible-AI principles with tools, frameworks, and industry case studies.
A background on the significance of Responsible-AI based on real-world examples and case studies of AI harm, AI accidents and AI in the news, justifying the need for this topic.
Learn about Bias Identification and mitigation formalized through industry-wide standards, European Union and multi-national government
Details
Level
Intermediate
Format
Tech talk
Technical depth
Introductory technical
For
Early career, Mid-career, Senior individual contributor
Length
55:27
Published
July 2025
Questions this talk answers
Which type of AI bias is the hardest to address?
Tiwari rates historical bias as the hardest because the algorithm learns from the wider world beyond the data you provide, while representation and measurement bias are more within your control. She warns that reasoning models make historical bias even more dangerous.
Who decides which data set is used to train an AI model?
It depends on the layer: teams using foundational models such as Llama should read the published training sources and guardrails, researchers should check data set composition, and enterprises should vet data from independent software vendors.
Do you need to be technical to identify bias in AI?
No. If you can see that a system favors a certain skin tone, gender or ethnicity, you have identified bias, and open source automated tools can handle much of the mitigation.
What should you do when fairness goals conflict with model accuracy?
Tiwari says it is application dependent: put mitigation techniques in place, test corner cases proactively with tools, then decide what matters most, as in her doorbell camera privacy example.
Is adding a human at the inference stage too late?
No. It is not the only safeguard but the last one, after checking data quality, evaluation sets, target population and bias mitigation tools during training.
About this talk
From autonomous driving to immersive shopping, and from enhanced video collaboration to graphic design, AI is placing a wealth of possibilities at our fingertips. However, AI comes with vulnerabilities which can result in costly mishaps. In this talk, we will explore risks related to bias in AI models. We’ll examine the different types of biases that can arise in defining, training, evaluating, and deploying AI models, and illustrate them with examples. We will then introduce practical techniques and tools for detecting and mitigating bias, outlining their capabilities and limitations. We will also touch on fairness metrics that can be useful when developing models.
How Amazon's hiring algorithm learned gender bias (52 s)
What ImageNet's makeup means for your model (73 s)
You don't need to be technical to spot bias (44 s)
Nikita Tiwari: I am Nikita Tiwari. First of all, welcome everyone who are on and people as you're trickling in. I am a part of Nvidia as a senior solutions architect focused on enterprise AI. And as part of my day to day job, I do work very extensively on designing solutions for our different enterprise customers and partners that is to do with AI and to get their AI production ready and enterprise ready for them.
Because as we know, one out of 10 pilots make it to production, nine often fail. So that's what Nvidia provides. And that's where like even integrating the responsible principles of AI becomes very critical in making sure that you are in it for a long run. So, okay. So that's a little bit about me outside of work. I do focus a lot on different organizations. My past career has been at Intel for the past 11 years and then Nvidia now. But as part of both of them, I have been at Intel.
I've been a part of the women in the network, the women in technology at Nvidia. My focus a lot on mentoring as a mentee as well as a mentor. And I have also been a part of the Society of Women Engineers and Women in Tech as of the past two, three years now. So very excited. Along with that, I work heavily with IEEE on their review boards and committees for conferences. But I'm also a part of the IEEE standards group for implementing different responsibilities.
responsible AI standards in ethics and bias in AI, so on and so forth. So that's where the liking for this particular topic comes in from. Okay. So we will spend the next 45 minutes, 30 minutes or so talking about the different biases in AI and how to identify them, how to mitigate them. And then I want to save a little bit of time for Q&A. And also like any thoughts you want to share at the end of it.
Okay, I see there is a question around bias surfaced in a project that you have worked on. So saw some of them and I will I have that example. I will share it as we as we move forward. Thank you for that question. Okay, so with that, I am a huge proponent of why I firmly believe in understanding why are we here and why do we even care about a certain topic. So I first start with what is responsible AI and why are we here? Why should we care about it? Then I will speak a little bit about how do you identify bias in the different cycles of the AI lifecycle, and leave you with some tools to mitigate along with some key takeaways around what's happening industry wide in this domain. So you know, like, where do you go from here?
So ethics, like I say, it's always a conversation. And that's where I have been encouraging you to share any thoughts that you have. It's not a one sided monologue. I want you to come in and share any of the situations like you asked me if I have seen any bias in my project. If you have any questions or examples or just don't know where to go, no solution, that's totally fine. We can totally bring the questions here. Okay. So with that, AI, let me just talk about AI.
Let me just talk about AI first and why it is important. The global landscape for AI is massive. It's a whopping almost $1.3 trillion industry and it is projected to increase by three times by 2030. So that is huge. That's a lot of money at stake. That's a lot of resources, a lot of jobs, a lot of our environment at stake. So that's, that's how massive AI is.
And many of you like anyone here, you heard about ChatGPT. Maybe I believe all of us, all of us have by now, all of us have by, I would say, two years back when ChatGPT came in, it was a defining moment for AI. People who were not familiar with AI, did not know AI from a technical perspective, started making it a part of their day-to-day lives. That was a pivotal moment. Like we had the iPhone moment, we had the ChatGPT moment that defined AI and made it a term of the household.
I have seen so many people now who wouldn't use AI so freely and so willingly are definitely using it more and more. So with that, generative AI made AI accessible and available for all users. But because it did not have a lot of background on what comes as part of the responsible use of AI, AI, there are a lot of reports of daily AI harm, there is a deep fake, there is a misuse of AI, how are you like interview prep and so on and so forth, like using ChatGPT or AI at the site to fake your presence, fraud detection, there is so much that is going on as part of the daily reports that we see.
And I have tried to capture some of these, both from a fake detection perspective and then also from a security perspective where you mean well, but then you're not training your autonomous driving car pretty well and that's where it goes through a lot of accidents and so on and so forth. But there is a link over there to go through like the more latest and greatest news that we have been seeing.
And then the last portion of it is, there are a lot of barriers in like you want to do good, you want to implement trustworthy, explainable AI, a white box model, you want to do the right thing, but there is lack of government flexibility, there is lack of deep expertise in AI, there is bias in data, because the data that your AI is as good as your data.
So whatever you're using for training may be biased to start with and then that leads to a bad algorithm and a bad output altogether. So these are some of the barriers that we see and because of that, you see a lot of costs that you pay in terms of the AI incidents and accidents like harm to human life in terms of an autonomous driving gone wrong, loss of trust.
There are so many fines and litigations, the cases in the court that you keep seeing different larger enterprises paying for because of some misconduct with AI. There is breach of privacy and if these things keep happening one time, two times, three times, you just lose trust as part of the whole process. So these are some of the calls that we pay for the AI accidents.
So because of that, it becomes very important for us to define and establish the principles for responsible AI. So what are these? Like some, some holy grails, some guiding lines, guidelines that you can go and refer to in terms of implementing these. And the first one is respect for human rights. There should be absolutely no tolerance for any violation against human rights.
Whatever your algorithm is doing should comply with those requirements. Equality and inclusion, your data is fully free of bias and discrimination against anyone. Transparency, what goes inside your model? What is coming outside of your model? Where is it coming from? How are you using it? You need to be able to answer these questions. And that is something both as a researcher, if you're working, if you're still studying and working on a project, you need to know that on what you're doing.
And both for an enterprise and an industry as well, like you are working with different partners, you're working with different independent software vendors. What are they using? That's also something that you are responsible to know so that you use that towards your end product. Human oversight, I've heard this more than enough that AI may take our jobs and it may replace all of us.
But some things that come out of a human oversight cannot be replaced by anything else. So that's also very key to make sure that there is that positive impact. And since I've spoken that, I will also share on a side topic that AI may not take your job, but people and enterprises using AI definitely will. So we need to make sure that we are using AI and making it a part of our lives and our work life in some form or the other.
Next one is privacy. Where is your data coming from? Do you have the right consent to use that data? How long are you saving that data? Now, where are you saving it? All of these questions are the people providing you the data aware of these things. And lastly, security and safety, making sure everything is from an end-to-end AI safety perspective.
And then sustainability, the best anecdote that I'd like to give is the amount of energy that is utilized to train a simple large language model is enough to power 25 small households in the US. So that is massive. And I've heard scenarios where they say, like, saying a thank you or please or some extra words to be polite to your large language model, like chat GPT, for example, makes it use a lot of power to process and compute those words.
And that leads to a lot of wastage of power. So that means that you're going to have a lot of ways that you're going to have to do that. So that means that you're using it sparingly, that's pretty key over here. OK, so these are the principles of responsible AI. Now let's jump into the bias portion. So in terms of bias, there are two segments in your AI lifecycle.
One is a data generation phase and the next is the model building and implementation phase. So in the data generation phase, there are three kinds of biases that can happen. One is and this is all related to the data that you're putting into your system. So how can your data be biased? One is historical bias. So this happens because of preconceived notion, like even if you train your algorithm on certain data, it will implement during inferencing and then it just learns from the surrounding and the environment on its own based on the kind of data it sees.
So preconceived notions like if it is trained to identify people suitable for a certain occupation, say if it's a nurse, it may prefer more women for those occupations because it sees a lot of women being a part of that particular occupation. And a good example for this is the Amazon hiring algorithm that was implemented back in 2017, 2018 timeline.
And the algorithm was supposed to auto screen the resumes and it started giving priority to male candidates because it started seeing a lot of resumes from male candidates and also resumes for the particular occupation. And I hate to say this for engineering. It was more suited for male candidates because it saw more applications and then automatically started rejecting the female candidates because of that historical bias that maybe this segment of people are not fit for this occupation.
And the reverse example that I have for this is the Google Gemini AI image generation. And it is improved now. But when it first came out in February of 2024, around that time, it was actually taken down within a few days. It was overfitted or overtrained to generate images that are more inclusive and taking care of all of the different skin tones or different age groups, different ethnicity.
So, if you ask a random question, generate an image of a person sitting at the beach. It's trained to take care of generating not just a white person, not just a male, but taking care of generating maybe someone of a different skin tone or someone of a different gender. But now, if you ask specifically, oh, give me an image of a white male sitting at the beach.
It should essentially generate the same thing for you based on the prompt. But in that situation, also, it was overfitting and giving you a different ethnicity and gender and different options. So, that's also an example of compromising or way too much looking into these biases. So, you need to have it just enough. The next one is representation bias.
So, over here, you have trained your algorithm on a certain data and that data does not match with what your target population or your user population is going to be. So, for example, you all of us have used ImageNet data set at some point in their lives. It was very common before. It's even common now. But did you know, like most of us don't know, that around 45% of the images in that data set are from people in America, North America.
And rest of it, most of the remaining portion is from Western Europe and so on. And with only 1% and 2% of the data set belongs to people from India and China, respectively. So, this is what you trained your algorithm on. And now, say, at the time of inferencing, all of your user population is from India and China.
It's not going to perform well. So, you need to make sure that sometimes adding the correct representation is also important. So, if your data set, for example, or if your user population is going to be precisely from India and China in that situation, or maybe it's only from America, in that situation, it is important for you to train your data set on those images.
And there is another, like, once when I did this, I got a follow-up question of, like, uniform versus proportional. Like, for example, if you were to train it for, if your user population was from US and India, these were the two countries. Now, the population of India is almost three times that of the US. The land size of US is almost three times that of India.
So, in this situation, do you still make it 50-50 because now India has a lot more population? Or do you make it more proportional? Like, because there are three times, maybe have a little more images from them, a little few images from them and more from the US because the population is limited. So, that's something that you need to discuss and brainstorm in terms of applying it.
Next one is measurement bias. So, this happens when your proxy variables are oversimplified. Like, you just, that is more of an underfitting scenario instead of overfitting. So, the example for this I have is Compass, which is a correctional offender management profiling for alternative sanctions. And what it really means is it's an algorithm that is used to assess the crime-to-arrest ratio.
So, it will check, based on the crime-to-arrest ratio, how likely is a criminal to perform the crime again? What is the likelihood of the re-offense of the crime? So, if the person under supervision or under inspection happens to be a part of a group which has been committing crime very often, it's likely that the algorithm will raid this new person also to be likely to commit an offense, even though that person may be clean, that person may be that one out of 100 who's not to commit an offense, but because that person is a part of this group, the likelihood is for him or her to commit the offense again.
So, this is like oversimplifying the scenario and generalizing in terms of what you are seeing. Okay, so I see a question over here. You mentioned historical representation and measurement bias. Which of these do you think is the most difficult to address in real-world AI systems and why? Historical representation and measurement bias. Yes, so for representation, I did give you the trick about going uniform versus proportional.
So, there are scenarios where you can pick and choose and make sure that you have the control over your data. Historical bias is a little difficult in the sense that the algorithm learns a lot from outside of what your data is already provided. And you have seen like classic real-world examples from these big companies not being able to do it.
So, I would say I would rate that to be the most difficult one. But now with more awareness, a lot of our data being used and data just multiplies very quickly. So, we have a lot of data which is taking care of not using the historical bias or overcoming it. So, it's getting a little simpler, but I would say that's the most difficult one.
And then measurement bias also is in your control to not oversimplify it. The solution will be complex, but at least things are in your control for both of them. Historical, it's more in the surrounding. One additional angle or aspect I will add is because of agentic AI. I don't know how many of you are familiar. We spoke about ChatGPT.
That's more around generative AI. But agentic AI, if you have seen DeepSeq, it has that DeepSeq R1 model. R stands for reasoning. In that scenario, the model reasons with you, reasons with the data, and then gives you an answer. And in that situation, it's very common for it to use its own mind to be able to make decisions for you.
And that's where this historical bias can get even more dangerous. And that's not just in your hands. It's in all of our hands to make sure that our data that exists out there is a little free of bias. And a fun question. Do any of you know over here what's our different generative AI models, agentic AI models, like ChatGPT, DeepSeq, all of these?
What is the training data for it? Where is it trained from? Anyone? You can put it in the chat. I can see that. Any guesses? Like where does all the training come from? We are not sitting and training and providing the data set as we traditionally do. Internet is a good answer. Can you get more specific where on the Internet?
It is on the Internet. We are not going to sit and provide tons and tons of data to those algorithms. So in the interest of time, I'll go. Wikipedia. But most often you laugh at me when I say you say this to you. But most of the training data for these models come from the social media, specifically from Facebook and Reddit.
Reddit number one and then Facebook to some extent. Because on Reddit, we ask several questions. And that's the same thing that we ask ChatGPT or any other model. So it looks at the questions and the different responses and trains itself based on that data. Because it's impossible for us to train it on every each and every question.
And if you look at the comments section, I don't even want to get started on like out of the thousand comments, maybe 10 have useful information and then some have not so useful or maybe incorrect information. So it's important for us to maintain those guardrails to be able to filter the correct information from the wrong, to be able to filter sensitive data where if it asks for something which is not relevant over here, it will filter that particular data and say like I'm not equipped to answer these kind of questions.
So just a side note that this is where the training comes from, so it is very important for us to do the legwork to ensure that we have the back-end implemented. Okay, the next piece is the data generation was one part and the next part is the model building and implementation phase. And we have four kinds of biases over here.
The first one is aggregation bias. This is during the model building phase. So this one happens when you take data from different sources and combine it for a particular scenario. So what happens over here, for example, you are building a model to predict the housing prices. And now you have trained the model based off of the data from different cities, different states, and just mixed all of them together.
And you have not taken into consideration the cost of living, the economic situations, the supply versus demand. Everything is different for different cities. So you cannot really have the same model predict housing prices for California and the same one predicted for, say, for example, Michigan, nothing against both the states have lived in Michigan. So you cannot really have the same model do that.
And you cannot really just mix the two data and generate that model. So this is aggregation. This is oversimplifying it. You need to make sure that you are treating or putting different weights and attributes to each of these different sources. The next one is learning bias. So over here, it happens when you are prioritizing one aspect and then getting out of the other aspect.
Like you're prioritizing privacy and compactness. And in return, you are compromising on accuracy, for example. So I had another example, but then I got a better example a few days back was I heard something where you have a person detection, the ring doorbell, for example, or any other doorbell. And you are detecting the person who's coming at your door.
As soon as the doorbell rings, it records you. Now, from a privacy perspective, you decided to blur the face of the person. So you are not just recording someone without their consent, but that person happened to be a burglar. And now you don't have and you went for privacy, but now you're compromising on accuracy where you don't know what the person looks like and that cost you big time.
So this is a very simplified scenario and people may have different opinions about what should and should not be done. But situations like these go from a learning bias perspective. The next one is evaluation bias. So over here, what happens, this is more of the implementation stage than the building stage. So every model that you train, you have some benchmarking data, some level set that the model has to perform against.
Now, if your benchmarking data does not represent what your output of the model is, for example, you are developing a language translation model. And every time you've trained it on certain data set, training is one like you always have like that ratio of 80-20, whatever your data set is. You use 80% for training and 20% for inferencing.
Inferencing is when you actually ask the model to perform based on your questions. So you are training a language translation model and all the inferencing data or all the evaluation for that model is done primarily on European languages. And now when you deploy it in the real world, all the questions are coming. It's a global language translator.
So it's not just European. It's based on different languages that it will be asked questions against. And it's not going to perform that well because all of your evaluation was based on European languages. So that's where evaluation bias comes in. And that's where I would like to highlight the point like your training data is very important, but your inferencing data is equally important.
So make sure that whatever you are inferencing your model against needs to take care of the different variety, not just training. Because that's also a stage where you look at certain problems. And with agentic AI, there is a huge focus on inferencing to save cost on training because training is the most important and expensive process of your AI lifecycle.
So there's focusing more on inferencing last one is a deployment bias. So what happens over here, this is because of the off the label usage of model. Like, for example, we just spoke about compass for predicting the future crime possibility based on the past that you have seen. Now, this particular model, if you are using some different model, which is used to determine the length of the sentence, you're using the same model for this because the way AI models work, it's a lot of math and some coding.
You have to use something as a starting point as a which is called foundational model. And then you build on top of it. And there are several scenarios where you can use like a character recognition, like an optical character recognition OCR for license plate detection, using it for different scenarios or different applications, but using something to detect the length of the sentence to something for a crime detection model, it's not going to work.
And this is a very drastic scenario, but there are very close by scenarios which are still which still need to be scrutinized before using the model. So that's that's an example of deployment bias. OK, we have a question. Who's responsible for deciding which data set gets used to trade AI? So there are several layers to it. I just said about foundational models, like, for example, when you chat GPT was their own, but many times you develop your own chat bot and you need like several different models as part of it.
One is like embedding model to convert your data into vector data because you enter words, but what your system understands is numbers. So you have an embedding model over there. You have a large language model, which will actually do the talking for you, like the question of framing the sentences and all of those. So for large language model, for example, you may just use like a foundational model that's out there, open source, like a Lama.
There is 5.3, which is a small language model. There is Mistral. There are several models that are available. You could just use it as is and then fine tune and refine for your application over there. Because the data set was already trained, Lama has already done that. Try to take a look of like what have they published as part every every model, which is open source, publishes their privacy and responsibility and principles.
Take a look at where the model was trained from. Like I told you some most of it is trained from Reddit and Facebook, for example. Then take a look at what kind of guardrails have they put in place. What are they doing to make sure like things are not going wrong or it's able to filter unwanted information?
Take a look at that because you're using a foundational model. You're not building from scratch. If you are a student researching in a university, there are many situations where you will do this process from scratch. In that situation, you may not be generating each and every data set and labeling it, but you will use something like an image net.
So if for like a person detection algorithm, you used image net data set, take a look at what the background of the data set is. Like I told you, it's 45 percent, like it's only one and two percent for certain ethnicity and then 45 and 40 percent for two bigger groups. Maybe don't use that. Maybe try to go for something which is a little more comprehensive or combined two data sets.
So that's your opportunity to make that choice. Enterprises or companies are the ones that are implementing it. That's the third use case. They get a lot of data sets from these independent software vendors who will generate that specific data set for them. Many times they cannot use public data set for productization. They will make sure that they have those requirements given to the ISVs and vetting out like where is it coming from.
So these are like a long answer to your question, but these are some scenarios where you can make sure that whoever the deciding person is can take a look at it. It's not always that you'll have control if you're using which is not from scratch, but you can always go and read and pick and choose between your options.
Okay, so we'll keep moving. That was how do you identify bias and where is the bias happening between the data generation, model building, implementation phase. Now let's go more into the solutions based on how to mitigate this bias. That was a very good question that Hima posed, which is also a way to mitigate or at least to do your due diligence before picking a data set.
Next one is to use actual tools. So before I go into like a few tools that you can use to mitigate bias, let me talk a little bit about fairness metrics because a lot of these tools use the fairness metrics as their foundation to be able to mitigate bias. And fairness metrics is nothing but it enables you to, is a set of measure that enables you to detect if there is bias present and it can do it in several ways.
There are like hundreds and thousands of fairness metrics available and a good rule of thumb is to have at least like 20 to 30 fairness metrics as part of your bias mitigation tool. And a bias mitigation tool can be heavily automated. You can just use it. You can build something from scratch if you want specific fairness metrics tool, but the most common usage would be to just take an off the shelf tool and use it for your scenario.
So some of the fairness metrics over here, I have just listed what like five of them. And the reason for these are like, these are very comprehensive and cover a lot of common scenarios, but there are a lot more and most commonly used ones. So first one is a group unaware and for the sake of explaining these to you, I will use the example of say a credit card application scenario where you're applying for a credit card and it will look at your credit history score background.
And then based on that, it will decide to give you the credit card or not approve your application or not. So the first kind of fairness metrics is group unaware. So there was this Apple had a credit card application algorithm. They had automated it. I forgot what year it was, but around 2020 or somewhere around that time.
So what happened over there that it started looking at the applications. And again, like the resumes, a majority of the applications came from men and the income group was a little distributed in the sense that the men applying for the card had more income than the women applying in that scenario. So the algorithm automatically started associating stable income, higher income, more probability of approval to those male candidates and started not treating unfairly the women applicants.
So in this group aware scenario, if you see that if there is a label, so if instead of having the application with the name or with the gender, if it was just not labeled, just applicant one, this particular salary, this particular background, this particular credit score, applicant two, there would have been a scenario where the algorithm wouldn't have put two and two together and not associated a male candidate with a stable income and just looked at everyone from a holistic perspective.
So that's the example of group unaware. And it is very similar for the ones who have done deep learning, training and labeling. It's very similar to the unsupervised learning where you don't label your data. You just leave it all in the open for the algorithm to use machine learning and deep learning to get the correlation. So this is good.
This will give you better results, but it is very complicated to be able to do it without any supervision, without any labeling. So it's a little computationally heavy as well as difficult to achieve. Next one is group threshold. It is an alternate process to group unaware. So over a year, what happens is, suppose you know that this particular group is going to be suffering from some compromise in the sense like it will prioritize the male candidate.
So every group has to meet a certain threshold level to be able to satisfy as a yes or no. So in this scenario, maybe you increase the threshold for the for a particular group, which is more favored and reduce the threshold for the particular group, which is unfavored. So it is in a sense like just moving the finish line and bringing the finish line closer to the group that you feel is going to suffer from some bias over here.
So that's that's one example. The next one is demographic parity. So whatever amount of data set that you are using for a particular group, you want to make sure that there are at least that many positive predictions from that group. So if, say, for the for the male candidates, if there was so much data that you use and for the female candidates, there was a little bit of a less data that you got as input.
Make sure you're at least getting that much output out of it. Next one is equal opportunity. So this is very different from the previous ones that we said over here, you look at your ground truth label. For example, you remember you looked at a particular application and you approved it and that applicant belonged to this particular group.
You also look at how positive was your prediction like you applied that person applied, say, for a loan and then ended up paying it. So it was a true positive. So you made the right decision. So that particular group gets one positive point as part of it. So that's equal opportunity. You're not just looking blindly, but you're looking at the results that came out of that group and then putting like a positive point towards that group.
Next one is equal accuracy, which goes hand in hand, where you don't just look for true positives, where you you approve the loan and the person ended up paying the loan on time. But you also look at the false positive, but you also look at the false positive, where you approve the loan, but the but that particular group did not end up paying the loan on time.
So look at both the aspects. And I feel the equal accuracy is a little more holistic and comprehensive because now you're looking at both sides. It could even apply to the compass model that we looked at before the example that we looked at. You look at the true positives for the crime to arrest ratio that that group committed crime, but also look at the false positive that these many people did not commit the crime, even if they belong to that group.
So I personally feel like this is a little bit easy compared to group unaware to achieve, and it also gives you more holistic responses. And like I would say equal accuracy would be a good one. A group threshold is also a good one. It would be like a counter bias to favor a particular group. But if you are aware that that's going to suffer, you may want to adjust.
But that that would be my summary. But these are fairness metrics, and these are some of the tools I do have. I am not sure if the slides will be shared, but feel free to take pictures. If you need the slides, just reach me on LinkedIn. And I have like a backup deck where I have at least like 20 or so tools that you could use.
Some of them are less up to date, but I have just shared like examples from different timelines. But that's something that you could take a look at. But over here, some of the tools. Now, I do get a question or someone might say like, okay, I'm not technical enough to go and understand if there is bias in a situation or I don't get that opportunity in my job.
But I would just say like if you are someone who can identify or detect that maybe a certain scenario is preferring a person of a certain skin tone. Maybe a certain scenario is giving advantage to a person of a certain gender or ethnicity. You are able to identify bias. You can say, yes, this is not something that should be happening for a model.
This is not an expected outcome. So you can identify bias and that's all that you need to do. The next question would be like, I may not be getting opportunity in my work to be able to do this or to be able to influence this. Or I think it is very technical for me to be able to go and put in tools to mitigate bias and so on and so forth.
But because of that, we have several open source, heavily automated tools that are available out there, which you can just use off the shelf. Some very common ones are listed here. But then there are a lot more that you could just start experimenting with. And then based on your requirements, both for research, both for industry, you can go and modify them as needed.
But the very common tool when it first came out, this was very popular. This is called the what if tool developed by Google. So what it does is it generates a lot of hypothetical what if scenarios. Like if you're using this kind of data, what if you use this, this is going to happen. So because of these hypothetical scenarios, you are able to proactively mitigate bias or even identify bias in certain situations.
And it uses five fairness metrics are not that great in terms of how much should be on there. But this second one is is my personal favorite and something for any beginner to start with. It's very, very easy. I do have the link in the footnotes, actually. But yeah, I will I should have a link in the backup table as well.
So I'll flash that once on the screen for you to be able to take a picture. But the AI Fairness 360 from IBM, it has 70 plus fairness metrics. So you can see how robust it will be. What it does is you can just put in your model as is in the tool and it will without any mitigation in place.
It will identify all the biases. It will tell you the protected and unprotected attributes that are a part of that model. And it will tell you, like, how is it performing against different bias metrics. And then you will have an option to put the mitigation in place. So let me explain with an example. So for this tool, if you use we go back to the compass example.
So you just put the compass model as is. And for folks who joined late, this compass model detects the crime to arrest ratio. For example, if if the new person in inspection belongs to a certain community where the crime ratio was a lot more, it's likely to predict that this person will commit offense, even though that person may have a clean record and may not.
And this was just the one time that it happened. But it will generalize it based on the previous models. So over here, previous history. So over here, if you look at the compass example, you put the model as is in the AI Fairness 360 tool. It will not put any mitigation in place, but access assess the model and give you the protected and unprotected attributes.
For example, race and gender would be the main attributes for this particular model. And it will tell you, like, how does it perform against a different fairness matrix? And for this particular one, it performed poorly on four out of five biased matrices. It was pretty biased. And then after that, you have the option of looking at the results.
And then it will give you an option of the different ways of modifying it. For example, you could either just modify the weight or the parameters that you're using as part of it. Say, for example, like I said, you could weigh certain components or certain attributes a little more than the other and make it a little more fair.
Or there are like ready-made fairness metrics or tools, bias mitigation tool that you could then use one by one and see how the model performs once you put the bias mitigation tools in place. So it has like around 10 mitigation algorithms and 70 fairness metrics. So you could just go the easy route and modify the parameters or you could just put the mitigation algorithm one by one and see how it performs against each of them and look at the results.
So this is a little bit of a lengthy process, but does ensure that you have the opportunity to play around with it. And if you go to the website, I think it's AI fairness 360 dot com. If you just go to that, you will have like a whole tool where you just drop drop box options and you will just be able to drop down options and you will just be able to input the tool and then select different parameters and play with it.
So it's not very complicated, but it is just a type consuming. But yeah, that is that is a very good model for it. OK, so what is the next question? What if different fitness goals conflict like trying to make sure groups are treated equally, but also keeping the model accurate for everyone? How do you usually approach that trade off?
Yes. So that is very application dependent. Like I said, the ring doorbell camera. That camera is also meant to see like who is out. So you open the door or don't open the door or you could also you could always see things live. But in a recording perspective, you want to blur out the face. But it is also for someone who's intruding, someone who's a burglar, things like that.
So that scenario, you really want to make sure that you have a good balance of only like blurring faces for for someone in certain scenarios versus not in the other or inputting some faces ahead of time that these faces are pretty OK. They are background checked and you're OK with that. Things like that. If you see like a Amazon truck, a FedEx truck, UPS truck, then it's likely that someone getting off that truck is not going to be someone who's going to intrude harm.
So you can reduce that. So it's very scenario dependent where you'll have to, first of all, put these mitigation techniques in place and then see, look at the corner cases. And that's where these tools help, because whatever you're doing is proactive. It's not in the real world. So proactively, you have the option to fail and then fix it.
So it's it's unfortunately long winded answer. It's it's more of the process itself is more of a trial and error and doing things and getting the results. Second part to your question is, how do you decide which one to prioritize versus the other? In that scenario, it solely depends on your application and what is important to you.
Sometimes in that ring doorbell situation, I might just put up a board which says that smile, you are being recorded, you're on camera and just not compromise on on on the accuracy and just record everyone. So that's that's my solution to it. Someone may not want it. So you try to find some alternate options and first decide, like, what's what's important to you in that scenario.
And these could be something at a personal level, but these could be more at a productization level for an enterprise, for a corporation to make that decision. Okay. Okay, finally, we'll have like, I think 10 minutes, we should have 10 minutes for question. But key takeaways and resources. One, I would like to and him are really good questions.
So thank you. Keep keep them coming. Thanks for putting them. I'm very sure others have the same questions. So please don't hesitate to ask. Key takeaways over here is establish the responsible AI principles all the time in terms of decision making. And I told you the different stages, you can do it from using a foundational model, you don't have that much control.
So you at least go and read through where it came from. Everyone has to publish those, what data set they've used, where has it come from, and then even if they don't publish the intricate details of, like, what the data set enlist, maybe in ImageNet example, they may just say, like, okay, use ImageNet data set. You go and search on your own, like, what does ImageNet data set consist of?
Things like this. So establish these during your decision making. Sustainability, we spoke briefly about it. We spoke mostly about data, but sustainability is a very important factor, especially with so much, so much being trained. And I am from NVIDIA, so I know that there is so much training that goes around for different large language models. So just how can we do it in the most efficient manner?
Because there is a lot of goodness that comes out of it as well. Like, the results that it produces just automates tasks and then in turn reduces your consumption. So either way, it works well, but just making sure that we do our fair share of work. One of the examples is that if you are training a particular model, like, and yeah, I think there was one question around, have you experienced bias or scenarios in your work that you did?
So while there was an idea that we were working on, which we published later on. But this was more around, like, a sustainability meter where you're training certain algorithms. Why do you want to do it in peak times? If you are able to do it in off-peak hours, might as well do it that way. And then there was, like, a sustainability meter which showed you, like, do you want to save money?
Do you want to be – does sustainability matter to you? Does money matter to you? Or just, like, speed or performance matters to you? So in that scenario, if performance is key for you, then maybe you just do it at, like, running all the cores at the same time and just blowing the system up. If you want to just save money, maybe do it at off-peak hours where electricity is a little cheaper.
And if sustainability matters to you, then accordingly, you do it at a certain time. So these were some scenarios. There is also one situation, and I worked on the client AI side. So I was working on – back then, I was working on laptops and things like that. So some of you may be familiar with the wake-on approach.
Like, if you come close to your laptop, if the lid is open and it's on sleep mode. But – and most – many laptops have it these days. Many monitored secondary screens also have it these days. As soon as you arrive, approach close to your laptop, it detects the presence of a person and the system turns on.
And you can enter your password and get in. Or if you don't have a password, it just turns the system on for you, which is a very, very handy feature. But there were certain scenarios where it could not detect people of certain skin tone as part of this. So that's where the bias came into place. And we were able to do a better job of training the system to identify people from different skin tones.
So that was one scenario where I have looked at it very closely. Both of those scenarios, actually. Both from a sustainability as well as a bias perspective. There was one more around – so we used to use mannequins to train certain algorithms because just have a person sitting or training, it's very difficult or even inferencing. So we just used mannequins that rotated heads and that was the one that was used to detect a person.
Same for the wake-on approach. And designing a mannequin in such a way that it takes care of different diversity of people. So having more than one was something that we made a change as well to be able to achieve that wake-on approach scenario. Okay. Adopt the human-centric approach. We do have – there was something called reinforcement learning where – Okay, no, I think.
Okay, I was thinking. I thought there was a question. Okay, there was something called reinforcement learning where you train your model. And then when you inference and ask questions based on it giving correct answers or not, there was more of a human involvement where the human would see, like, oh, the model gave a wrong answer and then go back and give feedback in backward propagation and give that feedback to the model.
Like, you gave the wrong answer and now go back and learn. So that was called reinforcement learning. With agentic AI, we call something called as a data flywheel where the AI just learns from the data out there and sees, like, how is the response perceived and how is the model performing based on the response and then just self-trains itself.
So there is a little bit of a less possibility now to have that human-centric approach. But wherever possible in your stage of product development, make sure that you have that positively integrated. I told you about a lot of, excuse me, a lot of tools that are available out there. Check them out. Use them. Make it a part of your organization.
Most of the organizations these days do have, like, a responsible AI group or center of excellence or some. It's very difficult to implement those. But most of them do have those bodies as part of their organization. So get yourself familiar with what's out there in your organization. Even check, like, is it even there? How do we vet it?
And this is what we can do. And trust me, I started this as part of IEEE and then slowly started integrating this into my organization and checking out, like, what's available out there. So this was not something that was a part of my day job to start with. I just enjoyed this topic a lot because I worked very closely on AI that I started researching on it.
But then I started understanding, yeah, there is a full group that's focused on this topic. And I started integrating with them outside of my day job to give that input. So you can always do that, too. Keep yourself up to date. There are different laws, executive orders that go out in this domain. So keep yourself up to date on what's happening out there.
There are certifications. You don't need to just certify yourself for everything. You can take the knowledge. But standards, legislatures, there are a lot that you can use to refer. So how do you determine when to keep the human in the loop and where in the loop? So where in the loop, meaning one, the ones that I said, like understanding where the data came from, you don't need to automate that process.
All of the research that I told you behind the foundational model and is the ISV, is the model following the responsible AI principles. If you cannot automate that process and use a human in the loop, that's good. There is reinforcement learning. If you go through the entire data cycle, life cycle for training and inferencing, there was always a human in the loop for reinforcement learning.
Of course, data and possibilities these days are massive. So it's not possible to have that and we've replaced it by data flywheel to automate it. But just having that positive impact to understand your model is performing well against different sets of data, like, for example, using different skin tone for that we can approach. That is something that you can put a human in the loop.
And sometimes you can automate that part as well, like understanding that this kind of bias is happening. You need a human for that. But then how to make sure it doesn't happen all the time? You can automate that process, like it triggers the system. Curious to hear your thoughts with different countries having their own rules for ethical AI.
How can companies create fair systems that works everywhere without just doing it to check a box? There are several scenarios where it will be done to check a box, definitely. Like, oh, we follow these responsible AI principles. There are several scenarios where you work with different partners. They have not met their sustainability goal. And that's why the company that's the end user of it or the end producer of it is not meeting their sustainability goal.
That happens too. Sometimes money matters. Resources matters. And in times like these, it's very easy to just let go. This is the easiest thing to let go of and just go with whatever works. But on the flip side, if you said, every country has their own rules around ethical AI. At least they have it now. If you look at the different EU, European Union executive order, different that came from the U.S. presidency, White House last year, this year, years before that.
At least they are doing it. I don't think we saw so much coming out in the past years. So that is also a positive way of doing it. There is a lot around sustainable use of AI, ethical use of AI, data privacy. There is a lot around making sure that AI is more accessible to people. So it's out there.
Of course, that will also pose a problem in terms of someone has a different standard. But that's something we have to mitigate on a case-by-case basis. There will be the scenario where they're just checking a box. But I am just glad that we are even talking about this. Previously, we would not even talk about this. And these are coming.
And then in the years to come, I feel there will be a lot more positive that will grow out of this. Wouldn't it be too late to put the human in the reinforcement training? No. Like we have done that during the training process as well. And then the inferencing is when you actually understand. Because you have, this is putting human in the reinforcement loop is not the only thing that you are doing.
That is just the last thing that you are doing. So as part of your entire training process, you've already taken care of things. You have made sure your data is good. You have made sure that your evaluation material is good. You have made sure that you are taking care of the target population. You have also put bias mitigation tools in place proactively.
Now, when you implement your algorithm, this is one extra step that you can do. To make sure that you identify, okay, you thought everything theoretically, but then what's actually happening in the real world. So it's not too late. And it's not the only thing that you're doing. It's just the last thing that you're doing. Okay. This is more of the resources, different trainings, different executive orders that you could take a look at on what has been happening.
Different certifications. IEEE has a really good standards organization where we participate. We come together. We take a look at different standards that are in place and modify it. And there are people from different law firms. There are people from different universities, from different industries using AI. So there is a mix of population over there and we vote on the standards that become widely accepted as well as published.
So these are various ways of doing it. There is like a nice case study from IEEE that they applied the AI ethic to the city of Vienna. So take a look for their chatbot that they were using. And some resources around different stats and things that are used in this presentation, as well as some things that you could go back and read on your own.
And I just wanted to quickly flash the backup. Yeah, this is the Google AI gem. Yeah. This is some of the fairness metrics libraries. If you want to take a screenshot of it, these are available. Actually, the links are embedded. But even if you have the name, I think you can just Google and find that. But if you need this, please feel free to just ping me on LinkedIn or my email is also there.
You can just let me know if you need this. OK, that's that. And I will just leave my email and LinkedIn up so you can take a note if you need the slides, if you need the backup slide. Awesome. We have five more minutes and I'm glad that you had questions in between so we could just keep going.
But if you have any more questions or Daria, thank you so much for posting it over there. Anything else I can help you with and you may get questions as you keep thinking about it or if you are working on a project where you have some things that you want to brainstorm, please feel free to reach out to me.
This topic is very close to my heart. So I'm always available. Well, and if I am not the right person, I'll connect you to the right person. So feel free to reach out to me.
Transcribed automatically; names checked against the speaker record. Select a time to jump there.
Article based on this talk
Where does bias creep into AI, and how can teams catch it?
Nikita Tiwari of NVIDIA maps seven types of AI bias across the lifecycle and the fairness metrics and tools that help mitigate them.
In short
AI bias is not one failure but several, and each can enter at a different stage, from the data a model learns from to the way it is finally deployed. In this tech talk, Nikita Tiwari, Sr. Solutions Architect for Enterprise AI at NVIDIA, names seven types of bias, shows how fairness metrics and open source tools expose them, and argues that responsible AI principles and human oversight belong in every phase of the lifecycle.
Key takeaways
Enabling ethical and equitable AI requires a comprehensive approach around people, processes, systems, data and algorithms. Learn practical approaches to incorporate responsible AI principles with tools, frameworks and industry case studies.
Get a background on the significance of responsible AI based on real-world examples and case studies of AI harm, AI accidents and AI in the news, which justify the need for this topic.
Learn about bias identification and mitigation formalized through industry-wide standards and European Union and multinational government regulation.
Why responsible AI matters now
Tiwari frames ethics as a conversation and invites questions throughout. She sets the stakes with figures she cited: AI is close to a $1.3 trillion industry, projected to triple by 2030, and the ChatGPT moment made it a household term. Adoption outpaced awareness of responsible use, she notes, bringing deepfakes, fraud, autonomous driving accidents, fines, privacy breaches and lost trust.
Her response is a set of guiding principles: respect for human rights, equality and inclusion, transparency, human oversight, privacy and consent, security and safety, and sustainability. On sustainability, she cited that the energy used to train a simple large language model could power 25 small households in the US. On oversight, she adds an aside:
"And since I've spoken that, I will also share on a side topic that AI may not take your job, but people and enterprises using AI definitely will." (7:40)
Three biases that start in the data
Tiwari splits the lifecycle into a data generation phase and a model building and implementation phase. In the first she describes:
Historical bias, where models absorb preconceived notions, as with the Amazon resume screening algorithm of around 2017 to 2018 that came to favor male candidates for engineering roles.
Representation bias, where training data does not match the users; she cited that about 45% of ImageNet images come from North America, with only 1% and 2% from India and China.
Measurement bias, where proxies are oversimplified, as with the COMPAS reoffending tool judging individuals by their group.
Overcorrection fails too. She recalls that Google Gemini's image generator was taken down in February 2024 after returning varied ethnicities and genders even when a prompt asked for something specific.
Asked which bias is hardest, she names historical bias, which reasoning models can make more dangerous. She adds that much of the training data for large language models comes from Reddit and Facebook, which makes guardrails essential.
Four biases in building and deploying models
The second phase brings aggregation bias (mixing housing data from California and Michigan without accounting for local economics), learning bias (blurring faces on a doorbell camera for privacy, then failing to identify a burglar), evaluation bias (testing a global translation model only on European languages) and deployment bias (reusing a model for a purpose it was never built for).
"And that's where I would like to highlight the point like your training data is very important, but your inferencing data is equally important." (22:44)
When an attendee asks who decides which data set trains a model, she describes three situations: teams building on foundational models such as Llama or Mistral should read the published training sources and guardrails, researchers should check data set composition before using ImageNet, and enterprises should vet data supplied by independent software vendors.
Fairness metrics and tools anyone can use
To move from spotting bias to fixing it, Tiwari introduces fairness metrics, suggesting 20 to 30 as a rule of thumb for a mitigation tool. Using a credit card approval scenario and Apple's credit card algorithm case of around 2020, she explains group unaware, group threshold, demographic parity, equal opportunity and equal accuracy. She favors equal accuracy, which weighs both true and false positives.
"So I personally feel like this is a little bit easy compared to group unaware to achieve, and it also gives you more holistic responses." (33:59)
She stresses that deep technical skill is not a prerequisite: noticing that a system favors one skin tone or gender is already identifying bias. For hands-on work she points to Google's What-If Tool and her beginner favorite, IBM's AI Fairness 360, which she described as offering more than 70 fairness metrics and around 10 mitigation algorithms. On trading fairness against accuracy, her answer is that it depends on the application, and that testing early lets teams find problems before release.
"So proactively, you have the option to fail and then fix it." (41:14)
Keeping humans in the loop
Tiwari closes with examples from her client AI work on laptops, where presence detection that wakes a device initially failed for some skin tones and was improved through better training and more diverse mannequins. She urges viewers to keep a human-centric approach even as data flywheels automate feedback, to find their organization's responsible AI group, and to follow laws, executive orders and standards. She began this work through IEEE before bringing it into her job.
"So this was not something that was a part of my day job to start with." (48:28)
To an attendee who asked whether a human check at inference comes too late, she answers that it is one safeguard among many.
"And it's not the only thing that you're doing. It's just the last thing that you're doing." (52:53)
Watch the talk
"Identifying and Mitigating Bias in AI" by Nikita Tiwari (55 minutes): https://www.womentech.net/video/identifying-and-mitigating-bias-in-ai
About the speaker
Nikita Tiwari is a Sr. Solutions Architect for Enterprise AI at NVIDIA, where she helps enterprises deploy, manage and scale AI workloads, following more than 11 years at Intel in the client AI ecosystem. A first-generation college graduate with a Master's in Electrical and Computer Engineering from Portland State University, she serves on the boards of IEEE and the Society of Women Engineers and contributes to IEEE's AI Ethics and Bias standards groups.
Questions this talk answers
Which type of AI bias is the hardest to address?
Who decides which data set is used to train an AI model?
Do you need to be technical to identify bias in AI?
What should you do when fairness goals conflict with model accuracy?
Is adding a human at the inference stage too late?
Drafted with AI from the talk transcript. Editor review pending.
Frameworks and ideas mentioned
Responsible AI principles
Group unaware
Group threshold
Demographic parity
Equal opportunity
Equal accuracy
Human in the loop
Data flywheel
Reinforcement learning with human feedback
Resources mentioned
What-If Tool (Google)
AI Fairness 360 (IBM)
IEEE AI ethics and bias standards
IEEE case study on applying AI ethics to the City of Vienna chatbot
Speaker's backup slide deck listing about 20 bias tools (available on request via LinkedIn)
Cite this talk
Nikita Tiwari. "Identifying and Mitigating Bias in AI." WomenTech Network, 2025. https://www.womentech.net/video/identifying-and-mitigating-bias-in-ai