Feynman–Kac models with potential functions of the previous state #
In Section S3 of the supplementary material, the potential functions are g_1 : X → (0, ∞) and
g_t : X² → (0, ∞), 2 ≤ t ≤ T. The target distribution has density
π(x_{1:T}) = m_1(x_1) g_1(x_1) ∏_{t ≥ 2} m_t(x_{t-1}, x_t) g_t(x_{t-1}, x_t) / Z (eq. (S2)), where
Z ∈ (0, ∞). These data are the fields of the structure PreviousState.Model μ n, with the
conventions of FeynmanKac μ n: pot s x x' is g_{t+1}(x, x') for the step s from time
t = s.castSucc to time s.succ.
The normalized weights at the times t ≥ 2,
W_t^i = g_t(x_{t-1}^{a_{t-1}^i}, x_t^i) / ∑_k g_t(x_{t-1}^{a_{t-1}^k}, x_t^k), depend on the
ancestor indices. The backward-sampling probabilities B_t(i|x') of eq. (S3) are those of
Lindsten and Schön (2013), with B_t(i|j) = B_t(i|x_{t+1}^j). Where the denominator of eq. (S3)
vanishes, B_t(·|x') is defined as W_t, with the convention of FeynmanKac.bsprob for eq. (2).
It is proved here that π is a probability measure, and that the weights and the
backward-sampling probabilities are probability vectors and, for fixed ancestor indices, measurable
functions of the particle positions. The identities
g_t(x_{t-1}^{a_{t-1}^i}, x_t^i) = W_t^i ∑_k g_t(x_{t-1}^{a_{t-1}^k}, x_t^k) and
W_t^i m_{t+1}(x_t^i, x') g_{t+1}(x_t^i, x') = B_t(i|x') ∑_k W_t^k m_{t+1}(x_t^k, x') g_{t+1}(x_t^k, x') also hold.
The numerator m_1(x_1) g_1(x_1) ∏_{t ≥ 2} m_t(x_{t-1}, x_t) g_t(x_{t-1}, x_t) of the target
density (eq. (S2)).
Equations
Instances For
A Feynman–Kac model with potential functions of the previous state, with T = n + 1 time
steps on the measurable space X with the σ-finite measure μ (Section S3.1).
- transdens₁ : X → NNReal
The initial density
m_1. The transition densities:
transdens s x x'ism_{t+1}(x, x')for the stepsfrom timet = s.castSuccto times.succ.- pot₁ : X → NNReal
The potential function
g_1. The potential functions of the previous state:
pot s x x'isg_{t+1}(x, x')for the stepsfrom timet = s.castSuccto times.succ.- measurable_transdens₁ : Measurable self.transdens₁
The initial density is measurable.
- measurable_transdens (s : Fin n) : Measurable (Function.uncurry (self.transdens s))
The transition densities are jointly measurable.
- measurable_pot₁ : Measurable self.pot₁
The potential function
g_1is measurable. - measurable_pot (s : Fin n) : Measurable (Function.uncurry (self.pot s))
The potential functions
g_t,t ≥ 2, are jointly measurable. m_1is a probability density with respect toμ.Each
m_{t+1}(x, ·)is a probability density with respect toμ.g_1takes values in(0, ∞).The potential functions
g_t,t ≥ 2, take values in(0, ∞).- normconst_ne_zero : (∫⁻ (x : Fin (n + 1) → X), ↑(unnormalizedTarget self.transdens₁ self.transdens self.pot₁ self.pot x) ∂MeasureTheory.Measure.pi fun (x : Fin (n + 1)) => μ) ≠ 0
Z ≠ 0. - normconst_ne_top : (∫⁻ (x : Fin (n + 1) → X), ↑(unnormalizedTarget self.transdens₁ self.transdens self.pot₁ self.pot x) ∂MeasureTheory.Measure.pi fun (x : Fin (n + 1)) => μ) ≠ ⊤
Z < ∞.
Instances For
The normalizing constant Z of the target density.
Equations
- M.normconst = ∫⁻ (x : Fin (n + 1) → X), ↑(CSMC.PreviousState.unnormalizedTarget M.transdens₁ M.transdens M.pot₁ M.pot x) ∂MeasureTheory.Measure.pi fun (x : Fin (n + 1)) => μ
Instances For
The target distribution π of eq. (S2).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The normalized weights W_t^i: g_1(x_1^i) / ∑_k g_1(x_1^k) at time 1, and
g_t(x_{t-1}^{a_{t-1}^i}, x_t^i) / ∑_k g_t(x_{t-1}^{a_{t-1}^k}, x_t^k) at the times t ≥ 2.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The backward-sampling probabilities of eq. (S3): B_t(i|x') is
W_t^i m_{t+1}(x_t^i, x') g_{t+1}(x_t^i, x') divided by its sum over i, with B_t(·|x') = W_t
where this sum vanishes.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The backward-sampling probabilities B_t(i|j) = B_t(i|x_{t+1}^j) (Section S3.1).
Instances For
The kernels of the selection rule r, defined as in the main text with the probabilities
(S3), as functions of the particle positions and of the ancestor indices.
Instances For
The target distribution is a probability measure.
The weights at time 1: W_1^i = g_1(x_1^i) / ∑_k g_1(x_1^k).
The weights at the times t ≥ 2:
W_t^i = g_t(x_{t-1}^{a_{t-1}^i}, x_t^i) / ∑_k g_t(x_{t-1}^{a_{t-1}^k}, x_t^k).
With at least one particle, the weights at each time form a probability vector.
With at least one particle, g_1(x_1^i) = W_1^i ∑_k g_1(x_1^k).
With at least one particle,
g_t(x_{t-1}^{a_{t-1}^i}, x_t^i) = W_t^i ∑_k g_t(x_{t-1}^{a_{t-1}^k}, x_t^k) for t ≥ 2.
With at least one particle, each B_t(·|x') is a probability vector.
W_t^i m_{t+1}(x_t^i, x') g_{t+1}(x_t^i, x') = B_t(i|x') ∑_k W_t^k m_{t+1}(x_t^k, x') g_{t+1}(x_t^k, x'), also where the sum vanishes.
The transition densities, evaluated at measurable functions, are measurable.
The potential functions g_t, t ≥ 2, evaluated at measurable functions, are measurable.
For fixed ancestor indices, the weights are measurable functions of the particle positions.
For fixed ancestor indices, the backward-sampling probabilities B_t(i|j) are measurable
functions of the particle positions.