Abstract
One-step shortcut diffusion models are designed for rapid generation but often fail to capture complex data geometries because they rely solely on first-order "velocity" matching. We introduce HOMO (High-Order Matching for One-Step Shortcut Diffusion), a framework that incorporates higher-order dynamics, such as acceleration and jerk, into the training process. By matching these higher-order derivatives, HOMO achieves smoother and more accurate trajectories, particularly in regions of high curvature. Our evaluation on diverse 2D synthetic datasets shows that HOMO significantly outperforms existing first-order shortcut models in both alignment and stability.
Introduction
Generative modeling via diffusion and flow matching has revolutionized data synthesis by learning to transform simple noise into complex data distributions through continuous trajectories defined by Ordinary Differential Equations (ODEs). While effective, these models typically require many iterative steps for sampling. "Shortcut" models have emerged to compress this process into a single step. However, these models often struggle with intricate data manifolds. This paper identifies a fundamental limitation: existing shortcut methods focus only on instantaneous velocity, neglecting the geometric curvature of the underlying data distribution.
The Geometry of Diffusion: Why Velocity is Not Enough
Standard shortcut models minimize a first-order loss ($M_1$) to match the predicted velocity of the generative flow to the ground truth. While this works for simple distributions, it is insufficient for complex geometries.
Imagine navigating a winding road. If you only consider your current heading and speed (velocity), you are likely to overshoot sharp turns. In mathematical terms, regions of high curvature in the data manifold require knowledge of how the velocity changes—its acceleration. Without accounting for these higher-order dynamics, one-step models produce erratic trajectories that fail to align with the target distribution, leading to instability and poor sample quality.
HOMO: High-Order Matching for One-Step Shortcut Diffusion
To address these geometric limitations, we propose the HOMO framework. HOMO extends the training objective beyond first-order velocity matching to include higher-order derivatives of the trajectory.
The Multi-Order Objective
The HOMO training process combines several key components:
- First-Order Loss ($M_1$): Matches the predicted velocity to the true velocity.
- Higher-Order Losses ($M_2, M_3$): Matches predicted acceleration (2nd order) and jerk (3rd order).
- Self-Consistency (SC): Ensures that predictions remain stable across different time steps, preventing the generated points from diverging.
During training, the model utilizes a Taylor-series-like expansion ($x + d \cdot v + \frac{d^2}{2} \cdot a$) to predict the next state. By minimizing the discrepancy between predicted and true higher-order derivatives, the model learns a more robust mapping that respects the intrinsic geometry of the data.
Theoretical Guarantees
We provide rigorous proofs showing that higher-order flow matching drastically reduces approximation errors. Specifically, adding higher-order supervision ensures superior accuracy in both the early and late stages of the generative process, providing tighter error bounds as the sample size increases compared to traditional first-order methods.
Experimental Results
We evaluated HOMO against baseline shortcut models on a variety of challenging 2D synthetic datasets, including multi-mode Gaussian mixtures and complex geometric shapes like spirals and spins.
Performance on Complex Distributions
HOMO consistently outperformed the baseline across all metrics. For instance, on an 8-mode Gaussian mixture, HOMO (combining $M_1, M_2,$ and SC) achieved a Euclidean distance loss of 0.778, a significant improvement over the baseline's 1.084.
The benefits were even more pronounced on highly curved datasets:
- Spin Dataset: HOMO reduced the error from 12.055 (baseline) to 10.066.
- 2-Round Spin: By incorporating third-order loss ($M_3$), the error plummeted from 17.866 to 7.440.
The "Goldilocks" Effect
Our ablation studies revealed that no single loss is sufficient. While $M_1$ captures macro-structures, $M_2$ is essential for fine details. However, $M_2$ alone can lead to overfitting. The combination of first-order matching, second-order matching, and self-consistency provides the optimal balance for perfect geometric alignment.
Computational Considerations
While HOMO offers superior accuracy, it introduces additional computational overhead. Calculating second-order derivatives requires approximately 8.15x more FLOPs than the first-order baseline. In practice, the training throughput for the full HOMO model is roughly 136 iterations per second, compared to 283 iterations per second for the baseline. This trade-off between training time and generative precision is a key factor for practitioners.
Conclusion and Future Work
HOMO demonstrates that incorporating higher-order dynamics is a powerful strategy for improving one-step generative models. By treating generation as a geometric problem rather than just a velocity-matching task, we can produce models that handle high-curvature data with unprecedented accuracy.
Future research will focus on scaling this framework to high-dimensional real-world data, such as high-resolution images and video, and developing more efficient methods for computing higher-order gradients to mitigate the current computational costs.
Summary updated