AI

Garbage In, Biased Out: How to Choose the Variables Before You Choose the Model

November 21, 2026
11 min read

Before any model is trained, someone decides which variables go in. That choice sets accuracy, risk and legal exposure. Here is how to choose them, why dropping a sensitive field is not enough, and how to check the output, with real cases from Amazon, US healthcare and the Netherlands.

Listen to this blog

AI voice, 7 min
0:00
6:50

Cover: garbage in, biased out - how to choose variables before you choose the model

📌 Metrics in this blog that don't cite a public source are indicative only and do not reflect any organisation's actual numbers. Read the disclaimer.

When an AI project disappoints, the first suspect is the model. The second should be the data, and more specifically a decision made well before any model was trained: which variables go in. That decision sets the ceiling on accuracy, the floor on risk, and often the legal exposure. It also tends to be made fast and informally, by whoever happens to be building the pipeline.

The first session of Day 2 at the Business Leaders Programme at IIM Ahmedabad, taught by Prof. Swanand Deodhar, ended on three data options for a staffing model, with a debate about bias and privacy running through the whole discussion. This blog is about that decision: how to choose variables, why removing a sensitive field is not enough, what happened when companies got it wrong, and how to check your own system.

Part 1: Three Ways to Choose the Data

The choice is usually between using as many variables as possible and letting the model decide, starting with a conservative set of current and recent data, or pre-processing the data first by combining, converting and dropping variables before modelling. Each has a cost.

Three options for choosing variablesThree columns. Option A uses every variable and lets the model choose, which is fast but pulls in sensitive data and proxies. Option B starts narrow with only current and recent job data, which is easy to explain but may miss signal. Option C curates the data first, which keeps signal and drops noise but needs analyst time. Three ways to choose the data for a model A. Use everything let the model pick Strength Fast to start, may find patterns Risk Pulls in sensitive data and proxies, hard to audit B. Start narrow only current and recent job data Strength Easy to explain, low risk Risk May miss useful signals, slower gains C. Curate first combine, convert, drop, then model Strength Keeps signal, drops noise and risk Risk Needs analyst time and domain input
The case set out three options like these for a staffing model. My view: choose C, with B's discipline on what goes in.

The first option feels modern and ambitious. It is also the one most likely to bring in sensitive data and proxies without anyone noticing. The second is the safest and easiest to explain, and may leave useful signal on the table. The third takes analyst time and domain judgement, which is what makes it the strongest. In practice the best teams start narrow and add variables one at a time, with a reason for each.

Part 2: Why Removing the Sensitive Field Is Not Enough

A common first response to bias worries is to delete the sensitive column. It does not work, because a model can rebuild the signal from other fields. Three public cases show how.

Removing a field does not remove the signalFour steps. A team removes gender from the data. Other fields still carry the same signal, such as word choices, college names or career gaps. The model learns the pattern from those. The result is still biased even though gender was never an input. Drop gender the field is gone Proxies remain college, word choice, career gaps Model learns the pattern from the proxies Still biased gender was never an input
Amazon's recruiting tool, as Reuters reported, downgraded résumés with the word "women's" and graduates of two all-women's colleges. Proxies carry the signal even when the label is gone.
CaseWhat the system usedWhat went wrong
Amazon recruiting toolTen years of résumés, mostly from men, to learn what a good candidate looks likeReuters reported in 2018 that it downgraded résumés containing the word "women's" and graduates of two all-women's colleges. The team was disbanded. Amazon says the tool was never used by recruiters to evaluate candidates
US health risk algorithmHealth cost as a stand-in for health need, when deciding who gets extra careObermeyer and colleagues reported in Science in 2019 that Black patients were sicker at the same risk score, because less money had been spent on their care. Fixing the target cut the bias; the authors estimated the original design cut the share of Black patients flagged for extra care by more than half
Dutch childcare benefitsA risk model to flag benefit fraud, which treated non-Dutch or dual nationality as a risk factorThousands of families, estimates range from about 26,000 to 35,000, were wrongly accused and made to repay large sums. The Dutch data protection authority found the algorithms discriminatory. The government resigned in January 2021 after a parliamentary inquiry

