Skip to content

Flow matching with Lipman et al. formulation #16

Answered by francois-rozet
janfb asked this question in Q&A
Discussion options

You must be logged in to vote

it seems to me that in line 88 z and x are exchanged?

There is a mistake in the here-above justification! Sorry for the confusion; this "time inversion" is really messing with my head 😅

The CFM loss is actually (see Eq. 14)

$$ || v_t(\psi_t(x_0 \mid x_1)) - \frac{d}{dt} \psi_t(x_0 \mid x_1) ||^2 $$

where

$$ \psi_t(x_0 \mid x_1) = (1 - (1 - \sigma_\min) t) x_0 + t x_1 $$

When we reverse the time ($t \to 1 - t$ and $x_0 \leftrightarrow x_1$), we get

$$ \psi_t(x_1 \mid x_0) = (\sigma_\min + (1 - \sigma_\min) t) x_1 + (1 - t) x_0 $$

and

$$ \frac{d}{dt} \psi_t(x_1 \mid x_0) = (1 - \sigma_\min) x_1 - x_0 $$

So in my previous comment, the objective should be

$$ || v_t(\psi_t(\epsilon \mid \the…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@francois-rozet
Comment options

Answer selected by francois-rozet
@janfb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants