Secure Systems Group
Menu×

Wiki Home

ℓp norms

Definition

The ℓp norm of a vector is (Σ|v_i|^p)^(1/p). Three cases dominate adversarial ML: ℓ2 is Euclidean length; ℓ-infinity is the largest coordinate magnitude; ℓ0 counts nonzero coordinates (not a true norm, by standard abuse of notation). The ℓp ball of radius epsilon around an input is the set of points within distance epsilon. As perturbation budgets: an ℓ-infinity budget caps the change to every pixel, an ℓ2 budget caps the total energy of the change, and an ℓ0 budget caps how many pixels change at all. All of them are proxies for perceptual similarity, which has no closed form.

Papers that use this concept

Variants and traps

  • Robustness in one norm implies little about another, and robust-accuracy numbers are not comparable across norms or radii.

See also