Online reinforcement learning (RL) has emerged as a powerful paradigm for aligning text-to-image flow matching models with complex user intent. However, existing methods typically rely on sparse rewards computed only from final decoded images. This delays credit assignment across the denoising trajectory and makes training computationally expensive. Moreover, simply combining multiple rewards does not reliably produce a Pareto trade-off, where gains in compositional accuracy often degrade aesthetic quality. In this work, we propose DeFlowCritic, an efficient online RL framework based on Dense Latent Reward Alignment. Unlike prior work, our method provides dense supervision on intermediate latents, enabling early-stage guidance for the denoising trajectory. To achieve this, we introduce an internal critic that evaluates noisy latents using features extracted directly from the diffusion model, a representation inherently better suited for latent-space reward estimation than standard image encoders. We construct a high-quality reward-modeling dataset with continuous scores for critic training, capturing compositional correctness on high-quality reference images. The resulting dense reward enables efficient online RL training and inference-time scaling. Experiments show that our method achieves a superior balance between prompt faithfulness and visual quality on GenEval2 and T2I-CompBench++ benchmarks. The approach also generalizes across text-to-image flow matching models, including SD3.5-Medium, SD3.5-Large, and FLUX.1-dev.
Figures & tables
Figure 1: Samples from our GPT-Image-Composition dataset and its training-set statistics. Four negatives are shown per image, with corrupted words in red and “…” marking unchanged words.
Figure 2: (a) DeFlowCritic scores a noisy latent zt against a positive prompt and several negatives. Each latent-prompt pair (zt,ci) is fed to the critic as a separate input. Bars show si (predicted) and ticks show yi (target). LFM is applied to the positive prompt only. (b) In GRPO, the frozen critic provides dense rewards by scoring the latent at every SDE step, after an ODE rollout for early steps.
Models
GenEval2
T2I-CompBench++
Time ↓
Comp. ↑
Aesth. ↑
HPSv3 ↑
Comp. ↑
Aesth. ↑
HPSv3 ↑
SD3.5-M [ 9 ]
18.10
5.51
6.66
52.37
5.46
7.76
–
Flow-GRPO (GenEval) [ 24 ]
23.40
5.41
7.13
59.44
5.27
9.26
1 ×
fast Flow-GRPO (GenEval)
22.70
5.17
4.45
58.64
5.18
5.71
0.1 ×
fast Flow-GRPO (GenEval + Aesth.)
12.50
6.91
6.89
55.24
6.96
8.72
0.12 ×
fast Flow-GRPO (DeFlowCritic)
21.44
5.66
8.07
59.37
5.69
10.34
0.1 ×
Table 1: Comparison of Flow-GRPO variants on GenEval2 and T2I-CompBench++ benchmarks. All models are built upon the SD3.5-M [ 9 ] baseline. We report compositional fidelity, image quality measured by LAION Aesthetic ( 33 ) and HPSv3 ( 28 ) , and relative training time.
Models
T2I-CompBench++ Categories
Color
Shape
Texture
2D-Spatial
3D-Spatial
Numeracy
Non-Spatial
SD3.5-M [ 9 ]
79.94
56.69
73.38
28.50
37.39
59.27
31.46
Flow-GRPO (GenEval) [ 24 ]
83.79
61.30
72.36
54.47
44.71
67.52
31.95
fast Flow-GRPO (GenEval)
82.70
64.90
72.60
51.10
41.00
67.10
31.00
fast Flow-GRPO (GenEval + Aesth.)
81.50
57.40
67.40
42.10
43.90
64.10
30.30
fast Flow-GRPO (DeFlowCritic)
85.38
62.66
74.13
50.27
45.38
66.46
31.37
Table 2: Category-level comparison on T2I-CompBench++ ( 15 ) . Compositional fidelity is reported.
Figure 3: Qualitative comparisons of Flow-GRPO variants on GenEval and GenEval2 prompts. Our model achieves a superior balance between visual quality and compositional accuracy.
Method
Backbone
Reward data
GenEval-1
HPSv2.1
HPSv3
SD3-M
SD3-M
–
67.29
28.74
–
LPO ( 48 )
SD3-M
0.17M pairs
68.63
30.44
–
LPO, from ( 41 )
SDXL
0.17M pairs
59.85
31.89
9.10
SD3.5-M
SD3.5-M
–
55.34
27.15
8.29
SLRM ( 41 )
SD3.5-M
0.58M pairs
68.93
32.01
9.89
DINA-LRM † ( 23 )
SD3.5-M
0.8M pairs
68.15
32.41
9.69
Table 3: Comparison with latent reward models. Reward data is the training set of each reward model: Pick-a-Pic (LPO, SLRM) or HPDv3 (DINA-LRM). Rows marked † are measured by us.
Method
Calls
sec/im
GenEval2
HPSv3
SD3.5-M (base)
80
1.4
18.10
6.66
+ CLIPScore BO-8
640
7.3
21.95
6.58
+ DeFlowCritic BO-8 (ours)
444
5.1
24.09
7.32
Table 4: Inference-time scaling on GenEval2. Calls are denoiser passes per image, on one H100.
Method
Reward input
Fine-tuned
t=465
t=602
t=707
t=780
Qwen-3-VL (zero-shot)
Decoded image
×
58.41
22.66
12.73
5.23
Qwen-3-VL (fine-tuned, noisy images)
Decoded image
✓
92.16
85.07
77.64
67.22
DeFlowCritic
Latent
✓
97.08
96.67
95.83
91.03
Table 5: Ranking accuracy ( accrank ) (%) of reward models on noisy intermediate latents.
Trainable parts
Params
accrank
GenEval2
HPSv3
Head only
9.45M
29.17
3.33
− 2.46
Queries + head
9.48M
27.50
2.38
− 9.89
LoRA + head
51.3M
95.00
21.58
7.62
LoRA + queries + head
51.4M
97.08
21.44
8.07
Table 6: LoRA and query tokens at t=465 , with downstream GRPO on GenEval2.
Loss
accrank
accpair
Binary BCE
95.85
73.71
Soft BCE only
94.17
98.93
Ranking only
93.33
99.06
Soft BCE + ranking
95.42
99.06
Soft BCE + ranking + FM
97.08
99.05
Table 7: Loss ablation at t=465 on the test set. All variants use the same training step.
Noisy steps
t⋆
GenEval2
Rel. time
No lookahead
–
20.41
1.00 ×
Lookahead
278
22.06
1.72 ×
Lookahead
602
21.44
1.26 ×
Table 8: ODE lookahead and the choice of t⋆ .
Image pool
Correct
Critic
HPSv3
GPT-Image-1.5 (reference)
100%
0.97
10.93
Our GRPO policy
100%
0.96
10.71
SD3.5-M (base model)
100%
0.82
9.66
Table 9: Critic scores at t=465 on images that are all compositionally correct. 200 images per pool.
Generator
GenEval2
HPSv3
SD3.5-L
19.14
3.93
+ GRPO, 440 steps
25.83
8.29
FLUX.1-dev
21.40
7.89
+ GRPO, 240 steps
28.49
9.02
Table 10: DeFlowCritic GRPO improves different T2I flow matching models.
Figure 4: FLUX.1-dev before (top) and after (bottom) 240 GRPO steps with DeFlowCritic, evaluated on GenEval2 prompts.
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Category
Corruption
Example negative
y
Negatives
Counting Four trains at a train station
Count off by one
Three trains at a train station
0.75
1,624
Count off by two
Two trains at a train station
0.50
1,008
Count off by three
One train at a train station
0.25
392
Color an orange oven in a modern kitchen
Wrong color
a blue oven in a modern kitchen
0.50
3,753
Attribute binding A yellow broccoli and a red tennis racket
One color wrong
A purple broccoli and a red tennis racket
0.75
2,910
Both colors wrong
A black broccoli and a brown tennis racket
0.50
1,455
Appendix
Table 11: Corruption types with real examples from the dataset.
Training
Test
Category
Rows
Negatives
Per image
y=0.75
y=0.5
y=0.25
y=0
Rows
Negatives
Counting
1,008
5,018
4.98
1,624
1,994
392
1,008
60
297
Color
1,251
6,164
4.93
–
4,913
–
1,251
60
295
Attribute binding
1,455
10,114
6.95
2,910
2,839
2,910
1,455
60
414
Position
1,293
9,020
6.98
–
5,141
2,586
1,293
60
416
Total
5,007
30,316
6.05
4,534
14,887
5,888
5,007
240
1,422
Appendix
Table 12: Rows and negatives per category, with the number of training negatives at each score y .
Label
Kind
Caption
1.00
Positive
Crazy monkey stealing food from gorilla
0.75
Swap verb
Crazy monkey sharing food with gorilla
0.50
Change count
Three crazy monkeys stealing food from gorilla
0.50
Swap object
Crazy monkey stealing food from a bear
0.00
Swap verb and objects
Calm parrot sharing food with a bear
Appendix
Table 13: An example from the unseen-prompt set.
t
SD3.5-M critic
FLUX.1-dev critic
465
88.7
91.6
602
89.2
89.8
707
89.2
91.0
Appendix
Table 14: Ranking accuracy ( accrank , %) on the unseen-prompt set.
SD3.5-M critic
FLUX.1-dev critic
Backbone (frozen)
SD3.5-M, 2.5B
FLUX.1-dev, 12B
LoRA
rank 32 , α=64
rank 32 , α=64
Query tokens
16
16
Learning rate (head / LoRA)
10−4 / 3×10−5
10−4 / 10−4
Images per optimizer step
2×9
2×9
Training timesteps
[50,950]
[50,950]
Appendix
Table 15: Critic training settings and cost on one H100.
Text-to-image generation creates images from natural-language prompts using generative models, with research focused on fidelity, control, efficiency, and safety.