# AI bias

> Canonical: https://skillalmanac.com/glossary/ai-bias | Last verified: 2026-11-24 | Index status: index-eligible

AI bias can refer to systematic patterns in an AI system, especially patterns that produce unfair or harmful outcomes. Harmful bias can arise from data, design, organizational practices and deployment context, not only deliberate prejudice.

Also called: algorithmic bias, machine learning bias, bias in AI, algorithm bias, AI bias examples.

## In plain language

A system can perform well on average while making more harmful errors for a particular group. A hiring model trained on past decisions might reflect earlier inequities, but that outcome is not automatic. Check data, objectives, design and actual use together. Removing a sensitive field or improving one fairness metric does not prove that harmful bias has disappeared.

## Technical definition

NIST SP 1270 distinguishes systemic, computational/statistical and human bias. Harm can arise across a sociotechnical system, not only in its training set. Compare relevant outcomes and errors across groups in the intended context; a statistical disparity alone does not settle every fairness question.

## How it shows up when you use agents

When an agent writes code, summarises documents, screens applications or grades work, its outputs can reflect patterns from its [training data](/glossary/training-data), task design and deployment context. You do not see this as an error message. You see it as outputs that look fine one at a time and lean the same way across many. IBM's list of sources, such as sample bias and measurement bias, is a useful checklist of where to look.

What breaks when bias is misunderstood: teams assume an accurate model is a fair one, or that a bias problem can be fixed once and forgotten. IBM's guidance instead describes checking for bias at every data-processing stage and monitoring with real-world data over time.

Next actions:

- Sample the agent's outputs across different kinds of people or cases, not only the typical one.
- Keep a person in the loop for decisions that affect individuals; see [human-in-the-loop](/glossary/human-in-the-loop).
- If you build evaluation sets, check them for leakage with [Split leakage check](/skills/skill-almanac/split-leakage-check) before trusting the scores.

## Worked example (illustrative)

Suppose two equally sized evaluation groups have error counts of 5 out of 100 and 20 out of 100. The overall error rate is 12.5%, but the group rates are 5% and 20%. That difference motivates investigation; it does not identify the cause or settle which fairness criterion fits the application. These are calculated hypothetical counts, not observed demographic results.

## Common confusions

- **Bias versus hallucination.** Bias concerns systematic patterns. A [hallucination](/glossary/hallucination) is unsupported or false generated content; it need not sound confident. The phenomena can overlap.
- **Bias versus error.** An error rate can be low overall while one group bears most of the mistakes. Overall accuracy does not show this.
- **Myth.** Removing a sensitive field such as gender from the data removes the bias. In general practice, other fields can act as stand-ins for it, so the skew can remain.
- **Bias in the data versus bias in the system.** NIST frames bias as spanning the whole process, including how a system is designed and used, not only its dataset.

## Worked examples in this catalogue

### [split-leakage-check](https://skillalmanac.com/skills/skill-almanac/split-leakage-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A check of train, validation and test files for duplicates, shared groups, time and label leakage, which prints JSON.

Why it exercises the concept: A test set that overlaps the training data hides how a model really treats new cases, including groups it handles badly. This is a data-side check that comes before any fairness comparison.

### [data-analysis-eda](https://skillalmanac.com/skills/skill-almanac/data-analysis-eda)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A fixed exploratory-analysis procedure and a CSV profiler whose findings stay descriptive, evidenced and caveated.

Why it exercises the concept: Bias often enters through the data. Profiling a dataset before it trains or evaluates a model is the first place to look for skewed groups and missing cases.

### [rubric-feedback-writer](https://skillalmanac.com/skills/skill-almanac/rubric-feedback-writer)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Criterion-by-criterion feedback on one student answer, written from a rubric you supply.

Why it exercises the concept: Scoring against explicit criteria instead of overall impression is one practical guard against a grader, human or model, applying its own preferences.

## Related terms

- [Machine learning (ML)](https://skillalmanac.com/glossary/machine-learning.md)
- [Training data](https://skillalmanac.com/glossary/training-data.md)
- [Responsible AI](https://skillalmanac.com/glossary/responsible-ai.md)
- [Explainable AI (XAI)](https://skillalmanac.com/glossary/explainable-ai.md)
- [Human in the loop (HITL)](https://skillalmanac.com/glossary/human-in-the-loop.md)
- [AI hallucination](https://skillalmanac.com/glossary/hallucination.md)

## Sources

- [What is AI bias?](https://www.ibm.com/think/topics/ai-bias), IBM (accessed 2026-11-23)
- [Towards a Standard for Identifying and Managing Bias in Artificial Intelligence (NIST SP 1270)](https://www.nist.gov/publications/towards-standard-identifying-and-managing-bias-artificial-intelligence), NIST (accessed 2026-11-23)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
