Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2026 Feb 9;26(4):1120. doi: 10.3390/s26041120

Flow-Multi: A Flow-Matching Multi-Reward Framework for Text-to-Image Generation

Jaegun Lee 1, Janghoon Choi 1,*
Editor: Yibo Fan1
PMCID: PMC12943997  PMID: 41755062

Abstract

Recent approaches in text-to-image (T2I) generation have actively adopted reinforcement learning (RL) techniques for human preference alignment. However, existing approaches primarily rely on a single reward function, which can lead to overfitting on specific metrics, resulting in issues such as reward hacking and imbalanced optimization among multiple objectives. To address this, we propose Flow-Multi: a flow-matching multi-reward framework for text-to-image generation. Our method builds upon flow-matching-based group-relative policy optimization (GRPO) learning. Each sample is evaluated by four reward models—based on text-to-image alignment, human preference, aesthetic quality, and GenEval—to create a multi-dimensional reward vector. We then utilize the Pareto dominance relationship to remove dominated samples and update the policy using only the non-dominated set. Additionally, we introduce advantage masking during training to suppress the contribution of low-reward samples, ensuring that only high-quality rewards are reflected in policy optimization. Experimental results demonstrate that Flow-Multi achieves balanced improvements across multiple reward criteria compared to the existing Flow-GRPO, validating the effectiveness of the multi-reward reinforcement learning framework for stable alignment in text-to-image generation.

Keywords: flow matching, multi-reward reinforcement learning, text-to-image generation

1. Introduction

Despite significant advances in text-to-image (T2I) generation [1,2,3], aligning model behavior with human preferences remains a problem with multiple challenges. Beyond mere prompt adherence, users implicitly value several orthogonal qualities—semantic faithfulness, aesthetic appeal, compositional correctness, and robustness on standardized vision–language tests. Optimizing one metric often degrades another, a classic case of “you get what you measure.” As a result, single-reward pipelines tend to overfit, exhibiting reward hacking, distributional brittleness, or drift in unmeasured dimensions.

Recent work explores reinforcement learning (RL) for preference alignment in generative models [4,5,6,7,8], borrowing ideas from reinforcement learning from human feedback (RLHF) and policy optimization [4,9,10]. These approaches typically train with a single scalar reward (e.g., preference score, CLIP-based alignment, or a task-specific metric) [11,12,13]. However, collapsing a inherently multi-objective problem into one dimension can cause several issues, such as (i) the metric gaming problem: improving the chosen proxy while qualitatively regressing elsewhere; (ii) unstable updates: high-variance advantages driven by noisy scorers; and (iii) brittle generalization: improvements that fail to transfer across benchmarks such as DrawBench [3] or GenEval [14].

To address these challenges, we propose Flow-Multi (Figure 1), a flow-matching, multi-reward reinforcement learning framework for T2I models. Building on group-relative policy optimization (GRPO) in a flow-matching sampler, Flow-Multi evaluates each generated sample with a vector of rewards that span four complementary dimensions: text–image alignment, human preference, aesthetic quality, and GenEval-style object/attribute correctness. Rather than simple averaging or handcrafted weight tuning, we treat the update as a multi-objective selection problem and use Pareto dominance to keep only non-dominated samples within each mini-batch. This method explicitly focuses on trade-off relationships, where a sample is retained if improving any of its rewards would worsen at least one other reward. In addition, we introduce advantage masking, a simple but effective mechanism that nullifies low-quality advantages so that policy gradients can be dominated by consistently good samples instead of noisy tails.

Figure 1.

Figure 1

GenEval performance. The proposed Flow-Multi model demonstrates higher GenEval performance than GPT-4o and the baseline SD3.5-M, outperforming all other compared models.

To train our proposed T2I framework, we operate based on the inner loop of sampling and learning. Our framework is also metric-agnostic, where reward heads can be swapped or extended without retooling the optimizer. Additionally, the flow-matching backbone keeps training stable and sample-efficient, while mini-batch Pareto selection provides a principled, computationally efficient approximation to multi-objective policy improvement. The experimental results show a more balanced performance profile across heterogeneous benchmarks, mitigating the typical “win one metric, lose two” failure mode of single-reward optimization.

2. Related Work

2.1. Diffusion and Flow-Matching Foundations

Diffusion models learn to reverse a Gaussian noising process and have become the dominant paradigm for high-fidelity image synthesis, with sampling implemented via discrete DDPM steps or continuous-time probability-flow ODE/SDE solvers [1,2,15]. Flow matching instead trains a continuous-time normalizing flow by directly matching the velocity field, enabling efficient deterministic sampling with far fewer steps while preserving quality [16,17]. Recent analyses connect diffusion and flow under a unified SDE/ODE view, clarifying when stochastic versus deterministic solvers are preferable and how model parameterizations transfer across the two families [10]. Building on this foundation, modern T2I systems often adopt flow-matching backbones for superior speed–quality trade-offs in both image and video generation.

2.2. Reinforcement Learning for T2I Alignment

Preference alignment for diffusion/flow generators has followed multiple tracks. Policy-gradient-style methods adapt RLHF ideas to T2I: DPO [18] directly fine-tunes diffusion policies from human preferences, while Diffusion-DPO [5] imports DPO as a simpler, value-free alternative to PPO-like RLHF [5]. Training-free alignment aims to steer preference at inference time without additional optimization [19]. More recently, group-relative policy optimization (GRPO [9])—a value-free policy gradient introduced for LLMs—has been instantiated on flow-matching generators: Flow-GRPO [10] integrates online RL into flows, and concurrent works (e.g., DanceGRPO [4], PREF-GRPO [20]) explore injecting stochasticity (converting the ODE to an SDE) or fitting pairwise preferences to stabilize advantages and mitigate reward hacking. While effective, single-reward training often exhibits metric gaming and trade-off regressions on unoptimized dimensions [21] (e.g., aesthetics vs. compositional correctness), motivating multi-reward formulations. Reinforcement learning has also been successfully applied to adaptive measurement and policy optimization problems in other domains, such as electromagnetic tomography, where RL enables efficient decision-making under complex constraints [22].