Figures for the Dutch case vary between sources and over time periods. The health algorithm finding is about one widely used commercial product, as studied by the authors.

The lesson common to all three: the thing the model was asked to predict, or the data it learned from, carried the bias. In the health case the target itself was a flawed proxy, cost for need. In the Dutch case a protected characteristic was an explicit input. In the Amazon case it came in through the history the model learned from.

Part 3: A Triage for Every Variable

Sorting variables before modellingA two by two grid. Variables that predict the task and are not sensitive are included. Those that predict but are sensitive or proxies need review and tests. Those that do not predict and are not sensitive are dropped for simplicity. Those that neither predict nor are safe are excluded. Not sensitive, not a proxy Sensitive or a likely proxy Predicts the task Include verified skills, recent work, availability Review and test home city, language, college name Does not predict Drop for simplicity old, noisy or duplicate fields Exclude gender, age, ethnicity, marital status, disability
Illustrative for a staffing model. The exact lists depend on the task, local law and your own tests. A variable in the right-hand column can sometimes stay if tests show it is not acting as a proxy.

The case's own variable list shows how this works. Gender, age, ethnicity, marital status, disability and sick leave are clear exclusions. Others, such as home city or language, are not protected, but can act as proxies for things that are. A variable in the review column is not banned. It is tested: does the model's output change a lot between groups when this field is in or out? If yes, drop it or explain it.

Part 4: Check the Output, Not Just the Input

Good intentions at the input stage need a check at the output stage. A simple method is to compare the rate at which the system selects, approves or recommends people from different groups. US employment guidance uses a four-fifths rule of thumb: if one group's selection rate is less than 80% of the highest group's, treat it as a flag to investigate.

A selection-rate checkA bar chart of illustrative selection rates. Group A is selected 60 percent of the time and group B 42 percent. B is 70 percent of A, below the 80 percent four-fifths guide, so the model needs review. Selection rate by group (illustrative) Group A selected 60% Group B selected 42% 80% of group A = 48%
Illustrative numbers. 42 ÷ 60 = 0.70, which falls below the four-fifths (0.80) rule of thumb used in US employment guidance as a screening flag. It is a prompt to investigate, not proof of bias and not a legal test.

This is a screening test, not proof of bias or a legal safe harbour, and in India there is no equivalent statutory ratio. It is still a cheap, repeatable way to notice a problem early. Run it for every important decision a model makes, by every group you can lawfully measure, and re-run it on a schedule, since the data changes.

🔍

Auditing a Model or Data Pipeline?

I advise product teams on feature selection, fairness checks and how to document model decisions for regulators. Book a 1-on-1 session.

Book a Session →

Part 5: Keep the Data Honest After Launch

Bias is one risk. Another is plain decay: records that were true at entry stop being true. In the staffing case, openings were duplicated or stale, project end dates were unreliable and skill levels were guessed from time on a project. A model built on that learns the mess. Data quality has to be designed into the workflow that creates the data.

Data hygiene built into the workflowFive gates for data: capture at the source with required fields, validate on entry, check freshness with expiry dates, monitor for drift and bias on a schedule, and give people a quick way to correct records. Capture required fields at source Validate reject bad entries Expire flag stale records Monitor drift and bias checks Correct a fast path to fix
Clean data comes from the workflow that creates it, not from a clean-up project afterwards. If the people who enter data gain nothing from accuracy, it will decay.
  • Make the right entry the easy one. Required fields, drop-downs and defaults beat free text.
  • Give every record an expiry. A skill or availability entry older than a set period is flagged, not trusted.
  • Tie accuracy to something the entrant cares about. People keep data fresh when it affects them, for example their own recognition or workload.
  • Log overrides with a reason. They show where the model or the data is wrong, for free.
  • Name an owner and a retraining rhythm. Without one, a model drifts until someone notices in a complaint.

