Feynman–Kac models #
The model of Section 2.1 of the paper consists of a measurable space X with a σ-finite measure
μ, a Markov chain on X with initial density m_1 and transition densities m_t(x_{t-1}, x_t),
2 ≤ t ≤ T, with respect to μ, and potential functions g_t : X → (0, ∞). 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) / Z
(eq. (1)), where Z ∈ (0, ∞).
These data form the structure FeynmanKac μ n, with T = n + 1. The densities and the potential
functions take values in [0, ∞). Their measurability, the normalization of the densities, the
positivity of the potential functions, and the condition on Z are fields of the structure. The
density m_{t+1}(x_t, ·) of the step s : Fin n from time s.castSucc to time s.succ is
transdens s x_t.
The normalized weights W_t^i = g_t(x_t^i) / ∑_k g_t(x_t^k) and the backward-sampling
probabilities B_t(i|j) of eq. (2) are also defined here. Where the denominator of eq. (2)
vanishes, which happens on a null set under π̄, B_t(·|j) is defined as W_t, so that it is a
probability vector for all particle positions.
The results proved here are that π is a probability measure, that the weights and the
backward-sampling probabilities are probability vectors and measurable functions of the particle
positions, and that g_t(x_t^i) = W_t^i ∑_k g_t(x_t^k) and
W_t^i m_{t+1}(x_t^i, x_{t+1}^j) = B_t(i|j) ∑_k W_t^k m_{t+1}(x_t^k, x_{t+1}^j).
A Feynman–Kac model with T = n + 1 time steps on the measurable space X with the σ-finite
measure μ (Section 2.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.The potential functions
g_t.- 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 (t : Fin (n + 1)) : Measurable (self.pot t)
The potential functions are measurable.
m_1is a probability density with respect toμ.Each
m_{t+1}(x, ·)is a probability density with respect toμ.The potential functions take values in
(0, ∞).- normconst_ne_zero : (∫⁻ (x : Fin (n + 1) → X), ↑(unnormalizedTarget self.transdens₁ self.transdens 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 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.unnormalizedTarget M.transdens₁ M.transdens M.pot x) ∂MeasureTheory.Measure.pi fun (x : Fin (n + 1)) => μ
Instances For
The target distribution π of eq. (1).
Equations
- M.target = (MeasureTheory.Measure.pi fun (x : Fin (n + 1)) => μ).withDensity fun (x : Fin (n + 1) → X) => M.normconst⁻¹ * ↑(CSMC.unnormalizedTarget M.transdens₁ M.transdens M.pot x)
Instances For
The normalized weight W_t^i = g_t(x_t^i) / ∑_k g_t(x_t^k) of the particle i at time t.
Instances For
The backward-sampling probabilities of eq. (2):
B_t(i|j) = W_t^i m_{t+1}(x_t^i, x_{t+1}^j) / ∑_k W_t^k m_{t+1}(x_t^k, x_{t+1}^j), with
B_t(·|j) = W_t where the denominator vanishes.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The kernels of the selection rule r, as functions of the particle positions.
Instances For
The target distribution is a probability measure.
With at least one particle, the sum ∑_k g_t(x_t^k) of the potentials at each time is
positive.
The weights are nonnegative.
The weight W_t^i as a nonnegative real number: g_t(x_t^i) / ∑_k g_t(x_t^k).
With at least one particle, g_t(x_t^i) = W_t^i ∑_k g_t(x_t^k).
With at least one particle, the weights at each time form a probability vector.
With at least one particle, each B_t(·|j) is a probability vector.
Where the denominator of eq. (2) is positive, B_t(i|j) is given by eq. (2).
The backward-sampling probabilities are nonnegative.
W_t^i m_{t+1}(x_t^i, x_{t+1}^j) = B_t(i|j) ∑_k W_t^k m_{t+1}(x_t^k, x_{t+1}^j), also where
the sum vanishes.
The weights are measurable functions of the particle positions.
The transition densities, evaluated at measurable functions, are measurable.
The backward-sampling probabilities are measurable functions of the particle positions.