AI engineering glossary · Evals guardrails AI security

What is adversarial training?

Adversarial training: A defence that improves a model's resistance to attacks by including adversarial examples, generated on the fly, in its training data so it learns to classify them correctly. It usually costs more compute and can slightly lower accuracy on clean inputs.

Level: advancedTopic: Evals guardrails AI security

Adversarial training: an example

At each training step, the team perturbs the batch with FGSM and trains on both clean and perturbed images.

Related terms

More Evals guardrails AI security terms

Where you learn it

Adversarial training is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.