the.ai

Adversarial / Methods

verified

Adversarial Training

If a model fails on inputs an attacker constructs, train it on those inputs. Each step generates the worst perturbation it can find and learns from that instead of the clean example. It is the only defence that has held up across a decade of papers, and it costs several times an ordinary training run.

Viz primitive · budget-splitattack-steps = 6

attack-steps holds 50% of the budget; rest holds the remaining 50%.

Compute spent generating the attack against compute spent on the update it feeds, in equal units. Drag the attack steps up to watch the inner loop dominate — this is why robust training costs a multiple of ordinary training.

6

Reviewed by opendroid · 2026-08-18

  • arXiv:1706.06083 — Towards Deep Learning Models Resistant to Adversarial Attacks