Manuscript Offprint
arXiv:2610.29475Density-Level Backward Error for Low-NFE Generative Flows
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Low-NFE generative ODE sampling is constrained not only by solver order, but also by how a fixed budget of network evaluations is distributed along the flow. We develop a density-level backward-error framework that identifies the component of a solver's modified-equation defect that changes the evolving marginal, while excluding solenoidal trajectory distortion that is invisible in Wasserstein tangent geometry. The resulting residual induces a solver-order-aware compute-allocation rule and, through gauge freedom, an objective for selecting numerically favorable velocity representatives of the same density path. This separates our approach from schedule search driven by trajectory or endpoint surrogates and from higher-order solver design. Exact Gaussian and mixture models establish the mechanism, including cases where curvature-based allocation fails and continuum-optimal transport is not discretization-optimal. On a pretrained CIFAR-10 EDM probability-flow ODE, density-aware allocation consistently improves fixed-update Euler sampling in the low-NFE regime. Matched-seed convergence to a dense Euler reference confirms that the method accelerates approximation of the same high-NFE flow rather than changing the asymptotic sampler.
1 INTRODUCTION
Diffusion and flow-based generators sample by numerically integrating a learned time-dependent velocity field. Let be a reference velocity transporting a prescribed density path through
When only a few network evaluations are available, generation quality depends not only on the learned field and solver formula, but also on where those evaluations are placed along the path.
Timestep design has therefore become an optimization problem in its own right. Align Your Steps optimizes schedules for a given solver, model, and dataset; optimized-time-step methods fit nodes against a reference ODE solution; LD3 learns a discretization for a pretrained sampler; Optimal Stepsize Distillation uses dynamic programming over reference trajectories; and differentiable solver search jointly tunes timesteps and solver coefficients (Sabour et al., 2024; Xue et al., 2024; Tong et al., 2025; Pei et al., 2025; Wang et al., 2025). These methods show that evaluation placement matters. They do not, however, isolate which part of a local numerical defect changes the evolving marginal, nor do they use the fact that several velocity fields can generate the same density path.
Three design variables should therefore be separated. Solver design chooses the update formula. Schedule design chooses where that formula evaluates the field. Representative design chooses which velocity field to discretize when several fields generate the same continuum marginals. Our paper connects the last two through density-level backward error.
To make this non-uniqueness explicit, define for almost every . If , then generates the same continuum density curve as , although a finite numerical map need not preserve this equivalence. A trajectory-level defect can therefore contain substantial particle motion that is invisible to the marginal. The relevant question is not simply where is the ODE difficult?, but which part of the solver defect moves probability mass?
This also separates continuum and finite-step optimality. Probability-flow endpoint maps coincide with quadratic Monge maps in important Gaussian and symmetric settings (Khrulkov et al., 2023), but not in general (Lavenant & Santambrogio, 2022). Here the density curve is fixed. We ask which continuum-equivalent velocity representative and which timestep grid make the discrete transport maps most accurate in . Even for isotropic Gaussians, the minimum-action gradient representative can be less accurate for Euler than a non-gradient marginal-preserving representative.
Let be one numerical step for a representative , and suppose an order- method admits the local modified field
Write for the -orthogonal projection onto gradient fields. This projection keeps the Wasserstein tangent component that changes the marginal and removes marginal-invisible solenoidal motion. Our central local result is
For Euler, with . Thus the projected modified-equation defect, rather than the full trajectory defect, determines the leading marginal error.
This separates continuum transport optimality from two finite-solver questions: where to place evaluations and which continuum-equivalent field to discretize.
- Finite-budget compute allocation. Let , and let denote the amplification of a density perturbation introduced at time and propagated to terminal time. Then
The solver order fixes the exponent; the associated quantile grid exactly minimizes the finite-N local surrogate defined in Section 6, and a Rényi identity quantifies residual misspecification.
-
Solver-aware representative selection. Among fields with , we define a continuum solver objective. For Euler, renormalized discrete local- objectives converge uniformly—and hence -converge—to this functional. Gaussian paths give explicit controls and separate continuum minimum action from finite-step solver accuracy.
-
Mechanism-aligned validation. Analytic Gaussian and mixture experiments test the projected defect, propagation, and representative-selection predictions. On pretrained CIFAR-10 EDM, we keep the Euler update fixed and change only the timestep grid. A dense-reference study verifies faster convergence to the same high-NFE Euler limit rather than a change of the target sampler.
Two optimization problems. Representative selection minimizes
For an order-r solver, let . Timestep allocation solves
The first problem chooses a continuum-equivalent velocity field for a fixed solver; the second distributes that solver's evaluation budget along the path.
The empirical comparisons keep this separation explicit. Euler schedules use the same network, update rule, NFE, and sampling cost. DPM++ and the original EDM Heun sampler are shown only as stronger-solver context: they change the integration formula, whereas our method changes where a fixed first-order solver spends its evaluations. The offline allocation profile is reusable across generated samples and NFE choices.
2 RELATED WORK AND POSITIONING
Generative flows and optimal transport. Continuous normalizing flows and neural ODEs formulate generation as numerical integration of a learned velocity field (Chen et al., 2018). Diffusion and score-based models admit probability-flow ODE descriptions (Ho et al., 2020; Song et al., 2021), while flow matching directly regresses vector fields for prescribed probability paths (Lipman et al., 2023; Albergo et al., 2023). Rectified and multisample flow matching simplify transport through straighter trajectories or improved couplings (Liu et al., 2023; Pooladian et al., 2023). Probability-flow endpoint maps agree with quadratic optimal transport in important structured cases (Khrulkov et al., 2023), but not universally (Lavenant & Santambrogio, 2022). These works concern the continuum path or endpoint map. We fix the marginal curve and optimize the numerical realization of its gauge-equivalent lifts. This also differs from Wasserstein spline and second-order transport models, which optimize the curve itself (Benamou et al., 2019).
Solver and schedule optimization. Backward error analysis and B-series modified equations are classical in geometric numerical integration (Hairer et al., 2006) and have been applied to diffusion sampling (Gao et al., 2023); the probability-flow ODE also admits nonasymptotic convergence analyses (Chen et al., 2023). Solver design ranges from the EDM Heun construction to DPM-Solver and empirical-statistics refinements (Karras et al., 2022; Lu et al., 2022; Zheng et al., 2023).
A complementary line optimizes the discretization itself. Align Your Steps uses stochastic-calculus objectives specialized to a solver, model, and data distribution (Sabour et al., 2024). Xue et al. (2024) optimize time nodes by comparing the numerical and reference ODE solutions. LD3 learns a lightweight discretization for pretrained samplers (Tong et al., 2025), while Optimal Stepsize Distillation applies dynamic programming to reference trajectories (Pei et al., 2025). Differentiable Solver Search jointly searches timesteps and solver coefficients (Wang et al., 2025). Adaptive step control, Wasserstein-bounded schedules, continuous-time clock control, and instance-aware grids further enlarge the schedule class (Chen et al., 2024; Jo & Choi, 2026; Huang et al., 2026; Yuan et al., 2026). Our contribution is orthogonal to how that class is searched: we derive the local quantity to allocate by projecting the first modified-equation differential through the continuity equation. This yields a marginal residual, a solver-order exponent, and an additional optimization variable—the marginal-preserving velocity representative.
Gauge freedom and marginal observability. The non-uniqueness of a velocity field realizing a fixed density path is increasingly visible in diffusion and flow modeling. Horvat & Pfister (2024) analyze gauge freedom and conservativity; recent work separates gradient and solenoidal components by marginal observability (Khelifa et al., 2026). EDDY uses divergence-free freedom for marginal-preserving particle diversity (Vinograd et al., 2026), while Gauge Flow Models, Flux Matching, and Wasserstein-flow reinterpretations treat the field itself as a design variable (Strunk & Assam, 2025; Pao-Huang et al., 2026; Vuong et al., 2025). Curvature minimization and strain/vorticity decompositions instead diagnose trajectory-level integration difficulty (Lee et al., 2023; Tao & Choi, 2026). We apply the weighted Hodge projection to the solver's modified-equation defect: only its gradient component contributes to the leading marginal error, and the remaining gauge freedom can be optimized for numerical integrability.
Optimization viewpoint. The schedule layer is a continuous resource-allocation problem, whereas representative selection is a PDE-constrained optimization problem with weighted Poisson projections. This connects the construction to computational optimal transport and Wasserstein geometry (Benamou & Brenier, 2000; Otto, 2001; Ambrosio et al., 2008; Villani, 2009; Santambrogio, 2015) and to PDE-constrained optimization (Hinze et al., 2009). The local theorem provides an exact solver-level bridge, while the variational limit connects the discrete and continuum optimization problems. Exact Gaussian analyses of diffusion discretization provide a complementary controlled perspective (Pierret & Galerne, 2025).
3 MARGINAL-PRESERVING GAUGES
Analytic setting. Throughout the main text we work on either the flat torus , a smooth compact boundaryless domain, or with sufficient decay so that all integrations by parts below have no boundary contribution. We assume , , and enough smoothness of and the vector fields to justify the displayed identities; a convenient sufficient condition is and with bounded derivatives on compact time intervals. On test functions are compactly supported unless stronger decay is imposed. All divergence constraints may equivalently be read in the weak sense. Let on a compact boundaryless domain and in the Euclidean case.
Definition 1 (Solenoidal gauge class). For a fixed density , define
For smooth fields this is equivalent to in distributions. Over time we write and the representative fiber as .
Proposition 1 (Gauge invariance). If satisfies equation 1 and , then satisfies
Proof. By linearity,
□
The proposition is elementary, but it defines the feasible set of the optimization problem. In one dimension, this feasible set is trivial under standard decay assumptions: implies , and decay gives . Hence nontrivial gauge optimization is intrinsically multidimensional.
4 SOLVER-AWARE DENSITY DEFECT
Let denote one step of a numerical method applied to the non-autonomous ODE . We use the extended system when invoking modified-equation expansions.
Definition 2 (Leading modified-equation differential). An order- method is said to admit a first modified differential on a class if its local modified field satisfies
Theorem 1 (Solver-aware density-level backward error). Suppose transports and equation 7 holds. Then
in distributions and in any negative Sobolev norm controlled by the stated remainder. Over one step,
The first identity is immediate after subtracting the continuity equation; the second integrates the velocity perturbation for time . Appendix H gives a weak proof and records the uniformity needed later.
Euler specialization. The exact solution has
Hence explicit Euler has
and equation 8 becomes
Thus the familiar Euler acceleration is one instance of a general object: the first modified-equation differential seen through weighted divergence. For midpoint or Heun, the first nonzero object is and enters at order in the modified field.
5 DENSITY-ACTIVE WASSERSTEIN GEOMETRY
Equip with and define
where T is the test-function space fixed in Section 3. The gauge definition gives the orthogonal splitting
Write for the gradient projection. Weakly, is characterized by
or, in strong form,
Definition 3 (Weighted negative norm). For a mean-zero distribution , let
Proposition 2 (Density-active projection). For every sufficiently regular field z,
Proof. The solenoidal component is orthogonal to every test gradient, so it vanishes both under weighted divergence and in the dual norm. The remaining supremum is the Hilbert norm of the gradient projection.
Apply the proposition to and define the solver-aware local residual
Theorem 2 (Local Wasserstein defect for an order-r method). Under the regular Wasserstein-chart and uniformity assumptions of Appendix H,
For Euler this is
The theorem turns the modified-equation residual into a Wasserstein tangent norm rather than a heuristic indicator. It also defines a solver-dependent gauge objective
For Euler, , where
the constant does not affect representative selection.
Solver-aware transport chain.
Only the horizontal component contributes to the leading marginal defect. Large -solenoidal modified differentials may bend particle trajectories without producing leading density error.
6 SOLVER-ORDER TIMESTEP ALLOCATION
Let be the geometric residual in equation 17. A local defect may be amplified before terminal time. For the transport evolution , assume
Theorem 3 (Propagated order- density defect). Under the differentiability and modified-equation assumptions in Appendices and , a smooth local step profile satisfies
For the canonical source norm , Proposition 2 identifies the integrand with . The terminally weighted residual is therefore . If steps are placed in , then and the accumulated leading defect is
For a generic exponent we use .
Theorem 4 (Solver-order allocation and finite- surrogate). Let , , and . The unique continuous minimizer of is
For any partition define
Then
with equality exactly when
The continuous law follows from the KKT equation . For the finite- surrogate , strict convexity applied to the interval masses gives the exact quantile minimizer. This is exact finite- surrogate optimality; it is not a claim that the same grid exactly minimizes the full nonlinear terminal error. For an order- solver, , so
Euler, second-order, and third-order methods therefore use powers 1/2, 1/3, and 1/4, respectively.
The quantile rule in equation 28 directly converts the continuous optimum into a realizable mesh; its local step asymptotics and endpoint approximation are stated in Appendix H.
6.1 ALLOCATION ROBUSTNESS AND PROPAGATION
Suppose a schedule is built from instead of . Let
Theorem 5 (Exact schedule degradation). For ,
For Euler,
If , the ratio is at most .
Thus schedule quality depends on the normalized allocation density, not on the absolute scale of the residual. The regularization ensures positivity and controls sensitivity near zeros.
Propagation weighting is structurally consequential: even for a constant local residual, Appendix H constructs smooth scalar flows for which the residual-only objective ratio grows as relative to the propagation-aware optimum.
The proofs of Theorems 4 and 5, together with the mesh asymptotics and the propagation-separation construction, are collected in Appendix H.
Practical residual estimation. The theory uses . Controlled Euler experiments also use the score–divergence proxy
which upper-controls, but is not identical to, the geometric norm under a weighted Poincaré inequality. CIFAR-10 instead uses a Galerkin projection and empirical propagation; Appendix D validates a particle-only estimator against the exact controlled residual.
7 GAUGE OPTIMIZATION AND ITS DISCRETE LIMIT
For Euler, the representative-selection problem is
The first variation, projected descent, KKT system, and weighted-Poisson projection are given in Appendix I. The feasible direction is the solenoidal projection of the ambient gradient, so the optimization remains inside the fiber of fields that realize the same density path.
Why optimize a continuum functional when the target is a finite-step solver? For a partition , define the discrete local- objective
Theorem 6 (Γ-limit of discrete Euler gauge optimization). Let be compact in a topology . Assume the Euler local- expansion is uniform on , its remainder is uniformly bounded, and is uniformly Lipschitz over . Then
Consequently in . Every convergent sequence of discrete minimizers has a continuum-minimizing limit. The same conclusion holds on noncompact admissible sets when an added regularizer makes the objectives equicoercive.
Thus the continuum representative-selection problem is the variational limit of the discrete solver objective, not merely an analogy suggested by backward error. Appendix H gives the proof and the regularized equicoercive form.
Classical optimal transport selects a horizontal lift by minimizing continuum kinetic energy. Here the prescribed marginal curve is held fixed, while the chosen numerical method induces a second horizontal criterion: minimize the local transport defect of its discrete maps. This complements endpoint-map interpretations of probability-flow ODEs in Gaussian settings (Khrulkov et al., 2023) and the classical Otto–Benamou–Brenier geometry (Benamou & Brenier, 2000; Otto, 2001).
Gaussian exact control. For and , continuum transport and zero leading Euler bias reduce to
For , feasible lifts are , , and cancellation requires
When , exact skew gauges exist in even dimension, whereas one scalar direction remains unavoidable in odd dimension; the full classification is in Appendix J.
Continuum OT optimality is not finite-step solver optimality. The radial Gaussian lift is the gradient, minimum-kinetic-energy representative, yet
In even dimension the admissible non-gradient lift , with and , cancels the leading covariance defect and achieves . The same continuum density path therefore admits a Brenier-favored lift and a distinct Euler-favored lift. The gauge fiber is a genuine finite-solver control space.
8 CONTROLLED AND PRETRAINED VALIDATION
Controlled checks. Representative selection is tested in exact and controlled models; the pretrained experiment below isolates timestep allocation. Exact Gaussian paths recover the predicted local- orders and the even/odd gauge obstruction. Analytic mixture paths verify the finite-N quantile surrogate, propagation weighting, and robustness of the square-root allocation. A unified hard-GMM protocol compares density-active scheduling with embedded Euler–Heun refinement, Jo–Choi velocity-variation resampling, a particle-only dual residual, propagation-aware weighting, a trajectory-coupling oracle, and fair-NFE Heun. These comparisons support competitiveness rather than uniform dominance; the same appendix validates the particle-only residual against the exact controlled profile. Full protocols and quantitative checks are in Appendices B, C, D, and E.
Pretrained EDM CIFAR-10. We integrate the deterministic probability-flow ODE of the pretrained CIFAR-10 EDM network (Karras et al., 2022) in the noise variable ,
Table 1: Pretrained CIFAR-10 EDM: FID-50k / generation time. The first block keeps the Euler update fixed and changes only timestep placement. The second block changes the solver class. FID evaluation time is excluded.
| Method | 8 NFE | 16 NFE | 20 NFE | 35 NFE |
|---|---|---|---|---|
| Fixed Euler update: schedule comparison | ||||
| Euler/Ours | 16.4420 / 441.8s | 6.9354 / 867.7s | 5.5274 / 1084.0s | 3.5285 / 1884.6s |
| Euler/log-σ | 21.6984 / 442.2s | 7.6153 / 867.4s | 5.8316 / 1084.3s | 3.5154 / 1884.7s |
| Euler/EDM-ρ | 22.2181 / 441.8s | 8.1022 / 867.2s | 6.2264 / 1082.5s | 3.7318 / 1885.4s |
| Stronger solver context | ||||
| DPM++ | 8.0429 / 456.8s | 2.6684 / 895.6s | 2.3117 / 1114.4s | 2.0205 / 1939.6s |
| Original EDM Heun | - | - | - | 1.8486 / 1901.2s |
Euler/EDM- FID-50k 22.22
Euler/log- FID-50k 21.70
Euler/Ours FID-50k 16.44

Figure 1: Matched-seed CIFAR-10 samples at 8 NFE for the three Euler grids. Every row uses the same network and update rule; only timestep placement changes. The visual comparison therefore matches the fixed-solver claim tested by the first block of Table 1.
A single offline profile estimates the Euler modified-equation residual , projects it onto a random-feature Wasserstein-horizontal space, and weights it by empirical terminal amplification. Euler timesteps are quantiles of in the actual solver variable.
Within Euler, the proposed grid reduces FID relative to at 8, 16, and 20 NFE and improves over EDM- at every displayed budget. The gain nearly vanishes by 35 NFE, where the first-order mesh is already dense. These rows are the direct test of the paper: network, update rule, NFE, seeds, and runtime are matched, so the only design variable is timestep placement.
DPM++ and EDM Heun address a different axis: they improve the update formula through multistep or second-order information. Their lower FID therefore measures solver design, not Euler-grid quality. Our method instead optimizes where a fixed stateless first-order solver spends its evaluations and produces an offline profile reusable across seeds and budgets. A matched-seed dense-grid study in Appendix A finds our grid closest to a 1000-step Euler reference at every tested budget from 8 to 512 NFE, while all three Euler schedules become indistinguishable at 1000 NFE. Thus the gain is faster convergence to the same Euler limit, complementary to higher-order solver engineering.
Appendix A reports the profile construction, dense-limit convergence, FID–time tradeoff, and the matched Euler comparison at 16 NFE before the controlled and proof supplements.
9 CONCLUSION
The density-active component of a solver's modified equation determines its leading marginal transport error. This yields a solver-order allocation law and a representative-selection objective over marginal-preserving gauges, with a discrete-to-continuum justification for Euler. Controlled and pretrained experiments validate the mechanism, while matched-seed dense-grid convergence shows that the gain is faster approximation of the same high-NFE Euler limit. DPM++ and EDM Heun delimit the scope: they change the integration formula; ours allocates the budget of a fixed low-order solver.
REFERENCES
Michael S. Albergo, Nicholas M. Boffi, and Eric Vanden-Eijnden. Stochastic interpolants: A unifying framework for flows and diffusions, 2023. arXiv preprint arXiv:2303.08797.
Luigi Ambrosio, Nicola Gigli, and Giuseppe Savaré. Gradient Flows in Metric Spaces and in the Space of Probability Measures. Birkhäuser, 2008.
Jean-David Benamou and Yann Brenier. A computational fluid mechanics solution to the Monge–Kantorovich mass transfer problem. Numerische Mathematik, 84(3):375–393, 2000.
Jean-David Benamou, Thomas O. Gallouët, and François-Xavier Vialard. Second-order models for optimal transport and cubic splines on the Wasserstein space. Foundations of Computational Mathematics, 19(5):1113–1143, 2019. doi: 10.1007/s10208-018-9389-x.
Ricky T. Q. Chen, Yulia Rubanova, Jesse Bettencourt, and David K. Duvenaud. Neural ordinary differential equations. In Advances in Neural Information Processing Systems, 2018.
Sitan Chen, Sinho Chewi, Holden Lee, Yuanzhi Li, Jianfeng Lu, and Adil Salim. The probability flow ODE is provably fast. In Advances in Neural Information Processing Systems, volume 36, pp. 68552–68575, 2023.
Yuzhu Chen, Fengxiang He, Shi Fu, Xinmei Tian, and Dacheng Tao. Adaptive time-stepping schedules for diffusion models. In Proceedings of the Fortieth Conference on Uncertainty in Artificial Intelligence, volume 244 of Proceedings of Machine Learning Research, pp. 685–697. PMLR, 2024.
Yansong Gao, Zhihong Pan, Xin Zhou, Le Kang, and Pratik Chaudhari. Fast diffusion probabilistic model sampling through the lens of backward error analysis, 2023. arXiv preprint arXiv:2304.11446.
Ernst Hairer, Christian Lubich, and Gerhard Wanner. Geometric Numerical Integration: Structure-Preserving Algorithms for Ordinary Differential Equations. Springer, 2006.
Michael Hinze, Rene Pinnau, Michael Ulbrich, and Stefan Ulbrich. Optimization with PDE Constraints. Springer, 2009.
Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In Advances in Neural Information Processing Systems, 2020.
Christian Horvat and Jean-Pascal Pfister. On gauge freedom, conservativity and intrinsic dimensionality estimation in diffusion models. In International Conference on Learning Representations, 2024.
Yilie Huang, Wenpin Tang, and Xun Yu Zhou. ART for diffusion sampling: Continuous-time control and actor-critic learning, 2026. arXiv preprint arXiv:2607.02137.
Sangwoo Jo and Sungjoon Choi. Formalizing the sampling design space of diffusion-based generative models via adaptive solvers and wasserstein-bounded timesteps, 2026. arXiv preprint arXiv:2602.12624.
Tero Karras, Miika Aittala, Timo Aila, and Samuli Laine. Elucidating the design space of diffusion-based generative models. In Advances in Neural Information Processing Systems, volume 35, pp. 26565–26577, 2022.
Nail B. Khelifa, Richard E. Turner, and Ramji Venkataramanan. Diffusion models observe only gradients: A geometric perspective on score matching errors, 2026. arXiv preprint arXiv:2606.06179.
Valentin Khrulkov, Gleb Ryzhakov, Andrei Chertkov, and Ivan Oseledets. Understanding DDPM latent codes through optimal transport. In International Conference on Learning Representations, 2023.
Hugo Lavenant and Filippo Santambrogio. The flow map of the Fokker–Planck equation does not provide optimal transport. Applied Mathematics Letters, 133:108225, 2022. doi: 10.1016/j.aml.2022.108225.
Sangyun Lee, Beomsu Kim, and Jong Chul Ye. Minimizing trajectory curvature of ODE-based generative models. In International Conference on Machine Learning, 2023.
Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In International Conference on Learning Representations, 2023.
Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. In International Conference on Learning Representations, 2023.
Cheng Lu, Yuhao Zhou, Fan Bao, Jianfei Chen, Chongxuan Li, and Jun Zhu. DPM-Solver: A fast ODE solver for diffusion probabilistic model sampling in around 10 steps. In Advances in Neural Information Processing Systems, 2022.
Felix Otto. The geometry of dissipative evolution equations: The porous medium equation. Communications in Partial Differential Equations, 26(1–2):101–174, 2001.
Peter Pao-Huang, Xiaojie Qiu, and Stefano Ermon. Generative modeling with flux matching, 2026. arXiv preprint arXiv:2605.07319.
Jianning Pei, Han Hu, and Shuyang Gu. Optimal stepsize for diffusion sampling, 2025. arXiv preprint arXiv:2503.21774.
Emile Pierret and Bruno Galerne. Diffusion models for gaussian distributions: Exact solutions and wasserstein errors, 2025.
Aram-Alexandre Pooladian, Heli Ben-Hamu, Carles Domingo-Enrich, Brandon Amos, and Yaron Lipman. Multisample flow matching: Straightening flows with minibatch couplings. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pp. 28100–28127. PMLR, 2023.
Amirmojtaba Sabour, Sanja Fidler, and Karsten Kreis. Align your steps: Optimizing sampling schedules in diffusion models. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 42947–42975. PMLR, 2024.
Filippo Santambrogio. Optimal Transport for Applied Mathematicians. Birkhäuser, 2015.
Yang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations, 2021.
Alexander Strunk and Roland Assam. Gauge flow models, 2025. arXiv preprint arXiv:2507.13414.
Chenxi Tao and Seung-Kyum Choi. On the role of strain and vorticity in numerical integration error for flow matching, 2026. arXiv preprint arXiv:2605.06680.
Vinh Tong, Dung Trung Hoang, Anji Liu, Guy Van den Broeck, and Mathias Niepert. Learning to discretize denoising diffusion ODEs. In The Thirteenth International Conference on Learning Representations, 2025.
Cédric Villani. Optimal transport: Old and new, 2009.
Gal Vinograd, Idan Achituve, and Ethan Fetaya. Diverse sampling in diffusion models with marginal preserving particle guidance, 2026. arXiv preprint arXiv:2605.06553.
An B. Vuong, Michael T. McCann, Javier E. Santos, and Yen Ting Lin. Are we really learning the score function? reinterpreting diffusion models through wasserstein gradient flow matching, 2025. arXiv preprint arXiv:2509.00336.
Shuai Wang, Zexian Li, Qipeng Zhang, Tianhui Song, Xubin Li, Tiezheng Ge, Bo Zheng, and Limin Wang. Differentiable solver search for fast diffusion sampling. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 63549–63568. PMLR, 2025.
Shuchen Xue, Zhaoqiang Liu, Fei Chen, Shifeng Zhang, Tianyang Hu, Enze Xie, and Zhenguo Li. Accelerating diffusion sampling with optimized time steps. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 8292–8301, 2024.
Liangyu Yuan, Ruoyu Wang, Tong Zhao, Dingwen Fu, Mingkun Lei, Beier Zhu, and Chi Zhang. Few-step diffusion sampling through instance-aware discretizations, 2026. arXiv preprint arXiv:2603.17671.
Kaiwen Zheng, Cheng Lu, Jianfei Chen, and Jun Zhu. DPM-Solver-v3: Improved diffusion ODE solver with empirical model statistics. In Advances in Neural Information Processing Systems, volume 36, pp. 55502–55542, 2023.
APPENDIX CONTENTS
A. Pretrained EDM CIFAR-10 Details
B. Exact Mechanism Checks
C. Hard-GMM Allocation Study
D. Unified Baselines and Estimator Validation
E. Additional Theorem-Linked Quantitative Checks
F. Applications and Optimization Relevance
G. Local Optimal-Transport Interpretation
H. Solver-Aware Extensions and Variational Limits
I. Projected Gauge Optimization
J. Exact and Obstructed Gaussian Gauges
K. Additional Projection Details
L. Propagation of the Density Defect and Cost Accounting
M. Mixtures and Practical Parameterizations
N. Additional Explicit Examples
O. Connection Viewpoint
A PRETRAINED EDM CIFAR-10 DETAILS
This appendix expands the image-model validation from Section 8. All methods use the same class-conditional pretrained EDM network, seeds 0–49999, batch size 32, and CIFAR-10 FID reference. The Euler rows in Table 1 differ only in timestep placement. DPM++ uses a second-order EDM multistep update, whereas the original EDM configuration uses a Heun-style correction with 18 steps, i.e. 35 network evaluations.
Two distinct comparisons. The direct test of the proposed method is Euler against Euler at fixed NFE: the learned field and numerical update are unchanged, and only the nodes of the grid move. DPM++ and EDM Heun instead modify the integration formula. They calibrate the accuracy of stronger solvers but do not test the timestep allocation claim. A density-active profile can also be used as a diagnostic or combined with a different solver; this paper isolates it with Euler so that the allocation effect is identifiable.
Density-aware allocation profile

