In the paper you referenced (arXiv:2306.17775), the "twisting" guidance term is introduced to condition the denoising trajectory on a motif. This twisting term modifies the mean of the reverse process in a diffusion model. To derive the variance estimate associated with this twisting term, we need to analyze how the twisting guidance affects the overall variance of the denoising process.
Background:
In diffusion models, the reverse process is typically defined by a stochastic differential equation (SDE) of the form:
[
d\mathbf{x}_t = [\mathbf{f}(\mathbf{x}t, t) + \mathbf{g}(t)^2 \nabla{\mathbf{x}_t} \log p_t(\mathbf{x}_t)] dt + \mathbf{g}(t) d\mathbf{w}_t,
]
where (\mathbf{f}(\mathbf{x}_t, t)) is the drift term, (\mathbf{g}(t)) is the diffusion coefficient, and (\mathbf{w}_t) is a Wiener process.
The twisting guidance term conditions the mean of the reverse process on a motif, effectively modifying the drift term. Let’s denote the original drift term as (\mathbf{f}(\mathbf{x}_t, t)) and the twisting guidance term as (\mathbf{h}(\mathbf{x}t, t)). The modified drift term becomes:
[
\mathbf{f}{\text{twist}}(\mathbf{x}_t, t) = \mathbf{f}(\mathbf{x}_t, t) + \mathbf{h}(\mathbf{x}_t, t).
]
Variance Estimate:
The variance of the denoising process is primarily determined by the diffusion coefficient (\mathbf{g}(t)^2), which is independent of the twisting guidance term. Therefore, the twisting term does not directly affect the variance of the process. However, the twisting term influences the mean of the process, which indirectly affects the distribution of (\mathbf{x}_t).
To derive the variance estimate, we assume that the twisting term (\mathbf{h}(\mathbf{x}_t, t)) is deterministic and does not introduce additional stochasticity. Thus, the variance of the denoising process remains governed by the original diffusion coefficient (\mathbf{g}(t)^2).
The variance of the reverse process at time (t) is given by:
[
\text{Var}(\mathbf{x}_t) = \int_0^t \mathbf{g}(s)^2 ds.
]
Since the twisting term does not alter (\mathbf{g}(t)), the variance estimate remains unchanged from the original diffusion model. Therefore, the variance of the denoising trajectory with the twisting guidance is still:
[
\boxed{\text{Var}(\mathbf{x}_t) = \int_0^t \mathbf{g}(s)^2 ds}.
]
Conclusion:
The twisting guidance term in the denoising trajectory conditions the mean of the process on a motif but does not affect the variance estimate, which remains determined by the diffusion coefficient (\mathbf{g}(t)). Thus, the variance of the process is unchanged and is given by the integral of the squared diffusion coefficient over time.