- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper explores an alternative design of generative modeling by designing new loss functions from a distance-field perspective, which only needs minor modification based on flow matching and makes it time-unconditional. This method helps disambiguate the denoising problem, showing fast convergence in inference. Experiments show its advantages in flexible sampling and OOD detection.
Strengths and weaknesses
Strengths: 1. The proposed distance-field modeling is interesting and makes an ingenious link to the distance field of the data manifold.
-
The proposed loss functions are similar to flow matching, making the implementation easy.
-
The proposed method removes the time condition, which can facilitate adaptive sampling with early stopping and flexible initial distribution.
-
The sampling quality on CIFAR-10 and ImageNet is competitive.
Weaknesses:
-
For my understanding, the comparison in Fig.2 is not absolutely fair. For EM and EqM, they don't constrain the vector field's norm, and their vectors should not be normalized based on their mathematical interpretation. But for the proposed method, it designs a specific loss to constrain the vector's norm, so I don't think this comparison is very meaningful except showing the vector field of the proposed method is normalized.
-
If I understand correctly, the is replaced by and the network structures are designed as Fig. 10. Since the is obtained just by a simple CNN, how to guarantee the mathematical relationship between and ? The accuracy of may affect the OOD detection and sampling convergence.
-
How to explain the direction difference between and in Figs. 5-6? For my understanding, if trining perfectly, these should be very close.
Questions
Please see the weakness above; some clarification may be needed.
Limitations
yes
Paper formatting concerns
None
Final justification
Since my concerns have been addressed, I maintain my positive score at this stage.
1. Vector fields with normalization
We agree that the current Fig. 2 may be confusing. We will revise Fig. 2 by unit-normalizing the arrows for all methods. Fig. 2 is used only to visualize level sets and denoising directions, while the practical sampling quality of the learned 2D fields is evaluated in Tab.1 and App. Sec. C.1.
Importantly, even disregarding the arrows, the level sets in Fig. 2 have already shown that Distance Marching captures finer-grained energy structure near the data manifold, whereas the Energy Matching (EM)/Equilibrium Matching (EqM) landscapes remain rough.
Appendix C.1 further evaluates which learned 2D field provides better denoising directions. We directly test EM’s released 2D code and report the results in Tab. 1. We also reproduce EqM's objective and use the learned negative potential gradient with (i) its original gradient-descent sampler, (ii) gradient descent + Unadjusted Langevin Algorithm, and (iii) gradient descent + Hamiltonian Monte Carlo on the same 8-Gaussians-to-two-moons task.
Figs. 13–14 show that the learned 2D energy fields of both EM and EqM remain rough near the data manifold, while Fig. 15 shows that our best-effort evaluation of EqM across samplers does not produce competitive 2D samples. Using 10K generated and target samples, Tab. 11 reports W2/HD/CD of 1.525/1.691/0.150 for EqM’s original GD, compared with 0.440/1.069/0.014 for Distance Marching; ULA and HMC also fail to improve EqM.
Since all three samplers operate on the same learned EqM field, these results indicate that the performance gap cannot be explained by arrow scaling and persists across different sampling algorithms.
The theoretical reasons for this behavior are analyzed throughout the paper and consolidated in our response to Reviewer rZXD’s Q4. We will revise Fig. 2 accordingly and incorporate Figs. 13–15 and Tab. 11 into the main text.
2. Relationship between ∇uθ and vθ
In our image models, vθ is predicted by a separate head rather than computed through autograd, and exact equality vθ=∇uθ is not structurally enforced. This design avoids additional inference cost and unstable second-order derivatives during training. The two heads are jointly constrained by the training objectives and validated through theory and experiments:
Theoretical characterization. The One-Step Loss directly constrains the composite update
Fθ(x)=x−uθ(x)vθ(x).
Theorem A.13 and Corollaries A.14/A.16 show that, at the population optimum, the predicted endpoint is the inverse-distance-reweighted conditional mean:
\frac{\mathbb E[w(x,S)S\mid X=x]} {\mathbb E[w(x,S)\mid X=x]}, \qquad w(x,S)=\frac{1}{\|x-S\|^2+\epsilon}.$$ Theorems A.24–A.25 further establish the distance-vector approximation and convergence properties of this composite update. Among these results, the same Bayes-optimal endpoint characterization remains valid when $u_\theta\nabla u_\theta$ is replaced by $u_\theta \mathbf{v}_\theta$. Their proofs do **not** require equality between $\nabla u_\theta$ and $\mathbf{v}_\theta$. - **Distance accuracy.** Fig. 38 compares $u_\theta$ with the smoothed ground-truth distance and $\|u_\theta\mathbf{v}_\theta\|$ with the target displacement. The MAPE is below $5$\% for most samples. - **Sampling convergence and robustness.** Figs. 29–30 show that $u_\theta$ approaches $\sqrt{c_0}$ and both $\|\mathbf{v}_\theta\|$ and $\|u_\theta \mathbf{v}_\theta\|$ approach zero during sampling. Fig. 31 further shows stable FID over a broad range of step sizes. Although $\mathbf{v}_\theta$ is not explicitly constrained to equal $\nabla u_\theta$, it empirically exhibits a key descent behavior associated with conservative fields: trajectories converge without persistent cycling. - **Adaptive sampling by distance head.** Table 6 uses $u_\theta$ to terminate trajectories generated using $\mathbf{v}_\theta$. It reduces the average number of steps from $250$ to $175.8$, with only a small FID change from $32.16$ to $32.73$, showing that the scalar head reliably tracks the progress induced by the vector head. - **OOD detection.** The independently predicted $u_\theta$ achieves an average AUROC of $0.79$, compared with $0.68$ for EqM (Table 7), demonstrating that it retains meaningful distance information. - **Head Consistency.** We also directly compare the gradient of the distance head with the vector output on local 2D slices of the learned CIFAR-10 field (see our response to Reviewer rZXD’s Q2 for the full details). Across 32 seeds, the main denoising direction PC1 explains 99.40% of the trajectory variance. The gradients of the tiny distance head and the denoising vector network share the same sign along the PC1 in 98.75% of regions and differ by only 8.9° on average in the PC1–PC2 plane. Thus, although exact equality is not enforced, two heads are aligned along the dominant denoising directions. Theoretically, the properties established for the composite update do not require exact equality; practically, the distance-accuracy, trajectory, step-size, and cross-head experiments demonstrate that the split architecture converges reliably, while also preserving useful distance information for OOD detection. **3. Joint optimization of $\mathcal L_{\mathrm{OS}}$ and $\mathcal L_{\mathrm{DE}}$.** Figs. 5–6 do not imply OSL and DEL minimizers should be identical; they are different directions induced by the two objectives. When the denoising pair passing through a position $x$ is a distribution, $\mathcal L_{\mathrm{DE}}$ removes flow matching’s proportional dominance by long pairs through a bounded, saturating weight, while $\mathcal L_{\mathrm{OS}}$ more strongly concentrates the endpoint on nearby targets through **inverse-squared-distance reweighting**. Your understanding is correct when the training pair passing through $x$ is deterministic. As discussed in Sec. 3.2 around Eqs. (4)–(5), $\mathcal L_{\mathrm{OS}}$ alone admits multiple $(u,\mathbf{v})$ factorizations satisfying $u\mathbf{v}=x-s$ (formalized in Prop. 1 of App. A.1), while $\mathcal L_{\mathrm{DE}}$ resolves this non-uniqueness by selecting one. This solution simultaneously minimizes both losses, so their predicted directions coincide in this ideal single-pair case. However, Figs. 5–6 instead study the time-unconditional setting, where conditioning on $X=x$ leaves a posterior over denoising targets $S$ and denoising pairs. Perfect training with the same posterior then recovers two different expectations because of different weights provided by our theorems. Theorem A.11 gives $$\mathbf{h}_{\mathrm{DE}}^*(x) =\mathbb E[\alpha(r)\mathbf{v} \mid X=x], \qquad \alpha(r)=\frac{r}{\sqrt{r^2+c_0}},$$ whereas Theorem A.13 and Corollaries A.14/A.16 give the One-Step optimal endpoint $$F_{\mathrm{OS}}^*(x) =\frac{\mathbb E[w(x,S)S\mid X=x]} {\mathbb E[w(x,S)\mid X=x]}, \qquad w(x,S)=\frac{1}{r^2+\epsilon}.$$ In making Figs. 5-6, we use importance sampling to obtain the same posterior but then compute weighted average with these different weights. Therefore, their difference is expected population behavior rather than imperfect optimization. In this averaging, OSL concentrates on closer points with an inverse-squared-distance factor. This soft concentration uses the posterior rather than selecting a few hard nearest neighbors, thereby avoiding the high-dimensional hubness issue in Figs. 4/35. Empirically, the $\mathcal L_{\mathrm{DE}}$ minimizer lies between the $\mathcal L_{\mathrm{OS}}$ and flow matching minimizers in both 2D and image space (Fig. 8), showing that the two objectives have different strengths of locality rather than opposing directions. We characterize the two losses separately while their joint optimum does not have a closed form. This OSL+DEL design is also supported empirically. Removing $\mathcal L_{\mathrm{DE}}$ increases FID from $2.23$ to $2.33$ on CIFAR-10 and from $33.44$ to $37.01$ on ImageNet (Tab. 13), whereas removing $\mathcal L_{\mathrm{OS}}$ leaves $u_\theta$ unconstrained. Moreover, the jointly trained model exhibits convergent distance and update magnitudes in Figs. 29–30, and Fig. 38 reports below-5% MAPE for most samples when evaluating both $u_\theta$ and $\|u_\theta\mathbf{v}_\theta\|$.