Illustration
Upgrade now
Illustration
Upgrade now

Red Teaming

Summary:
Red Teaming

What is red teaming?

Red teaming is the practice of deliberately trying to make an AI system fail or cause harm, so the team finds problems before users do. OpenAI describes it as using people or AI to look into a new system's potential risks in a structured way. Anthropic calls it adversarially testing a system to identify potential vulnerabilities. The US National Institute of Standards and Technology (NIST) describes AI red teaming as an evolving practice for finding harmful behavior and stress testing safeguards. It's often run in a controlled setting with the developers.

Testers might try to get a chatbot to give harmful advice, reveal private data, or treat a group of people unfairly. The aim isn't to show that the system works, but to find where it breaks. Each finding shows a weakness the team can fix, or a risk it needs to warn people about.

How does red teaming work?

Red teams use a mix of methods. Anthropic's 2024 overview names domain experts, multilingual and multicultural testing, automated testing, and crowdsourced or community testing for general harms. In 2022, Anthropic released 38,961 red team attacks from its own research, ranging from offensive language to subtler unethical replies.

Automated red teaming uses an AI model to attack another. A 2022 study by Ethan Perez and colleagues found a chatbot giving out personal and hospital phone numbers as its own contact details, and leaking private text from its training data. Design teams can red team too. Apple's guidelines for generative AI suggest trying vague or badly phrased requests, sensitive topics, and prompts that push toward harmful or wrong results.

Who should be on a red team?

Who is on the team shapes what it finds. OpenAI's red teaming campaigns start by choosing the group based on the goals and the areas to test. NIST recommends red teams that are diverse in background and discipline, because each group spots flaws in the settings it knows. Members of the public bring their own lived experiences and perspectives, which experts can miss.

Gaps in the team become gaps in the results. Anthropic notes that most of its red teaming happens in English and from the perspective of people based in the United States. Results are also a snapshot. OpenAI points out that red teaming captures risks at a specific moment, and those risks change as models evolve, so teams repeat the tests and turn findings into automated checks.

How does red teaming differ from usability testing?

Usability testing checks how real people use a product as intended, to find confusion and friction. Red teaming does the opposite: testers try to misuse the product on purpose, to find harm.

Both are needed for an AI feature. A chatbot can pass a usability test with ease and still give dangerous advice to someone who asks in an unexpected way. Usability testing shows whether people can reach their goal, and red teaming shows what happens when someone, or something, pushes the system off course. Red teaming also tests the guardrails themselves, the automatic checks meant to block harmful requests and replies.

The AI Fundamentals for UX course covers how to test AI features for harm before and after launch.

Frequently Asked Questions

Is red teaming done only before launch?
Can designers and everyday users take part in red teaming?
Does red teaming make an AI system safe?
Avatars

Join 500,000+ product professionals leveling up with Uxcel

Interactive learning built for busy professionals. Advance your UX design or product management career in just 5 minutes a day.
Icon

Over 60 courses

Icon

Recognized certificates

Icon

Career paths & more

Company logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logo
Stars

Successfully transforming people’s careers & lives

4.8/5
Avatars

10,000+ verified public & course reviews

Photo

With Uxcel, I've gained so much confidence talking with clients.

Blake Feldman
Product Designer · 15+ years in design
Photo

Uxcel helped me level up from a junior to a senior designer

Chieri Wada
UX/UI Designer · 8+ years in design
Photo

Uxcel really helped me during my career change.

Ryan Blackwell
UX Designer & Writer · 5+ years in design
Photo

Uxcel is in my browser favorites, I use it for a ton of stuff.

Matt Salik
UX designer · 20+ years in design
Photo

Love the certifications, love the price. Thumbs up Uxcel.

Phil Campbell
Information Architect · 1 year in design