Sub topic 8
Testing Copy for Bias: Swap Tests and Audience Review
This chapter covers how to test AI-generated marketing copy for biased framing. You will run a swap test, read the results, and add a review by people from the audience itself. It assumes you can already recognize common bias patterns (stereotyping, exclusion, unequal treatment), which the previous chapter covered. It also assumes you have read your brand guidelines and can run a short Python script. The script is optional, because the same test works with a spreadsheet.
Why you test instead of just reading
A single draft often looks fine. Bias in marketing copy usually shows up only in comparison. A model may write "build your future" for one audience and "protect what you have" for another. Each sentence is harmless alone. Together they show that the model assumed one group is ambitious and the other is cautious.
Testing makes these differences visible. You hold everything constant except the audience, then look at what changes. The two methods in this chapter do different jobs:
| Method | What it finds | What it cannot find |
|---|---|---|
| Swap test | Differences in tone, assumptions, offers, and word choice between audience groups | Bias that appears identically in every variant, or bias toward groups you did not include |
| Audience review | Copy that feels stereotyped, patronizing, or exclusionary to the people it targets | Patterns across many groups at once |
Use both. The swap test is fast and repeatable. The audience review catches what a comparison cannot.
The swap test
A swap test generates the same request several times, changing only the audience group. You then compare the outputs side by side.
Building the variants
The function below creates one prompt per group from a template with a {group} slot.
def audience_variants(prompt_template, groups):
"""Build one prompt per audience group from a template with a {group} slot."""
return {group: prompt_template.format(group=group) for group in groups}
template = "Write a two-sentence ad for our savings account aimed at {group}."
groups = ["young professionals", "retirees", "first-generation immigrants", "small business owners"]
for group, prompt in audience_variants(template, groups).items():
print(group, "->", prompt)
# Send each prompt to the model, then compare the outputs side by side
# for differences in tone, assumptions, and the offers mentioned.The script only builds the prompts. You send them to your model yourself, with the same settings for each one. If your tool lets you set a temperature (a setting that controls how random the output is), use a low value so that differences come from the audience and not from chance.
What to compare
Put the outputs in a table with one row per group. Then look at these dimensions:
- Tone. Is one version warm and another formal, with no reason in the brief?
- Assumptions. Does the copy assume income, age, family status, technical skill, or language ability?
- Offers. Does each group get the same product features, or does one group get a lesser or more restricted offer?
- Roles and imagery. Who is the actor in the copy? Who is helped, and who is in charge?
- Vocabulary. Does one version use simpler words, more exclamation marks, or more fear-based language?
Telling justified differences from bias
Not every difference is a problem. Copy for retirees may reasonably mention retirement income, and copy for small business owners may mention business accounts. A difference is justified when it follows from a real fact about the audience's needs or the product.
A difference is suspect when it follows from a stereotype or when it changes what the audience is offered or how they are treated. Ask two questions:
- Would the group recognize this difference as relevant to them, or as an assumption about them?
- Does the copy change the product, the price, the terms, or the respect shown?
A worked example
Suppose the model returns these for two groups.
| Group | Output |
|---|---|
| Young professionals | "Start building wealth today. Our savings account makes growing your money simple and fast." |
| Retirees | "Keep your money safe. Our savings account is easy to use, even if you are not good with technology." |
Both are two sentences and both describe the same product. The differences are:
- The first uses growth language. The second uses safety language. This may be justified by life stage, but it should be a decision, not an accident.
- The second sentence of the retiree copy assumes the audience struggles with technology. This is an age stereotype. It is not a fact about the product or the audience.
- Neither version mentions the interest rate or fees, so the offer is consistent.
The fix is to rewrite the retiree copy without the assumption, for example "Our savings account is easy to open and manage online or in a branch." Then run the test again.
Edge cases
- Groups that overlap. A retiree can also be a small business owner. If your groups are not exclusive, say so in the test notes, and consider adding a combined group.
- Naming the group in the prompt can cause the problem. When you write "aimed at retirees," the model leans on stereotypes about retirees. Test a second version of the prompt that describes needs instead, such as "for people planning how to spend savings over the next 20 years," and compare.
- Randomness. Run each prompt more than once. A pattern that appears in most runs is meaningful. A pattern that appears once may be chance.
- Missing groups. The test only covers groups you list. Review your list against your real customer base and against groups you may be excluding without noticing.
- Names and pronouns. For copy with people in it, such as testimonials or example scenarios, swap names, genders, and ages and check whether roles change. If the "doctor" is always a man and the "assistant" is always a woman, that is a finding.
Audience review
A swap test compares outputs, but it cannot tell you how copy feels to the people it describes. An audience review asks them.
Who should review
The best reviewers are people from the target group, or people who work closely with them, such as customer support staff, community managers, or advisers. A reviewer from outside the group will often miss what an insider notices at once.
Be careful about how you ask. One person does not speak for a whole group. A single reviewer's reaction is useful evidence, not a verdict.
How to run it
Keep the process small and structured so it fits into a normal review cycle.
- Pick the draft and the target audience.
- Find two to five reviewers who belong to that audience.
- Give them the copy without the surrounding explanation. You want their first reaction.
- Ask the same questions of every reviewer.
- Record the answers and look for repeated points.
Useful questions:
- Does this copy sound like it was written for someone like you?
- Is anything in it patronizing, stereotyped, or assuming something that is not true of you?
- Is anyone in your community left out or misrepresented?
- Would you feel comfortable sharing this?
Avoid leading questions like "Is this offensive?" That invites a yes or no and misses the quieter problems, such as copy that is merely condescending.
Handling the results
Treat repeated comments as strong signals and single comments as prompts to look closer. If two of three reviewers say the copy talks down to them, change it. If one reviewer raises a concern others do not share, decide whether the concern points to a real risk, and write down your reasoning either way.
Recording the result
Both tests produce a pass or revise decision. Write down three things for the review record covered later in this tutorial:
- Which groups you tested and the date.
- What differences you found and whether each was justified.
- What you changed and whether the retest passed.
This record also helps the next reviewer. If a group was left out last time, they will see it.
Common mistakes
- Testing only one run. A single output shows chance, not pattern.
- Treating "different" as "biased." Some differences are correct. Judge each one.
- Assuming a pass means the copy is unbiased. The test covers the groups and dimensions you chose. It lowers risk but does not remove it.
- Fixing the output and not the prompt. If the same stereotype keeps appearing, adjust the prompt or source material so the problem stops at the source. A later chapter covers this.
- Letting the model grade itself. Asking the model "is this biased?" can supplement your review but cannot replace comparison and human judgment.
Exercise
You run a swap test for a phone plan ad aimed at "teenagers" and "older adults." The teenager copy says "Unlimited data, because you never put your phone down." The older adult copy says "A simple plan with no confusing extras, perfect for staying in touch with family." Name one difference that may be justified, one that is probably bias, and what you would do next.
Show answer
A possibly justified difference is the focus on a simple plan if the older adult plan really has fewer options, since that follows a product fact. The probable bias is the assumption that older adults find plans confusing, along with the "family" framing, which stereotypes the group. The teenager copy's "never put your phone down" is also a stereotype. Next, check whether the two groups are offered the same plan features, since "unlimited data" appears for one group only. Rewrite both versions to describe real needs and the same offer, run each prompt several times, then retest. Finally, ask two or three people from each group how the copy reads to them and record the findings.
Exercise
Why is a clean swap test result not enough to approve copy as free of bias?
Show answer
The swap test only compares the groups and dimensions you chose. Bias that appears identically in all variants, such as the same stereotype applied to everyone, will not show up as a difference. It also cannot cover groups you left out, and it cannot show how the copy feels to real members of the audience. An audience review covers some of these gaps, and the result still lowers risk without proving the copy is unbiased.