(7), p. 3 — the hypergradient formula is the gradient of Φ
ProvedDecBilevel.SLDBO.eq_7_hypergradientbilevel-optimizationhypergradientimplicit-function-theoremp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let (, ) satisfy Assumption 2.1, let , and let minimize for every . Then is differentiable at every , and its gradient is given by (7):
This identifies the quantity that Algorithm 1 tracks, and that Theorem 3.1 drives to zero, with the true gradient of the bilevel objective.
Formalization Note. The right-hand side is the definition hypergrad; the conclusion is HasGradientAt Φ (hypergrad x) x. Strong convexity makes unique, so taking as a given minimizer map loses nothing.
Preamble
import Mathlib import Definitions.Def_DecBilevel_SLDBO_Setting
Formal statement
namespace DecBilevel.SLDBO
theorem eq_7_hypergradient {n p q : ℕ} (hn : 0 < n) (F f : Fin n → E p → E q → ℝ)
(σ LF0 LF1 Lf1 Lf2 : ℝ) (hA21 : Assumption21 F f σ LF0 LF1 Lf1 Lf2)
(ystar : E p → E q) (hystar : ∀ x, IsMinOn (avgf f x) Set.univ (ystar x)) (x : E p) :
HasGradientAt (Phi F ystar) (hypergrad F f ystar x) x := by sorry
end DecBilevel.SLDBO
Source
Dong, Ma, Yang, Yin, A Single-Loop Algorithm for Decentralized Bilevel Optimization, arXiv:2311.08945v3, p. 3, (7)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.