2.3. Multi-Objective Alignment and Reward Design

T2I post-training has been pursued via (1) direct scalar-reward fine-tuning [21], (2) reward backpropagation (AlignProp [13]), (3) DPO-style preference fitting [5,18], (4) PPO/GRPO policy gradients [9,23], and (5) training-free steering [19]. Many systems use linear scalarization of multiple rewards (e.g., CLIP alignment + aesthetics) with hand-tuned weights, as in Promptist [24] or differentiable reward formulations in DRaFT [6]. Parrot [25] explores multi-objective optimization by mapping language-encoded preference vectors to Pareto-optimal solutions, and model-averaging along the Pareto frontier has also been studied [8]. However, scalarization fixes a single operating point and is brittle when reward scales or reliabilities shift. Complementary to scalarization, process rewards seek finer credit assignment beyond sparse terminal signals: step-level PRMs and verification-guided supervision (ThinkPRM [26]) improve reasoning- or step-aware learning but carry substantial annotation/training cost. In diffusion/flow settings, step-aware preference models (e.g., LPO [27]) target both noisy and clean images; online surrogates (PRIME [28]) approximate process rewards from outcomes alone. Our perspective aligns with the latter: use multiple outcome rewards to reflect orthogonal desiderata (alignment, preference, aesthetics, compositionality) and select dominated samples via Pareto dominance, complemented by advantage masking to suppress low-quality gradients—thereby approximating multi-objective improvement without training explicit PRMs.

2.4. Benchmarks and Evaluation for T2I

Evaluation has evolved beyond perceptual fidelity to probe compositional reasoning, world knowledge, typography, and controllability. Datasets such as DrawBench [3] and GenEval [14] stress attribute binding, counts, spatial relations, and text rendering; newer suites (e.g., TIIF-Bench [29]) vary prompt length, typography, and style to test robustness under prompt perturbations, while UNIGENBENCH [30] expands coverage across fine-grained sub-criteria. Preference-oriented metrics (e.g., PickScore [31]), alignment metrics (e.g., CLIPScore [12]), and learned aesthetics predictors [11] complement task-specific pass/fail scores. Our experiments follow this trend, reporting multi-dimensional metrics (alignment, preference, aesthetics, GenEval correctness), which together reveal trade-offs that single metrics often conceal.

3. Method

3.1. Preliminaries: Group-Relative Policy Optimization for Flow-Based Models

We adopt the Rectified Flow framework [32] to define a generative process interpolating between a clean data sample x0X0 and a noise sample x1N(0,I) via a linear path xt=(1t)x0+tx1. A Transformer-based velocity field vθ(xt,t) is trained to minimize the following flow-matching objective:

LFM(θ)=EtU[0,1],x0X0,x1X1(x1x0)vθ(xt,t)22. (1)

To leverage reinforcement learning (RL) for fine-tuning, we formulate the denoising process as a finite-horizon Markov Decision Process (MDP) where the state is st=(xt,t,c), the action corresponds to the state update at=Δxt, and the policy is induced by the flow model. Unlike standard deterministic ODE samplers, we adopt a Stochastic Differential Equation (SDE) formulation to enable exploration and define a valid probability density for the policy. The transition follows the Euler–Maruyama update as in

xt+Δt=xt+μθ(xt,t,c)Δt+σtΔtϵ,ϵN(0,I), (2)

where the drift μ is parameterized as

μθ(xt,t,c)=vθ(xt,t,c)+σt22t(xt+(1t)vθ(xt,t,c)). (3)

To enable exploration while approximately preserving the marginals of the corresponding deterministic flow ODE, we adopt an SDE formulation with an x-independent noise schedule σt=at/(1t). Under standard assumptions (e.g., small step size and matched drift–diffusion terms), this SDE is designed to induce marginal distributions that are consistent with those of the flow ODE, following prior formulations in flow-matching models. In our experiments, we fix the noise scale to a=0.7 and use S=20 sampling steps, resulting in a step size of Δt=1/20. Consequently, the policy πθ(·|st) becomes a Gaussian distribution N(xt+μθΔt,σt2ΔtI), which facilitates gradient-based optimization.

Rather than introducing an explicit value function, we employ group-relative policy optimization (GRPO), which estimates advantages from relative comparisons within a sampled group. Specifically, for a given prompt qi, we sample a group of K stochastic trajectories {τi,k}k=1K using the current policy. We define the outcome oi,k as the full sampling trajectory τi,k, which consists of a sequence of state–action pairs generated by the SDE-based policy over S steps. For each trajectory, only the final generated image xi,k is evaluated to compute a terminal reward Ri,k. To reduce variance and avoid explicit-value-function estimation, we compute the group-relative advantage as follows:

Ai,k=Ri,kR¯imaxStd[Ri,·],ϵ,R¯i=1Kk=1KRi,k, (4)

Based on these advantages, we define the likelihood ratio ρi,k=πθ(oi,kqi)/πθold(oi,kqi) and construct a PPO-style clipped surrogate objective as follows:

Lclip(θ)=Ei,kminρi,kAi,k,clipρi,k,1ϵclip,1+ϵclipAi,k. (5)

In addition to the above surrogate loss, we incorporate a KL divergence penalty to a frozen reference policy πref. While the general form relies on the density ratio r(o)=πref/πθ, our diffusion-based policy with a fixed covariance schedule allows for a closed-form stepwise calculation:

DKLπθ(·|st)πref(·|st)=x¯t+Δt,θx¯t+Δt,ref222σt2Δt, (6)

where x¯t+Δt,θ and x¯t+Δt,ref are the mean updates of the active and reference policies, respectively. This simplifies to a Euclidean distance between drifts, directly regularizing the velocity field. Finally, combining these terms, the policy is updated by maximizing the objective:

maxθJGRPO(θ)=Lclip(θ)EiβDKLπθ(·|qi)πref(·|qi). (7)

To implement this optimization efficiently, we utilize Low-Rank Adaptation (LoRA [33]). Instead of updating the full weights W, we freeze the pretrained parameters W0 and train low-rank matrices A and B such that the effective weight becomes W=W0+BA. This approach allows us to adapt the heavy text-to-image backbone to complex reward signals with minimal computational overhead.

3.2. Prompt Dataset and Grouping

For the input prompts, we adopt the GenEval [14] prompt set as our training/evaluation source. Specifically, training prompts are drawn exclusively from train_metadata.jsonl, while all evaluations are performed on the held-out prompts in test_metadata.jsonl, which are completely isolated from training. Each record in the metadata (train_metadata.jsonl) specifies a natural-language prompt and structured constraints such as object classes, counts, colors, and spatial relations (e.g., tag ∈ {counting, colors, position, color_attr}; fields include/exclude provide the target composition). We use the prompt string as input for generation, while the structured fields are used to compute the compositional reward.

For each prompt qi, we generate a group of K=4 images {xi,k}k=1K using our diffusion policy (Section 3.3). In our default setting, each epoch uses P=48 prompts (mini-batches), yielding N=P×K=192 images per epoch. Grouping by prompt is essential because both our advantage estimation and our Pareto selection are done within the set {xi,k}k=1K for a fixed qi.

3.3. Flow-Matching Sampling with GRPO

We use a Stable Diffusion-3.5-medium model and perform sampling with a flow-matching scheduler. Unless otherwise noted, we use S=10 sampling steps for training (exploration), Seval=40 for evaluation, classifier-free guidance scale =4.5, and 512 × 512 resolution. For a prompt qi, the policy πθ(·qi) induces a per-step conditional Gaussian transition; we log the per-step log-likelihood ratio to construct the PPO-style clipped objective in GRPO (Section 3.7).

3.4. Reward Suite

Each generated image xi,k is evaluated by four metrics, which together form a 4D reward vector as in

R(xi,k)=ri,kaesth,ri,kpref,ri,kalign,ri,kcompR4.

Concretely,

  • Aesthetic Quality (raesth): A learned aesthetic predictor score.

  • Human Preference (rpref): PickScore (CLIP ViT-H-14 with preference head).

  • Text–Image Alignment (ralign): CLIPScore between the prompt and the image.

  • Compositional Compliance (rcomp): GenEval-style object/attribute/position/count correctness, computed using the metadata (include/exclude) with a pretrained detector.

Stacking R(xi,k) over all N images yields a matrix RRN×4 per epoch. We note that the GenEval-style compositional correctness used as rcomp is computed using the same detector-based evaluation pipeline as the GenEval Overall metric reported in evaluation. In this work, rcomp is used as a training-time diagnostic signal for enforcing compositional constraints, rather than as an independent generalization objective.

3.5. Group-Wise Pareto Non-Dominated Selection

Within each prompt group i, we consider the K reward vectors {R(xi,k)}k=1K. A sample xi,a dominates xi,b (denoted xi,bxi,a) if it is no worse on all metrics and strictly better on at least one:

R(xi,a)R(xi,b)Rd(xi,a)Rd(xi,b)dd:Rd(xi,a)>Rd(xi,b),

where we mark each non-dominated sample with a binary mask as in

Mi,k=1,ifxi,kisnon-dominatedwithingroupi,0,otherwise.

Consequently, only the survivors {k:Mi,k=1} enter the subsequent statistics and policy update. This batchwise Pareto filtering preserves diverse trade-offs among the four objectives while removing samples strictly inferior to others under the same prompt.

3.6. Scalarization and Survivor-Only Advantage

After group-wise Pareto filtering (Section 3.5), we compute a single scalar reward per image as a fixed weighted sum of the four metrics. This filtering step is crucial; unlike naive scalarization, which might favor samples that exploit a single reward while degrading others (reward hacking), Pareto selection ensures that only solutions offering valid trade-offs across all objectives contribute to the policy update. Importantly, the weighted aggregation is applied only after Pareto filtering and does not affect the construction of the Pareto set itself. Let w=waesth,wpref,walign,wcomp denote the reward weights specified in the configuration file (config.reward_fn); by default, we set wd=14. For each image xi,k, we define the combined reward ri,kcomb as follows:

ri,kcomb=d=14w(d)ri,k(d),

which matches the avg in our implementation. Let Mi,k{0,1} denote the Pareto non-dominance mask within each prompt group (Section 3.5), and let 𝒮={(i,k):Mi,k=1valid(i,k)} be the set of surviving, valid samples across the whole distributed mini-epoch (all processes). If 𝒮 is empty, we fall back to a single top-1 valid sample by rcomb to avoid degeneracy. Then, we compute global survivor-only statistics as follows:

μ𝒮=1|𝒮|(i,k)𝒮ri,kcomb,σ𝒮=maxStd{ri,kcomb:(i,k)𝒮},ϵ,

and define the advantage Ai,k using the above statistics as in

Ai,k=ri,kcombμ𝒮σ𝒮·Mi,k.