What This Means for Indian Fintech

In lending, fraud and collections, the same questions apply, with more at stake. A feature such as pincode or device type can proxy for religion, caste or income. Reserve Bank of India guidance on responsible AI, discussed in my blog on AI in Indian fintech and the FREE-AI framework, expects fairness, explainability and oversight. Documenting why each variable is in the model is good practice and also the first thing a regulator or auditor will ask for.

Part 6: Data Decays on a Schedule

Accuracy at launch is not accuracy next year. Skills change, people move, projects end and nobody updates the record. If even 3% of records go stale in a month, nearly a third are stale after a year, and a model that relied on them is quietly learning from fiction. At 5% a month it is almost half.

Share of records that go stale if 3% expire each monthBars showing the share of stale records over a year if 3 percent of records go stale each month: 3 percent after one month, 8.7 after three, 16.7 after six, 24 after nine and 30.6 after twelve. Stale records over time at an illustrative 3% a month 3.0% Month 1 8.7% Month 3 16.7% Month 6 24.0% Month 9 30.6% Month 12
My arithmetic: 1 minus 0.97 raised to the number of months. At 1% a month the year-end figure is 11.4%, and at 5% a month it is 46.0%. The 3% rate is illustrative.

The practical answer is to treat freshness as a measured quantity. Track the share of records older than their expiry, assign the entry to someone who gains from keeping it accurate, and retrain the model on a calendar instead of when a complaint arrives. A one-page model card, covering what the model predicts, which variables it uses and why, how it was tested for bias, who owns it and when it is reviewed, is the cheapest document an AI team can produce.

The Bottom Line

The model is only as fair, accurate and defensible as the choices that fed it. Start with a narrow, justified set of variables, test the risky ones rather than assuming they are safe, check outputs by group, and build the data workflow so that accuracy is the easy path. Before you ask which model to use, ask which variables you can defend and who owns the data after launch.

🔑 Key Takeaways

  • The choice of variables is made early, and it sets accuracy, risk and legal exposure.
  • Removing a sensitive field does not remove its signal, because other fields act as proxies.
  • Amazon's tool, a US health algorithm and the Dutch benefits model show bias entering through history, the target and explicit inputs.
  • Sort every variable into include, review and test, drop or exclude before modelling.
  • Check outputs by group with a simple selection-rate comparison, and repeat on a schedule.
  • Design data quality into the workflow with required fields, expiry dates and logged overrides.

Frequently Asked Questions

Does removing gender or race from the data remove bias?

No. A model can rebuild the signal from other fields that correlate with it. Reuters reported that Amazon's recruiting tool downgraded résumés containing the word women's and graduates of two all-women's colleges, which acted as proxies for gender.

What did the Obermeyer study find?

Obermeyer, Powers, Vogeli and Mullainathan reported in Science in 2019 that a widely used US health algorithm used cost as a stand-in for health need. Because less money was spent on Black patients at the same level of illness, they were scored as lower risk. The authors estimated the design cut the share of Black patients flagged for extra care by more than half, and that changing the target reduced the bias.

What was the Dutch childcare benefits scandal?

A risk model used by the Dutch tax authority flagged benefit fraud and treated non-Dutch or dual nationality as a risk factor. Estimates of wrongly accused families range from about 26,000 to 35,000. The Dutch data protection authority found the algorithms discriminatory, and the government resigned in January 2021 after a parliamentary inquiry.

What is the four-fifths rule?

A US employment guideline under which a selection rate for one group that is less than four fifths (80%) of the highest group's rate is generally treated as a sign of adverse impact. It is a screening flag and not proof of bias, and India has no equivalent statutory ratio.

How should a startup choose which variables to use?

Start with a narrow set with a reason for each, exclude protected attributes, test likely proxies such as location or language by checking whether outputs differ by group when they are in or out, and add variables one at a time. Log why each variable is in the model.

Sources

AM

Adarsh Mohan

Director of Product Management. 11+ years building products from 0 to scale across fintech, payments, risk, and consumer tech in India.