arXiv:2610.34575cs.LGOct 2026

Manuscript Offprint

arXiv:2610.34575

Cumulative Marginal Matching for One-Step Diffusion

Paribesh Regmi, Rui Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The sampling procedures of diffusion and flow-matching models involve hundreds of denoising steps incurring substantial inference time, which has motivated a growing body of work on training schemes for few-step and one-step generation. Existing approaches primarily seek to align the generation trajectory of few-step and base models, yet their training objectives only involve discrepancies at a single point in the trajectory, encouraging only local point-level alignment. While recent methods such as Shortcut-CSL introduce cumulative objective that enforce alignment over the entire trajectory, this is suboptimal as they do not directly enforce alignment between the distributions induced by the two models throughout the generation process. We propose Cumulative Marginal Matching (CMM), a principled objective for few-step generation: by viewing flow-matching as a sequence of intermediate marginal distributions connecting the prior and data distributions, CMM directly optimizes the cumulative discrepancy between the base and few-step marginal distributions over the entire sequence. Specifically, we formulate this discrepancy using the Wasserstein-2 distance. By exploiting the pushforward representation of flow-matching, we transform an intractable cumulative Wasserstein objective into a tractable surrogate that can be optimized using samples from the intermediate marginal, which are readily generated through the conditional interpolation process of flow-matching. Furthermore, we show that the existing Shortcut-CSL objective arises as a first-order approximation of that of the CMM, establishing a theoretical connection between the two objectives. Experiments on standard benchmarks demonstrate improvement in generation quality over Shortcut-CSL and other state-of-the-art one- and few-step baselines under identical training budgets.

Introduction

Modern generative models have largely adopted diffusion (Sohl-Dickstein et al. 2015; Ho, Jain, and Abbeel 2020; Song et al. 2021; Rombach et al. 2022) and flow-matching processes (Lipman et al. 2023; Albergo, Boffi, and Vanden-Eijnden 2023) as their underlying generation paradigm, transforming a simple prior distribution, e.g., Gaussian noise, into a target data distribution. These methods demonstrate remarkable capability in generating structured data such as

Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.

128-Steps

Two-Steps

One-Step

Figure

Figure 1: Samples generated from CMM model trained on CelebA-256 with 128, two and one-step sampling. The two- and one-step preserve the sample quality of the base 128-step model.

images, videos and graphs (Ho et al. 2022; Gupta et al. 2024; Eijkelboom et al. 2024; Rombach et al. 2022; Vignac et al. 2022; Liu et al. 2023), but diffusion-based processes have an inherent efficiency limitation. Both diffusion and flow-matching models require simulating an integral to generate samples, which in practice requires an iterative procedure that gradually transforms Gaussian noise into data samples. As a result, high-quality generation typically requires hundreds of denoising steps. This limitation has motivated a growing body of research on developing methods capable of producing high-quality samples in just one or a few denoising steps (Salimans and Ho 2022; Yin et al. 2024; Song et al. 2023; Frans et al. 2025; Geng et al. 2025).

Methods for one- and few-step generation can be broadly categorized into two classes: two-phase pretrain-and-distill approaches and single-phase approaches that jointly train the base diffusion/flow-matching models and few-step models.

In two-phase methods, a high-quality base diffusion or flow-matching model is first trained to learn the flow map from the prior to the data distribution. The knowledge encoded in this transformation is then distilled into a student (few-step) model capable of generating samples directly in one or a few steps (Salimans and Ho 2022; Yin et al. 2024; Liu, Gong, and qiang liu 2023; Kim et al. 2025; Lee, Lin, and Fanti 2024). In contrast, recent single-phase approaches parameterize both the base and few-step generators using a shared backbone network and combine their training by jointly optimizing flow-matching and distillation objectives. Representative examples include Consistency Training (Song et al. 2023; Song and Dhariwal 2024; Lu and Song 2025), which enforces mapping consistency across different points of the generation process; Inductive Moment Matching (Zhou, Ermon, and Song 2025), which aligns the base and few-step models through moment-matching objectives; Shortcut Models (Frans et al. 2025; Nguyen et al. 2025; Lin et al. 2026), which learn multistep transitions to enable generation with a variable number of denoising steps; and MeanFlow (Geng et al. 2025), which distills the base model's dynamics by matching the average flow in the generation trajectory. All of these methods formulate distillation as alignment between the teacher and student trajectories, differing primarily in the extent of supervision. Existing methods' distillation objectives are defined through discrepancies evaluated at individual time points, resulting in what we refer to as point-level objectives. More recently, Shortcut-CSL (Regmi, Ghimire, and Li 2026) extends this formulation by accumulating discrepancies over the entire trajectory, giving rise to a trajectory-level objective, encouraging each generation step to account for its impact on future steps. However, we find that such a cumulative objective is suboptimal as it does not precisely target distribution-level discrepancies between the base and few-step models.

From a flow-matching perspective, both the base and few-step generators can be viewed as transporting a common prior distribution through a sequence of intermediate marginal distributions toward the data distribution. This perspective naturally shifts the focus of distillation to matching the distributional evolution itself. In this work, we propose Cumulative Marginal Matching (CMM), a principled objective that encourages alignment between the intermediate marginals induced by the base and few-step models throughout the generation process. Specifically, we formulate the objective as the cumulative Wasserstein-2 discrepancy between the corresponding marginals, and show that the pushforward structure of flow matching naturally yields a tractable upper bound that is efficiently optimized using only samples from the intermediate marginal, which are readily generated through the conditional interpolation process of flow-matching. Furthermore, we establish a theoretical connection between the existing Shortcut-CSL objective and CMM, showing that the former can be interpreted as a first-order approximation of the latter. This reveals that, while Shortcut-CSL introduces a long-horizon trajectory-level objective, it is not a precise target for matching the distributional evolution of the models.

We make the following three main contributions:

• We propose Cumulative Marginal Matching (CMM), a principled objective for few-step generation. CMM measures the cumulative discrepancy between the sequence of intermediate marginals induced by the base and few-step models, and we derive a tractable upper bound that enables efficient optimization.

• We show that the existing Shortcut-CSL objective arises as the first-order approximation of CMM, providing a theoretical explanation of its relationship to the proposed objective.

• We demonstrate the effectiveness of CMM on standard benchmarks. We improve few-step generation quality over state-of-the-art one- and few-step baselines under identical training budgets.

References (36)