Figure A.1: Offline profile used by the Euler allocation: the Galerkin estimate of the density-active residual, the empirical terminal-propagation factor, and their product. The schedule is obtained from quantiles of the square root of the propagated profile in the solver variable .
The profile assigns more of the Euler budget to the low-noise region without collapsing all evaluations at the endpoint. It is estimated once and then reused for every image seed and every displayed Euler budget. Consequently, the three Euler rows have essentially identical generation time at fixed NFE.
Dense-grid convergence and asymptotic target. To distinguish faster convergence from a changed high-NFE target, we compare matched-seed endpoints against a dense numerical reference. For each of 1024 shared noise seeds and class labels, the reference is a 1000-step Euler trajectory on the EDM- grid. We then integrate the same initial condition with each Euler schedule at 8, 16, 20, 35, 64, 128, 256, and 512 NFE. Choosing an EDM- reference is conservative for our method, yet the density-aware grid has the smallest endpoint RMSE at every tested budget.
Matched-seed convergence to the dense Euler limit

Figure A.2: Matched-seed convergence to a 1000-step Euler reference. The proposed schedule is closest to the dense reference at every tested budget, while the three curves approach one another as NFE grows. The reference is numerical, not an exact ODE solution.
The endpoint result is complemented by an independent FID-5k run at 1000 NFE. The three values differ by less than 0.002, while generation times stay within a few percent. Thus the low-NFE improvement does not create a different asymptotic sampler; it accelerates a fixed Euler update toward the same dense-grid regime.
Table A.1: High-NFE Euler check on 5000 CIFAR-10 samples. Every row uses 1000 Euler evaluations; FID computation time is excluded.
| Schedule | FID-5k | Generation time (s) |
|---|---|---|
| Euler/Ours | 6.64496 | 5187.9 |
| Euler/log-σ | 6.64442 | 5112.5 |
| Euler/EDM-ρ | 6.64618 | 5289.6 |
CIFAR-10 EDM: FID/time tradeoff

