Equations (A.214)--(A.218) - LP-FT stationarity
ProvedFeatureDistortion.LPFTStationaryNotation: , is the input dimension, the feature dimension, the data map, the labels, the features, and the head. Adjoint means Euclidean transpose. The loss is , with no normalization. The probability model, when present, is explicitly specified below; deterministic flow statements involve no random data assumption.
For every triple of natural numbers and every choice of continuous real-linear maps and , real-linear isometric bijection , and , let , , , , , and . Assume , , , , , and injectivity on of and of , with denoting orthogonal projection. For every pair of functions and , if , , and at every real their derivatives within are and , with the second derivative taken in the space of continuous linear maps, then for every real , and . All adjoints are Euclidean. These hypotheses exclude zero dimensions and require and . The proposition does not itself require such curves to exist, and their negative-time values are unconstrained.
Formalization note: Source-derived stationarity conclusion; uniqueness is needed in addition to vanishing gradients. Source: Kumar, Raghunathan, Jones, Ma, and Liang, Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution, ICLR 2022, https://arxiv.org/pdf/2202.10054v1. Appendix A.7, PDF pp. 46--47, proof of Proposition 3.7, equations (A.214)--(A.218). Source-backed parent: Section 3.4, PDF p. 10, Proposition 3.7, equations (3.10)--(3.11); Appendix A.7, PDF pp. 45--47.
import Definitions.Def_FeatureDistortion_Model open MeasureTheory Filter open scoped Topology
namespace FeatureDistortion
theorem LPFTStationary :
∀ (n d k : ℕ) (P : Problem n d k), Admissible P →
∀ γ : Trajectory d k,
IsFineTuningFlow P.data (labels P) (alignedHead P) (initialFeatures P) γ →
∀ t : ℝ, 0 ≤ t →
γ.head t = alignedHead P ∧ γ.features t = initialFeatures P := by sorry
end FeatureDistortion
Read-back
What the Lean code literally says, in plain math · gpt-6
For every triple of natural numbers and every choice of continuous real-linear maps and , real-linear isometric bijection , and , let , , , , , and . Assume , , , , , and injectivity on of and of , with denoting orthogonal projection. For every pair of functions and , if , , and at every real their derivatives within are and , with the second derivative taken in the space of continuous linear maps, then for every real , and . All adjoints are Euclidean. These hypotheses exclude zero dimensions and require and . The proposition does not itself require such curves to exist, and their negative-time values are unconstrained.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.