AI bias, fairness and explainability: how to test a tool
An AI tool is biased when it gives better outcomes to one group of people than another for reasons that have nothing to do with the task. You do not need bad intent for this to happen, and you cannot tell by reading the supplier's brochure. You find out by testing the results by group, and you stay fair by being able to explain each decision to the person it affects and by keeping a human able to change it.
Where does AI bias come from?
Three sources cover almost every case, and none of them needs anyone to mean harm.
- Past data. A tool learns from what happened before. If past hiring, lending or approval decisions favoured one kind of person, the tool learns that habit and repeats it, faster and at scale.
- Gaps in the data. If some groups barely appear in the training data, the tool has little to learn from and tends to perform worse for them. A voice tool trained mostly on one accent is the classic case.
- Choices about the task and the goal. Someone decided what the tool should predict and what counts as success. If success means "looks like our past hires" or "stays in the job longest", those choices carry their own tilt.
Because the cause is usually hidden inside data and design choices, the answer is not to ask whether anyone intended bias. The answer is to test.
How do you test an AI tool for bias?
The test is a comparison of outcome rates between groups. It needs no statistics degree, only a count and a division.
- Pick the good outcome. Shortlisted, approved, accepted, offered a discount: whatever the tool decides.
- Pick the groups. Use the characteristics the law protects, such as the nine grounds under the Employment Equality Acts (gender, civil status, family status, age, disability, race, religion, sexual orientation and membership of the Traveller community), plus any group relevant to your customers.
- Count, for each group, how many applicants there were and how many got the good outcome. Divide the second by the first.
- Compare the rates. Divide the lower rate by the higher one. A ratio of 1 means equal treatment. The further below 1, the bigger the gap.
- If the gap is large, stop and investigate. Ask the supplier what the tool considers and why it ranked people the way it did.
- Test again whenever the data, the tool or the way you use it changes. A fair result in March says nothing about a new version in June.
Two honest limits. A test finds a gap; it cannot prove the tool is fair. And a gap is a reason to look, not automatic proof of discrimination, because groups can differ in qualifications for legitimate reasons. That is exactly why you investigate rather than guess.
A worked example: Méabh tests a CV screening tool
Méabh runs HR for a Cork distribution firm. A screening tool shortlisted applicants for a warehouse supervisor role. She splits the applicants into two groups and counts.
- Group one: 250 applicants, 50 shortlisted. 50 ÷ 250 = 0.20, or 20%.
- Group two: 200 applicants, 24 shortlisted. 24 ÷ 200 = 0.12, or 12%.
The gap is 8 percentage points. The ratio is 0.12 ÷ 0.20 = 0.6: group two is shortlisted at only 60% of the rate of group one. That is large enough to stop and ask questions. Méabh pauses the use of the tool for shortlisting, asks the supplier which factors drive the ranking, and checks whether something like a gap in employment history or a postcode is standing in for a protected characteristic. Only when she can explain the gap, or the supplier fixes it, does the tool go back into use.
Now suppose the supplier says the tool is "bias-free" and your rollout is next month. A claim is not a test. Ask for their testing evidence, then run your own on your own applicants before you rely on it. If they will not tell you what the tool considers, that is itself an answer.
How do you explain an AI-assisted decision?
Explainability means you can tell a person, in plain words, the main factors behind a decision about them. Someone refused a loan or left off a shortlist should hear which factors counted, not "the computer said no".
- Tell the person the main factors. Two or three plain sentences are enough.
- If you cannot explain it, do not use it for decisions about people. A tool that ranks candidates without any reason you can state is not fit for that job.
- Ask the supplier early. What does the tool consider, and why did it rank this person where it did? Get the answer before you sign, not after a complaint.
This is more than good manners. Under GDPR, a person has the right not to be subject to a decision based solely on automated processing that has legal or similarly significant effects. Where such decisions are allowed, there must be safeguards: a person who can intervene, a chance for the individual to give their view before the decision is final, and a way to challenge it. In practice that means a real person must be able to change the outcome, not just click approve. Our post on using AI with personal data covers the GDPR side in more detail.
What does the EU AI Act add for high-risk uses?
The AI Act treats AI used in areas such as employment, credit and education as high risk. In November 2026 the main obligations for those systems are due to start on 2 December 2027, after the EU delayed them. When they apply, an employer using such a system must follow the provider's instructions, have trained people oversee it, keep the logs the system generates for at least six months, and inform workers and their representatives before putting it into use. Affected people also get a right to a clear explanation where a decision rests mainly on the output of such a system. Read our guide to the EU AI Act for Irish businesses for the dates, and AI in recruitment if hiring is your use. Do not wait for the date: the Employment Equality Acts already apply to a biased tool today, and it is you, not the supplier, whom a complaint will name.
A simple fairness routine for a small business
- Write down what the tool decides and who it affects.
- Run the group comparison before launch and again after any change.
- Keep a person in the loop for any decision with a real effect on someone.
- Keep a short note of what you tested, what you found and what you did. See also AI risk, bias and human oversight.
Key points
- Bias comes from past data, gaps in data and design choices, not from bad intent.
- Test by comparing outcome rates between groups and dividing the lower by the higher.
- A test finds a gap; it cannot prove fairness. Retest after every change.
- If you cannot explain a decision about a person, do not let the tool make it.
- Keep a human able to change the outcome.
Our Strategic Management programme teaches you to set up checks like these yourself, so you can govern the AI you buy instead of taking a supplier's word for it.
Questions people ask
- What is AI bias in simple terms?
- AI bias is when a tool gives systematically better results to one group of people than another for reasons unrelated to the task. It usually comes from biased past data, missing groups in the data or the way the goal was set, not from anyone intending harm.
- How do I check whether an AI tool is treating groups fairly?
- Count how many people in each group got the good outcome, such as a shortlist place, and divide by the number of applicants in that group. Divide the lower rate by the higher. A ratio well below 1 is a reason to stop and investigate with the supplier.
- Does a gap in results prove the tool is discriminating?
- Not by itself. Groups can differ for legitimate reasons, so a gap is a trigger to investigate what the tool considers. But if you cannot explain it, you should not rely on the tool for decisions about people.
- Can I let an AI tool make decisions about people on its own?
- Under GDPR, solely automated decisions with legal or similarly significant effects are restricted. You need safeguards: a person who can intervene, a chance for the individual to give their view, and a way to challenge the decision.