Figure A.3: FID-50k versus wall-clock generation time. The Euler schedules lie at nearly identical cost for each NFE. DPM++ and EDM Heun reach lower FID by using stronger update formulas, with a small implementation-dependent overhead for DPM++.
Euler/EDM- FID-50k 8.10
Euler/log- FID-50k 7.62
Euler/Ours FID-50k 6.94

Figure A.4: Matched-seed CIFAR-10 samples at 16 NFE for the three Euler schedules. As in the main-text figure, the comparison changes only timestep placement.
Numerical protocol. The residual profile is estimated from 256 trajectories on 31 noise levels. A 128-step Heun trajectory supplies the fine reference, and a random-feature Galerkin solve approximates the weighted-gradient projection. The terminal factor is estimated by propagating small residual-aligned perturbations with the same fine solver. All main-table FID values use 50,000 generated images; generation times in Table 1 exclude FID computation. The dense-limit endpoint study uses 1024 matched samples, and Table A.1 uses an independent 5000-sample FID run.
B EXACT MECHANISM CHECKS
The following analytic examples verify the mechanisms that motivate the allocation rule. They are deliberately small: the relevant marginals, velocities, and density-active defects are available in closed form, so the numerical observation can be compared directly with the theorem rather than with a learned proxy.
B.1 GAUSSIAN CANCELLATION AND PARITY
Consider
and the feasible linear gauges
Here and . The density-active acceleration coefficient is , hence the continuum bias functional vanishes exactly at .


Figure B.5: Exact Gaussian gauge check. Left: normalized density-active modified-equation bias, with zeros at the predicted gauges . Right: finite-step Euler covariance error for the same continuum density path; the cancelling skew gauge reduces the error at every displayed step count.
Table B.2: Relative covariance error for the Gaussian path under Euler integration.
| N | α = 0 | α = 0.5 | α = 1 |
|---|---|---|---|
| 4 | 3.0856e-01 | 2.4783e-01 | 4.2401e-02 |
| 8 | 1.7267e-01 | 1.3500e-01 | 1.2940e-02 |
| 16 | 9.1856e-02 | 7.0496e-02 | 3.5626e-03 |
| 32 | 4.7453e-02 | 3.6023e-02 | 9.3324e-04 |
| 64 | 2.4128e-02 | 1.8209e-02 | 2.3871e-04 |
| 128 | 1.2167e-02 | 9.1540e-03 | 6.0355e-05 |
The same construction yields the parity obstruction: an orthogonal complex structure can cancel the isotropic residual in even dimension, whereas one scalar direction remains in odd dimension. Direct minimization of the linear residual gives zero to numerical precision in dimensions 2 and 4 and a strictly positive residual in dimensions 3 and 5, matching Theorem 12.
B.2 WHY FULL MATERIAL ACCELERATION IS NOT THE ALLOCATION SIGNAL
A time-dependent skew gauge can rotate rapidly while leaving the leading marginal covariance defect equal to zero. In the controlled four-dimensional construction, the maximum density-active residual is approximately , whereas the full material-acceleration proxy reaches about 136. Thus a schedule based on the full acceleration would concentrate nodes around a large but marginal-invisible spike. The example is an exact counterexample to the rule “more trajectory curvature always means more marginal error”; no performance claim relies on the visual appearance of a particular tick plot.
Mechanism check. The Gaussian examples establish two points used later: a marginal-preserving gauge can cancel the leading density error of a finite solver, and a large trajectory-level acceleration can remain invisible to the marginal. The hard-GMM and CIFAR-10 studies then evaluate timestep allocation in nontrivial distributional settings.
C HARD-GMM ALLOCATION STUDY
This appendix tests the scheduling consequence on a controlled eight-mode Gaussian-mixture path with unequal weights, rotating and separating centers, and decreasing component variance. Unlike the exact Gaussian checks, the proxies are correlated rather than artificially separated; the experiment asks whether the theory-linked density-active schedule remains competitive under a fixed low-NFE budget.
C.1 PRIMARY PROTOCOL
The profile is evaluated at 31 times using 1536 particles per time. Schedules are constructed from the density-active residual, the full material-acceleration norm, or the velocity norm. The allocation exponent is either fixed at the theoretical Euler value or selected on disjoint validation seeds. Final metrics use independent test seeds.
Table C.3: Primary hard-GMM evaluation protocol.
| Quantity | Value |
|---|---|
| Profile grid | 31 points in [0, 1], 1536 particles per time |
| Sampling budget | 2048 particles per evaluation seed |
| Validation/test split | validation selects ; test seeds are disjoint |
| MMD | RBF MMD with deterministic truncation to 512 points |
| Sliced Wasserstein | 128 random directions |
| Schedule family | uniform or proxy quantiles with |
| Fair NFE convention | one Euler interval costs one field evaluation; one Heun interval costs two |
C.2 THEORY-LINKED FIXED-EXPONENT COMPARISON
The three profiles are
Legacy filenames call “curvature,” but the measured quantity is the full material-acceleration norm. On this path all three proxies increase near the difficult late-time region, so their schedules are expected to be similar; the exact Gaussian example in Appendix B is the selective counterexample where they separate.
C.3 VALIDATION-SELECTED AND MIXED-ORDER BASELINES
Appendix D reports the disjoint validation/test comparison against embedded Euler–Heun refinement, an Jo–Choi velocity-variation schedule, a particle-only dual residual, directional propagation weighting, a trajectory oracle, and fair-NFE Heun. A separate hybrid experiment spends Heun corrections only on intervals selected by a proxy; the density-active signal can therefore be used either to move Euler nodes or to allocate a mixed-order budget.
Table C.4: Theory-linked hard-GMM comparison with the fixed Euler exponent .
| NFE | Proxy | γ | MMD ↓ | SW ↓ | Wt. err. ↓ | Leak. ↓ |
|---|---|---|---|---|---|---|
| 8 | Uniform | 0.00 | 0.01235 | 0.7819 | 0.1196 | 1.0000 |
| 8 | Density | 0.50 | 0.008942 | 0.5546 | 0.2264 | 0.8704 |
| 8 | Mat. acc. | 0.50 | 0.006744 | 0.5673 | 0.1221 | 0.9993 |
| 8 | Speed | 0.50 | 0.006880 | 0.5749 | 0.1517 | 0.9966 |
| 16 | Uniform | 0.00 | 0.007978 | 0.4685 | 0.0857 | 0.9764 |
| 16 | Density | 0.50 | 0.005379 | 0.3247 | 0.1178 | 0.2305 |
| 16 | Mat. acc. | 0.50 | 0.005172 | 0.3463 | 0.0891 | 0.5260 |
| 16 | Speed | 0.50 | 0.004475 | 0.3376 | 0.0929 | 0.4727 |