Thus, dominated or invalid samples (Mi,k=0) contribute zero advantage. We do not compute per-step advantages.For terminal-only rewards, we use a single scalar Ai,k per image and apply it to all stepwise log-prob terms; equivalently, we set Ai,k,t:=Ai,k for notation/shape matching only.

3.7. GRPO with Pareto Masking

Reusing the definitions from Section 3.1, where oi,k denotes the full trajectory, the likelihood ratio ρi,k represents the cumulative probability ratio over the sampling steps:

ρi,k=πθ(oi,kqi)πθold(oi,kqi)=t=0S1πθ(xt+Δtxt,qi)πθold(xt+Δtxt,qi) (8)

so we can define the PPO-style clipped surrogate objective with Pareto masking as in

Lclipmask(θ)=Ei1kMi,kk=1Kminρi,kAi,kMi,k,clip(ρi,k,1ϵclip,1+ϵclip)Ai,kMi,k. (9)

Finally, we also include a trust-region penalty toward a frozen reference policy πref as in

maxθJGRPO(θ)=Lclipmask(θ)EiβDKLπθ(·|qi)πref(·|qi), (10)

where DKL is computed from log-likelihoods (or, under equal-covariance Gaussian steps, via a per-step closed form). In practice, we optimize JGRPO with ϵclip and β tuned to balance stability and exploration. For our implementation, we perform the following steps. At each epoch we (i) sample N=192 images (48 prompts × 4 images), (ii) compute the four rewards and build RRN×4, (iii) apply group-wise Pareto to obtain {Mi,k}, (iv) compute survivor-only normalized advantages, and (v) update the policy with the masked GRPO objective (9) and (10). The Pareto keep ratio (i,kMi,k/N) is tracked to monitor how selective the filtering is during training. The overall step-by-step training algorithm for our framework is shown in Algorithm 1. The overview for our proposed framework is shown in Figure 2.

Algorithm 1 Flow-Multi with Pareto Masking (mini-batch)
Require:
πθ: Online policy model (initialized from pretrained weights)
πref: Reference model
Q: prompt batch
K: group size (default 4)
σt=at/(1t): noise schedule
μθ (Equation (3): drift; β: KL weight; LoRA rank r; reward weights wR4 (default wd=14))
Ensure: updated policy πθ (LoRA-only updates)
  1: Initialize policy πθ (LoRA on Q/K/V/O); set reference πrefstopgrad(πθ)
  2: for epoch =1, do
  3:       Sample a mini-batch of prompts {qi}i=1P from Q
  4:       for each prompt qi do
  5:             Sampling (SDE rollout): generate K images {xi,k}k=1K using (2)
  6:             Reward vector for each xi,k: R(xi,k)=(raesth,rpref,ralign,rcomp)
  7:             Group-wise Pareto non-dominated mask Mi,k{0,1}                 (Section 3.5)
  8:             Scalarization ri,kcomb=d=14w(d)ri,k(d)                          (Section 3.6)
  9:       end for
10:       Gather survivors S={(i,k):Mi,k=1valid(i,k)} across devices; if S= then fallback to top-1 by rcomb
11:       Compute survivors-only stats μS, σS
12:       Advantage (masked) Ai,k=ri,kcombμSσS·Mi,k
13:       Compute likelihood ratios ρi,k=πθ(oi,kqi)πθold(oi,kqi)
14:       PPO-style objective with Pareto mask                   (Equation (9), Section 3.7)
15:       KL penalty to reference (stepwise or sequence):               (Equation (10), Section 3.7)
16:       Update θθ+ηθJGRPO(θ)                          ▹ LoRA params only
17:       Logging: Pareto keep ratio i,kMi,k/(P·K), each reward mean/var, A stats, KL, loss terms, learning curves
18:       Periodically refresh reference πrefstopgrad(πθ)
19: end for

Figure 2.

Figure 2

Overview of Flow-Multi, a multi-reward reinforcement learning framework incorporating Pareto optimization and advantage masking.

4. Experiments

To quantitatively evaluate our proposed method, the GenEval [14] benchmark is used, which evaluates compositional reasoning across diverse tasks: Single Obj. (single-target accuracy), Two Obj. (multi-object co-occurrence), Counting (numerosity), Colors (attribute correctness), Position (spatial reasoning), and Attr. Binding (object–attribute association). The Overall score represents the arithmetic mean of these sub-tasks. To ensure a fair comparison, all open-source baseline models and our proposed method were evaluated under a strictly unified experimental environment with identical hyperparameters. However, due to the proprietary nature and API-only access of DALL·E 2/3 and GPT-4o, local reproduction under these identical conditions is infeasible. Therefore, their results are cited directly from official sources. Notably, for Flow-GRPO, we report results reproduced under our setup; these differ from the originally reported Overall score.

As shown in Table 1, our proposed method, Flow-Multi, substantially outperforms the base SD3.5-M model, raising the Overall score from 0.70 to 0.87 (approximately +26%). Furthermore, Flow-Multi surpasses the reproduced Flow-GRPO baseline (0.72 Overall) while maintaining consistent strength across all sub-tasks. Specifically, Flow-Multi achieves near-perfect accuracy in multi-object composition (Two Obj.: 0.99) and demonstrates significant gains in Counting (0.88), Position (0.80), and Attr. Binding (0.80). These results highlight the efficacy of multi-reward reinforcement learning in enhancing text-to-image alignment beyond single-objective optimization.

Table 1.

GenEval image generation benchmark. Best and second-best scores are highlighted in blue and green, respectively.

