Coordinate resampling for inner-product-valued functions #
The squared-distance form of Efron–Stein extends to functions into a real inner product space by applying the scalar inequality in a basis of the span of the finite image. Equivalently, the global variance is at most the number of coordinates times the variance under uniform single-coordinate resampling.
Main results #
theorem Fintype.expect_expect_norm_sub_update_sq_le_two {I : Type u_1} {A : Type u_2} {E : Type u_3} [Fintype I] [DecidableEq I] [Fintype A] [Nonempty A] [SeminormedAddCommGroup E] [InnerProductSpace ℝ E] (i : I) (f g : (I → A) → E) (hg : ∀ (u : I → A) (a : A), g (Function.update u i a) = g u) :
(Finset.univ.expect fun (u : I → A) => Finset.univ.expect fun (a : A) => ‖f (Function.update u i a) - f u‖ ^ 2) ≤ 2 * Finset.univ.expect fun (u : I → A) => ‖f u - g u‖ ^ 2
A function constant along an update fiber bounds the squared change from resampling that fiber, with a factor of two from the two independent samples.
theorem Fintype.expect_expect_norm_sub_sq_le_sum_expect_expect_norm_sub_update_sq {A : Type u_1} {E : Type u_2} [Fintype A] [Nonempty A] [NormedAddCommGroup E] [InnerProductSpace ℝ E] {n : ℕ} (f : (Fin n → A) → E) :
(Finset.univ.expect fun (u : Fin n → A) => Finset.univ.expect fun (v : Fin n → A) => ‖f u - f v‖ ^ 2) ≤ ∑ i : Fin n,
Finset.univ.expect fun (u : Fin n → A) => Finset.univ.expect fun (a : A) => ‖f u - f (Function.update u i a)‖ ^ 2
Mean squared distance of two independent uniform tuples is at most the sum of the mean squared changes on independently resampling each coordinate.