Duality Models: An Embarrassingly Simple One-step Generation Paradigm

Peng Sun, Xinyi Shang, Tao Lin, Zhiqiang ShenarXiv 2026 · arXiv

TL;DR

Duality Models (DUMO) eliminate the long-standing trade-off between training stability and data efficiency in few-step generative modeling through a simple "one input, dual output" architecture. By simultaneously predicting local velocity and global flow-maps from a single noisy sample, DUMO applies continuous geometric regularization to every training step without partitioning the data budget. This embarrassingly simple modification achieves state-of-the-art 2-step image generation on ImageNet while reducing training computation overhead.

What Problem Does This Paper Address?

Diffusion and flow-matching models generate stunning, high-fidelity images but suffer from a massive computational bottleneck during inference: they require running a neural network dozens or hundreds of times (high Number of Function Evaluations, or NFE) to numerically solve a Probability Flow ODE (PF-ODE).

To accelerate this, "consistency models" attempt to directly learn a global "flow-map" that projects noise to the final data distribution in just one or two steps. However, training these models from scratch is notoriously unstable and prone to optimization divergence or mode collapse.

Recent state-of-the-art methods stabilize training by introducing a target time variable that dynamically switches the model's objective: sometimes it predicts stable local velocity, and other times it predicts volatile global flow-maps. The authors identify a major bottleneck here: this "one input, one output" paradigm forces a harsh, zero-sum trade-off. To keep training stable, models like MeanFlow must allocate up to 75% of their training data solely to the velocity task, leaving the flow-map head—the one actually used for inference—starved of data and undertrained.

Methods

Instead of forcing the network to alternate between velocity or flow-map tasks based on a conditional switch, DUMO introduces a parallel "one input, dual output" design.

Using a standard shared backbone (such as a Diffusion Transformer, or DiT), DUMO appends two separate, lightweight prediction heads: a $v$-head to predict local velocity and a $u$-head to predict the global flow-map.

Schematic comparison between the previous single-branch paradigm and the proposed dual-branch DUMO paradigm.

The model is trained on a joint loss function: $$\mathcal{L}(\theta) = \beta \cdot \mathcal{L}_v(\theta) + (1 - \beta) \cdot \mathcal{L}_u(\theta)$$

where $\mathcal{L}_v$ enforces stable local geometric constraints via flow-matching, and $\mathcal{L}_u$ optimizes global consistency. Crucially, because both heads process every single training sample simultaneously, the velocity head acts as a continuous geometric regularizer for the flow-map head without wasting any of the training budget. To keep the consistency loss calculation fast and lightweight, the authors also implement an efficient Jacobian-vector product (JVP)-free approximation.

Datasets

The authors evaluate DUMO primarily on standard generative benchmarks:

  • ImageNet-1K at $256 \times 256$ and $512 \times 512$ resolutions (operating within SD-VAE and DC-AE latent spaces).
  • CIFAR-10 for unconditional generation in pixel space.
  • GenEval benchmark to validate scalability on text-to-image synthesis tasks.

No new datasets were introduced in this work.

Key Insights and Ideas

  • The Budget Partition Dilemma is a Structural Flaw: The instability of consistency models isn't an inherent data problem, but an architectural one caused by forcing a single network branch to alternate tasks.
  • Gradient Compatibility (The "Aha!" Moment): Through theoretical analysis (Theorem 1), the authors prove that the consistency loss mathematically decomposes into a superposition of a flow-matching term and a self-alignment term. This means adding an explicit velocity loss doesn't introduce conflicting gradients; it explicitly reinforces what the consistency objective is already trying to do implicitly.
  • Two Heads are Faster Than One: You might expect adding an extra head to slow things down. In reality, because the model predicts both values in a single forward pass, it eliminates the redundant forward passes required by single-branch models during target enhancement. This makes DUMO roughly 12% more computationally efficient per training iteration than single-branch equivalents.
Figure 2. Conceptual illustration of learning paradigms. Trajectories illustrate the mapping from a current prediction state to a target learning state. (a) Multi-step methods, such as standard diffusion (Ho et al., 2020) and flow-matching (Lipman et al., 2022), learn the local derivative (velocity). (b) Prominent one-step approaches, including consistency models (Song et al., 2023), MeanFlow (Geng et al., 2025), and Shortcut models (Frans et al., 2024), learn the global integral (flow-map). (c) DUMO unifies these paradigms via a dual-output architecture, establishing a natural combination of the geometric constraints from (a) and the generative efficiency of (b).

Key Results

  • State-of-the-Art Few-Step Generation: On ImageNet $256 \times 256$, a 679M parameter Diffusion Transformer trained with DUMO achieved a SOTA Fréchet Inception Distance (FID) of 1.79 in just 2 sampling steps, outperforming previous teacher-free methods.
  • High-Resolution Performance: On ImageNet $512 \times 512$, DUMO achieved an FID of 2.76 (with SD-VAE) and 2.23 (with DC-AE), outperforming much larger models like sCT-XXL (1.5B parameters).
  • CIFAR-10 Excellence: Achieved a 1-step FID of 2.86, outperforming direct competitors like MeanFlow (2.92) and sCT (2.97).
  • Training Efficiency: DUMO demonstrated a 12.6% speedup in training throughput (steps/sec) on a DiT-XL backbone compared to MeanFlow due to its streamlined target construction.

Limitations and Future Work

  • Homologous Redundancy: The current framework is limited to combining closely related PF-ODE objectives. The authors experimented with a "tri-head" model (adding a third ODE-based objective like Shortcut), but found it led to diminishing returns and worse performance due to highly correlated, redundant supervision signals.
  • Heterogeneous Expansion: The authors suggest that the true future potential of DUMO lies in fusing entirely different generative paradigms. A promising, unexplored direction is combining the geometric stability of flow-matching with the perceptual sharpness of Generative Adversarial Networks (GANs) or distribution-matching losses (like DMD).

Summary updated

Abstract

Consistency-based generative models like Shortcut and MeanFlow achieve impressive results via a target-aware design for solving the Probability Flow ODE (PF-ODE). Typically, such methods introduce a target time $r$ alongside the current time $t$ to modulate outputs between a local multi-step derivative ($r = t$) and a global few-step integral ($r = 0$). However, the conventional "one input, one output" paradigm enforces a partition of the training budget, often allocating a significant portion (e.g., 75% in MeanFlow) solely to the multi-step objective for stability. This separation forces a trade-off: allocating sufficient samples to the multi-step objective leaves the few-step generation undertrained, which harms convergence and limits scalability. To this end, we propose Duality Models (DuMo) via a "one input, dual output" paradigm. Using a shared backbone with dual heads, DuMo simultaneously predicts velocity $v_t$ and flow-map $u_t$ from a single input $x_t$. This applies geometric constraints from the multi-step objective to every sample, bounding the few-step estimation without separating training objectives, thereby significantly improving stability and efficiency. On ImageNet 256 $\times$ 256, a 679M Diffusion Transformer with SD-VAE achieves a state-of-the-art (SOTA) FID of 1.79 in just 2 steps. Code is available at: https://github.com/LINs-lab/DuMo
BibTeX
@misc{sun2026duality,
  author = {Peng Sun and Xinyi Shang and Tao Lin and Zhiqiang Shen},
  title = {{Duality Models: An Embarrassingly Simple One-step Generation Paradigm}},
  year = {2026},
  eprint = {2602.17682},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.17682},
}
Figure