Model Overall Single Obj. Two Obj. Counting Colors Position Attr. Binding
Diffusion Models
LDM [34] 0.34 0.90 0.26 0.19 0.66 0.01 0.04
SD1.5 [34] 0.42 0.95 0.37 0.35 0.75 0.03 0.06
SD2.1 [34] 0.48 0.98 0.45 0.40 0.82 0.08 0.14
SD-XL [35] 0.56 0.98 0.75 0.43 0.88 0.13 0.21
DALLE-2 [36] 0.52 0.94 0.66 0.49 0.77 0.10 0.19
DALLE-3 [37] 0.67 0.96 0.87 0.47 0.83 0.43 0.45
Autoregressive Models
Janus-1.3B [38] 0.60 0.96 0.62 0.27 0.82 0.48 0.46
Janus-Pro-7B [39] 0.77 0.97 0.87 0.55 0.88 0.73 0.62
GPT-4o [40] 0.84 0.99 0.92 0.85 0.92 0.75 0.61
Flow-Matching Models
FLUX.1 Dev [41] 0.64 0.98 0.79 0.75 0.77 0.20 0.39
SD3.5-L [42] 0.71 0.99 0.90 0.69 0.84 0.26 0.60
SANA-1.5 4.8B [43] 0.78 0.99 0.91 0.80 0.87 0.60 0.54
SD3.5-M [42] 0.70 0.99 0.89 0.69 0.82 0.27 0.55
Flow-GRPO [10] 0.72 1.00 0.90 0.73 0.82 0.30 0.59
Flow-Multi (Ours) 0.87 0.99 0.99 0.88 0.81 0.80 0.80

Table 2 expands this analysis to include image quality and human preference. We report CLIP (semantic similarity), Aesthetic (perceptual quality), and DeQA (visual fidelity/artifacts), alongside human preference proxies ImageReward, PickScore, and the aggregated UnifiedReward. A critical analysis of Table 2 reveals that Flow-Multi achieves a superior trade-off between alignment and quality compared to Flow-GRPO. While Flow-GRPO improves alignment over SD3.5-M, it suffers from a degradation in visual quality, evidenced by a drop in Aesthetic score from 5.80 to 5.63. This suggests that optimizing for a single alignment-oriented reward can harm perceptual fidelity. In contrast, Flow-Multi not only secures a higher GenEval score (0.87) but also preserves visual realism, recovering the Aesthetic score to 5.86 and improving DeQA to 4.15—outperforming Flow-GRPO by +0.23 and +0.22, respectively. This demonstrates that multi-reward optimization effectively mitigates the alignment–quality trade-off.

Table 2.

Task performance and image-quality results on compositional generation, text rendering, and human preference benchmarks, evaluated using CLIPScore, ImageReward, and UnifiedReward.

Model Task Metric Image Quality Preference Score
GenEval [14] CLIP [12] Aesthetic [11] DeQA [44] ImgRwd [45] PickScore [31] UniRwd [30]
Diffusion Models
LDM [34] 0.34 0.19 5.06 3.35 −1.95 19.17 1.36
SD1.5 [34] 0.42 0.22 5.21 3.58 −1.48 19.78 1.58
SD2.1 [34] 0.48 0.24 5.45 3.66 −0.73 20.55 1.98
SD-XL [35] 0.56 0.26 5.88 3.92 0.15 21.78 2.61
Autoregressive Models
Janus-1.3B [38] 0.60 0.21 5.28 2.87 −1.08 19.86 1.50
Janus-Pro-7B [39] 0.77 0.27 5.99 3.51 0.77 22.00 2.67
Flow-Matching Models
FLUX.1 Dev [41] 0.64 0.27 6.26 4.35 1.03 22.87 3.34
SD3.5-L [42] 0.70 0.28 5.96 4.18 0.95 22.77 3.24
SANA-1.5 4.8B [43] 0.78 0.27 6.15 4.07 1.06 22.73 3.21
SD3.5-M [42] 0.70 0.28 5.80 4.14 0.77 22.32 3.02
Flow-GRPO [10] 0.72 0.28 5.63 3.93 0.73 22.16 3.03
Flow-Multi 0.87 0.28 5.86 4.15 0.76 22.23 2.95
Δ +0.15 0.00 +0.23 +0.22 +0.03 +0.07 −0.08

Δ denotes the performance difference between Flow-Multi and Flow-GRPO.

We compare the perceptual quality and human preference metrics of Flow-GRPO and Flow-Multi, where the results are shown in Figure 3. As observed in (a), Flow-GRPO tends to sacrifice image quality (lower Aesthetic and DeQA scores) in exchange for strict text alignment. In contrast, Flow-Multi effectively mitigates this trade-off, achieving higher Aesthetic and DeQA scores. This improvement extends to (b) human preference metrics; Flow-Multi outperforms Flow-GRPO in both ImageReward and PickScore. Although the UnifiedReward is comparable, the consistent gains in aesthetic and preference scores confirm that Flow-Multi generates more visually appealing images while maintaining alignment.

Figure 3.

Figure 3

(a) Image quality metrics (Aesthetic, DeQA) remain stable across models. (b) Human preference metrics (ImageReward, PickScore, UnifiedReward) improve after flow fine-tuning.

We show the qualitative examples of generations on compositional prompts in Figure 4 and Figure 5. Flow-Multi accurately aligns multiple objects and reliably handles counting prompts (“two snowboards”), generating the correct number of distinct, non-overlapping instances. It also preserves object identity in challenging cases such as zebras and giraffes, and achieves strong color–attribute consistency, showing improved compositional fidelity over prior SD-based models.

Figure 4.

Figure 4

Compared to other models, Flow-Multi outperforms SD-based baselines in color accuracy, counting, and aesthetic quality.

Figure 5.

Figure 5

Qualitative comparison between Flow-Multi and SD3.5-M on DrawBench. Each prompt block shows four sampled generations from each model. Flow-Multi demonstrates improved text–image alignment and compositional consistency, while preserving visual fidelity across diverse samples.

