Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Appropriate Proper Reasonable

Appropriate Proper Reasonable artwork

233: Bias in AI Decision-Making

Aug 1, 202623 minAudio
ShareXLinkedInFacebookWhatsAppEmail

An AI-generated episode based on a human-composed blog post: Bias in AI Decision-Making

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Transcript

From the show. Tap a time to play from there.

Imagine for a second, right, that you're sitting at your kitchen table, just staring at your laptop screen. We've all been there. Yeah, exactly. And you're waiting on a decision that could, you know, completely change the trajectory of your life. Like maybe you're applying for your absolute dream job. No, or trying to get a mortgage for your first home. Right. Or even waiting on a complex medical diagnosis. So you hit refresh, the screen loads, and the decision comes through. The moment of truth. But the entity that just made that final call, the one holding the keys

to your future, well, it isn't a human being. It's an artificial intelligence. Which is becoming the norm, really. It is. Yeah. And we are constantly told that these systems are incredibly highly accurate, right? That they process millions of data points in just a fraction of a second. Oh, absolutely. They're incredibly fast. But the real question you have to ask yourself in that moment, as you look at that approval or denial is, is it fair? Yeah, and that's a tough one. Because we tend to equate the word machine with

the word objective. Because it's just a machine. Right. A computer doesn't have emotions, so we just assume it can't be prejudiced. But... As we're increasingly finding out, that is a very dangerous assumption to make. Which is exactly why today's deep dive is so crucial. We're looking at this really fascinating piece of writing by Gary Ackerman from hackscience .education titled, Bias in AI Decision Making. It's a great read. It really is. And the goal today is to look under the hood. We want to figure out how machines

actually learn prejudice, how the mechanics of that work, and why fixing this issue is one of those critical challenges of our time. Definitely. OK, let's unpack this. Before we get into all the algorithms and lines of code, we really need to establish a baseline. We throw around words like bias and discrimination often in the exact same sense. Oh, constantly. They get used interchangeably all the time. Right. But the text makes a really clear distinction between the two, doesn't it? It does, yeah. And that distinction is basically the foundation for everything else we're going

to discuss today. So bias is essentially an inclination of temperament or outlook. Like an internal thing. Exactly. Think of it as an internal leaning. When we make bias decisions, our choices are consistently skewed in the same direction because of that internal, often completely unconscious leaning. OK, so that's bias. What about discrimination? Right. So discrimination is the external result of that leaning. It involves the actual prejudiced actions or the unequal treatment that arises

directly from the internal bias. OK, I think I've got it. So bias is the internal thought or perspective, like the lens you look through. Right, yeah. And discrimination is the physical action you take because of that lens. That tracks perfectly, yeah. And traditionally, humans have been the primary decision makers in all those high stakes areas you mentioned earlier. Yeah, hiring, the loans. Right. And humans are, well, notoriously biased. To say the least. Yeah. So the whole reason AI is now being utilized so heavily in these sectors is because it can perform

certain data -heavy tasks much more skillfully and reliably than humans. Supposed to be an upgrade. Exactly. It offers enhanced accuracy. But utilizing computers in a decision -making process does not magically wipe the slate clean. The machine is not born into the world free of sins, so to speak. Because, I mean, AI doesn't exist in a vacuum. It requires raw material to learn from. And that raw material is our history. So to understand the ghost in the machine, we really have to look at the ghosts of our own past. That's a great

way to put it. Long before artificial intelligence was even a concept, biased decision -making by humans was widespread and just deeply institutionalized. Oh, for sure. The source material points to a very significant historical example here, the practice of redlining by the Federal Housing Administration. Right, and for anyone unfamiliar with that era, redlining was a literal... physical practice. I mean, neighborhoods were graded and mapped out and areas with high minority populations were outlined in red ink. Literally drawn on a map. Exactly. And then the government and banks

discriminated against these specific neighborhoods based purely on race, just systematically denying them loans, mortgages and investment. And that wasn't just some fleeting prejudice either. It had severe long -term societal consequences that compounded over decades. Oh, generations. Yeah, it directly led to decreased housing prices in those areas, effectively choking off generational wealth for entire demographics of people. So that is a textbook example of how internal bias leads to external discrimination. Which then

leaves a permanent scar. Right. A mathematically measurable scar on our historical data. OK. But I'm looking at this from the perspective of someone building one of these algorithms today. When I think about a computer, I think about math. I think about processing data, ones and zeros. Sure. The logic of it. Right. It feels like it should be inherently objective. So if we feed it this historical data, even if the data itself is flawed, isn't the AI just acting like a mirror? How do you mean? Like, maybe it isn't actually creating the bias, but just passively reflecting

our historical flaws back at us. You know, it sees the world as it was, not as it should be. Well, if we connect this to the bigger picture, the situation is actually far more active than just a passive reflection. Wait, really? It's active. Yeah. The terrifying reality is that because AI is trained on that deeply flawed historical data, like the decades of wealth inequality caused by redlining, it doesn't just hold up a mirror. So what does it do? AI driven decisions can actually introduce and actively amplify prejudice against

race, gender, age or, you know, other traits. Wait, how does it amplify it? If it's just reading the historical data, shouldn't it just replicate the historical outcome? You'd think so, but no, because it takes a historical injustice, assumes that injustice is a natural mathematical law of the universe, and then applies it with a speed and scale that humans couldn't possibly match. Oh, wow. Yeah. So it looks at the depressed housing prices from redline neighborhoods and concludes, properties in this area are inherently bad investments. Oh, I see. It doesn't know about the racist policies

of the 1930s. Exactly. It just sees the financial outcome. So when it makes future predictions, it double downs on that conclusion, denying new loans at an even higher rate. and thereby amplifying the original harm. Wow. It takes the bad data, learns the exact wrong lesson from it, and then scales it up to industrial levels. That completely reframes the problem for me. It's sobering, isn't it? Very. So since we've established that AI inherits our flaws and makes them louder, let's get into the actual mechanics of how this happens.

The article lays out a few specific ways an algorithm develops these bad habits. It does. The author breaks this down into distinct mechanisms. And the first major way AI decisions become biased is by confusing correlation with causation. The classic statistical trap. Exactly. Correlation simply means two variables are changing together at the same time. Right. But causation means there is an actual cause and effect relationship. One thing is definitively making the other thing happen. So, assuming one factor causes another

just because they change together non -causally is a massive logical fallacy. Okay, let me put that into a real -world context just to make sure I'm getting this. It's like assuming that carrying an umbrella causes it to rain. Perfect example. Like, just because you always see me holding an umbrella when the rain starts falling doesn't mean my umbrella actually controls the weather. Right, right. The two things correlate perfectly in the data, but one does not cause the other. Anyone with common sense knows that. But the AI doesn't have common sense. No, it just has the numbers. The text applies this exact

logical flaw to employment data. So imagine a computer model analyzing successful employees at a large company. OK. It's digging through thousands of data points to find out what makes a good worker. It might find a really strong mathematical correlation between high performance and the employee's zip codes. Uh -oh. Yeah. The algorithm might then incorrectly assume that living in that specific zip code causes the employee to perform better. Which ties directly back to our redlining example from earlier. Exactly.

Because if historical discrimination shaped the wealth and demographics of those zip codes over the last century, the AI is now using that racist history as a hidden metric for hiring. It will prioritize candidates from wealthier zip codes, thinking it's selecting for high performance, when it's actually just selecting for a historical advantage. It is a mechanical failure that results in a profound societal harm. I mean, the math is executing perfectly, but the logic is entirely broken. That is so wild. And that brings us to

the second mechanism the author highlights, which is the inclusion of irrelevant factors. Irrelevant factors, like what? Well, algorithms sometimes consider variables that have absolutely zero impact on a person's actual skills or the outcome of a saturation. I imagine this happens because we just dump mountains of data into these machine learning models and tell them to find patterns, right? We just give them everything. We do. And that includes personal factors like nationality, ethnicity, or even hobbies. Even hobbies. Yeah.

