Theorem 8.2, p. 144 — Perceptron mistake bound against every hinge power
ProvedModernOnlineLearning.Classification.theorem_8_2machine-learningmistake-boundonline-classificationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1perceptron
Let be any sequence with , , and . Run Algorithm 8.2 and write for its number of mistakes, counting zero-score predictions as mistakes. For every and every real , put . Then
The bound compares the Perceptron's mistakes simultaneously with the hinge-power loss of every fixed linear competitor.
Formalization Note Rounds are indexed from . The auxiliary feature set is omitted because the theorem quantifies over the sequence itself and uses only its norm bound. The implicit is explicit; and are included. The square-root argument is nonnegative since hinge-power losses are nonnegative for .
Preamble
import Mathlib import Definitions.Def_ModernOnlineLearning_Classification_Perceptron
Formal statement
namespace ModernOnlineLearning.Classification
/-- Orabona, Theorem 8.2, p. 144: the Perceptron mistake bound for every
competitor and every real hinge power `q ≥ 1`. -/
theorem theorem_8_2 {d : ℕ} (T : ℕ) (z : ℕ → ModernOnlineLearning.Adaptive.Vec d) (y : ℕ → ℝ)
(hy : ∀ t ∈ Finset.Icc 1 T, y t = -1 ∨ y t = 1)
(R : ℝ) (hR : 0 ≤ R)
(hz : ∀ t ∈ Finset.Icc 1 T, ‖z t‖ ≤ R)
(u : ModernOnlineLearning.Adaptive.Vec d) (q : ℝ) (hq : 1 ≤ q) :
mistakes z y T - cumulativeHinge z y T u q ≤
q ^ 2 * R ^ 2 * ‖u‖ ^ 2 / 2 +
q * R * ‖u‖ * Real.sqrt
(q ^ 2 * R ^ 2 * ‖u‖ ^ 2 / 4 + cumulativeHinge z y T u q) := by sorry
end ModernOnlineLearning.Classification
Source
Orabona, arXiv:1912.13213v10, Theorem 8.2, p. 144; Algorithm 8.2 and hinge-power loss, p. 143
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.