Table 3 presents a comprehensive comparison of computational complexity and generation performance. To ensure a fair evaluation, we measured the inference latency and FLOPs of all models in an identical environment using a single NVIDIA RTX-A6000. Notably, Flow-Multi achieves a significant improvement in GenEval score (0.70 → 0.87) over its backbone, SD 3.5-Medium, while maintaining identical parameters and inference costs. This demonstrates that our framework enhances alignment without any additional computational overhead. Furthermore, compared to resource-intensive models like SD 3.5-Large and FLUX.1 Dev, Flow-Multi exhibits superior efficiency, delivering competitive performance with significantly lower resource requirements. While autoregressive models like Janus show lower FLOPs, their latency is practically constrained by memory bandwidth.

Table 3.

Comparison of computational complexity and performance. We compare the model size, inference cost (FLOPs), and inference latency against GenEval performance. All measurements were conducted in an identical environment. And - denotes metrics that were not obtainable due to hardware memory constraints during measurement.

Model Params (B) Inference TFLOPs (T) Inference Time (s) GenEval Score
LDM 0.86 135.10 8.40 0.34
SD 1.5 0.86 135.10 8.40 0.42
SD 2.1 0.87 135.14 6.72 0.48
SDXL 2.57 299.02 9.85 0.56
Janus-1.3B 2.09 1.66 13.74 0.60
Janus-Pro-7B 7.42 7.48 16.35 0.77
SANA-1.5 4.72 436.28 21.49 0.78
SD 3.5-L 8.06 1146.22 40.79 0.70
FLUX.1 Dev 11.90 - 48.06 0.64
SD 3.5-M 2.24 339.05 16.86 0.70
Flow-GRPO 2.24 339.05 16.83 0.72
Flow-Multi (Ours) 2.24 339.05 16.87 0.87

5. Conclusions

In this paper, we identify fundamental limitations of the conventional reinforcement learning (RL) approach for text-to-image (T2I) generation, where collapsing multi-dimensional human preferences into a single scalar reward leads to brittle generalization and misalignment. Such reward aggregation obscures inherent trade-offs among quality dimensions, resulting in unstable optimization and biased alignment.

To address this issue, we proposed Flow-Multi, a multi-reward RL framework based on flow-matching GRPO. Flow-Multi combines vector-valued rewards, group-wise Pareto non-dominated sample selection, and advantage masking, enabling stable policy updates and balanced optimization across multiple objectives without heuristic tuning.

Experiments on the GenEval benchmark demonstrate clear performance gains: Flow-Multi improves SD3.5-M from 0.70 to 0.87, outperforming the single-reward Flow-GRPO baseline (0.72). In addition to higher aggregate scores, Flow-Multi achieves consistent improvements in spatial reasoning and attribute binding, with human evaluations confirming superior perceptual alignment.

Overall, we establish a principled framework for multi-objective alignment in generative modeling. By reframing T2I alignment as a multi-objective optimization problem, Flow-Multi provides a scalable alternative to single-reward RL and can offer a strong baseline for aligning future large-scale multimodal generative models.

Acknowledgments

This work is based on Jaegun Lee’s Master’s thesis submitted to Kyungpook National University, December 2025.

Author Contributions

Conceptualization, J.L.; Methodology, J.L. and J.C.; Software, J.L.; Validation, J.L.; Investigation, J.L. and J.C.; Resources, J.C.; Writing—original draft, J.L.; Writing—review & editing, J.C.; Visualization, J.L.; Supervision, J.C.; Project administration, J.C.; Funding acquisition, J.C. All authors have read and agreed to the published version of the manuscript.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The source code supporting the findings of this study is publicly available at https://github.com/2JAE22/Flow-Multi. The datasets used and generated during the current study are included in the article. Additional experimental details and configurations are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Funding Statement

This research was supported by the Republic of Korea Government (Ministry of Science and ICT) through the research fund of the National Research Foundation of Korea (NRF) and Information & Communications Technology Planning & Evaluation (IITP) under grants RS-2021-NR062130, RS-2023-00242528, and RS-2024-00437756.

Footnotes

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