Figure C.6: Terminal MMD at fixed . Every nonuniform schedule improves on uniform Euler. The close values of the three proxies reflect their shared late-time concentration on this benchmark, rather than equivalence of the underlying error signals.
Table C.5: Hybrid Euler/Heun allocation under a fixed NFE budget. On this correlated benchmark the three nonuniform selectors choose nearly the same late-time intervals and all improve over uniform selection.
| NFE | Selector | K | q | MMD ↓ | SW ↓ |
|---|---|---|---|---|---|
| 8 | Uniform | 5 | 3 | 0.01636 | 0.6496 |
| 8 | Density | 5 | 3 | 0.003201 | 0.3333 |
| 8 | Mat. acc. | 5 | 3 | 0.003201 | 0.3333 |
| 8 | Speed | 5 | 3 | 0.003201 | 0.3333 |
| 16 | Uniform | 10 | 6 | 0.001887 | 0.2866 |
| 16 | Density | 10 | 6 | 0.001766 | 0.1459 |
| 16 | Mat. acc. | 10 | 6 | 0.001766 | 0.1459 |
| 16 | Speed | 10 | 6 | 0.001766 | 0.1459 |
| 32 | Uniform | 21 | 11 | 0.000455 | 0.2053 |
| 32 | Density | 21 | 11 | 0.000386 | 0.1311 |
| 32 | Mat. acc. | 21 | 11 | 0.000386 | 0.1311 |
| 32 | Speed | 21 | 11 | 0.000386 | 0.1311 |
Hard-GMM takeaway. The density-active schedule improves over uniform Euler at the theory-predicted exponent and remains competitive with simpler geometric proxies when the proxies are strongly correlated. The purpose of the exact distractor is to show why the density projection is the principled signal; the purpose of this mixture study is to test that the resulting schedule remains useful in a hard, non-Gaussian path.
D UNIFIED ADDITIONAL BASELINES AND ESTIMATOR VALIDATION
Every method below is evaluated on the same hard-GMM path, with the same metric implementation and independent validation/test seeds. The Jo–Choi baseline implements the fixed-budget velocity-variation resampling principle of Jo & Choi (2026) on the same analytic path and evaluation protocol.
D.1 PROTOCOL
The analytic eight-mode path and evaluation metrics are unchanged. Residual profiles use 31 time points and 1536 particles per point. Four validation seeds choose from ; the selected schedule is then evaluated on eight disjoint test seeds. Each test seed uses 1536 generated and target samples, an RBF MMD computed from 384 points, and 64 sliced-Wasserstein directions. Tables report mean standard error over the eight test seeds.
Compared schedules
-
Density, acceleration, and speed with validation selection. The exponent is selected only on validation seeds and frozen before test evaluation.
-
Embedded Euler–Heun AMR. Starting from , the interval with largest pilot RMS Euler–Heun discrepancy is bisected until the requested number of Euler intervals is reached.
-
Jo–Choi velocity variation. On a 128-interval pilot trajectory we estimate
The fixed-NFE grid is uniform in the cumulative length , matching the square-root resampling power used by the official N-step resampling construction of Jo & Choi (2026).
-
Particle dual. The residual identity (104) is optimized in a finite critic space consisting of 64 Gaussian RBFs and low-order polynomial features. This estimator uses particles and material acceleration, but no score and no explicit divergence.
-
Directional-K density. A directional tangent-amplification proxy is estimated by perturbing particles along and propagating both copies to with fine RK4. Because raw amplification is heavy-tailed near responsibility boundaries, we take the median over three pilot seeds, apply a width-three median filter in log scale, and clip only to its empirical 5–95% range. This is explicitly a robust proxy for , not an operator-norm estimate.
-
Coupling oracle. A differentiable grid minimizes samplewise squared deviation from a 256-step RK4 reference on separate training particles. It is a trajectory-coupling oracle and need not minimize MMD.
-
Fair-NFE Heun. A uniform Heun solver uses N/2 intervals under an N-evaluation budget.
D.2 UNIFIED RESULTS
The validation-selected density schedule reduces MMD from to at NFE 8, and from to at NFE 16. The Euler–Heun AMR and Jo–Choi schedules are comparable: at NFE 8 their MMD values are and
Table D.6: Unified hard-GMM test results after validation-only hyperparameter selection. The coupling oracle is optimized for trajectory MSE, not for either displayed distribution metric.
| NFE | Method | MMD ↓ | SW ↓ |
|---|---|---|---|
| 8 | Uniform Euler | ||
| 8 | Density (val.) | ||
| 8 | Acceleration (val.) | ||
| 8 | Speed (val.) | ||
| 8 | Euler–Heun AMR | ||
| 8 | SDM variation | ||
| 8 | Particle dual | ||
| 8 | Directional-K | ||
| 8 | Coupling oracle | ||
| 8 | Uniform Heun | ||
| 16 | Uniform Euler | ||
| 16 | Density (val.) | ||
| 16 | Acceleration (val.) | ||
| 16 | Speed (val.) | ||
| 16 | Euler–Heun AMR | ||
| 16 | SDM variation | ||
| 16 | Particle dual | ||
| 16 | Directional-K | ||
| 16 | Coupling oracle | ||
| 16 | Uniform Heun |

Figure D.7: MMD under the unified protocol. Density-active schedules remain competitive with embedded Euler–Heun refinement and Jo–Choi velocity-variation resampling. Fair-NFE Heun illustrates the complementary benefit of higher-order integration as the budget supports more second-order intervals.
0.00960 ± 0.00140, respectively. Thus the density-active signal is not merely beating a uniform grid; it lies on the same controlled Pareto scale as two solver-error or Wasserstein-variation alternatives.
The robust directional-K weighting gives the lowest displayed Euler MMD at NFE 8 and 16, namely and . Its close agreement with the residual-only schedule supports propagation weighting as a refinement, while the robust median filtering stabilizes the directional sensitivity profile near responsibility boundaries.
The trajectory-coupling oracle reaches MMD at NFE 8 and at NFE 16. It achieves comparable terminal MMD while minimizing a distinct paired-trajectory objective. This makes the trajectory-versus-density distinction operational in a second way, complementary to the solenoidal distractor.
D.3 PARTICLE-ONLY RESIDUAL

