What Does RL Post-Training Teach Text-to-Image Models? A Skill-Wise Analysis of Flow-GRPO
Organizations: North Carolina State University · Purdue University
Abstract
Reinforcement learning (RL) post-training has become a standard way to improve text-to-image flow models: Flow-GRPO lifts the GenEval score of SD3.5-M from 0.63 to 0.95, a gain read as the model having learned compositional generation. We ask how much of that gain the base model's own samples already contained, by measuring pass@k over shared noise seeds, one skill at a time, before and after RL, on prompts never used in training. The answer differs by skill. On four of GenEval's six skills, where 32 base samples already solve almost every prompt, the gain is sharpening: one post-trained sample is worth 4 to 10 base samples, and pass@32 barely moves. On spatial relations it is unlocking: pass@32 rises from 0.69 to 1.00, 128 base samples do not match one post-trained sample, and prompts the base model never solved in 32 samples are solved 93% of the time, as often as those it solved. The benchmark average, 31 base samples per post-trained sample, describes no skill. Relations carry 35% of the gain; of the other 65%, selecting among 8 base samples with the judge behind the reward recovers nine tenths. We propose an account of when each occurs: within a prompt, a group-relative update re-weights only the outcomes its samples contain, and a flow policy cannot widen the noise that produces them; across prompts, shared parameters let successes on some prompts repair a deficit common to many. The same anatomy applies to a text-rendering checkpoint. The account's predictions are tested with a checkpoint trained without KL, within-prompt diversity, and controlled training that holds object classes out, where sharpening comes first and transfers, and unlocking follows, on practised objects before unseen ones.
Figures & tables
| Sharpening | Unlocking | |
|---|---|---|
| pass@1 vs. base pass@ | meets it at small | no |
| ceiling (pass@32) | unchanged | rises |
| zero-coverage prompts | stay unsolved | solved at high rates |
| rate after RL | tracks base rate | ignores base rate |
| best-of- with the judge | reproduces gain | cannot |
| (a) GenEval, 553 prompts | |||||||||||||
| SD3.5-M (base) | Flow-GRPO | Flow-GRPO without KL | |||||||||||
| Skill | p@1 | p@32 | p@1 | p@32 | resc. | rate 0 | p@1 | p@32 | resc. | rate 0 | |||
| Single object | 80 | 0.84 .04 | 1.00 | 0.98 .01 | 1.00 | 4 | 0/0 | – | 0.99 .01 | 1.00 | 6 | 0/0 | – |
| Two objects | 99 | 0.50 .05 | 0.99 | 0.95 .02 | 0.99 | 10 | 1/1 | 0.97 | 0.93 .03 | 0.99 | 9 | 1/1 | 0.97 |
| Counting | 80 | 0.55 .06 | 0.99 | 0.94 .03 | 1.00 | 8 | 1/1 | 0.91 | 0.96 .02 | 1.00 | 11 | 1/1 | 0.88 |
| Colors | 94 | 0.71 .06 | 0.96 | 0.89 .05 | 0.97 | 5 | 1/4 | 0.16 | 0.93 .04 | 0.99 | 14 | 4/4 | 0.73 |
| Skill | base | RL | ceiling | zero-cov. (rescued) | ||||
|---|---|---|---|---|---|---|---|---|
| p@1 | p@32 | p@1 | p@32 | p@32 | ||||
| Short string ( 13 chars) | 80 | 0.28 | 0.85 | 0.73 | 0.96 | 10 | +0.11 | 12 (9) |
| Medium (14–16) | 58 | 0.16 | 0.79 | 0.65 | 1.00 | 14 | +0.21 | 12 (12) |
| Long ( 17) | 62 | 0.10 | 0.71 | 0.51 | 0.97 | 11 | +0.26 | 18 (16) |
| All | 200 | 0.19 | 0.79 | 0.64 | 0.97 | 12 | +0.18 | 42 (37) |
| both objects seen ( ) | both held out ( ) | |||||||
|---|---|---|---|---|---|---|---|---|
| p@1 | resc. | rate 0 | p@1 | resc. | rate 0 | |||
| SD3.5-M base | 0.17 | – | 0/13 | 0 | 0.17 | – | 0/17 | 0 |
| Run A, all skills (14k) | 0.19 | 2 | 1/13 | 0.02 | 0.17 | 2 | 0/17 | 0.01 |
| Run B, relations (26k) | 0.24 | 2 | 2/13 | 0.03 | 0.25 | 2 | 4/17 | 0.04 |
| Run B, relations (44k) | 0.30 | 3 | 9/13 | 0.14 | 0.25 | 2 | 5/17 | 0.06 |
| Run B, relations (64k) | 0.40 | 5 | 10/13 | 0.23 | 0.31 | 3 | 4/17 | 0.09 |
Appendix figures & tables24 assets
Supplementary material from the paper’s appendix.
Appendix
| SD3.5-M (base) | Flow-GRPO | Flow-GRPO without KL | |||||
| Skill | strict | official | strict | official | strict | official | |
| Single object | 80 | 0.84 | 0.98 | 0.98 | 1.00 | 0.99 | 1.00 |
| Two objects | 99 | 0.50 | 0.78 | 0.95 | 0.99 | 0.93 | 0.98 |
| Counting | 80 | 0.55 | 0.55 | 0.94 | 0.94 | 0.96 | 0.96 |
| Colours | 94 | 0.71 | 0.80 | 0.89 | 0.91 | 0.93 | 0.94 |
| Position | 100 | 0.16 | 0.23 | 0.94 | 0.96 | 0.92 | 0.95 |
| Reward | Image contains | base | Flow-GRPO | no KL |
|---|---|---|---|---|
| 1 | both objects once, arranged as asked | 15.7% | 94.3% | 92.3% |
| 0.75 | both objects once, another arrangement | 24.3% | 1.6% | 2.3% |
| 1/3 | one object missing or doubled | 38.3% | 3.6% | 5.0% |
| two or more counting errors | 21.7% | 0.5% | 0.4% |
| SD3.5-M (base) | Flow-GRPO | Flow-GRPO without KL | |||||||||||
| Skill | p@1 | p@32 | p@1 | p@32 | resc. | rate 0 | p@1 | p@32 | resc. | rate 0 | |||
| Single object | 80 | 0.98 | 1.00 | 1.00 | 1.00 | 13 | 0/0 | – | 1.00 | 1.00 | 15 | 0/0 | – |
| Two objects | 99 | 0.78 | 1.00 | 0.99 | 1.00 | 14 | 0/0 | – | 0.98 | 1.00 | 9 | 0/0 | – |
| Counting | 80 | 0.55 | 0.99 | 0.94 | 1.00 | 8 | 1/1 | 0.91 | 0.96 | 1.00 | 11 | 1/1 | 0.88 |
| Colours | 94 | 0.80 | 0.97 | 0.91 | 0.97 | 5 | 0/3 | 0.00 | 0.94 | 0.99 | 13 | 3/3 | 0.69 |
| Position | 100 | 0.23 | 0.76 | 0.96 | 1.00 | 32 | 24/24 | 0.96 | 0.95 | 0.98 | 32 | 24/24 | 0.91 |
| SD3.5-M (base) | Flow-GRPO | Flow-GRPO without KL | |||||||||
| Prompts | zero-cov. | objects | arranged | correct | objects | arranged | correct | objects | arranged | correct | |
| left of | 19 | 8 | 0.37 | 0.21 | 0.08 | 0.98 | 1.00 | 0.98 | 0.95 | 1.00 | 0.95 |
| right of | 27 | 11 | 0.36 | 0.21 | 0.08 | 0.96 | 0.96 | 0.92 | 0.93 | 0.95 | 0.89 |
| above | 26 | 5 | 0.38 | 0.62 | 0.23 | 0.96 | 0.99 | 0.95 | 0.96 | 0.96 | 0.93 |
| below | 28 | 7 | 0.49 | 0.45 | 0.22 | 0.94 | 0.99 | 0.93 | 0.94 | 1.00 | 0.94 |
| all relations | 100 | 31 | 0.40 | 0.39 | 0.16 | 0.96 | 0.98 | 0.94 | 0.95 | 0.98 | 0.92 |
| 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | |
|---|---|---|---|---|---|---|---|---|
| base pass@ | 0.16 | 0.25 | 0.36 | 0.48 | 0.60 | 0.72 | 0.81 | 0.89 |
| Prompt (“a photo of …”) | skill | base | F-G | no KL | Prompt (“a photo of …”) | skill | base | F-G | no KL |
|---|---|---|---|---|---|---|---|---|---|
| /128 | /32 | /32 | /128 | /32 | /32 | ||||
| a brown orange | colour | 0 | 0 | 31 | a refrigerator below a scissors | relation | 1 | 30 | 32 |
| a purple bear | colour | 0 | 0 | 32 | a train right of a dining table | relation | 1 | 30 | 31 |
| a white kite | colour | 0 | 0 | 3 | a wine glass above a kite | relation | 1 | 26 | 30 |
| a bed right of a sports ball | relation | 0 | 30 | 32 | a zebra right of a bed | relation | 1 | 30 | 31 |
| a carrot left of an orange | relation | 0 | 32 | 29 | a purple suitcase and an orange pizza | binding | 1 | 5 | 2 |
| SD3.5-M (base) | Flow-GRPO | |||||
| Skill | 25 steps | 40 steps | 25 steps, | 25 steps | 40 steps | |
| Single object | 50 | 0.84 | 0.89 | 0.88 | 0.99 | 0.96 |
| Two objects | 34 | 0.42 | 0.45 | 0.49 | 0.94 | 0.94 |
| Counting | 14 | 0.54 | 0.49 | 0.61 | 0.90 | 0.89 |
| Colours | 10 | 0.72 | 0.72 | 0.65 | 0.91 | 0.91 |
| Position | 33 | 0.17 | 0.18 | 0.19 | 0.95 | 0.94 |
| base | Flow-GRPO | |||||||
|---|---|---|---|---|---|---|---|---|
| Skill | p@1 | p@8 | p@1 | p@8 | resc. | rate 0 | ||
| Single object | 50 | 0.89 | 0.98 | 0.96 | 1.00 | 3 | 1/1 | 0.88 |
| Two objects | 34 | 0.45 | 0.88 | 0.94 | 1.00 | 8 | 4/4 | 0.84 |
| Counting | 14 | 0.49 | 0.86 | 0.89 | 1.00 | 8 | 2/2 | 0.38 |
| Colours | 10 | 0.72 | 0.90 | 0.91 | 1.00 | 8 | 1/1 | 0.25 |
| Position | 33 | 0.18 | 0.58 | 0.94 | 1.00 | 8 | 14/14 | 0.94 |
| Flow-GRPO | Flow-GRPO without KL | |||||
|---|---|---|---|---|---|---|
| Skill | share | within | beyond | share | within | beyond |
| Single object | 5.2 | 5.2 | 0.0 | 5.4 | 5.4 | 0.0 |
| Two objects | 19.6 | 19.1 | 0.4 | 18.6 | 18.2 | 0.4 |
| Counting | 13.8 | 13.4 | 0.4 | 14.3 | 13.9 | 0.4 |
| Colours | 7.7 | 7.4 | 0.3 | 9.0 | 7.8 | 1.3 |
| Position | 34.9 | 22.1 | 12.8 | 33.5 | 21.0 | 12.5 |
| gain recovered by best-of- | ||||||
|---|---|---|---|---|---|---|
| Model | Prompts | |||||
| Flow-GRPO | all | 34% | 59% | 73% | 81% | 85% |
| Flow-GRPO | other five skills | 46% | 76% | 90% | 95% | 97% |
| Flow-GRPO | relations | 12% | 26% | 41% | 54% | 63% |
| no KL | all | 31% | 55% | 70% | 78% | 84% |
| no KL | other five skills | 41% | 70% | 84% | 91% | 94% |
| base successes in 32 samples | ||||||
| Model | Prompts | 0 | 1–2 | 3–8 | 9–16 | 17–32 |
| strict rule | ||||||
| Flow-GRPO | relations | 0.93 (31) | 0.91 (21) | 0.97 (23) | 0.95 (18) | 1.00 (7) |
| Flow-GRPO | other five skills | 0.31 (16) | 0.44 (15) | 0.82 (56) | 0.93 (91) | 0.97 (275) |
| no KL | relations | 0.92 (31) | 0.86 (21) | 0.93 (23) | 0.97 (18) | 0.97 (7) |
| no KL | other five skills | 0.55 (16) | 0.78 (15) | 0.87 (56) | 0.90 (91) | 0.96 (275) |
| Flow-GRPO training set | 60-class split (Run A) | relations only (Run B) | ||||||
|---|---|---|---|---|---|---|---|---|
| Skill | lines | share | distinct | share | lines | distinct | lines | distinct |
| Single object | 0 | 0.0% | 0 | 0.0% | 0 | 0 | 0 | 0 |
| Two objects | 2,941 | 5.9% | 2,941 | 8.9% | 2,941 | 2,941 | 0 | 0 |
| Counting | 14,706 | 29.4% | 160 | 0.5% | 14,706 | 180 | 0 | 0 |
| Colours | 2,941 | 5.9% | 686 | 2.1% | 2,941 | 586 | 0 | 0 |
| Position | 20,588 | 41.2% | 20,588 | 62.0% | 20,588 | 10,777 | 20,588 | 10,777 |
| in the training set | not in the training set | |||||||||
| Skill | base p@1 | F-G p@1 | resc. | rate 0 | base p@1 | F-G p@1 | resc. | rate 0 | ||
| Single object | 0 | – | – | – | – | 20 | 0.85 | 0.99 | 0/0 | – |
| Two objects | 30 | 0.40 | 0.92 | 0/0 | – | 18 | 0.41 | 0.97 | 0/0 | – |
| Counting | 31 | 0.54 | 0.97 | 0/0 | – | 16 | 0.55 | 0.92 | 0/0 | – |
| Colours | 39 | 0.73 | 0.95 | 0/0 | – | 8 | 0.68 | 0.95 | 0/0 | – |
| Position | 32 | 0.19 | 0.92 | 11/11 | 0.84 | 15 | 0.15 | 0.82 | 4/4 | 0.48 |
| Runs A and B | released configuration | |
| Adapter | LoRA rank 32 ( ), attention projections | |
| Optimizer | AdamW, lr , decay , clip 1.0 | |
| Collection | SDE, 10 steps, , guidance 4.5, | |
| Policy loss | ratio clip , on 9 of the 10 steps | |
| Advantage | per-prompt mean, global std, clipped at 5 | |
| Regularization | KL weight ; EMA, decay 0.9 | |
| both objects seen ( ) | one held out ( ) | both held out ( ) | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| p@1 | p@32 | resc. | rate 0 | p@1 | p@32 | resc. | rate 0 | p@1 | p@32 | resc. | rate 0 | ||||
| SD3.5-M base | 0.17 | 0.78 | – | 0/13 | 0 | 0.14 | 0.59 | – | 0/16 | 0 | 0.17 | 0.65 | – | 0/17 | 0 |
| Run A, all skills (14k) | 0.19 | 0.75 | 2 | 1/13 | 0.02 | 0.16 | 0.67 | 2 | 0/16 | 0.01 | 0.17 | 0.69 | 2 | 0/17 | 0.01 |
| Run B, relations (26k) | 0.24 | 0.73 | 2 | 2/13 | 0.03 | 0.24 | 0.64 | 3 | 0/16 | 0.01 | 0.25 | 0.76 | 2 | 4/17 | 0.04 |
| Run B, relations (44k) | 0.30 | 0.86 | 3 | 9/13 | 0.14 | 0.25 | 0.72 | 3 | 2/16 | 0.03 | 0.25 | 0.71 | 2 | 5/17 | 0.06 |
| Run B, relations (64k) | 0.40 | 0.88 | 5 | 10/13 | 0.23 | 0.33 | 0.72 | 4 | 2/16 | 0.05 | 0.31 | 0.76 | 3 | 4/17 | 0.09 |
| rate 0 , zero-coverage prompts | p@1, seen objects | |||||
| Images | seen | held out | gap | trained | untrained | |
| 0 (base) | 0 | 0 | – | – | 0.18 | 0.12 |
| 26k | 0.03 | 0.02 | 0.01 | 0.294 | 0.25 | 0.19 |
| 44k | 0.14 | 0.05 | 0.10 | 0.005 | 0.31 | 0.24 |
| 64k | 0.23 | 0.07 | 0.15 | 0.012 | 0.40 | 0.42 |
| 78k | 0.45 | 0.13 | 0.33 | 0.53 | 0.53 | |
| base | Run A (14k images) | |||||||
|---|---|---|---|---|---|---|---|---|
| Skill | p@1 | p@32 | p@1 | p@32 | resc. | rate 0 | ||
| Single object | 80 | 0.84 | 1.00 | 0.88 | 1.00 | 2 | 0/0 | – |
| Two objects | 49 | 0.48 | 1.00 | 0.54 | 1.00 | 2 | 0/0 | – |
| Counting | 23 | 0.61 | 1.00 | 0.69 | 1.00 | 2 | 0/0 | – |
| Colours | 22 | 0.76 | 1.00 | 0.77 | 0.95 | 2 | 0/0 | – |
| Position | 50 | 0.13 | 0.58 | 0.15 | 0.64 | 2 | 6/21 | 0.01 |
| Prompt (“a photo of …”) | skill | base | Flow-GRPO | no KL |
|---|---|---|---|---|
| held with KL, solved without (Flow-GRPO of 32, no KL at least 16 more) | ||||
| a purple bear | colour | 0 | 0 | 32 |
| a brown orange | colour | 0 | 0 | 31 |
| a red orange and a purple broccoli | binding | 1 | 0 | 26 |
| an orange handbag and a green carrot | binding | 0 | 2 | 25 |
| lost without KL (more than 0.1 below the base model) | ||||
| base successes in 32 samples | |||||
|---|---|---|---|---|---|
| 0 | 1–2 | 3–8 | 9–16 | 17–32 | |
| rate after RL | 0.35 (42) | 0.61 (41) | 0.65 (62) | 0.85 (40) | 0.93 (15) |
| all samples | correct samples only | |||||||
|---|---|---|---|---|---|---|---|---|
| Skill | base | Flow-GRPO | ratio | base | Flow-GRPO | ratio | ||
| Single object | 50 | 0.30 | 0.23 | 0.79 | 49 | 0.30 | 0.24 | 0.79 |
| Two objects | 34 | 0.38 | 0.24 | 0.63 | 20 | 0.39 | 0.25 | 0.63 |
| Counting | 14 | 0.31 | 0.20 | 0.64 | 8 | 0.34 | 0.20 | 0.58 |
| Colours | 10 | 0.31 | 0.24 | 0.78 | 9 | 0.30 | 0.22 | 0.76 |
| Position | 33 | 0.39 | 0.22 | 0.57 | 7 | 0.29 | 0.20 | 0.69 |
| pass@1 at LoRA scale | pass@16 at LoRA scale | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Skill | 0 | 0.25 | 0.5 | 0.75 | 1 | 0 | 0.25 | 0.5 | 0.75 | 1 |
| Single object | 0.86 | 0.90 | 0.95 | 0.97 | 0.99 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| Two objects | 0.50 | 0.67 | 0.82 | 0.90 | 0.95 | 0.95 | 0.99 | 1.00 | 1.00 | 0.99 |
| Counting | 0.55 | 0.72 | 0.83 | 0.89 | 0.94 | 0.97 | 0.99 | 0.99 | 1.00 | 1.00 |
| Colours | 0.72 | 0.80 | 0.84 | 0.86 | 0.89 | 0.93 | 0.97 | 0.97 | 0.96 | 0.96 |
| Position | 0.16 | 0.33 | 0.59 | 0.86 | 0.94 | 0.60 | 0.82 | 0.96 | 1.00 | 1.00 |
RL Post-Training
Reinforcement learning post-training adapts pretrained models with reward or feedback signals to improve reasoning, alignment, and interactive behavior.
See all 475 papers