References

  • 1.Ho J., Jain A., Abbeel P. Denoising Diffusion Probabilistic Models. Adv. Neural Inf. Process. Syst. 2020;33:6840–6851. [Google Scholar]
  • 2.Song J., Meng C., Ermon S. Denoising Diffusion Implicit Models; Proceedings of the International Conference on Learning Representations (ICLR); Virtual Event. 3–7 May 2021. [Google Scholar]
  • 3.Saharia C., Chan W., Saxena S., Li L., Whang J., Denton E., Ghasemipour S.K.S., Ayan B.K., Mahdavi S.S., Lopes R.G., et al. Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding. Adv. Neural Inf. Process. Syst. 2022;35:36479–36494. [Google Scholar]
  • 4.Xue Z., Wu J., Gao Y., Kong F., Zhu L., Chen M., Liu Z., Liu W., Guo Q., Huang W., et al. DanceGRPO: Unleashing GRPO on Visual Generation. arXiv. 2025 doi: 10.48550/arXiv.2505.07818.2505.07818 [DOI] [Google Scholar]
  • 5.Wallace B., Chen S., Roberts D.A., Brooks T., Efros A.A., Kanazawa A., Owens A. Diffusion Model Alignment Using Direct Preference Optimization; Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); Seattle, WA, USA. 17–21 June 2024. [Google Scholar]
  • 6.Clark K., Vicol P., Swersky K., Fleet D.J. Directly Fine-Tuning Diffusion Models on Differentiable Rewards; Proceedings of the International Conference on Learning Representations (ICLR); Vienna, Austria. 7–11 May 2024. [Google Scholar]
  • 7.Fan Y., Watkins O., Du Y., Liu H., Ryu M., Boutilier C., Abbeel P., Ghavamzadeh M., Lee K., Lee K. DPOK: Reinforcement Learning for Fine-tuning Text-to-Image Diffusion Models. Adv. Neural Inf. Process. Syst. 2023;36:79858–79885. [Google Scholar]
  • 8.Ramé A., Couairon G., Shukor M., Dancette C., Gaya J.B., Soulier L., Cord M. Rewarded Soups: Towards Pareto-Optimal Alignment by Interpolating Weights Fine-Tuned on Diverse Rewards. Adv. Neural Inf. Process. Syst. 2023;36:71095–71134. [Google Scholar]
  • 9.Guo D., Yang D., Zhang H., Song J., Zhang R., Xu R., Zhu Q., Ma S., Wang P., Bi X., et al. DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning. arXiv. 2025 doi: 10.1038/s41586-025-09422-z.2501.12948 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Liu J., Liu G., Liang J., Li Y., Liu J., Wang X., Wan P., Zhang D., Ouyang W. Flow-GRPO: Training Flow Matching Models via Online RL. arXiv. 2025 doi: 10.48550/arXiv.2505.05470.2505.05470 [DOI] [Google Scholar]
  • 11.Liang Z., Yuan Y., Gu S., Chen B., Hang T., Cheng M., Li J., Zheng L. Aesthetic Post-Training Diffusion Models from Generic Preferences with Step-by-step Preference Optimization; Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); Nashville, TN, USA. 11–15 June 2025. [Google Scholar]
  • 12.Hessel J., Holtzman A., Forbes M., Le Bras R., Choi Y. CLIPScore: A Reference-free Evaluation Metric for Image Captioning; Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP); Punta Cana, Dominican Republic. 7–11 November 2021. [Google Scholar]
  • 13.Prabhudesai M., Goyal A., Pathak D., Fragkiadaki K. Aligning Text-to-Image Diffusion Models with Reward Backpropagation. arXiv. 20232310.03739 [Google Scholar]
  • 14.Ghosh D., Hajishirzi H., Schmidt L. GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignment. Adv. Neural Inf. Process. Syst. Datasets Benchmarks. 2023;36:52132–52152. [Google Scholar]
  • 15.Song Y., Sohl-Dickstein J., Kingma D.P., Kumar A., Ermon S., Poole B. Score-Based Generative Modeling through Stochastic Differential Equations; Proceedings of the International Conference on Learning Representations (ICLR); Virtual Event. 3–7 May 2021. [Google Scholar]
  • 16.Lipman Y., Chen R.T.Q., Ben-Hamu H., Nickel M., Le M. Flow Matching for Generative Modeling; Proceedings of the International Conference on Learning Representations (ICLR); Kigali, Rwanda. 1–5 May 2023. [Google Scholar]
  • 17.Albergo M.S., Vanden-Eijnden E. Building Normalizing Flows with Stochastic Interpolants; Proceedings of the International Conference on Learning Representations (ICLR); Kigali, Rwanda. 1–5 May 2023. [Google Scholar]
  • 18.Rafailov R., Sharma A., Mitchell E., Ermon S., Manning C.D., Finn C. Direct Preference Optimization: Your Language Model is Secretly a Reward Model. Adv. Neural Inf. Process. Syst. 2023;36:53728–53741. [Google Scholar]
  • 19.Xie Z., Gong B. DyMO: Training-free Preference Alignment for Diffusion Models at Inference Time; Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); Nashville, TN, USA. 11–15 June 2025. [Google Scholar]
  • 20.Wang Y., Li Z., Zang Y., Zhou Y., Bu J., Wang C., Lu Q., Jin C., Wang J. Pref-GRPO: Pairwise Preference Reward-based GRPO for Stable Text-to-Image Reinforcement Learning. arXiv. 20252508.20751 [Google Scholar]
  • 21.Black K., Janner M., Du Y., Kostrikov I., Levine S. Training Diffusion Models with Reinforcement Learning; Proceedings of the ICML Workshop on Structured Probabilistic Inference and Generative Modeling; Honolulu, HI, USA. 23–29 July 2023. [Google Scholar]
  • 22.Cao J., Liu Z., Hu X., Miao Y., Li J., Ma D. Adaptive Measurement for High-Speed Electromagnetic Tomography via Deep Reinforcement Learning. IEEE Trans. Instrum. Meas. 2025;74:4511914. doi: 10.1109/TIM.2025.3579836. [DOI] [Google Scholar]
  • 23.Schulman J., Wolski F., Dhariwal P., Radford A., Klimov O. Proximal Policy Optimization Algorithms. arXiv. 2017 doi: 10.48550/arXiv.1707.06347.1707.06347 [DOI] [Google Scholar]
  • 24.Hao Y., Chi Z., Dong L., Wei F. Optimizing Prompts for Text-to-Image Generation. Adv. Neural Inf. Process. Syst. 2023;36:66923–66939. [Google Scholar]
  • 25.Lee S.H., Li Y., Ke J., Yoo I., Zhang H., Yu J., Wang Q., Deng F., Entis G., He J., et al. Parrot: Pareto-optimal Multi-Reward Reinforcement Learning Framework for Text-to-Image Generation; Proceedings of the European Conference on Computer Vision (ECCV); Milan, Italy. 29 September–4 October 2024. [Google Scholar]
  • 26.Khalifa M., Agarwal R., Logeswaran L., Kim J., Peng H., Lee M., Lee H., Wang L. Process Reward Models That Think. arXiv. 2025 doi: 10.48550/arXiv.2504.16828.2504.16828 [DOI] [Google Scholar]
  • 27.Zhang T., Da C., Ding K., Yang H., Jin K., Li Y., Gao T., Zhang D., Xiang S., Pan C. Diffusion Model as a Noise-Aware Latent Reward Model for Step-Level Preference Optimization. arXiv. 20252502.01051 [Google Scholar]
  • 28.Cui G., Yuan L., Wang Z., Wang H., Zhang Y., Chen J., Li W., He B., Fan Y., Yu T., et al. Process Reinforcement through Implicit Rewards. arXiv. 2025 doi: 10.48550/arXiv.2502.01456.2502.01456 [DOI] [Google Scholar]
  • 29.Wei X., Zhang J., Wang Z., Wei H., Guo Z., Zhang L. TIIF-Bench: How Does Your T2I Model Follow Your Instructions? arXiv. 20252506.02161 [Google Scholar]
  • 30.Wang Y., Zang Y., Li H., Jin C., Wang J. Unified Reward Model for Multimodal Understanding and Generation. arXiv. 2025 doi: 10.48550/arXiv.2503.05236.2503.05236 [DOI] [Google Scholar]
  • 31.Kirstain Y., Polyak A., Singer U., Matiana S., Penna J., Levy O. Pick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generation. Adv. Neural Inf. Process. Syst. Datasets Benchmarks. 2023;36:36652–36663. [Google Scholar]
  • 32.Liu X., Gong C., Liu Q. Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow; Proceedings of the International Conference on Learning Representations (ICLR); Kigali, Rwanda. 1–5 May 2023. [Google Scholar]
  • 33.Hu E.J., Shen Y., Wallis P., Allen-Zhu Z., Li Y., Wang S., Wang L., Chen W. LoRA: Low-Rank Adaptation of Large Language Models; Proceedings of the International Conference on Learning Representations (ICLR); Virtual Event. 25–29 April 2022. [Google Scholar]
  • 34.Rombach R., Blattmann A., Lorenz D., Esser P., Ommer B. High-Resolution Image Synthesis with Latent Diffusion Models; Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); Virtual/Online. 19–25 June 2021; pp. 10684–10695. [Google Scholar]
  • 35.Podell D., English Z., Lacey K., Blattmann A., Dockhorn T., Müller J., Penna J., Rombach R. SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis. arXiv. 2023 doi: 10.48550/arXiv.2307.01952.2307.01952 [DOI] [Google Scholar]
  • 36.Ramesh A., Dhariwal P., Nichol A., Chu C., Chen M. Hierarchical Text-Conditional Image Generation with CLIP Latents. arXiv. 2022 doi: 10.48550/arXiv.2204.06125.2204.06125 [DOI] [Google Scholar]
  • 37.Betker J., Goh G., Jing L., Brooks T., Wang J., Li L., Ouyang L., Zhuang J., Lee J., Guo Y., et al. Improving Image Generation with Better Captions. Computer Science, OpenAI Technical Report. 2023. [(accessed on 30 December 2025)]. Available online: https://cdn.openai.com/papers/dall-e-3.pdf.
  • 38.Wu C., Chen X., Wu Z., Ma Y., Liu X., Pan Z., Liu W., Xie Z., Yu X., Ruan C., et al. Janus: Decoupling Visual Encoding for Unified Multimodal Understanding and Generation. arXiv. 2024 doi: 10.48550/arXiv.2410.13848.2410.13848 [DOI] [Google Scholar]
  • 39.Chen X., Wu Z., Liu X., Pan Z., Liu W., Xie Z., Yu X., Ruan C. Janus-Pro: Unified Multimodal Understanding and Generation with Data and Model Scaling. arXiv. 2025 doi: 10.48550/arXiv.2501.17811.2501.17811 [DOI] [Google Scholar]
  • 40.Hurst A., Lerer A., Goucher A.P., Perelman A., Ramesh A., Clark A., Ostrow A.J., Welihinda A., Hayes A., Radford A., et al. GPT-4o System Card. arXiv. 2024 doi: 10.48550/arXiv.2410.21276.2410.21276 [DOI] [Google Scholar]
  • 41.Black Forest Labs FLUX.1-Dev. 2024. [(accessed on 30 December 2025)]. Available online: https://github.com/black-forest-labs/flux.
  • 42.Esser P., Kulal S., Blattmann A., Entezari R., Müller J., Saini H., Levi Y., Lorenz D., Sauer A., Boesel F., et al. Scaling Rectified Flow Transformers for High-Resolution Image Synthesis; Proceedings of the International Conference on Machine Learning (ICML); Vienna, Austria. 21–27 July 2024. [Google Scholar]
  • 43.Xie E., Chen J., Zhao Y., Yu J., Zhu L., Lin Y., Zhang Z., Li M., Chen J., Cai H., et al. SANA 1.5: Efficient Scaling of Training-Time and Inference-Time Compute in Linear Diffusion Transformer. arXiv. 20252501.18427 [Google Scholar]
  • 44.You Z., Cai X., Gu J., Xue T., Dong C. Teaching Large Language Models to Regress Accurate Image Quality Scores Using Score Distribution. arXiv. 2025 doi: 10.48550/arXiv.2501.11561.2501.11561 [DOI] [Google Scholar]
  • 45.Xu J., Liu X., Wu Y., Tong Y., Li Q., Ding M., Tang J., Dong Y. ImageReward: Learning and Evaluating Human Preferences for Text-to-Image Generation. arXiv. 20232304.05977 [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The source code supporting the findings of this study is publicly available at https://github.com/2JAE22/Flow-Multi. The datasets used and generated during the current study are included in the article. Additional experimental details and configurations are available from the corresponding author upon reasonable request.


Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES