Module 19 · Bias In, Bias Out

If you delete the unfair column, is the model fair?

Lesson 19.3 · Bias Sneaks In

Felix · Rosa

Felix: “Deleted the column.” Rosa: “Why are the answers the same?”

Felix has the fix: delete the column.

No gender column, no race column, no problem. Rosa asks him to delete it and retrain. The model’s answers barely change.

It found the same information somewhere else, in a column nobody thought to worry about.

The short answer

No. The model reached for the neighborhood instead, and in Felix’s toy city that’s the same information wearing a different name. Fairness has to be checked in what the model decides, group by group, not in which columns it was allowed to see.

Try it yourself

Step through deleting a sensitive column and watch which clue the model leans on next.

Income
30
Years at job
20
Neighborhood
25
Race
25

A toy loan model. The bars show how much weight each clue carries. Neighborhood carries a lot, and so does a column that shouldn’t be there at all.

Step 1 of 3

What you just did has a name

Proxy variables

A proxy is a column that carries the same information as the one you removed: zip code for race, first name for gender, the school someone attended for family income.

Models find proxies without being asked, because a proxy is just a pattern that predicts the label.

Removing the obvious column isn’t the same as removing the bias.

A few more things

Everything correlates with something

Address, name, shopping history, the phone model someone uses. In a lopsided world, most columns carry a faint trace of the sensitive ones. A model adds up faint traces very well.

So measure the outcome, not the inputs

Check whether the model’s decisions differ by group, regardless of which columns it used. That test catches proxies. Staring at the column list doesn’t.

Sometimes the proxy is the point

A hiring model that learned “women’s” meant “rank lower” was using a proxy for gender. Nobody wrote it. The model found the word that carried the pattern, because that’s what models do.

Go deeper

The longer version, if you want it.

Fairness through unawareness, and why it fails

The idea that removing protected columns makes a model fair has a name, fairness through unawareness, and it has been shown not to work in almost every real setting. The alternatives audit the outputs: compare error rates and selection rates across groups, and adjust the model or the threshold until the gaps close. Some approaches deliberately keep the sensitive column during training precisely so the gaps can be measured and corrected.

None of this is settled. But the one thing every approach agrees on is that “we don’t use that column” is a claim about the inputs, and fairness is a property of the outputs.

Quick check

An insurance model isn’t allowed to use age. It leans heavily on “year the customer got their driver’s license.” What’s going on?

Let’s take it slower

Picture trying to keep a secret from someone who is very good at guessing. You hide your birthday, but they see your graduation year. You hide your gender, but they see your first name. A model does that guessing automatically, because its whole job is to find any column that predicts the answer. If the hidden column mattered, some other column that tracks it gets picked up instead. So the test for fairness can’t be “which columns did we remove.” It has to be “do the decisions come out different by group.”

More examples

1

Playlists as a stand-in

An ad model isn’t given anyone’s age, but it knows what playlists they follow. Playlists track age closely enough that the model ends up targeting teenagers anyway. The age column never left. It changed its name to “listens to.”

2

The résumé gap

A hiring model is stripped of gender, then starts marking down résumés with a two-year gap in employment. Career gaps fall far more often on women who took time for childcare. The model found the gap and used it as the column it couldn’t see.

Back to the question

So does deleting the column make it fair?

Show the answer

No. The model reached for the neighborhood instead, and in Felix’s toy city that’s the same information wearing a different name. Fairness has to be checked in what the model decides, group by group, not in which columns it was allowed to see.

One last question

A company says its model is fair because it never sees race or gender. What’s the right response?

Talk Card

Talk Card · 19.3

Delete the sensitive column and a model can still find a stand-in like zip code or a first name. Fairness is checked in what the model decides, group by group.

Data to AI · pettigrewlab.com/learn

Next lesson