§4 (p. 10) — sup over ‖Δ‖∞ ≤ ε of ⟨yw, Δ⟩ is ε‖w‖₁; robust margin iff ⟨yw, x⟩ > ε‖w‖₁
ProvedRobustGeneralization.BernLower.linf_l1_dualityadversarial-robustnessdual-normlinear-classifierp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let , and . Then the supremum of over perturbations with is attained and equals :
and the linear classifier classifies with positive margin on the whole ball, i.e. for every with , if and only if
This is the observation that ties -robustness of a linear classifier to the norm of its weight vector, the starting point of the lower bound for linear classifiers.
Formalization Note and are written coordinatewise ( for all , ). The criterion is the margin condition of the page, which is stated as "for all points of the ball" since the infimum over the compact ball is attained. is needed for the ball to be nonempty.
Preamble
import Mathlib import Definitions.Def_RobustGeneralization_BernLower_Model
Formal statement
namespace RobustGeneralization.BernLower
theorem linf_l1_duality (d : ℕ) (w x : E d) (y : Bool) (ε : ℝ) (hε : 0 ≤ ε) :
IsGreatest {t : ℝ | ∃ Δ : E d, (∀ i, |Δ i| ≤ ε) ∧ t = inner ℝ (lab y • w) Δ}
(ε * ∑ i, |w i|) ∧
((∀ x' ∈ linfBall x ε, 0 < inner ℝ (lab y • w) x') ↔
ε * ∑ i, |w i| < inner ℝ (lab y • w) x) := by sorry
end RobustGeneralization.BernLower
Source
Schmidt, Santurkar, Tsipras, Talwar, Mądry, Adversarially Robust Generalization Requires More Data, arXiv:1804.11285v2, p. 10, §4, the displays from 'For an example (x, y), a linear classifier' to 'ε‖yw‖₁ = ε‖w‖₁'
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.