Distance Marching for Generative Modeling
Zimo Wang, Ishit Mehta, Haolin Lu, Xunpeng Huang, Chung-En Sun, Ge Yan, Tsui-Wei Weng, Tzu-Mao Li
NeurIPS 2026
TL;DR. We learn a distance field to the data manifold and generate by descending it without time input; ours is the only such model competitive with time-conditioned models across datasets and architectures.
Abstract. Modern generative models based on diffusion or flow matching transport noise toward the data manifold, without representing the data manifold explicitly. We propose Distance Marching that explores an alternative design by explicitly modeling a distance field of the data manifold. A distance field offers a geometric view of generation as a descent process toward the data manifold using only the current position. The negative gradient of the distance field provides the direction, and the distance value can optionally determine the step size. However, sparse training data in high-dimensional space make it difficult to identify the closest points on the data manifold needed to train the distance field. To address this challenge, we design new loss functions that emphasize denoising targets from closer data points. Our analysis shows that, without time input, emphasizing closer targets reduces denoising ambiguity and the bias toward the data mean. This distance-field perspective naturally motivates two principled deterministic samplers, showing fast convergence in inference. As a result, our model is the only one without time input that remains competitive with time-conditioned models across datasets and architectures. Moreover, our distance prediction is also helpful for early stopping during sampling and for out-of-distribution detection. We hope distance-field modeling can open a promising direction for exploring generative modeling from a geometric perspective. The project website is available at https://zeamoxwang.github.io/distance-marching-website/.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
[Initial Meta Review]
Summary: This paper proposed a novel generative model by modeling the distance to the data manifold. The paper received two positive reviews and one borderline reject.
Strength:
- The idea is novel (rZXD)
- Most of the experimental results are good (UxNU, hsKm)
- Proposed method is also simple to implement (hsKm)
Weakness: 1.Motivation not clear (rZXD) 2. Concern about whether the distance field is learned accurately as gradient descent based sampling method consistently gives better performance (rZXD, UxNU) 3. Central anti-mode-collapse claim is not validated (UxNU) 4. Potentially unfair comparison in some of the figures (hsKm)
We encourage the authors to provide clarification for reviewers' questions and address the reviewer's concern regarding certain experiments. This could be helpful during the discussion.
Final justification
The authors have provided detailed rebuttal and reviewers have indicated that some of the concerns are properly addressed during the discussion. After the discussions period, the paper received all positively-leaning reviews.
Read meta-review
Meta-review
[Initial Meta Review]
Summary: This paper proposed a novel generative model by modeling the distance to the data manifold. The paper received two positive reviews and one borderline reject.
Strength:
- The idea is novel (rZXD)
- Most of the experimental results are good (UxNU, hsKm)
- Proposed method is also simple to implement (hsKm)
Weakness: 1.Motivation not clear (rZXD) 2. Concern about whether the distance field is learned accurately as gradient descent based sampling method consistently gives better performance (rZXD, UxNU) 3. Central anti-mode-collapse claim is not validated (UxNU) 4. Potentially unfair comparison in some of the figures (hsKm)
We encourage the authors to provide clarification for reviewers' questions and address the reviewer's concern regarding certain experiments. This could be helpful during the discussion.
Final justification
The authors have provided detailed rebuttal and reviewers have indicated that some of the concerns are properly addressed during the discussion. After the discussions period, the paper received all positively-leaning reviews.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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
Final justification
Since my concerns have been addressed, I maintain my positive score at this stage.
Formatting concerns
None
2 comments
Rebuttal
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 for EqM’s original GD, compared with 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 and
In our image models, is predicted by a separate head rather than computed through autograd, and exact equality 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
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:
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 is replaced by . Their proofs do not require equality between and .
-
Distance accuracy. Fig. 38 compares with the smoothed ground-truth distance and with the target displacement. The MAPE is below % for most samples.
-
Sampling convergence and robustness. Figs. 29–30 show that approaches and both and approach zero during sampling. Fig. 31 further shows stable FID over a broad range of step sizes. Although is not explicitly constrained to equal , it empirically exhibits a key descent behavior associated with conservative fields: trajectories converge without persistent cycling.
-
Adaptive sampling by distance head. Table 6 uses to terminate trajectories generated using . It reduces the average number of steps from to , with only a small FID change from to , showing that the scalar head reliably tracks the progress induced by the vector head.
-
OOD detection. The independently predicted achieves an average AUROC of , compared with 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 and .
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 is a distribution, removes flow matching’s proportional dominance by long pairs through a bounded, saturating weight, while more strongly concentrates the endpoint on nearby targets through inverse-squared-distance reweighting.
Your understanding is correct when the training pair passing through is deterministic. As discussed in Sec. 3.2 around Eqs. (4)–(5), alone admits multiple factorizations satisfying (formalized in Prop. 1 of App. A.1), while 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 leaves a posterior over denoising targets 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
whereas Theorem A.13 and Corollaries A.14/A.16 give the One-Step optimal endpoint
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 minimizer lies between the 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 increases FID from to on CIFAR-10 and from to on ImageNet (Tab. 13), whereas removing leaves 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 and .
Thanks to the authors for the rebuttal! Since my concerns have been addressed, I maintain my positive score.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes Distance Marching, a time-unconditional generative model that explicitly models a distance-like scalar field toward the data manifold and moves samples along its gradient. The central difficulty is that learning a distance field from finite high-dimensional data is ill-posed: nearest-neighbor estimates suffer from hubness. To fix this, the paper introduces two losses on noisy–clean pairs (x, s):
(1) One-Step Loss (OSL): regresses the one-step projection toward, with weighted terms to balance supervision across noise levels.
(2) Directional Eikonal Loss (DEL): resolves ambiguity in the projection by matching gradients of a smoothed distance.
For images, the model separates a scalar field and direction field , using only a small distance head on top of standard backbones. Sampling is then straightforward: sphere tracing uses both magnitude and direction, while gradient descent uses direction only. Empirically, Distance Marching matches or improves strong baselines: FID 2.23 on CIFAR-10 (tie with uEDM), and best time-unconditional ImageNet-256 results (FID 32.16 at 250 NFE), with consistent gains over flow-matching SiT variants, better classifier-free guidance performance, faster convergence in sampling, and useful byproducts like early stopping and strong OOD detection.
Strengths and weaknesses
Strengths:
- Clean geometric view of time-unconditional generation: learn a distance field and generate by sphere tracing toward the data manifold, built on standard SDF/graphics ideas (Neural-Pull, SALD, DeepSDF, Hart)
- The authors conduct thorough analysis regarding real high-dimensional failure mode (hubness collapsing NN projection to low-contrast images), data-mean bias in FM loss for time-unconditional guidance, etc
- Controlled experiments: identical backbones, matched 250 NFE, six model sizes, negligible added parameters/compute (Table 8).
- Attractive marginal by-products from the distance head: adaptive early stopping and strong OOD detection (0.79 vs EqM 0.68), plus robustness to a mismatched (uniform) inference initialization.
Weakness:
- On ImageNet, the strongest results come from gradient descent, which does not use the distance field during sampling. Sphere tracing, which is the method that actually relies on distance magnitude, is worse (33.44). So the main gain does not come from distance-based marching; the learned distance field mainly helps auxiliary behaviors like stopping and OOD detection. In practice, the method’s main effect at scale looks closer to repeatedly refining a learned vector field, rather than truly generating via distance-field geometry.
- The central anti-mode-collapse claim is not measured. The whole hubness motivation is about avoiding a low-contrast mode collapse, yet improved coverage over the FM/NN baselines is argued only via FID/IS. There should be a reference-based coverage/diversity metric (Precision-Recall).
Questions
Q1. Please support the mode-collapse-avoidance claim with at least one reference-based coverage/diversity metric on ImageNet Q2. Compare the results (a) full method vs. a baseline that removes the distance field/sphere tracing and only uses time-unconditional reweighted regression (gradient descent on v_θ with only One-Step Loss or DE Loss).
Limitations
Limitations section includes how field approximation errors affect the induced measure, finite-sample vs. continuous-manifold generalization, the support-vs-density question, and the lack of a curl-free constraint on v_θ, which raises potential non-convergence concerns. A broader impacts statement is also provided.
Final justification
I thank the authors for their detailed rebuttal. Since all my concerns have been successfully addressed, I maintain my positive score.
Formatting concerns
No major concerns
2 comments
Rebuttal
0. Sphere Tracing versus Gradient Descent
In our experiments, gradient descent does not consistently outperform sphere tracing. Sphere tracing is more competitive under most settings.
We agree that the best single ImageNet FID in our current results is obtained by gradient descent at Classifier-Free Guidance (i.e., no CFG). However, from Tabs. 15-16, at every CFG scale from 2.0 to 4.0, sphere tracing improves FID over gradient descent by 1.20%–4.04% (2.91% on average), while its Inception Score is only 0.14%–0.53% lower (0.31% on average). We will highlight this in the revised version.
In practice, CFG range 2.0 to 4.0 is particularly relevant to high-fidelity generation, for which guidance is commonly used to improve sample fidelity [18].
In the tests suggested by reviewer UxNU Q1 about coverage/diversity, sphere tracing also leads gradient descent by about one percent in density with negligible coverage differences.
On CIFAR-10, sphere tracing achieves a better FID than gradient descent (2.23 vs. 2.54) and remains better under all three loss settings in Tab. 14.
Other than that, sphere tracing converges substantially faster in early sampling than gradient descent (Fig. 11), reaching flow matching’s final FID with fewer than 60% of the sampling steps.
We hypothesize that the relative performance of the two samplers depends on the difficulty of learning the data manifold. Gradient descent, which uses only the direction field, can be more robust when the manifold is broad and its distance geometry is difficult to model. Sphere tracing can better use the learned distance magnitude for simpler manifolds and geometry.
This interpretation is consistent with our results: gradient descent performs best on ImageNet without CFG, whereas stronger CFG concentrates sampling on a narrower high-confidence subset and sphere tracing consistently performs better from CFG 2.0 to 4.0. Sphere tracing is also better on the less geometrically complex CIFAR-10 setting, including all three loss configurations in Tab. 14. We are happy to provide further analysis in the revised version.
Moreover, as reviewers have recognized, experiments in Tab. 6-7 (Adaptive stopping and OOD) are showing the versatility of the distance prediction.
1. Reference-based coverage/diversity metrics on ImageNet
Thanks for the suggestion. We evaluate density and coverage on the same 50K-sample ImageNet setting as in Tables 15–16. These metrics were proposed by Naeem et al. in Reliable Fidelity and Diversity Metrics for Generative Models (ICML 2020) as more robust improvements over Precision and Recall.
Coverage
| Method | 1.25 | 1.5 | 1.75 | 2 | 2.25 | 2.5 | 2.75 | 3 | 4 |
|---|---|---|---|---|---|---|---|---|---|
| SiT | 0.9019 | 0.9488 | 0.9731 | 0.9858 | 0.9924 | 0.994 | 0.9968 | 0.9971 | 0.9949 |
| EqM | 0.9311 | 0.9659 | 0.9850 | 0.9917 | 0.9943 | 0.9966 | 0.9972 | 0.9973 | 0.9963 |
| Ours ST | 0.9524 | 0.9799 | 0.9930 | 0.9937 | 0.9965 | 0.9974 | 0.9975 | 0.9977 | 0.9961 |
| Ours GD | 0.9545 | 0.9810 | 0.9930 | 0.9937 | 0.9964 | 0.9974 | 0.9974 | 0.9980 | 0.9960 |
Density
| Method | 1.25 | 1.5 | 1.75 | 2 | 2.25 | 2.5 | 2.75 | 3 | 4 |
|---|---|---|---|---|---|---|---|---|---|
| SiT | 0.692072 | 0.865732 | 1.02307 | 1.15704 | 1.25708 | 1.33276 | 1.39716 | 1.44432 | 1.53659 |
| EqM | 0.768180 | 0.945400 | 1.09936 | 1.22312 | 1.31515 | 1.39552 | 1.45087 | 1.49129 | 1.55129 |
| Ours ST | 0.827036 | 1.05155 | 1.22641 | 1.3603 | 1.44874 | 1.51118 | 1.55008 | 1.57589 | 1.58380 |
| Ours GD | 0.824636 | 1.04431 | 1.21614 | 1.34606 | 1.43298 | 1.49553 | 1.52716 | 1.55072 | 1.55863 |
Our methods achieve the highest coverage at eight of the nine guidance scales, directly demonstrating stronger reference-mode coverage; at CFG , all methods are nearly saturated and ours differ from the best result by at most .
Both sphere tracing and gradient descent also achieve higher density than SiT and EqM at every guidance scale, while sphere tracing has a consistent density advantage over gradient descent.
Together, these results provide direct reference-based evidence that our fidelity gains are not obtained by dropping data modes.
2. Gradient descent on with One-Step Loss (OSL) only.
We instantiate the suggested time-unconditional reweighted-regression baseline by training with OSL only and sampling through gradient descent on . On CIFAR-10, this baseline achieves a best FID of , which is worse than the full method: Joint OSL/DEL training with sphere tracing achieves in Tab. 2.
We further disentangle the two contributions. Under the same OSL-only training, replacing gradient descent with sphere tracing improves FID from to . Adding DEL further improves sphere-tracing FID from to (Tab. 13). Thus, both sphere tracing and joint OSL/DEL training contribute to the final improvement over the regression-only baseline.
Clarification on Our Description of the "Best ImageNet FID"
In our previous response, we wrote:
The best single ImageNet FID in our current results is obtained by gradient descent at CFG = 1.0 (i.e., no CFG).
This wording was imprecise. We intended to say that the best no-CFG ImageNet FID is obtained by GD at CFG = 1.0, not that GD achieves the best FID across all CFG scales.
As shown in Table 15, both ST and GD achieve their lowest ImageNet FID at CFG = 2.0, where ST obtains a lower FID than GD. This ST result is also reported in the main-text Table 3. That is, with CFG, the best ImageNet FID is achieved by ST rather than GD.
Together with ST’s consistently higher density with negligible coverage differences (Q1) and its faster convergence to low FID on ImageNet (Figure 11), these results demonstrate ST’s advantages for ImageNet generation.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work proposes generative modeling with learning distance field which descripts the distance between the data manifold from the queried point. This could implement a time-unconditional generative model, similar to enery-based models or time-unconditional flow-based models. Modeling with distance field can avoid generative trajectories biasing toward the data mean but rather steered toward the desired closest point on the data manifold and this could potentially lead to competitive generation quality, even compared with time-conditional generative models. The formulation through distance field enables OOD detection as one of its application.
Strengths and weaknesses
Strengths
- Idea of generative modeling through distance field is interesting; the ultimate goal of generative models would be to accurately learn the low-dimensional data manifold, and if one could accurately learn such geometric information (contour lines in the high-dimensional space), I believe this could be a more intuitive way for generative modeling.
- Figure 2 is interesting; compared with EM and EqM, the method seems to learn a more accurate contour lines of the toy distribution.
- It provides thorough empirical comparison with the other time-unconditional models.
- It proposes sphere tracing as the alternative adaptive sampler that gives empirical improvement over gradient descent, and it provides OOD detection as the application of the trained generative model. It also proposes directional eikonal loss to eliminate a degree of freedom existent in distance field formulation.
Weaknesses
- The motivation for developing a time-unconditional model is not clearly justified. The paper would benefit from a more explicit explanation of why such a formulation is necessary over existing alternatives.
- To bypass the gradient calculation, the proposed method requires additional layer to infer about the direction (i.e., the gradient of the distance field), whereas the distance field, which should be the main objective, is rather predicted by a simple 2-layer CNN. This raises the question of whether the core modeling challenge has effectively shifted from learning the distance field to learning the descent direction. Consequently, the gradient-descent sampler appears conceptually very similar to EM/EqM-based approaches, and the distinction from these methods should be clarified.
- I am also not fully convinced that the distance field is learned accurately. In the class-conditional ImageNet experiments (Table 4, Table 5 (which should be a figure)), the simple gradient-descent sampler consistently produces better results than sphere tracing despite its lower algorithmic complexity. If the distance field were faithfully estimated, one might expect sphere tracing, which can be interpreted as step size-adaptive method, to be at least competitive. A more thorough analysis of the learned distance field and its underlying geometry would provide stronger evidence that the proposed model indeed learns meaningful distance information.
- When the projection function is inaccessible, which would usually be the case for normal data, the method requires heuristic balancing to indirectly simulate projection direction.
Questions
- Can you give more arguments why do we want to develop time-unconditional generative models given that time conditioning adds minimal architectural complexity? I believe formulation of generative models based on time-dependent pushforward of probability distributions is quite natural and time-unconditional ones are the subset of those. What is a practical advantage of it and would there be a downstream task where time-conditional models are incapable of?
- Is there a way to quantitatively/qualitatively verify whether the distance field has been accurately learned? Can one visualize other more complex high-dimensional data manifold and level sets using dimension reduction techniques, similar to Figure 2?
- In Eq. 2, the loss function is formulated as matching conditonal projection points in one-step (x_i is noisy point, conditioned on s_i). Is there a guarantee that the minimizer of this conditional loss function coincides with the minimizer of the true target objective (for example, in flow matching formulation, the minimizer of CFM loss function is equivalent to the minimizer of FM loss function)?
- Eq. 2 appears closely related to scaled-velocity matching and resembles the loss used in EqM. Could the authors provide a more discussion or comparison clarifying how the proposed objective differs from EqM? For example, in Figure 5 and 6, how does EqM's prediction's direction (gradient of energy) show? Does the proposed method better removes the biasedness toward the data mean?
- When the projection function is inaccessible, the method requires heuristic balancing (Eq. 3). I presume solving minibatch-OT would have similar effect in solving optimal couplings in L2 sense. How does Eq.3's effect compare with that from minibatch-OT?
- OOD detection is a nice application, but are there other downstream tasks that could better demonstrate the value of learning the geometry of the data manifold itself? For example, one possible direction could be image editing or translation by traversing tangentially along the level set.
Limitations
Yes
Final justification
The rebuttal addressed my main concerns about the method’s motivation and novelty by differentiating with the prior work. Although some issues remain regarding the empirical evaluation and presentation, I am raising my score.
Formatting concerns
None
3 comments
Rebuttal
1. Motivation and practical advantages.
Our motivation is to establish a new and intuitive (as the reviewer pointed out) alternative for generative modeling: explicitly learning the distance to the data manifold and generating samples by marching along the learned geometry.
Theoretically, this geometric perspective motivates a learning objective that emphasizes nearby targets and thereby promotes more direct paths: Our design in the One-Step Loss (OSL) makes the optimal endpoint an inverse-distance-reweighted conditional mean for both discrete and manifold-supported target distributions (Thm. A.13; Cors. A.14 and A.16), so nearby plausible targets exert substantially greater influence, thereby reducing distortion toward the data mean.
The inverse-distance-reweighting is not simply a heuristic design. Under the stated localization conditions, the optimal endpoint of OSL approximates the closest-point projection, and then recovers the true distance magnitude and direction (Thm. A.24); repeated updates converge linearly toward the data manifold with a strictly tighter contraction certificate than ordinary averaging (Thms. A.25–A.26).
OSL determines the projection map but leaves the field’s sign and offset ambiguous; the Directional Eikonal Loss resolves this ambiguity and uses bounded distance weighting to reduce the influence of long pairs and data-mean averaging (Prop. 1; Thm. A.11).
Practically, our formulation enables capabilities that are less natural to time-conditional models. In addition to the early stopping and OOD detection, Figure 25 in the appendix showed that our method can better generalize to initial distributions different from the trained ones. We discuss more applications in Q6.
We present direct quantitative and qualitative evidence that the distance head learns meaningful geometry in our response to Q2.
2. Distance field accuracy, sphere tracing (ST) versus gradient descent (GD), and high-d level set visualization.
As discussed in Thm. A.24, the learned field cannot provide perfect one-step generation: multiple steps are still necessary (Thm. A.25) but have a tighter contraction certificate than standard posterior-mean updates (Thm. A.26).
We also collect practical results here.
Image Generation Effectiveness
In our experiments, GD does not consistently outperform ST. ST is more competitive under most settings.
Although GD gives the best ImageNet FID at CFG =1.0, ST improves FID by 1.20%–4.04% (2.91% on average) throughout CFG 2.0–4.0, with only 0.14%–0.53% lower IS (0.31% on average); this range is particularly relevant to high-fidelity generation [18]. ST also leads GD by about 1% in density with negligible coverage differences, improves CIFAR-10 FID (2.23 vs. 2.54) under all three Tab. 14 losses, and reaches flow matching (FM)’s final FID in fewer than 60% of the steps (Fig. 11).
We hypothesize that the relative performance of the two samplers depends on the difficulty of distance learning. GD, which uses only the direction field, can be more robust when the distance geometry is difficult to model. ST can better use the learned distance magnitude for simpler manifolds and geometry.
Consistently, GD performs best on ImageNet without CFG, whereas stronger CFG concentrates sampling on a narrower high-confidence subset and ST always performs better from CFG 2.0 to 4.0. ST is also better on the less geometrically complex CIFAR-10 setting, including all three loss configurations in Tab. 14.
Distance-head accuracy evaluation
First, Fig. 38 compares with the smoothed reference and with on CIFAR-10; despite the lightweight distance head, MAPE remains below 5% for most samples.
Second, Figs. 29–30 track the predicted distance and update magnitude of GD and ST from the same 64 Gaussian initializations; both reach expected limits with theoretically predicted linear and exponential convergence patterns, respectively.
Third, for high-d CIFAR-10, we apply PCA to each 250-step ST trajectory and visualize a 2D level-set slice of the learned distance head through its terminal sample along the first two PCs. Across 32 seeds, PC1 and PC2 explain and of the trajectory variance, showing consistent within-trajectory denoising directions. Across all trajectories, motion is monotonic along PC1 with minor PC2 tweaks, while level sets locally surround generated images and are approximately equally spaced under DEL’s smoothed-distance setting with the same c0. The distance-head gradient and share the PC1 sign on 98.75% of tested slices and differ by only 8.9° in (PC1, PC2) on average, indicating agreement along the dominant denoising directions.
We look forward to submitting the figures in the revised version.
3. From conditional targets to the learned marginal field.
Intuitively, for each noisy point , Eq. (2) averages over all possible clean targets while giving more weight to closer ones. Therefore, learning from random conditional pairs is equivalent to regressing toward a deterministic inverse-distance-reweighted mean field.
The relevant results are established in Thm. A.13, Cors. A.14, A.16, and A.17, and Thm. A.24:
Let and . For each , this weight defines a reweighted posterior and its mean:
By the standard weighted least-squares decomposition, Eq. (2) can be written as
where and is independent of the model. Hence, stochastic conditional training exactly equals regression to the deterministic marginal field , with identical gradients and minimizers.
This is analogous to the equivalence between CFM and FM. Importantly, the derivation treats as an arbitrary endpoint predictor and does not require , i.e., the distance head’s gradient matching the predicted direction.
This equivalence identifies the learned marginal target as but does not alone imply that it is the exact closest-point projection . Thm. A.24 establishes their consistency under Assumption A.19.
4. Difference between EqM and Distance Marching
EqM and Distance Marching both learn energy landscapes and support GD sampling but differ in how they weight training pairs.
EqM trains
Apart from the sign convention, EqM rescales the FM displacement by , where is the same time interpolator in FM. This coefficient depends on neither target distance nor local geometry. In their paper, for and then decreases linearly to zero, so 80% of uniformly sampled targets are simply rescaled FM directions.
In contrast, OSL weights each pair by , making its optimum an inverse-distance-reweighted conditional mean that gives closer targets greater influence (Thm. A.13; Cors. A.14/A.16).
Accordingly, in Fig. 6 the same posterior pairs as FM have , so EqM preserves the FM direction up to rescaling; in Fig. 5, closer targets have and are downweighted because shorter has less influence on the averaged direction, while our objective upweights closer points and reduces data-mean averaging. Consistently, Distance Marching outperforms EqM in the same 2D two-moon setting (Figs. 14–15; Tab. 11).
5. Heuristic Balancing vs. Minibatch OT
Our inverse-distance-reweighting is not simply a heuristic one, but with convergence proofs in the App. A.3-5.
Both minibatch OT and Eq. (3) favor shorter pairs, but they induce fundamentally different training distributions.
Minibatch OT uses a hard, batch-dependent coupling that inherits each condition from its matched target, making condition-dependent: noise patterns are preferentially assigned to conditions with spatially matching image structures. Inference instead samples and independently, leaving some noise–condition combinations undercovered. This mismatch is discussed in Sec. 4 and [46]. Class-restricted OT does not resolve it: single-class batches reduce condition diversity per update, particularly on ImageNet with 1,000 classes [46].
Eq. (3), instead, preserves the original independent random coupling and only softly reweights its loss toward closer targets, avoiding this coupling-induced mismatch. Appendix C.8 directly compares the two under identical settings. Eq. (3) obtains IS/FID/sFID =41.77/71.23/206.2, versus 36.96/77.19/208.2 with minibatch OT.
6. Other downstream tasks demonstrating the value of learning geometry.
The training-inference mismatch experiment in Figs. 25-26 shows that generation can start from diverse positions not from the training initial noise. This is difficult to explain from FM theories because those starting points are almost impossible to be sampled from the initial Gaussian in training.
As other time-unconditional model works have shown and as the reviewer pointed out, these models also enable image editing applications. In particular, the input to the model can be partially-noised images, images with “holes” (image inpainting), or a naive collage of images by copy-pasting objects onto a background (“Poisson image editing” [Perez2003] or “Interactive Digital Photomontage” [Agarwala2004] style of applications), and the output can be the closest projection of these inputs on the image manifold. The 2D level sets in Q2 we produced partially verified the practicality. We are happy to attach figures to the revised submission.
Clarification on ST vs. GD for ImageNet Generation
We would like to clarify a statement from our previous response:
Although GD gives the best ImageNet FID at CFG = 1.0, ST improves FID by 1.20%–4.04% (2.91% on average) throughout CFG 2.0–4.0, with only 0.14%–0.53% lower IS (0.31% on average).
Here, we would like to clarify that “GD gives the best ImageNet FID at CFG = 1.0” refers only to the no-CFG setting: GD performs better than ST when both use CFG = 1.0. It does not mean that GD achieves the best FID across CFG scales.
As shown in Table 15, both ST and GD achieve their lowest ImageNet FID at CFG = 2.0, where ST obtains a lower FID than GD. Their best FID results on ImageNet are also reported in the main-text Table 3. That is, with CFG, the best ImageNet FID is achieved by ST rather than GD.
Together with better density metrics (see UxNU Q1) and Figure 11, which shows that ST reaches low FID substantially faster on ImageNet, these results demonstrate ST’s advantage for ImageNet generation.
I thank the authors for providing these clarifications.
- After revisiting Fig. 5, 6, 11, 38, Tab. 15, 16, as well as the authors’ discussion on ST vs. GD, I am convinced that the lightweight 2-layer head is learning meaningful distance information. I think the argument about diminishing gains from ST on geometrically more complex manifolds, such as ImageNet, is reasonable.
- I think the authors have adequately clarified the distinction from the prior work (EqM). For example, the authors formulated inverse-distance reweighting to explicitly learn the distance structure which could be a more principled perspective on the time-unconditional generative modeling problem.
- I also agree that initialization from an unseen prior distribution (Figs. 25 and 26) demonstrates a practical and interesting use case for time-unconditional generative models.
While I still believe there is room for improvement in the empirical evaluation and presentation, I believe that the paper contains contribution which community might have interest. Therefore, I am raising my score.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
AC Summary for Rebuttal Period
We thank the AC for summarizing the key questions raised in the reviews.
The reviewers consistently recognized the novelty and interest of the geometric formulation: rZXD described it as “intuitive” and “contains contribution which community might have interest”, hsKm called the connection to distance fields “ingenious”, and UxNU highlighted its clean geometric view. After the discussion, rZXD raised the score, hsKm explicitly confirmed that the discussion addressed their questions, and the reviewers are now unanimous in assigning positive scores.
Below, we briefly summarize the main clarifications and supporting evidence.
Motivation and practical advantages. (Also see our responses to rZXD Q1 and Q6.) Our motivation is to establish a new and intuitive (as the reviewer pointed out) alternative for generative modeling: explicitly learning the distance to the data manifold and generating samples by marching along the learned geometry.
This formulation is supported by our existing theorems (Prop. 1; Thm. A.13; Cors. A.14 and A.16; Thms. A.24–A.26) rather than being merely heuristic: OSL makes the optimal endpoint an inverse-distance-reweighted conditional mean that approaches closest-point projection under localization, with subsequent results establishing contraction toward the manifold; DEL resolves the remaining sign and offset ambiguity.
More fundamentally, because a distance field depends only on the current sample rather than how that sample was obtained, our model can be directly applied to off-path inputs and unseen initial distributions. Based on a geometric perspective, our model inherently does not require time t as input, and naturally supports capabilities which are less natural to time-conditional generative models, including early stopping, OOD detection, and flexible initializations. rZXD recognized the flexible initializations demonstrated in Fig. 25 as a practical and interesting use case.
Distance-field accuracy and sphere tracing. (Also see our responses to rZXD Q2 and UxNU Q2.) The discussion clarified that gradient descent (GD) does not consistently outperform sphere tracing (ST). ST is more competitive under most settings.
ST obtains better FID on CIFAR-10 (ST 2.23 vs. GD 2.54, Tab. 2), and outperforms GD on ImageNet at every tested CFG scale from 2.0 to 4.0 (Tab. 15) including their best FID for ImageNet generation (ST 6.59 vs. GD 6.67, Tab. 3). Fig. 11 further shows that ST converges substantially faster than GD. The requested OSL-only ablation (check UxNU Q2) further separates the effects of regression, DEL, ST and GD.
We also provided direct evidence that the lightweight distance head learns meaningful geometric information. Fig. 38 reports mostly below-5% distance error, and Figs. 29–30 confirm the predicted linear/exponential convergence patterns along GD/ST trajectories. The new high-dimensional PCA slices further show close alignment between the distance-head gradient and vector output.
After revisiting Figs. 5, 6, 11, and 38 and Tables 15–16, rZXD explicitly agreed that the head learns meaningful distance information. They also found our explanation reasonable for the varying ST–GD performance gap across datasets.
Mode coverage. (Also see our response to UxNU Q1.) In response to UxNU’s mode-coverage concern, we added the requested reference-based Density and Coverage evaluation. Distance Marching achieves the best Coverage at eight of nine CFG scales and exceeds SiT and EqM in Density at every scale, directly supporting that its FID improvements are not obtained by dropping reference modes.
Fairness of the visual comparison. (Also see our response to hsKm Q1 and rZXD Q4.) For the potentially confusing arrow scales in Fig. 2, we will unit-normalize all arrows in the revision. The level-set comparison itself is unaffected, and the independent experiments in Appendix C.1, Figs. 13–15, and Table 11 show that our advantage persists across GD, ULA, and HMC samplers when comparing Distance Marching to EqM.
hsKm subsequently confirmed that this concern was addressed. rZXD also agreed that the analysis in our response to Q4 adequately clarified the distinction between Distance Marching and EqM.
Overall, the discussion further highlights the theoretical grounding and empirical support for this novel geometric perspective. We thank the AC and reviewers for their suggestions and will incorporate all added experiments, visualizations, and clarifications into the revised paper.