Figure D.8: Exact score–divergence, particle-only dual, robust directional-K-weighted, and Jo–Choi velocity-variation profiles, normalized independently.
Across the 31 profile times, the finite RBF dual estimator has Pearson correlation 0.9760 and Spearman correlation 0.9907 with the exact score–divergence profile. Its fixed- schedule yields MMD at NFE 8 and at NFE 16. Hence the unknown-density route in the dual residual identity (104) is not only formal: in this controlled experiment it recovers the ordering of difficult time regions and produces a competitive grid without access to .
Profile cost and amortization. On the reported CPU environment, a exact score–divergence profile takes 1.21 seconds and the finite particle-dual profile takes 2.76 seconds. For a batch of 1536 particles, uniform Euler at NFE 16 takes 0.0310 seconds, while density-scheduled Euler at NFE 8 takes 0.0159 seconds. Under this implementation, amortizing the exact profile requires about 80 batches ( generated samples), while the particle-dual profile requires about 182 batches ( samples). These values are implementation-specific and are included only to make the offline/online cost separation explicit.
Unified evidence. Hyperparameters are chosen on disjoint validation seeds; density scheduling is compared against embedded local-error refinement and an Jo–Choi Wasserstein-variation schedule; the particle-only dual residual is empirically validated; and profile cost is converted into a concrete amortization threshold. The protocol therefore combines tuning, baseline comparison, score-free residual estimation, and explicit profile-cost amortization in one controlled evaluation.
E ADDITIONAL THEOREM-LINKED QUANTITATIVE CHECKS
This appendix collects compact numerical checks whose quantities are known analytically or can be evaluated against an independently optimized oracle. They support the local-order, propagation, and robustness statements without serving as the main empirical benchmark; the pretrained CIFAR-10 result remains the primary image-model validation.
E.1 ANALYTIC MIXTURE PATH AND OBJECTIVE SPECIFICITY
The two-dimensional path contains eight unequal-weight Gaussian components whose centers rotate and separate while their common variance contracts. Responsibilities give an analytic global velocity satisfying the continuity equation; the normalized finite-difference continuity residual is below RMS. At , four independently constructed grids are compared on held-out particles.
Table E.7: Analytic GMM grid comparison at . MMD is mean standard error over three evaluation seeds. The density-quantile grid exactly minimizes the local surrogate, while the terminal and trajectory oracles optimize different objectives.
| Grid | Test MMD | Local surrogate | |
|---|---|---|---|
| Uniform | 1.184 | 0.0858 | |
| Density quantile | 1.000 | 0.1412 | |
| Trajectory oracle | 1.040 | 0.1272 | |
| Marginal RFF oracle | 2.377 | 0 |
The terminal marginal oracle minimizes a fixed random-feature MMD on separate optimization particles. Its local-surrogate value is therefore not expected to be optimal. Conversely, the density grid is closer to the trajectory oracle than to the terminal-feature oracle. The result makes the paper's distinction operational: local marginal error, paired-trajectory error, and a terminal feature metric can induce different timestep geometries.
E.2 ORDER, PROPAGATION, AND PROFILE ROBUSTNESS
Table E.8 summarizes the theorem-linked checks in a compact numerical form. Reporting the numerical quantities directly avoids over-interpreting finite collections of points as performance curves.
Table E.8: Compact theorem-linked checks. The propagation row reports terminal at ; the robustness row compares the coarsest and finest grids.
| Claim | Prediction | Observed check |
|---|---|---|
| Local marginal order | radial order 2; cancelled even-dimensional skew order 3; odd-dimensional obstruction order 2 | fitted tail slopes 2.000, 2.998–3.002, and 2.000–2.00004, respectively |
| Propagation weighting | approaches the terminal-grid oracle | at N = 16: uniform 0.18544, residual-only 0.19615, K-weighted 0.18514, oracle 0.18509 |
| Profile robustness | the continuous identity is recovered as the quantile grid is refined | correlation increases from 0.891 at N = 8 to 0.995 at N = 64; median relative discrepancy decreases from 0.751 to 0.125 |
The residual-only schedule can be worse on the anisotropic propagation example because it ignores how a local perturbation is amplified before the terminal time. The -weighted grid nearly matches the direct oracle, which motivates the empirical terminal factor used in the CIFAR-10 experiment. The robustness check also supports the square-root allocation: under multiplicative profile noise, it perturbs the grid less than the linear-power alternative.
F APPLICATIONS AND OPTIMIZATION RELEVANCE
The framework has three optimization-oriented applications.
Adaptive low-NFE schedules. The most robust application is timestep optimization. The density-active residual is derived from a marginal backward-error identity, rather than from a purely trajectory-level local error. Theorem 3 shows that the terminally relevant profile is , and Theorem 4 gives the corresponding constrained allocation. The controlled residual-only ablations set , while the pretrained EDM experiment estimates a reusable empirical propagation factor .
Solver diagnostics. The residual
identifies where a finite-step solver creates density-level bias. This can be used independently of any velocity correction: high-residual intervals should receive more steps or a higher-order local solver. Conversely, a high full material-acceleration interval should not automatically be treated as important unless its acceleration is density-active; the Gaussian curvature-distractor experiment gives an explicit counterexample.
Gauge-aware sampler design. The gauge theory complements the schedule layer by characterizing numerically favorable representatives. It explains why marginal-preserving perturbations can be harmful after discretization and gives a trust-region formulation for safe corrections:
The controlled experiments suggest that this layer should be conservative and combined with line search or validation, rather than used as an unrestricted learned correction.
Diversity with numerical-bias control. Divergence-free particle guidance can increase diversity, but it can also increase finite-step density bias. The constrained formulation allows one to add diversity-promoting gauges under a side constraint on :
This separates continuum marginal preservation from numerical harmlessness.
G LOCAL OPTIMAL-TRANSPORT INTERPRETATION
This appendix proves the Euler specialization of Theorem 2 and the isotropic Gaussian separation stated in Section 7; Appendix H gives the order- argument. We work on a compact boundaryless domain or on with sufficient decay and finite second moments. Assume that is smooth and strictly positive, has the derivatives required for the Taylor expansions below, and the involved density perturbations lie in a regular Wasserstein chart around . The standard tangent characterization of identifies a perturbation
with tangent norm
consistent with the Otto–Benamou–Brenier geometry (Benamou & Brenier, 2000; Otto, 2001; Ambrosio et al., 2008).
G.1 PROOF OF THE LOCAL DEFECT FORMULA
Let . For a smooth test function ,
For , the continuity equation and the transport differentiation rule give
Consequently,
or, in distributions,
Applying equation 42 with and yields
Proposition 2 gives the equivalent formula.
Squaring the expansion gives
Thus, for regular refining partitions ,
Likewise,
Writing converts the leading Riemann sum to , which is the Euler case of the solver-order allocation rule equation 29.
G.2 ISOTROPIC GAUSSIAN SEPARATION
Let . For the gradient lift with , Euler produces
For centered isotropic Gaussians, . Since
we obtain the displayed formula in Section 7.
Now let with and , . The Euler covariance is
On the other hand,
The covariance, hence its positive square root, agrees through order , which proves the displayed formula in Section 7. The field Ax is nonzero and rotational, so the lift is not gradient and is not the Otto-horizontal minimum-kinetic-energy representative. It is nevertheless Euler-optimal to the displayed order.
H SOLVER-AWARE EXTENSIONS AND VARIATIONAL LIMITS
Variational takeaway. This appendix collects the proof details linking local modified equations, propagated allocation, robustness to residual misspecification, and the Euler -limit. The assumptions are stated uniformly over admissible representatives so that the resulting objectives can be used for optimization, not only pointwise error expansion.
This appendix proves the order-r local result, the exact allocation and robustness statements, the propagation separation, and the Euler -convergence theorem. The assumptions are stated so that the uniformity required for optimization is explicit.
H.1 ORDER-r DENSITY AND WASSERSTEIN DEFECTS
Assume that the numerical map is the time-h map of
Subtracting the continuity equation for w gives
which proves equation 8. Equivalently, linearize the continuity equation around w in the velocity perturbation . Over a time interval of length h, variation of constants yields, for every smooth test function ,
This proves equation 9.
In a regular Wasserstein chart, a density perturbation has tangent norm
Taking and proves Theorem 2. Uniformity over follows if the modified-equation remainder and the Wasserstein-chart remainder are uniform there. For Euler, , so the formula agrees with the direct calculation in Appendix G.
H.2 PROPAGATION AND SOLVER ORDER
The velocity-to-density derivative satisfies
as shown in Appendix L. A nonuniform order-r modified field has leading perturbation and a remainder , provided the step profile varies regularly. Applying equation 22 gives
and the differentiability remainder proves Theorem 3.
H.3 EXACT CONTINUOUS AND DISCRETE ALLOCATION
For generic q > 0, write
The Lagrangian derivative is . Strict convexity gives the unique stationary point
For the discrete statement, set , , and . Jensen's inequality for the strictly convex map gives
Equality holds exactly when every , which is equation 28.
For the quantile-mesh asymptotics, the mean-value theorem gives
for some in the interval. Since , the quantile density is bounded below, so . If , then uniformly; multiplication by yields the endpoint approximation.
H.4 RÉNYI ROBUSTNESS IDENTITY
Let and use equation 30. Since ,
By the definition
the ratio is . When ,
which proves equation 32.
If , then and the same bounds hold for . Thus , and
H.5 PROPAGATION SEPARATION
Let and let on a set of measure and elsewhere. Residual-only scheduling is uniform, , and
The optimal value is
Consequently,
Smooth positive approximations of preserve the divergence of the ratio. Such profiles are realizable as scalar linear amplification: for , , so a smooth target profile with is obtained from .
H.6 -CONVERGENCE OF EULER GAUGE OBJECTIVES
For , write . The assumed uniform local expansion is
Compactness and continuity give . After squaring,
uniformly in . Since and the squared residuals are uniformly Lipschitz in time,
This proves equation 36.
Uniform convergence implies the -liminf inequality: if in , continuity of and the uniform error give . The constant recovery sequence gives the matching -limsup. Compactness yields convergent subsequences of minimizers, and the fundamental minimizer argument shows that every limit minimizes .
On a noncompact admissible set, the same conclusion holds for
whenever the regularized family is equicoercive and the local expansion is uniform on its sublevel sets. These hypotheses are essential: pointwise local asymptotics alone do not imply convergence of minimizing sequences.
I PROJECTED GAUGE OPTIMIZATION
We now derive a projected optimization step for the solenoidal-constrained representative-selection problem
Fix a feasible lift and consider a vertical perturbation , where . Assume vanishes at the temporal endpoints, or equivalently restrict to compactly supported variations in time.
The acceleration expands as
with
Let
Because is self-adjoint and lies in its range,
Define the material derivative . The continuity equation implies the transport integration-by-parts identity
whenever the temporal boundary term vanishes. Applying this to equation 67 gives
Theorem 7 (Projected descent and stationarity). Let be the orthogonal projection onto in . The direction
solves the steepest linearized descent problem over unit-norm -solenoidal directions. Moreover,
Hence, if , then for all sufficiently small . A feasible lift is first-order stationary for equation 21 inside its gauge class iff
Proof. For feasible directions , equation 69 gives , because is orthogonal to the gradient component of . Minimizing this linear functional over gives the normalized negative projected gradient; without normalization the steepest descent vector is . Substitution yields equation 71. If the projected gradient is nonzero, differentiability of gives strict decrease for sufficiently small positive steps. The stationarity condition is exactly vanishing of the derivative against all feasible directions, equivalently .
The projection onto is again a weighted Poisson solve:
Thus each projected step consists of evaluating the bias gradient and solving a scalar elliptic projection problem at each time.
Proposition 3 (Weighted Poisson projection). For any , let be the zero-mean weak solution of
Then and
In strong form, solves with the usual normalization modulo constants.
Proof. The weak problem is the normal equation for the orthogonal projection of onto the closed gradient subspace . Hence is orthogonal to all gradients, which is precisely the weak definition of in equation 5. The strong form follows by integration by parts when are smooth.
Corollary 1 (Closed-form regularized subproblem). The linearized regularized problem
has the unique solution
Theorem 8 (KKT system for regularized representative selection). Let be a smooth local minimizer of
\min_{u\in\mathcal{U}_p}\mathcal{B}(v+u)+\frac{\lambda}{2}\|u\|_L^2_{(p_t\,dt)}.Set , , and . Then
Equivalently, under the regularity assumptions ensuring that gradient elements admit potential representatives, there exists a scalar multiplier such that
Proof. Taking variations gives for all feasible variations. Thus lies in the weighted-orthogonal complement of , which is the closed gradient subspace. The multiplier form follows whenever this gradient element admits a potential representative; otherwise the equality is understood in the closure of gradients.
Theorem 9 (Linearized exact cancellation and minimal residual). Let be the linear map
The linearized problem of cancelling the leading Euler density bias,
is exactly solvable if and only if
Moreover, the minimal linearized residual is
\inf_{u\in\mathcal{U}_p}\|b_v+\mathfrak{R}_v u\|_L^2_{(p_t\,dt)}=\mathrm{dist}^2\big(-b_v,\overline{\mathfrak{R}_v(\mathcal{U}_p)}\big), \tag{81}and the infimum is zero if and only if .
Proof. The first-order expansion equation 64 gives . Thus exact first-order cancellation is equivalent to solving over the feasible linear space . If the range is not closed, exact solvability requires membership in the actual range, while arbitrarily small residual requires membership in the range closure. Formula equation 81 is the Hilbert-space projection identity for the distance to the attainable affine subspace.
Theorem 10 (Projected-gradient decrease after discretization). Consider a finite-dimensional parameterization of feasible gauges or a spatial-temporal discretization of equation 63. Let and assume has an -Lipschitz gradient on a neighborhood of . Then the projected-gradient step
satisfies
In the Hilbert-space formalism this corresponds to the infinitesimal direction from equation 70.
Proof. The result is the standard descent lemma for smooth unconstrained optimization after the solenoidal constraint has been built into the parameterization or after applying the orthogonal projection. The identification of the projected gradient follows from equation 69.
Algorithm I.1 Projected modified-equation representative-selection step
1: Input feasible velocity , density path , step size . 2: Compute . 3: Compute by solving equation 14. 4: Compute . 5: Compute by solving equation 73. 6: Return .
J EXACT AND OBSTRUCTED GAUSSIAN GAUGES
Exact Gaussian takeaway. This appendix gives the explicit finite-dimensional model behind the main Gaussian claim. The Lyapunov equation fixes the continuum density path, while the Riccati-type equation identifies when a linear gauge cancels the leading Euler covariance defect. The isotropic case then reduces to a parity obstruction for skew-symmetric controls.
We now show that the proposed optimization problem has nontrivial explicit solutions. Let with and consider linear lifts
The covariance evolves according to
Thus the gauge class consists of all matrices solving the Lyapunov constraint equation 85. The material acceleration is linear,
The acceleration is density-invisible iff
Combining equation 85 with time differentiation gives the following finite-dimensional characterization.
Theorem 11 (Gaussian Lyapunov–Riccati gauge). A linear Gaussian lift transports and has zero leading Euler covariance bias within the linear Gaussian class iff
Equivalently, it transports the path and satisfies for the linear acceleration .
Proof. The first equation is the covariance continuity condition. One Euler step gives
The exact covariance path satisfies
The order- covariance bias vanishes iff the second equation in equation 88 holds. Differentiating equation 85 gives
Thus the second equation in equation 88 is equivalent to , i.e. equation 87. For a zero-mean Gaussian and linear acceleration , this is exactly the condition .
Corollary 2 (Covariance cone obstruction). For a Gaussian covariance path, exact one-step second-order Euler covariance matching by a linear lift requires
Indeed, the exact matching condition in Theorem 11 reads , and the right-hand side is positive semidefinite. Thus some covariance paths cannot be made second-order accurate by any linear marginal-preserving gauge.
J.1 ISOTROPIC CLASSIFICATION AND PARITY OBSTRUCTION
Let . Then every feasible linear lift has the form
The exact second-order condition reduces to
Theorem 12 (Parity obstruction). Fix and set . Then
When and , the exact gauges are
Their set is isomorphic to the homogeneous space .
Proof. The eigenvalues of a real skew-symmetric matrix are pairs and, if is odd, one zero eigenvalue. Hence the eigenvalues of are with even multiplicity, plus possibly one zero. The minimization of therefore separates over these blocks. If , each two-dimensional block is minimized by . In odd dimension one zero direction remains, giving residual . If , choosing only moves the eigenvalues further away from , so is optimal. The last claim is the standard parametrization of orthogonal complex structures.
The theorem gives a sharp no-free-lunch result: even in the simplest Gaussian family, exact solver-bias cancellation can be impossible because of dimension and sign constraints. Conversely, in even dimensions with , the continuum path admits an entire manifold of exact discretization-cancelling gauges.
Geometric meaning. In even dimension, exact isotropic gauges are not isolated. They are parametrized by orthogonal complex structures , hence by . The rotational gauge is therefore not an arbitrary trick: it is the finite-dimensional shadow of choosing a numerically favorable horizontal representative inside a gauge fiber.
Proposition 4 (Finite-dimensional Gaussian gauge optimization). For a fixed triple , the linear Gaussian representative-selection problem can be written as
The objective is the order- Euler covariance bias. Zero objective is attainable exactly when the Lyapunov–Riccati system equation 88 is solvable.
K ADDITIONAL PROJECTION DETAILS
For completeness, we recall the projection argument. A vector field is in iff . For any smooth potential ,
Thus gradients are orthogonal to . To project onto , write and impose
which yields
In dimensions, a sufficient way to enforce is to introduce a skew-symmetric matrix potential and set
Then
by symmetry of second derivatives and skew-symmetry of . This is the higher-dimensional analogue of the stream-function representation in two dimensions.
L PROPAGATION OF THE DENSITY DEFECT AND COST ACCOUNTING
L.1 PROOF OF THEOREM 3
Let
By assumption, the solution map is differentiable from a neighborhood of into the chosen trajectory space with terminal norm . Differentiating
at gives
Variation of constants for the evolution family associated with the homogeneous linear transport equation yields
Setting gives the terminal first-variation formula used in Theorem 3. The stability assumption equation 22, the triangle inequality, and Bochner integrability give
which is the stated stability estimate.
For a smoothly varying nonuniform Euler grid, let be a piecewise-smooth interpolation of the local step lengths. Standard modified-equation interpolation gives, locally on each interval,
under the same regularity assumptions as Theorem 1, with additional control of the variation of . Applying the first variation with gives the leading term
If the velocity-to-terminal-density map is twice Fréchet differentiable and the remainder in equation 100 is uniformly controlled, the omitted terms are in . This proves the Euler specialization of equation 23.
Remark 1 (Choice of terminal and source norms). The theorem is deliberately norm-agnostic. A natural source norm is because Proposition 2 identifies it with the weighted-gradient component of the acceleration. The terminal norm may be another negative Sobolev norm, a dual-Lipschitz norm, or a problem-specific weak metric, provided the transport evolution admits equation 22. The propagation factor depends on this choice.
Remark 2 (Residual-only schedule). Setting gives the local marginal-defect schedule and is exact when the chosen transport norm is nonexpansive along the reference flow. Directional amplification in Appendix D provides a propagation-aware extension.
L.2 OFFLINE PROFILE COST AND AMORTIZATION
Let M be the number of profile times, S the number of profile particles, and H the number of trace probes. A schematic model-equivalent profile cost is
where accounts for evaluating or differentiating the material acceleration and accounts for one divergence probe. The constants depend on whether automatic differentiation, finite differences, JVPs, or VJPs are used, so particle–probe counts should not be conflated with exact wall-clock NFE.
If one offline profile is reused for B generated samples, then a sampler with N field evaluations per sample has amortized model-equivalent cost
Consequently, a schedule can be attractive for large batches even when profiling is expensive. Appendix D reports implementation-specific CPU wall-clock measurements and the resulting break-even batch sizes; they complement sampler NFE but do not define hardware-independent model-equivalent costs.
L.3 A PARTICLE-ONLY DUAL RESIDUAL ESTIMATOR
The negative norm admits a variational form that avoids an explicit score or divergence. For ,
(103)
(104)
The second line follows by integration by parts. Consequently, samples and evaluations of are sufficient to fit a critic and estimate the geometric residual without separately estimating or . At the population optimum, and the objective equals . Appendix D validates a finite RBF version of this estimator on the hard-GMM path. The controlled result supplies direct evidence that the variational route recovers a useful schedule without access to the score.
M MIXTURES AND PRACTICAL PARAMETERIZATIONS
The Gaussian examples show exact solvability. For multimodal densities, exact cancellation is harder, but solenoidal feasible directions remain explicit. Let
If for every component, then
obeys , because
For Gaussian mixtures in two dimensions, a concrete choice is
This yields a multimodal gauge that rotates locally around each component center. It is exactly marginal-preserving in the continuum and can be optimized through the projected objective equation 21.
For general two-dimensional densities, the constraint can be enforced through a stream function:
In computations one can use or a regularized denominator to avoid instabilities in low-density regions. In higher dimensions, one may parameterize as the divergence of a skew-symmetric matrix potential.
N ADDITIONAL EXPLICIT EXAMPLES
This appendix records explicit examples used to test and stress the theory. The goal is to separate five phenomena: disappearance of gauge freedom, exact cancellation, non-Gaussian cancellation, multimodal feasibility, and harmful pure gauges.
N.1 ONE-DIMENSIONAL OBSTRUCTION
Let , , and assume as . The solenoidal constraint becomes
Thus , and the decay condition forces . Hence .
Proposition 5 (No nontrivial decaying gauges in one dimension). Under the assumptions above, . Therefore the optimization problem equation 63 is intrinsically multidimensional.
N.2 CONFORMAL ANISOTROPIC GAUSSIAN PATH
Let
and consider the scaling lift
Let
Since , we have
so is -solenoidal. The corrected lift is . Its acceleration matrix is
Using , we obtain
The second term is weighted-solenoidal for the conformal Gaussian. Hence the density-active acceleration vanishes whenever
Proposition 6 (Exact anisotropic cancellation). If , then the conformal anisotropic Gaussian path admits a nonzero linear solenoidal gauge that cancels the leading Euler density-level bias. The gauge is given by
This example is not rotationally isotropic in Euclidean coordinates; the correct rotation is skew only in the covariance-weighted geometry.
N.3 RADIAL DENSITIES AND CENTRIFUGAL COMPENSATION
Let on , where . Consider a radial feasible lift
where satisfies the radial continuity equation
Any angular field
is -solenoidal because
For , the polar acceleration components are
The angular component is density-invisible for radial , whereas the radial component is density-active. Thus the choice
whenever the right-hand side is nonnegative, cancels the density-active acceleration.
Proposition 7 (Centrifugal cancellation). For radial density paths in two dimensions, angular solenoidal gauges can cancel the leading Euler density bias whenever equation 123 is nonnegative. The mechanism is centrifugal: the term offsets the material radial acceleration.
N.4 MIXTURE SUPERPOSITION
Let
Suppose is solenoidal with respect to the -th component:
Define
Then
and therefore
Proposition 8 (Mixture of componentwise gauges). A responsibility-weighted mixture of componentwise solenoidal gauges is exactly solenoidal with respect to the mixture density. For a two-dimensional Gaussian mixture, a concrete choice is
This gives a feasible multimodal family. Inside each component, the construction behaves like Gaussian rotation; near mode boundaries, the responsibilities create nontrivial interactions.
N.5 A HARMFUL PURE GAUGE ON THE TORUS
Let and . Every divergence-free field preserves the uniform density in the continuum. Take the stream function
and
Then , so the continuum density is stationary. However, the Euler density-level defect is governed by , where . A direct computation gives
In particular, this quantity is not identically zero.
Proposition 9 (Continuum-invisible does not mean numerically harmless). There exist divergence-free fields on that preserve the uniform density exactly in the continuum but produce nonzero leading Euler marginal bias. Therefore marginal-preserving gauges must be selected by a solver-aware criterion, not arbitrarily.
N.6 CURVATURE-DISTRACTOR GAUSSIAN GAUGE
This example makes precise why the full material-acceleration norm is not the same object as marginal density bias. Let and
Let , where
and let rotate the two complex blocks. Define
Since and , the skew part is -solenoidal and satisfies
Therefore the Gaussian second-order matching condition from Theorem 11 holds:
Thus the leading Euler covariance bias vanishes, equivalently the density-active residual is zero. However,
contains the term . By choosing to vary rapidly on a short interval, and full material-acceleration proxies can be made arbitrarily large while the leading density-active residual remains zero.
Proposition 10 (Curvature can be marginal-invisible). There exist smooth Gaussian lifts transporting the same isotropic covariance path such that the leading Euler marginal covariance bias is zero for all , while the full material-acceleration energy is arbitrarily large on a prescribed small time interval.
This construction is the analytical basis of the curvature-distractor check summarized in Appendix B. It shows that scheduling by full material acceleration can chase motion inside a gauge fiber rather than motion of the marginal density itself.
O CONNECTION VIEWPOINT
Although the main paper is phrased as constrained optimization, the same construction has a geometric interpretation. Let Diff(M) act on densities by push-forward and define
The fiber over consists of all particle maps producing the same density. The vertical tangent space at is precisely
Classical optimal transport chooses a horizontal lift by minimizing kinetic energy, yielding gradient velocities. In contrast, the present paper chooses a horizontal representative by minimizing modified-equation density bias.
Proposition 11 (Numerical horizontal condition). A feasible lift v is stationary for the modified-equation bias functional inside its gauge fiber iff
Thus the solver induces a horizontal distribution distinct from the Otto/optimal-transport horizontal distribution.
For a two-parameter density surface with numerical horizontal lifts , the curvature of this solver-induced connection is the vertical component of the commutator
Nonzero curvature means that two density paths with the same endpoints may induce different particle rearrangements inside the final density fiber. This offers a geometric interpretation of hidden diversity and holonomy effects, but it is not needed for the projected optimization algorithm.
Relation to Wasserstein splines. Second-order optimal-transport models and Wasserstein splines minimize an acceleration action while selecting the marginal curve subject to interpolation constraints (Benamou et al., 2019). Here the entire curve is fixed. The optimization acts vertically, over the family of Lagrangian lifts that realize that curve, and the action is induced by the leading defect of a specified numerical solver. Thus is not the intrinsic spline energy of the marginal curve; it is a solver-induced second-order transport action on its gauge fiber.