And while relevant parameters can definitely improve a model's accuracy, like no someone's typing speed if they are applying to be a transcriber. Right. That makes total sense. But allowing an algorithm to consider irrelevant personal traits only serves to strengthen existing inequalities. I mean, your nationality does not determine your ability to code a website or analyze a spreadsheet. Obviously not. Yet if the algorithm is allowed to factor it in, it creates a vector for discrimination based purely on statistical noise. OK. So if

correlation versus causation is one trap, and irrelevant data is another trap, it seems like the actual raw material we feed it, like the baseline training data itself, could also just be completely warped from the jump. That is the third, and honestly perhaps the most widely discussed source of bias, skewed data sets. Right. This happens when the data used to train the artificial intelligence simply does not accurately represent the target population it's actually going to be used on. Garbage in, garbage out. Exactly. If I want to teach an AI what a dog looks like,

but I only ever show it pictures of golden retrievers, it's going to be completely confused the first time it sees a poodle. Yes. And when you apply that to human beings, the results are deeply troubling. The article highlights a very striking example involving facial recognition algorithms. OK, what did they find? Studies have consistently shown that these algorithms have noticeably higher error rates when trying to identify darker skinned females compared to lighter skinned males. Let me guess. That is because the engineers in the

lab just didn't feed the machine enough pictures of darker skinned females when they were initially teaching it what a human face looks like. That's right. The training set was overwhelmingly white and male. It was. The training data sets severely underrepresented people with darker skin. But what's fascinating here is how geographic development plays into this. How do you mean? The source notes that facial recognition algorithms developed in East Asia tend to perform much better on Asian subjects. Conversely, algorithms developed in the Western Hemisphere perform far better on

white subjects. That is wild. It's the exact same underlying technology, right? Same math, same code. The exact same coding principles, but the racial distribution of the local training set completely alters the AI's ability to see certain people accurately. It just proves that the software itself doesn't have malicious intent. The bias is a structural flaw, inherited directly from whatever limited worldview it was fed during its infancy. It really is a product of its environment. And this transition from theoretical computer

science to real -world application is where the fallout becomes very tangible. Because these aren't just thought experiments anymore. Right. These flawed systems are not just sitting in a lab. They're being unleashed on the public right now, particularly in the labor market. And we are the ones actively feeding these systems the bad data. The article mentions a well -known study indicating heavy discrimination in the human labor market regarding resumes. Oh, yes. The resume study. Right. Where resumes with traditional white sounding names receive significantly more

callbacks than those with African -American sounding names. Even when everything else is the same. Exactly. Even when the qualifications, the education, the experience on the paper are 100 % identical. Right. And since AI systems always involve a human component, meaning humans are the ones selecting the historical hiring data to train the AI in the first place, those human biases just seamlessly manifest in the algorithm. Oh, just past the baton. Exactly. The AI looks at that historical data, sees that the resumes with

white names got hired more often, and bakes that preference into its own future decisions. OK, here's where it gets really interesting and honestly a little bit dystopian. The text brings up a case study involving Amazon from 2014. Oh, this is a classic example. They tried to automate their hiring process and it backfired spectacularly. It really did. So Amazon developed an experimental AI hiring program. The goal was incredibly ambitious, right, to automate the search for top -tier talent by having the artificial intelligence review

applicants resumes and basically select the best candidate. Sounds great for a massive company. Right. They wanted to streamline the entire process. However, the project had to be completely abandoned after it was discovered that the AI had developed a massive systematic bias against women. See, I highly doubt Amazon's engineers sat down and intentionally programmed a reject women command into the source code. No, of course not. That makes zero business sense. So how did the machine actually learn to do that? Well, The algorithm

was trained to vet applicants by observing patterns and resumes submitted to the company over the previous 10 -year period. It looked at who applied, who got hired, and who was ultimately successful at the company. OK. I can see exactly where this is going. The tech industry has historically been a notorious boys club. So the vast majority of those past successful resumes over that 10 -year period came from men. Exactly. The AI looked at a decade of data, saw that most successful candidates were male, and concluded, ah, being

