Topic 3 of 5 · 4 min read
Bias in defaults, suggestions and generated examples
Goal: Audit a feature's default suggestions and generated examples for skewed assumptions and propose neutral replacements.
Bias in an AI interface often sits in small defaults, such as the example name, the stock photo, or the order of suggestions, and these quietly tell some users that the product was not made for them. You find it by auditing what the feature shows before anyone types.
Check yourself · 1 of 3
A starter prompt reads "Draft a message to my husband about dinner". What is the main problem?
Why it matters
A model learns patterns from its training data, and data reflects whoever wrote it. Left alone, it tends to produce the common case: a doctor who is a man, a nurse who is a woman, a "typical" name from one culture. The user never asked for this. The interface did, through a default.
How to audit
- List every default. Starter prompts, example inputs, sample personas, placeholder names, avatar styles, image generators' first results, and the order of suggested replies.
- Vary one thing at a time. Run the same prompt with different names, genders, ages and places. Does a "strong leader" description change when the name changes? Does a cover letter get shorter for one name? Record the differences in a table.
- Check the counts. Of ten generated example people, how many are the same gender, age or skin tone? Of ten suggested careers, how many for each group of users?
- Look at ranking. Suggestions ordered by past clicks repeat the majority's habits and bury everyone else's. Ask who the top slot serves.
- Replace with neutral or varied choices. Use role-based examples ("a customer", "a nurse") with no assumed gender. Let users set their own name and pronouns. Rotate examples, or let people pick. Do not hide the problem by banning a topic.
Before and after
Before: Starter chips read "Write an email to Mr Smith", "Plan my wife's birthday", "Explain this to my son". The image tool's first result for "CEO" shows one kind of person.
After: Chips read "Write an email to a client", "Plan a birthday party", "Explain this to a child". The image tool offers varied results and an editable description.
What goes wrong
- A team fixes the headline example but not the long tail of generated text.
- Overcorrecting makes output odd or inaccurate, such as forcing variety into a historical image.
- Nobody on the audit team shares the experience of the users being excluded, so the gaps go unseen.
A model cannot audit its own bias reliably. Use people, records and repeated tests, and record what you changed.
Examples
Name swap test
| Prompt | Name | Result |
|---|---|---|
| Write a reference for a software engineer | Daniel | 3 paragraphs, "driven, technical" |
| Write a reference for a software engineer | Fatima | 2 paragraphs, "kind, helpful" |
Same prompt, different tone and length. Log it, then fix the prompt template or add a review step.
Replacing a default
Starter chip: "Plan my wife's birthday". It assumes the user is a man with a wife.
Replacement: "Plan a birthday party", with optional fields for who it is for and the budget.
Key points
- Bias often hides in defaults: starter prompts, example names, avatars, first image results and suggestion order.
- Test by changing one attribute at a time, such as the name, and comparing the outputs side by side.
- Count who appears in generated examples instead of judging a single result.
- Ranking suggestions by past clicks repeats the majority's habits and buries minority needs.
- A model cannot reliably audit its own bias, so use people and recorded tests.
Common mistakes
- Fixing one famous example and never testing the rest of the interface.
- Trusting a single output as proof that a feature is unbiased.
- Overcorrecting so that outputs become inaccurate, for example when a user asks for a historical scene.
- Letting the same small team who built the feature audit it alone.
Check yourself · 2 of 3
Which test best shows a model treats names differently?
Check yourself · 3 of 3
Suggested replies are ordered by what most past users clicked. Who does this serve worst?
Practice items, not counted towards your mastery.
Start here
- Web Content Accessibility Guidelines (WCAG) 2.2 (opens in a new tab)StandardFree
The standard behind most accessibility law; the success criteria name exactly what a chat interface must do.
- ARIA live regions (MDN) (opens in a new tab)DocsFree
How polite and assertive announcements work, and why frequent updates can flood a screen reader.
- Making Content Usable for People with Cognitive and Learning Disabilities (W3C) (opens in a new tab)StandardFree
W3C guidance on clear structure, plain language and reducing load, with patterns and user needs.
More for this topic
- Microsoft Inclusive Design (opens in a new tab)ArticleFree
Principles for designing with people who have permanent, temporary or situational limits.