跳到正文
原文
arXiv:cs.LG(机器学习,全量分类)· Ziqi Jiang, Zhenqi He, Long Chen·· 7 小时前AI 评分34

CoFlow:通过对比轨迹排斥实现更平滑的 Flow Matching

Smoother Flow Matching via Contrastive Trajectory Repulsion

AI 导读

研究者提出 CoFlow 框架,将对比学习引入 Flow Matching,通过注入排斥漂移项在训练中显式排斥轨迹,降低速度场的局部 Lipschitz 常数。该方法从 SDE 视角推导出等价的随机插值形式,在 ImageNet 256x256 上显著降低少步推理(如 20 步)的 FID,且不增加训练开销。

正文

View PDF HTML (experimental)

Abstract: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: this https URL
Comments: 18 pages, 5 figures
Subjects: Computer Vision and Pattern Recognition (cs.CV); Machine Learning (cs.LG)
Cite as: arXiv:2610.01408 [cs.CV]
  (or arXiv:2610.01408v1 [cs.CV] for this version)
  https://doi.org/10.48550/arXiv.2610.01408

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Ziqi Jiang [view email]
[v1] Thu, 1 Oct 2026 10:11:14 UTC (588 KB)

来源:arXiv:cs.LG(机器学习,全量分类) · arxiv.org