Closed bd3dowling closed 3 months ago
Paste from obsidian:
\begin{algorithm}
\caption{Framework of FPS-SMC}
\begin{algorithmic}
\Input $N, \mathbf{y}, M, \mathbf{s}_{\theta}(\cdot, \cdot)$
\State Sample the $\{\mathbf{y}_k\}$ sequence from $q(\mathbf{y}_{1:N} \mid \mathbf{y}_0)$.
\State Sample $M$ i.i.d. samples $\mathbf{x}_N^{(j)} \sim p_{\theta}(\mathbf{x}_N \mid \mathbf{y}_N)$ for $j \in [M]$.
\For{$k \gets N$ \To $1$}
\State Generate $M$ i.i.d. samples $\overline{\mathbf{x}}_{k-1}^{(j)} \sim p_\theta(\mathbf{x}_{k-1} \mid \mathbf{x}_k^{(j)}, \mathbf{y}_{k-1})$ for $j \in [M]$.
Randomly pick $M$ samples with replacement from $\left\{\overline{\mathbf{x}}_{k-1}^{(j)}\right\}_{j \in [M]}$. Denote the $M$ new samples as $\left\{\mathbf{x}_{k-1}^{(j)}\right\}_{j \in [M]}$.
\EndFor
\Output $\mathbf{x}_0$ which is uniformly sampled from $\left\{\mathbf{x}_0^{(j)}\right\}_{j \in [M]}$.
\end{algorithmic}
\end{algorithm}
Dou, Zehao, and Yang Song. Diffusion Posterior Sampling for Linear Inverse Problem Solving: A Filtering Perspective. 2023. openreview.net, https://openreview.net/forum?id=tplXNcHZs1&referrer=%5Bthe%20profile%20of%20Yang%20Song%5D(%2Fprofile%3Fid%3D~Yang_Song1).