Divergence decomposition for two MDPs differing in a single transition row
ProvedBanditAlgorithm.mdp_divergence_decomposition_single_rowThe divergence decomposition for Markov decision processes (Lattimore--Szepesv'ari, Bandit Algorithms, eq. 38.22; Exercise 38.30).
Let and be finite Markov decision processes on the same state and action spaces which agree in every transition row except one, say the row at the pair . Fix an initial state distribution and a history-dependent policy , and let be the laws of the -round trajectory under the two processes. Then the relative entropy between the two trajectory laws factorises exactly:
where counts the rounds strictly before time at which the pair was played.
The count is , not : divergence accrues only at rounds whose successor state is actually recorded in the trajectory, and the state following the last recorded round has not been observed. The identity holds for every history-dependent policy, which is what makes it usable in minimax lower bounds: the policy contributes nothing to the divergence, because it sees the same history under both processes.
import Definitions.Def_UCRL2ConfidenceSets import Mathlib.InformationTheory.KullbackLeibler.ChainRule open MeasureTheory ProbabilityTheory InformationTheory open scoped ENNReal
theorem BanditAlgorithm.mdp_divergence_decomposition_single_row {S A : ℕ}
{M₀ M₁ : FiniteMDP S A} {μ0 : MDPStateDistribution S} {π : MDPPolicy S A}
{sStar : Fin S} {aStar : Fin A}
(hrow : ∀ (s : Fin S) (a : Fin A), (s, a) ≠ (sStar, aStar) → M₀.P s a = M₁.P s a)
(hac : (M₀.transitionDist sStar aStar).toMeasure
≪ (M₁.transitionDist sStar aStar).toMeasure) (n : ℕ) :
klDiv (mdpMeasure M₀ μ0 π n) (mdpMeasure M₁ μ0 π n)
= (∫⁻ h, (mdpVisitCount h (n - 1) sStar aStar : ℝ≥0∞) ∂(mdpMeasure M₀ μ0 π n))
* klDiv (M₀.transitionDist sStar aStar).toMeasure
(M₁.transitionDist sStar aStar).toMeasure := by sorry