Smoother Flow Matching via Contrastive Trajectory Repulsion
On the map: Diffusion models → Flow matching, time series and science
Abstract (arXiv)
Trajectory crossing remains a critical bottleneck in Flow Matching (FM), and previous works typically view these crossings from a theoretical optimization perspective causing velocity averaging. They attempt to address it indirectly by post-hoc distillation or endpoint coupling, without explicitly regulating the intermediate trajectories. In this paper, we introduce a new network learning perspective: crossing points inherently induce large local Lipschitz constants in the target velocity field, leading to two drawbacks. First, high Lipschitz constants correspond to high-frequency signals in the velocity field that neural networks struggle to fit due to spectral bias. Second, they also imply drastic velocity variations, leading to severe numerical integration errors in few-step inference. To alleviate this, we propose CoFlow, a framework that introduces the contrastive learning paradigm into FM to explicitly repel trajectories during training, thereby lowering the local Lipschitz constants of the velocity field. Specifically, we formulate CoFlow from a Stochastic Differential Equation (SDE) perspective by injecting a repulsive drift term. This drift actively guides the forward process of positive samples away from negative trajectories, effectively reducing the local Lipschitz constant. Furthermore, we derive an equivalent stochastic interpolant formulation from this SDE, providing a simple and tractable design space to control the influence of negative samples. Extensive experiments on ImageNet 256x256 demonstrate that CoFlow significantly reduces FID compared to standard FM in few-step inference (e.g., 20 steps), with no added training overhead. The code can be accessed at: https://github.com/HKUST-LongGroup/CoFlow
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Flow matching, time series and science, one of 14 directions in Diffusion models. Builds on 31 of its 37 references that are in the map. First posted on arXiv 1 Oct 2026.
Builds on
31 of 37 references.
Closest ancestors · 6
Same direction, newest first
- 2026Faster Inference of Flow-Based Generative Models via Improved Data-Noise Coupling16 Mar
- 2025Contrastive Flow Matching5 Jun
- 2023InstaFlow: One Step is Enough for High-Quality Diffusion-Based Text-to-Image Generation12 Sep
- 2023Improving and generalizing flow-based generative models with minibatch optimal transport1 Feb
- 2022Flow Matching for Generative Modeling6 Oct
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow7 Sep
Other references · 25
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2022Classifier-Free Diffusion Guidancecited by 5,717
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
- 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 2,994
- 2016Improved Techniques for Training GANscited by 2,938
- 2023Consistency Modelscited by 1,778
- 2022Diffusion Posterior Sampling for General Noisy Inverse Problemscited by 1,375
13 more
- 2018On the Spectral Bias of Neural Networkscited by 1,321
- 2023One-step Diffusion with Distribution Matching Distillationcited by 978
- 2022Building Normalizing Flows with Stochastic Interpolantscited by 964
- 2022Denoising Diffusion Restoration Modelscited by 951
- 2024SiT: Exploring Flow and Diffusion-based Generative Models with Scalable Interpolant Transformerscited by 707
- 2024Representation Alignment for Generation: Training Diffusion Transformers Is Easier Than You Thinkcited by 666
- 2025Mean Flows for One-step Generative Modelingcited by 524
- 2018Assessing Generative Models via Precision and Recallcited by 401
- 2024One Step Diffusion via Shortcut Modelscited by 373
- 2021Generating Images with Sparse Representationscited by 262
- 2023Denoising Diffusion Bridge Modelscited by 171
- 2026Generative Modeling via Driftingcited by 98
- 2023Stochastic interpolants with data-dependent couplingscited by 94
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025VeCoR -- Velocity Contrastive Regularization for Flow Matching
- 2025Theoretical Guarantees for High Order Trajectory Refinement in Generative Flows
- 2026Stable Velocity: A Variance Perspective on Flow Matching
- 2026A Theory on Flow Matching with Neural Networks
- 2026VTV-FM: Flow Matching through Variational Terminal-Velocity Closure
- 2025Generative Modeling with Continuous Flows: Sample Complexity of Flow Matching
- 2026Velocity Scheduled Flow Matching
- 2025Graph Flow Matching: Enhancing Image Generation with Neighbor-Aware Flow Fields