Trajectory Consistency for One-Step Generation on Euler Mean Flows

Zhiqi Li, Yuchen Sun, Duowen Chen, Jinjin He, Bo Zhu

Introduction

Generative models such as Diffusion and Flow Matching have revolutionized artificial intelligence, yet they remain notoriously slow during inference. Generating a single sample typically requires solving an Ordinary Differential Equation (ODE) over dozens or hundreds of sequential steps. To accelerate this, researchers have pursued "one-step" models that map directly from noise to data. The holy grail of this approach is enforcing trajectory consistency—ensuring that predictions made at different timesteps along the same path mathematically agree.

However, enforcing trajectory consistency is challenging. There is no ground truth for long-range jumps in the data, and current state-of-the-art methods (like MeanFlow) rely on Jacobian-vector products (JVPs). JVPs are computationally expensive, memory-intensive, and often lead to training instability or collapse, especially on modern mixed-precision hardware. To overcome these hurdles, we introduce Euler Mean Flows (EMF), a novel generative framework that linearizes the complex trajectory consistency constraint to enable high-quality, one-step generation.

Methodology: Euler Mean Flows

EMF approaches trajectory consistency through the lens of numerical analysis, specifically leveraging the semigroup property of flow maps. The core mathematical insight is that a long flow map is simply a composition of shorter ones. Instead of computing this complex composition directly, EMF applies a local linear approximation inspired by Euler integration.

This principled linear surrogate yields several major advantages:

  • JVP-Free Training: By linearizing the objective, EMF eliminates the need for explicit Jacobian computations. This makes the model compatible with memory-efficient techniques like FlashAttention and sparse computation libraries (e.g., PVCNN for point clouds) that traditionally do not support JVPs.
  • Unified Prediction Variants: EMF supports both velocity prediction ($u$-prediction) and final data point prediction ($x_1$-prediction). The $x_1$ variant is crucial for high-dimensional tasks like pixel-space image generation, where predicting raw velocity is often too noisy and prone to variance collapse.
  • Direct Data Supervision: The linearized surrogate allows the model to use actual data samples to supervise long-range trajectories, preventing the error accumulation common in progressive extension methods.

Experimental Setup and Datasets

EMF was evaluated across a diverse range of modalities to demonstrate its versatility:

  • Latent and Pixel Space Images: CelebA-HQ and ImageNet-1000 (256x256 resolution), including pixel-space generation using the "Just Image Transformers" (JiT) framework.
  • 3D Geometry: ShapeNet-CoreV2 for both Signed Distance Field (SDF) and Point Cloud generation.
  • Functional Data: FFHQ and CelebA-HQ treated as continuous functions, enabling resolution-agnostic generation from 64x64 up to 1024x1024.

Key Results and Insights

The introduction of EMF yields significant improvements in both efficiency and generation quality.

  • Speed and Efficiency: EMF achieves an approximately 50% reduction in both training time and GPU memory consumption compared to MeanFlow. Furthermore, EMF demonstrates remarkable training stability; while previous methods often suffer from "loss escalation" as training progresses, EMF maintains a steady, downward loss trajectory.
  • Image Quality: On class-conditional ImageNet-256, EMF achieved a 1-step Fréchet Inception Distance (FID) of 7.2, significantly outperforming MeanFlow (11.1) and standard Consistency Models (69.7).
  • 3D Reconstruction: In sparse 3D reconstruction tasks (e.g., generating a surface from just 64 points), EMF outperformed previous one-step methods in Chamfer distance and F-score, matching the quality of multi-step models.
  • Resolution-Agnostic Generation: Functional generation experiments revealed that an EMF model trained on pixel subsets could generate sharp, coherent images at 1024x1024 resolution in a single step.

Limitations and Future Work

While EMF presents a significant step forward, it has a few limitations. The local linear approximation is most accurate for small time steps ($\Delta t$). If the underlying dynamics of the data flow are highly non-linear, the surrogate may lose accuracy. Additionally, while a timestep of $\Delta t = 10^{-3}$ proved robust across experiments, extremely small values can introduce numerical noise due to finite-precision effects. Finally, while EMF was successfully tested on Base-sized Diffusion Transformers (DiT-B), scaling the framework to "Large" or "Huge" models remains an exciting avenue for future exploration.

Summary updated

BibTeX
@inproceedings{li2026trajectory,
  author = {Zhiqi Li and Yuchen Sun and Duowen Chen and Jinjin He and Bo Zhu},
  title = {{Trajectory Consistency for One-Step Generation on Euler Mean Flows}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=CuqZJO3RE4},
}
Figure