Definition

An adversarial example with : the worst input inside a small ball around a clean input. The threat model fixes the norm (, , ) and the budget ; for LLMs it becomes e.g. β€œa suffix of tokens”.

  • Training minimizes the average loss, the attacker picks the worst case: 95% clean accuracy can sit next to ~0% robust accuracy.
  • FGSM: one step . PGD: many projected sign-steps, near worst case.
  • Perturbations are often universal (one for many inputs) and transferable (one for many models), and work physically (stop-sign stickers).

Appears in