Summary
In this paper, the authors proposed an accelerated method for differentials of pretrained diffusion models with respect to its latent valuables or parameters by making use of
1. the Taylor expansion of the log-SNR parameter, and
2. the exact integral formula of the derivatives related to the probability flow ODE, which they call Adjoint Diffusion ODE.
They applied this method to morphing of two generated images. As they summarized in Table 1, their results achieved good performance.
For more details:
- The setting
- Data diffusion SDE $d\mathbf{x}_t = f(t) \mathbf{x}_t + g(t) d\mathbf{w}_t$
- Its integral $q(\mathbf{x}_t|\mathbf{x}_0) = \mathcal{N}(\mathbf{x}_t|\alpha_t \mathbf{x}_0, \sigma_t^2)$ where $f(t), g(t)$ are related to $\alpha_t, \sigma_t$ by Eq.(2.5).
- A pretrained diffusion model $\epsilon_\theta(\mathbf{x},\mathbf{z}, t)$
- Its generating process: the probability flow ODE $\frac{d\mathbf{x}\_t}{dt} = f(t)\mathbf{x}\_t + \frac{g(t)^2}{2 \sigma_t}\epsilon_\theta(\mathbf{x}, \mathbf{z}, t)$
- They name the velocity (the RHS of the ODE) as $\mathbf{h}_\theta(\mathbf{x}, \mathbf{z}, t)$
- The purpose
- Calculation of gradients of $\mathcal{L}(\mathbf{x}_0(\mathbf{x}_T, \mathbf{z}, \theta))$ with respect to $\mathbf{z}$ or $\theta$
- which are defined by ODEs in Eq.(3.3) and (3.4).
- The method
- One can recover the derivatives based on a vector $\hat{\mathbf{a}}_t = \frac{\partial \mathcal{L}}{\partial \mathbf{y}_t}$ where $\mathbf{y}_t = \alpha_t^{-1}\mathbf{x}_t$.
- For $t<s$, one can get $\hat{\mathbf{a}}_s = \hat{\mathbf{a}}_t + \int\_{\lambda_t}^{\lambda_s} ... d\lambda$ (Proposition 3.1).
- Applying the Taylor expansion on ... with $\lambda$ around $\lambda_t$, and drop $O((\lambda_s - \lambda_t)^{k+1})$ term, we get a concrete relation between $\hat{\mathbf{a}}_s$ and $\hat{\mathbf{a}}_t$ (Eq.(3.11)),
- which provides explicit (approximated) formulas for the derivatives.
- The empirical result
- They apply the proposed method to morphing (Section 5 Experiments).
Weaknesses
- **significance(-)** It is difficult to understand in which respect the proposed method is superior.
- **clarity(-)** I am almost convinced by the explanations, however there is a concern as explained in Questions.
Questions
- for significance improvements:
- **Q1(significance)** In the theoretical sections, the authors apply omitting the higher order terms of the Taylor expansion, so the resultant method should be just an approximation. Why is it good performance in Table 1 compared to other methods nonetheless the method is just an approximation?
- for clarity improvements:
- **Q1(clarity)** In the Adjoint Empirical Diffusion SDE cases, the integral results in Eq.(4.12) and (4.13) look very similar to ODE cases in Eq.(3.13) and (3.14). The only difference seem to be (doubled) 2nd term. Why such similarity happens?
- **Q2(clarity)** In the beginning of section 4, the authors wrote their motivation to analyze SDE cases as it possibly improve the result, however, it turns to be that the SDE version works worse than the ODE cases. Why does it happens?