AI Dictionary of Terms

Bias (AI Bias)

Systematic and repeatable errors in an AI system that create unfair outcomes, such as privileging one arbitrary group of users over others, often reflecting historical prejudices or skewed representations in the training data.

The Simple Version

Imagine you want to teach a child what a “doctor” looks like, but you only show them pictures of men in white coats. Later, when the child sees a female doctor, they say, “That’s not a real doctor.”

The child isn’t intentionally being sexist; they are just repeating the pattern they were taught. AI models do the exact same thing. If an AI is trained on historical hiring data where 90% of executives were men, the AI will learn to associate “male” with “executive material” and unfairly downgrade resumes from women. This is AI bias.

Detailed Explanation

AI bias is not a single bug; it is a multifaceted problem that can enter the machine learning pipeline at multiple stages.

Types of AI Bias:

1. Historical Bias:

2. Representation Bias:

3. Measurement Bias:

4. Aggregation Bias:

5. Evaluation Bias:

Mitigation Strategies:

Key Characteristics

Business Context

AI bias is a top-tier enterprise risk, with tangible financial, legal, and reputational consequences:

Why It Matters:

Enterprise Mitigation:

Real-World Analogy

A funhouse mirror. The mirror doesn’t have a mind of its own, and it isn’t intentionally trying to mock you. But because of how it was built (the training data), it consistently distorts your reflection in a specific, predictable way. AI bias is the mathematical distortion of reality.

Code Example

# Conceptual: Measuring Demographic Parity (a fairness metric)
import pandas as pd

# Mock predictions from a hiring AI
data = {
    'candidate_id': [1, 2, 3, 4, 5, 6],
    'demographic_group': ['A', 'A', 'A', 'B', 'B', 'B'],
    'ai_hiring_recommendation': [1, 1, 0, 0, 0, 0] # 1 = Hire, 0 = Reject
}
df = pd.DataFrame(data)

# Calculate selection rate for each group
selection_rates = df.groupby('demographic_group')['ai_hiring_recommendation'].mean()

print("Selection Rates:")
print(selection_rates)
# Output:
# demographic_group
# A    0.666667  (66% of Group A recommended for hire)
# B    0.000000  (0% of Group B recommended for hire)

# Calculate Disparate Impact Ratio
disparate_impact = selection_rates['B'] / selection_rates['A']
print(f"\nDisparate Impact Ratio: {disparate_impact:.2f}")

# In the US, a ratio below 0.8 (the "80% rule") is often considered 
# evidence of adverse impact (bias) requiring investigation.
if disparate_impact < 0.8:
    print("⚠️ WARNING: Model exhibits potential demographic bias.")

Common Misconceptions

Sources & Further Reading