a man must be a crucial qualification for success here. It confused correlation with causation again. It did, and it goes even deeper. The AI literally penalized resumes that included the word women's. Wait, really, just the word itself? Yes. For instance, if an applicant listed that they were the captain of the women's chess club, their resume was downgraded. No way. Yes. It actively favored men because its training data reflected the historical male dominance of the industry. This is a prime example of how AI decision

making, if left unchecked, can severely harm potential workers and just solidify broader societal discrimination. So it automated sexism. Pretty much. It took an industry wide imbalance. codified it as a mathematical rule, and then applied it mercilessly to every new applicant. And beyond just the ethical horror of that scenario, there are massive legal ramifications when a company lets an algorithm do this. Oh, huge. Such biased hiring practices raise major legal issues, specifically under federal equal opportunity laws. In the

United States, the Equal Employment Opportunity Commission, or EEOC, enforces Title VII of the Civil Rights Act. Right. And that law explicitly prohibits employment discrimination based on race, color, religion, sex, or national origin. if your proprietary AI is screening out women's chess club captains. your company is violating the Civil Rights Act. Exactly. It doesn't matter if a human resources manager didn't manually reject the application. The liability doesn't just disappear into the cloud because a machine

executed the decision. The law cares about the discriminatory outcome. Whether that outcome was executed by a biased human manager in an office or a biased line of code on a server, it's irrelevant to the victim and irrelevant to the law. That makes total sense. So given these massive legal vulnerabilities and the ethical failures we've discussed, we have to look at the path forward. How are scientists, and really society as a whole, attempting to solve this crisis? Because we have to solve it. Right. Because if artificial intelligence is going to manage

our infrastructure, our economy, and our health care, We have to be able to trust it. That trust factor is everything. The article makes it clear that AI has incredible potential to benefit science, to improve economic forecasting, to generate environmental solutions. But all of that relies entirely on public trust. AI must align with human values, and crucially, it must be able to explain its reasoning. Like, if you get denied a mortgage, the bank needs to be able to tell you exactly why, rather than just shrugging and saying the black box said no? Precisely. Trust

is especially fragile in areas like hiring and lending. A biased AI will rapidly erode any faith the public has in these new technologies. So how do we fix it? Well, addressing AI bias requires tackling the root causes we outlined, fixing the habit of mistaking correlation for causation, stopping reliance on irrelevant factors, and most importantly, improving those skewed datasets. How do they actually go about fixing a skewed dataset, though? If the historical data is already

ruined by our past, where do they get better data? It's tricky. One solution highlighted in the text comes from Google's AI department. They suggest actively augmenting public training data sets. Meaning what, exactly? This means deliberately injecting diverse data into the set so they better reflect the real -world frequencies of different populations. Ah, I see. You don't just rely on whatever flawed historical data is easiest to scrape from the internet. You actively build a more balanced representation. Additionally, diversifying the AI field itself, meaning the

actual humans programming the machines and implementing strict governance and testing methodologies are vital steps. OK, but I'm stuck on something here. Sure. What is it? If the AI is biased against race or gender, why don't we just delete those variables? Delete them. If I'm building a hiring algorithm, I just take the column for race or gender out of the spreadsheet entirely. I just tell the AI to ignore them. It can't discriminate against what it can't see, right? Problem solved. Well, it seems like the most obvious, elegant fix. But eliminating discriminatory variables

is incredibly complex in practice. The text points out that biases persist even when explicit personal factors are completely removed. Wait, how is that possible? And the reason goes back to our earlier discussion about proxy data. You mean like the zip code example? Yes. You might delete the column that says race, but if you leave the column for zip code, the AI is still going to find the hidden patterns of historical segregation. Wow. It will use the zip code as a proxy, a stand -in for race. The discriminatory outcome will be exactly the same, even without the explicit

label. That is staggering. Yeah. It will find a way to rebuild the demographic profile. based on the footprint left behind by the deleted variable. Yes, exactly. Like you might look at what high school you went to, what grocery store loyalty program you use, or what magazines you subscribe to. It pieces together the ghost of that variable and discriminates anyway. The machine is just too good at pattern recognition. It finds correlations that are so deeply embedded in our society that humans can barely perceive them, and it uses those proxies to reach the exact same biased

