§5.7, side-note p. 93 — equivariance under an s-step left shift
ProvedGeomDL.RNN.shift_equivariant_s_stepsequivariancegeometric-deep-learningp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1recurrent-neural-network
Let be any RNN update map, its seed, and an input sequence padded on the left by zero vectors. If and , then the RNN run on the sequence shifted left by steps is the correspondingly shifted original run:
This extends the one-step statement to all shifts that fit inside the zero padding.
Formalization Note Time is indexed by natural numbers, and the original input begins at time ; its value at time is unused.
Preamble
import Mathlib import Definitions.Def_GeomDL_RNN_Recurrence
Formal statement
namespace GeomDL.RNN
/-- The side-note on p. 93: padding by at least `s` permits an `s`-step left shift. -/
theorem shift_equivariant_s_steps {k m : ℕ}
(R : (Fin k → ℝ) → (Fin m → ℝ) → (Fin m → ℝ))
(h0 : Fin m → ℝ) (z : ℕ → Fin k → ℝ)
(delay s : ℕ) (hpad : s ≤ delay) (hfix : R 0 h0 = h0) :
∀ t : ℕ,
run R h0 (fun u => pad delay z (u + s)) t =
run R h0 (pad delay z) (t + s) := by sorry
end GeomDL.RNN
Source
Bronstein et al., Geometric Deep Learning (arXiv:2104.13478v2), §5.7, side-note, p. 93
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.