# Automated vs Human Red Teaming

> When automated red teaming is the right tool, when people are, and how to combine them, explained simply for your AI interview.

**In short:** Automated red teaming uses a model or script to write attacks and a judge to score the replies, so it runs at scale. Human red teaming uses people who think like attackers to find new harms and judge context. Strong teams use both, with people starting the work and checking the results.

AI and LLM interview question Q222, Guardrails and AI safety. Intermediate, common (our estimate). From Venkat R. Murty's free Interview Kit: https://designervenkat.online/interview/ai/automated-vs-human-red-teaming

## Say it in 30 seconds

Automated red teaming means a model or script writes the attacks and a judge scores the replies. It runs thousands of tests, but it only finds what it was built to look for. Human red teaming means people who think like attackers. They find new kinds of harm and read context well, but they are slow and costly. I would use both: people write the first attacks, machines multiply them, and people check the judge, because the judge can be wrong too.

## Say it in 2 minutes

Red teaming means attacking your own AI system on purpose, before a real attacker does. That way you find the bad replies, leaked data and broken rules while there is still time to fix them. There are two main ways to do it. In human red teaming, people try to break the system by hand. In automated red teaming, a model or script writes the attacks, and a second model, called a judge, scores each reply as safe or unsafe.

Automation wins on scale. In 2022, Perez and colleagues showed that one language model can write test cases for another, while human annotation is expensive and limits how many cases exist. Anthropic describes a similar path: experts probe a model by hand, then a language model generates hundreds or thousands of variations in a fraction of the time. The weakness is that the attacks and the judge only know what someone taught them to look for.

People win on judgement. They invent new kinds of attack, decide which risks matter most for a product, and notice when a reply is harmful only for one customer in one bad situation. Microsoft's red team, which tested more than 100 generative AI products, says human judgement and creativity are still needed for those choices. So I would start with people writing the first attacks, let machines multiply them, and then have people check a sample of the judge's passes.

Here is how that looks for a bank's support assistant. These are made-up numbers: forty hand-written attacks, two thousand generated variants, and a person reading every flag plus a random sample of passes. The sample is the part people skip, and it shows how often the judge is wrong.

## What are automated and human red teaming, in plain words?

Red teaming means attacking your own AI system on purpose, before someone hostile does. You want the bad replies, leaked data and broken rules found while you can still fix them.

There are two ways to run it. Human red teaming uses people who think like attackers. Automated red teaming uses a model or a script to write the attacks, and a judge to score each reply.

Think of a bank checking its branch security. It hires a tester who walks in and tries new ideas on the vault door. It also runs a night scanner that rattles every door it knows about. The tester finds what nobody listed. The scanner covers what the tester has no time to try. The same split applies to the assistant in the scenario below: its fraud team tries it by hand, while a script runs two thousand generated variants overnight.

- **Red team:** People or a tool that attack a system on purpose to find its weak spots.
- **Seed attack:** A starting test written by a person, which a machine can then vary.
- **Judge:** The scorer, often another model, that marks each reply safe or unsafe.
- **Coverage:** How much of the set of possible attacks your tests actually reach.

## How does automated red teaming work?

In 2022, Perez and colleagues proposed using one language model to write test cases for another. Hand-written tests are expensive to produce, so there are fewer of them. A model can write many more.

1. **Start from seeds:** A person writes a few dozen attacks that reflect real risks, such as a customer trying to get a refund without a case number.
2. **Generate variants:** A model rewrites each seed in many styles, languages and tones, so one idea becomes hundreds of tries.
3. **Run them on the bot:** A script sends every variant to the system under test and records each reply.
4. **Judge each reply:** The judge marks each reply safe or unsafe. Judges are often models too, so they can make mistakes.
5. **Send the flags to people:** Flagged replies go to a fix list. Passed replies are only assumed safe until someone checks them.

> "human annotation is expensive, limiting the number and diversity of test cases." (Perez and colleagues, 2022)
>
> "This increase in volume and the expanded scope of AI red teaming have rendered fully manual testing impractical, forcing us to scale up our operations with the help of automation." (Microsoft researchers, 2025)

Anthropic describes a similar path in its write-up. Experts probe the model by hand first, then a language model generates the variations, and the process moves from ad hoc human testing to more thorough, automated testing. The model does the volume, and people set the direction.

*Diagram, Automated and human red teaming in one loop: Testers write seeds, a model multiplies them, and the bot answers. A judge marks each reply, then people audit the flags and a sample of passes. Fixes and new seeds start the next round.*
1. The starting attacks go to the model, which multiplies them.
2. The model turns each seed into many variants and sends them to the bot.
3. The bot's reply goes to the judge for a safe or unsafe mark.
4. Flagged replies go to people, who read them and a sample of passes.
5. People send the fixes back, and the fixed bot is tested again.
6. Fixes and new attacks from the audit become seeds for the next round.

> **Tip:** Automated tests are cheap to repeat, so run them on every change. Their value is repetition and reach. Judgement stays with people.

## What can people do that automation cannot?

Automation finds the attacks it was built to find. People do the parts that need judgement. Microsoft's red team says human judgement and creativity are needed to prioritise risks, design whole-system attacks and define new kinds of harm.

- **Choose what matters:** Decide which risks matter most for this product and its users, such as a wrong fee quote or a private balance shown to the wrong person.
- **Invent new attacks:** Write attacks nobody has listed yet, such as a new scam wording that the team saw in a customer complaint.
- **Read the context:** Judge whether a polite reply still hurts someone in a particular situation, like a customer who has just lost a card.
- **Check the judge:** Read the replies the judge passed, and catch the ones it scored safe by mistake.

