arXiv(opens in a new tab)stat.MLSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.09905

FlowCPO: A Unified Divergence View of Preference Alignment for Flow Models

Yansen Han, Shengyi Liao, Peng Sun, Deyuan Liu, Yuanxing Zhang, Pengfei Wan, Tao Lin

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

Abstract

Preference alignment for flow and diffusion models now spans online reinforcement learning and offline preference optimization, but the relation between these methods remains unclear. In particular, existing forward-process alignment methods require fresh samples from the current model, while offline methods based on fixed preference pairs rely primarily on positive-only fine-tuning or DPO-style likelihood-ratio surrogates. We organize these approaches through a divergence-based framework and introduce FLOWCPO, an offline forward-KL objective that uses both preferred and dispreferred samples without online rollouts. For linear interpolation, we show under explicit regularity conditions that the forward-KL objective is bounded by a contrastive flow matching loss, yielding a tractable surrogate on fixed data. We further show that this loss is nonnegative, whereas the signed regression loss of simplified FlowDPO can be unbounded below. In the in-domain setting, FLOWCPO achieves higher mean GenEval and OCR scores than the evaluated baselines, reaching 0.84 and 0.87 versus 0.81 and 0.74 for FlowDPO at CFG 3.0. In the out-of-domain setting, the results are mixed, with the best GenEval result but lower reward scores than RFT on several metrics.

1 Introduction

Recent advancements in flow matching and diffusion-based generative modeling [19, 30, 1, 40, 35, 20] have facilitated the development of practical preference alignment algorithms for continuous generative spaces [32, 55, 33, 51, 3]. These efforts have yielded diverse alignment paradigms, ranging from online reinforcement learning frameworks like FlowGRPO [32], DiffusionNFT [55], AWM [51] and RAM [3] to offline preference optimization methods such as FlowDPO [33]. In contrast to alignment in discrete autoregressive models, these continuous-time methods operate directly on sampling trajectories and velocity fields rather than token-level probabilities. While empirical results are promising, the relations among these methods remain difficult to compare.

Existing flow-based alignment methods can be organized along two axes (Tab. 1): the sampling regime (online versus offline) and the direction of the idealized KL objective. Under this view, FlowGRPO [32] and FlowDPO [33] represent online and offline instances of the reverse-KL branch, whereas DiffusionNFT [55] provides a forward-process objective but refreshes its train-

Table 1: Objective-level view of flow-based preference alignment. The two axes separate the sampling regime from the direction of the idealized KL objective.

DivergenceOnlineOffline
Reverse-KLFlowGRPOFlowDPO
Forward-KLDiffusionNFTFLOWCPO (ours)

ing samples online. The unresolved problem is therefore the offline forward-KL objective using both preferred and dispreferred target samples: a forward-KL expectation can use fixed target samples, but

Preprint.

Figure

Figure 1: FLOWCPO uses a fixed preference dataset to train two coupled flow branches. A frozen generator supplies preferred/dispreferred pairs D={(c,x0w,x0l)}\mathcal{D} = \{(c, \mathbf{x}_0^w, \mathbf{x}_0^l)\}; the positive branch matches preferred samples, while a mirrored branch matches dispreferred samples. Training uses only noised versions of these fixed endpoints and requires no online rollout.

its log-likelihood is intractable for flow matching. An offline method needs a justified bridge from this distribution-level objective to velocity-field regression on fixed preferred and dispreferred data.

We address this gap by establishing a unified divergence-based framework for flow-based preference alignment and deriving Flow Contrastive Preference Optimization (FLOWCPO). Starting from forward-KL terms over preferred and dispreferred target distributions, we use a flow matching bound for linear interpolation to obtain a contrastive regression surrogate. The resulting loss can be estimated from a fixed preference dataset and therefore requires no sampling from the model during training.

We also connect FLOWCPO to simplified FlowDPO (App. B.5). Simplified FlowDPO subtracts the regression error on dispreferred samples and can be unbounded below, whereas FLOWCPO adds two nonnegative regression errors. With equal branch weights (λ=1\lambda = 1), our loss decomposition identifies corrections determined by the difference between the current model and its exponential moving average (EMA).

Empirically, we evaluate our approach under a strictly offline protocol. In the in-domain setting, where preference pairs are generated by the reference model, FLOWCPO attains higher mean GenEval and OCR scores than RFT and FlowDPO while remaining strong on general-preference metrics. In the out-of-domain setting, the result is more mixed: FLOWCPO gives the best GenEval score but RFT is stronger on several reward metrics. The overall offline optimization pipeline is illustrated in Fig. 1. Our contributions are threefold:

  • We provide a unified divergence-based framework that separates the online/offline sampling regime from the direction of the idealized KL objective, clarifying the assumptions behind connections among existing flow-based alignment methods.
  • We derive FLOWCPO, a nonnegative contrastive surrogate for offline forward-KL alignment. Under stated regularity conditions for linear interpolation, its regression objective bounds the branch-wise forward-KL objective and is estimable from fixed preference data. We also derive its loss decomposition relative to simplified FlowDPO.
  • We evaluate FLOWCPO with two types of offline data, showing higher GenEval and OCR scores than FlowDPO in the in-domain setting and mixed results in the out-of-domain setting.

References (51)