§5.7, p. 93 — a fixed-point seed makes a padded RNN shift-equivariant
ProvedGeomDL.RNN.shift_equivariant_of_fixed_pointequivariancegeometric-deep-learningp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1recurrent-neural-network
Let be an RNN update map, and pad an input sequence on the left with zero vectors to obtain . If the common seed of both runs is a fixed point of the zero-input update, , then
This is the boundary condition under which an RNN commutes with a one-step left shift of a padded input.
Formalization Note The claim includes . The book's is Lean's input at index , with unused.
Preamble
import Mathlib import Definitions.Def_GeomDL_RNN_Recurrence
Formal statement
namespace GeomDL.RNN
/-- The one-step left-shift equivariance on p. 93. -/
theorem shift_equivariant_of_fixed_point {k m : ℕ}
(R : (Fin k → ℝ) → (Fin m → ℝ) → (Fin m → ℝ))
(h0 : Fin m → ℝ) (z : ℕ → Fin k → ℝ)
(delay : ℕ) (hpad : 1 ≤ delay) (hfix : R 0 h0 = h0) :
∀ t : ℕ,
run R h0 (fun u => pad delay z (u + 1)) t =
run R h0 (pad delay z) (t + 1) := by sorry
end GeomDL.RNN
Source
Bronstein et al., Geometric Deep Learning (arXiv:2104.13478v2), §5.7, paragraph following equations (40)–(41), p. 93
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.