- **Automated: Wide, fast, blind to context.** Thousands of tries a night. It only finds what someone taught it to see, and its judge can be wrong.
- **Human: Deep, slow, costly.** Finds new kinds of harm and reads context well. It cannot cover thousands of tries, and people tire.

## How do you combine them?

Use each for what it does well. People set the direction and check the results, and machines do the volume. Microsoft's documentation for its AI red teaming agent makes the same point.

> "The most effective strategies for risk assessment combine automated tools that surface potential risks with expert human analysis for deeper insights." (Microsoft's AI red teaming agent documentation)
>
> "only human operators can assess the full range of interactions that users might have with AI systems in the wild" (Microsoft researchers)

Keep going until the loop stops finding new failures, so your coverage keeps growing. A zero from a judge nobody has checked tells you very little.

### How would you run it for a bank's support assistant?

This is a made-up bank with made-up numbers. A mid-size bank is about to launch an assistant that answers fee and refund questions. One wrong promise becomes a complaint and a regulator's question, so the team agrees the plan before launch.

1. **Week one: people write seeds:** The fraud and complaints teams write forty attacks, because they know how real customers and scammers talk.
2. **Overnight: the tool multiplies them:** The model turns the forty seeds into 2,000 variants, in plain, tricky and multilingual styles.
3. **The judge flags 137 replies:** The team reads all 137 and fixes the instructions behind each bad reply.
4. **Sample the passes:** They read 50 of the 1,863 passes at random. Six are unsafe, so the judge missed about 12 in every 100 in this sample.
5. **Retune and repeat:** If that rate holds, about 220 unsafe replies got through. Six in 50 is a small sample, so the real number could be much higher or lower. The judge is retuned, a larger sample is read again, and real complaints become new seeds.

Launch waits until the miss rate is low enough for the bank's risk team to accept. After that, the same loop runs again after every model or prompt change.

## What does the interviewer want to hear?

**A strong answer covers**

- [ ] A plain definition of each: a model at scale, or people who think like attackers.
- [ ] The trade-off: automation gives reach and repeatability, people give judgement and new ideas.
- [ ] The judge is often a model too, so it needs its own checks.
- [ ] Seeds from people, variants from machines, and a human read of the flags and a sample of passes.
- [ ] A zero result only means the judge found nothing.
- [ ] Red teaming repeats after every change, and it starts before launch.

**Common traps**

- Trap: "Automated red teaming replaces people." Better: It multiplies people. Humans still write the seeds, check the judge and decide what counts as harm.
- Trap: "Zero failures means the system is safe." Better: It means the judge flagged nothing. Check a sample of its passes before you believe it.
- Trap: "People are always more accurate than machines." Better: At volume people tire over thousands of replies, so machines cover the bulk and people check it.

## Can you spot the weak testing report?

**Spot the weak report:** Four teams report their testing before launch. Which one shows the weakest testing?

A. Testers wrote 30 new attacks on Monday, and 4 weak replies were fixed by Friday.
B. The scanner ran 5,000 generated attacks and flagged 0. Nobody has read the judge's passes yet.
C. Humans reviewed all 137 flagged replies and rewrote the instructions behind 12 of them.
D. A person tested the judge on 50 of its passes, and 6 were found unsafe.

**Answer:** B. Zero flags only means the judge saw nothing. Nobody checked what it passed, so the report cannot show the bot is safe. Read a sample of passes before you sign off.

**Quick check:** A bank has three testers and one week before launch. Which plan gives the best mix of reach and judgement?

A. The three testers try attacks by hand all week.
B. Run the judge alone on 10,000 random prompts, and launch if the report shows no failures at all.
C. Write 50 seeds, let a model multiply them, and have people check flags and a sample of passes.
D. Skip red teaming before launch and learn from customer complaints.

**Answer:** C. Machines give reach, and people give judgement and check the judge. Hand testing alone is too slow for one week, a judge alone can be wrong, and waiting for complaints means customers find the failures.

## Can you answer these from memory?

**Flash cards**

- **What is automated red teaming?** A model or script writes attacks, and a judge scores the replies, at scale.
- **What is human red teaming?** People who think like attackers. They find new harms and read context, but cost more and tire.
- **What is a judge?** The scorer, often another model, that marks each reply safe or unsafe.
- **Why check the judge?** It misses failures too. People read a sample of its passes and measure how many it misses.
- **What is the best mix?** People write the seeds and check the results. Machines multiply attacks and do the first scoring.
- **Does zero flags mean safe?** No. It means the judge flagged nothing, so humans must check what it passed.

## Likely follow-up questions

- Q221 What is red teaming? https://designervenkat.online/interview/ai/what-is-red-teaming
- Q223 Guardrail tools (Llama Guard, NeMo Guardrails, cloud filters)? https://designervenkat.online/interview/ai/guardrail-tools-llama-guard-nemo-guardrails
- Q224 What is a policy classifier layer? https://designervenkat.online/interview/ai/what-is-a-policy-classifier-layer
- Q201 What is prompt injection? https://designervenkat.online/interview/ai/what-is-prompt-injection
- Q227 How do you secure an agent that reads email? https://designervenkat.online/interview/ai/how-do-you-secure-an-agent-that-reads-email

## Learn it in depth

- [Automated vs manual testing](https://designervenkat.online/learn/ai-guardrails/automated-vs-manual)