conclusion. Which is terrifying. Which is why this is such a wicked problem to solve. And this raises an important question. How do we actually measure algorithmic fairness? It is a huge philosophical debate right now in computer science. I can imagine. Do we use what is called group fairness, or do we use individual fairness? OK, walk me through the difference. What does group fairness look like in practice? Group fairness aims for statistical parity among different demographic groups. So if a city's population is 50 % men and 50 % women,

Group fairness dictates that a hiring algorithm should ideally select candidates in a way that reflects that 50 -50 split. The focus is entirely on the macro outcome for the group as a whole. You are engineering the system to ensure proportional representation. I mean, that makes sense at a macro level, but applying it individually feels like it could get messy. If we contrast that with individual fairness, what changes? Individual fairness seeks similar outcomes for similar individuals, completely regardless of their group membership. It argues that if two people have identical qualifications,

experience, and test scores, the algorithm should treat them identically, even if doing so results in a macro outcome that isn't perfectly statistically balanced across groups. So, like, if a fire department has a physical fitness test, Individual fairness says you just hire the top scorers, even if the top scorers end up being 80 % male and 20 % female. Yes. But group fairness says you adjust the hiring to match the city's 50 -50 demographic makeup, even if it means passing over an individual with a higher raw score. That is the exact friction.

Deciding which of these fairness metrics an AI should optimize for is not a math problem. It is a deeply human ethical dilemma. Truly. You cannot mathematically optimize for both at the same time in most real world scenarios. Society has to decide what fair actually means before we can teach a machine to execute it. Man. So what did this all mean? We started this deep dive talking about you sitting at your kitchen table waiting for a machine to decide your fate on a job alone or a medical issue. What we have learned from Gary Eckerman's work is that the

algorithm making that choice is not some infallible objective oracle. It is a system built by biased humans trained on a history of inequality. and prone to making huge logical leaps, like thinking umbrellas cause rain or that tech jobs exclusively belong to men. It's flawed, just like us. Exactly. And understanding these blind spots isn't just a fun thought experiment for tech engineers in Silicon Valley. It is essential knowledge for anyone navigating modern society. Because you are the one interacting with these systems every

single day, whether you realize it or not. The algorithms are already out there, processing your data. Which leaves us with a final thought to mull over. The author noted that bias can persist in algorithms even when we completely remove explicit personal factors like race or gender because the AI finds those hidden proxies like zip codes or high schoolers. Right, the invisible patterns. If these machines are learning to discriminate using hidden mathematical patterns that we humans can't even readily see or understand, how will we ever truly be able to prove in a court of law whether a decision was fair or if

it was just a highly sophisticated, invisible form of prejudice? Something to think about the next time an algorithm makes a choice for you. Thank you so much for joining us on this deep dive. It has been an absolute pleasure and we will catch you next time.

Open the transcript file

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. 250: Changing Vision of Technology Literacy

    Nov 14, 202619 minAudio

    An AI-created episode based on a human-composed blog post: Changing Vision of Technology Literacy

    Credit the people on this episode

  2. 249: The Inquiring Technologist: Why Great Solution Design Begins with "Too Many" Questions

    Oct 27, 20265 minAudio

    An AI-generated episode based on an AI-generated blog posts based on an old microblogging post: The Inquiring Technologist: Why Great Solution Design Begins with "Too Many" Questions

    Credit the people on this episode

  3. 248: Gathering Organizational Intelligence for Network Security

    Oct 25, 202622 minAudio

    A brief AI-generated episode based on a human-composed blog post: Gathering Organizational Intelligence for Network Security

    Credit the people on this episode

  4. 247: Models of Technology-Rich Teaching

    Oct 16, 202613 minAudio

    An AI-generated episode based on a human-composed blog post: Models of Technology-Rich Teaching

    Credit the people on this episode

  5. 246: Concepts of Operating Systems

    Oct 11, 202621 minAudio

    An AI-generated episode based on a blog post designed for students in a community college course. Concepts of Operating Systems

    Credit the people on this episode