NOAH XIE Visual Study Notes · Observatory & Archive
Noah Xie
Nunc

t = 0.00Origin · Home

Noah Xie

中文

CIFAR-10 Generative Dynamics Baselines (OT-CFM / Rectified Flow / Score SDE)

Reproducing

Continuous-Time Generative Dynamics Benchmark

This project implements a unified PyTorch training and ODE/SDE evaluation harness on CIFAR-10 (32×32) so that OT-CFM, 2-Rectified Flow, and VP-SDE share identical UNet capacity, EMA decay, and FID evaluation splits. The goal is to isolate transport straightness and low-NFE discretization error from architectural differences.

Governing Equations

For Optimal-Transport Conditional Flow Matching (OT-CFM) and Rectified Flow, samples evolve along a deterministic probability flow ODE driven by a learned velocity field $v_\theta(x_t, t)$:

$$ \frac{dx_t}{dt} = v_\theta(x_t, t), \qquad x_t = (1 - t) x_0 + t x_1, \qquad u_t(x_t \mid x_0, x_1) = x_1 - x_0 $$

In contrast, Variance-Preserving Score SDE (VP-SDE) integrates a reverse-time stochastic differential equation with drift and score correction:

$$ dx_t = \left[ -\frac{1}{2}\beta(t) x_t - \beta(t) \nabla_{x_t} \log p_t(x_t) \right] dt + \sqrt{\beta(t)}\, d\bar{w}_t $$

Method Comparison Matrix

Family Dynamics Regression Target Coupling Strategy Low-NFE Strength (4–16 steps)
OT-CFM Deterministic ODE Conditional velocity $x_1 - x_0$ Minibatch optimal transport $\pi^*(x_0, x_1)$ High trajectory straightness, crisp 8–16 NFE
2-Rectified Flow Deterministic ODE Reflow velocity $x_1^{(1)} - x_0^{(1)}$ Iterative synthetic $(x_0, \Phi_1(x_0))$ reflow Minimal path curvature, strong 1–4 NFE
VP-SDE Reverse-time SDE Noise / score $\epsilon_\theta(x_t, t)$ Independent Gaussian coupling Stochastic Langevin error healing at high NFE

Training & Evaluation Architecture

See foundational derivations in Flow Matching for Generative Modeling and Rectified Flow (Reflow).