What is LLM red-teaming?
LLM red-teaming is the practice of deliberately trying to make a model fail, in order to find its weaknesses before users do. Testers write adversarial and edge-case inputs and record what the model gets wrong. Security red-teaming looks for ways to break safeguards. Domain red-teaming, done by subject experts, looks for answers that are confidently wrong in a specialist field.
Updated
LLM red-teaming
Two different jobs
Security teams test for prompt injection, data leakage and bypassed safeguards. Domain experts test whether the model is right: a tax question with a trap in it, a clinical case where the obvious answer is dangerous.
Both are called red-teaming. They need different people.
LLM red-teaming
What comes out of it
A set of inputs the model failed on, each with what went wrong and what a correct answer looks like. That set becomes a regression test and often training data.
LLM red-teaming
What makes it useful
Failures that are realistic, not contrived. An expert knows which mistakes cost money or harm someone in practice, and writes cases around those.
In practice
Where this shows up in our work.
Related terms
Read next.
Need this done, not only defined?
Tell us what you are building. We start with a small paid pilot, and you approve on a sample before any volume.