The Zero-Flow Phenomena

Interactive companion to Theorems 3.1 & 3.4 of Zero-Flow Encoders, Wang, Wang, Liu & Suzuki, ICML 2026

Theorem 3.1 (zero-flow criterion). Let \(v_t\) be the rectified flow trained with independent coupling between \(p_{\mathrm{source}}\) and \(p_{\mathrm{target}}\). Then \(v_{1/2} \equiv 0\) everywhere if and only if \(p_{\mathrm{source}} = p_{\mathrm{target}}\).

A rectified flow is trained with independent coupling between the two distributions you choose; particles are then transported from \(t = 0\) to \(t = 1\) along the learned velocity field. Pick the same dataset twice and watch everything freeze blue at the midpoint.

particle speed: 0 (still) → fast
red arrows: learned velocity field \(v_t\)
loading WebAssembly module...
t = 0.00
Implementation. A velocity-field MLP \(u(x, t)\) is trained with Adam on $$\min_{u}\;\mathbb{E}\,\bigl\|\,X' - X - u(X_t,\, t)\,\bigr\|^{2}, \qquad X_t = t\,X' + (1 - t)\,X,\quad X \perp X',$$ then \(\mathrm{d}X = u\,\mathrm{d}t\) is integrated from \(t = 0\) to \(1\). Antisymmetry (Theorem 3.2): with identical distributions the field satisfies \(v_t = -v_{1-t}\) — particles drift, stop dead at the midpoint, then flow back out.