How Many Samples Is RL Worth? Best-of-N versus RL Post-Training for Text-to-Image Models
Organizations: Bosch Research India
Abstract
Reinforcement learning (RL) on a reward that can be checked automatically has become a common last step in the training of text-to-image models. A simpler way to get more correct images is best-of-N: draw N images from the base model and keep the one that a picker prefers. We ask how many base model samples one RL sample is worth, and call this number the exchange rate. We measure it for Stable Diffusion 3.5 Medium and its public Flow-GRPO checkpoint on 398 new prompts in the style of GenEval, the benchmark behind the RL reward, with human labels on every prompt and two automatic judges other than the reward. The answer depends on the prompt. Four fifths of the prompts do not ask for a position (for example, one object left of another). On these, the base model catches up: best-of-16 with an off-the-shelf vision-language model (VLM) as the picker is about as good as one RL image. A person who looks through up to 3 base images finds a correct one as often as one RL image is correct. On the prompts that ask for a position, RL is far ahead: a person finds a correct image among 8 base images for only 52% of the prompts, against 92% for one RL image. Over all prompts, our primary test, which we fixed in advance, finds best-of-16 with the VLM picker 9.3 points behind one RL image when both automatic judges must pass an image. People see a smaller gap, 5.5 and 6.5 points in two checks. FLUX.1-dev shows a similar gap in the same test. RL also solves 20 prompts that the base model misses in 128 tries, and 1,024 tries recover half of them. The automatic judges are wrong in opposite directions: a detector-based judge like the reward, as used in our primary test, reports a larger gap than people see, and VLM judges report little or none. Comparisons of RL with best-of-N should therefore check the selected images by hand.
Figures & tables
| Known | New | All | ||
| One image | ||||
| Base model | 27.2 | 67.1 | 41.2 | – |
| RL model | 54.6 | 92.8 | 68.0 | – |
| Base model, best-of-16 | ||||
| PickScore | 31.7 | 73.9 | 46.5 | 32 |
| CLIPScore | 33.3 | 72.7 | 47.2 | 32 |
| All 398 prompts | 156 hard prompts | 242 other prompts | Judge passes (%), best-of-16 / RL | ||||
| Judged by | Best-of-16 | RL | Difference | Difference | Difference | Correct (people) | Wrong (people) |
| People | 70.4 | 75.9 | 5.5 ( 10.3, 0.8) | 14.1 ( 23.1, 5.1) | 0.0 ( 5.0, 5.0) | – | – |
| Both judges | 58.0 | 68.1 | 10.1 ( 14.8, 5.3) | 18.6 ( 27.6, 9.6) | 4.5 ( 9.9, 0.8) | 77.9 / 87.4 | 11.0 / 0 7.3 |
| Detector judge | 59.5 | 70.4 | 10.8 ( 15.6, 6.0) | 21.2 ( 30.1, 12.2) | 4.1 ( 9.5, 1.2) | 78.9 / 89.7 | 13.6 / 0 9.4 |
| VLM judge | 77.1 | 76.6 | 0.5 ( 3.3, 4.3) | 1.9 ( 10.3, 6.4) | 2.1 ( 0.8, 5.0) | 95.0 / 95.0 | 34.7 / 18.8 |
| People, 2nd check | 71.1 | 77.6 | 6.5 ( 11.1, 2.0) | 14.7 ( 23.7, 5.8) | 1.2 ( 6.2, 3.7) | – | – |
| Human check | Who picks among base images | All prompts (398) | Without a position (319) | Position (79) |
|---|---|---|---|---|
| First | 8B VLM picker, | 5.5 ( 10.3, 0.8) | 2.2 ( 2.8, 7.2) | 36.7 ( 48.1, 25.3) |
| Second | 8B VLM picker, | 6.5 ( 11.1, 2.0) | 1.6 ( 2.8, 6.0) | 39.2 ( 51.9, 27.8) |
| 38B VLM picker, | 2.3 ( 7.0, 2.5) | 5.6 ( 0.9, 10.3) | 34.2 ( 45.6, 22.8) | |
| Third, first part | Perfect picker, | 9.3 ( 14.1, 4.5) | 0.3 ( 4.4, 5.0) | 48.1 ( 59.5, 36.7) |
| Perfect picker, | 4.8 ( 9.5, 0.0) | 4.1 ( 0.6, 9.1) | 40.5 ( 51.9, 29.1) | |
| Third, second part | A person, | 0.0 ( 4.5, 4.5) | 10.0 ( 6.0, 14.1) | 40.5 ( 51.9, 29.1) |
Appendix figures & tables27 assets
Supplementary material from the paper’s appendix.
Appendix
| Rule | What was fixed, and the outcome |
|---|---|
| Guidance of Base ⋆ | The guidance scale in that gives the highest best-of-16 accuracy on dev with the VLM picker; ties go to the higher pass@1. Chosen: 7 ( Tab. S5 ). |
| Budget | for the primary test. |
| VLM picker | InternVL3.5-8B with the question given in Sec. 3 . |
| Primary test | on all 398 test prompts under the registered rule (both judges pass), two-sided, . |
| Hard prompts | GRPO or Base ⋆ passes at most 4 of 32 seeds. All 156 such prompts received seeds 32–127. |
| Early exit | Stop all images at a step in and finish the best . The rule takes the cheapest pair (step, ) that is within 2 points of full best-of-16 on dev. Chosen: step 8, . |
| In this paper | In the plan and code |
|---|---|
| GenEval prompts | P1 |
| Known-object prompts | P2 |
| New-object prompts | P3 |
| Text prompts | P5 |
| Analysis subset | mechanism subset |
| VLM judge, detector judge | J1, J2 |
| What was labelled | Labels | Labeller |
| Count check | 150 | 1 |
| Thresholds of the detector judge | 240 | 1 |
| 50 images that the judges passed | 50 | 1 |
| First 80 prompts, plus 80 reward picks | 320 | 1 |
| the same, 100 of these images | 100 | 2 |
| the same, 100 images after one day | 100 | 1 |
| Comparison | Images | Equal | |
| Labellers 2 and 3, first check | 100 | 98 | 0.95 |
| Labellers 2 and 3, second check | 133 | 130 | 0.94 |
| Labellers 2 and 3, perfect picker | 123 | 122 | 0.98 |
| Labellers 1 and 2, first 80 prompts | 100 | 93 | 0.84 |
| Labeller 1, again after one day | 100 | 96 | 0.90 |
| Labeller 1, again after 3.5 days | 100 | 96 | 0.91 |
| Guidance | One image | Best of 16, VLM picker | pass@32 |
|---|---|---|---|
| 1 | 22.1 | 41.6 | 59.8 |
| 2.5 | 39.6 | 54.8 | 78.2 |
| 4.5 | 43.6 | 57.0 | 77.0 |
| 7 | 45.3 | 57.5 | 75.9 |
| Published | As in the RL code | Official code | |
|---|---|---|---|
| Base | 0.63 [ 71 ] | 0.651 | 0.680 |
| GRPO | 0.95 [ 71 ] | 0.933 | 0.935 |
| NFT | 0.94 [ 129 ] | 0.930 | 0.931 |
| Variant | (points) | |
|---|---|---|
| Registered comparison | 9.3 ( 12.8, 5.7) | 7.5 (5.9, 10.0) |
| Base model at guidance 4.5 | 9.6 ( 13.0, 6.1) | 7.2 (5.8, 9.2) |
| Detector judge alone | 9.6 ( 13.3, 6.0) | 6.3 (5.0, 8.1) |
| VLM judge alone | 2.0 ( 0.7, 4.8) | 4.0 (3.2, 5.3) |
| Known objects only | 8.6 ( 13.5, 3.8) | 6.3 (4.8, 8.7) |
| GenEval reward as judge | 15.0 ( 19.5, 10.4) | – |
| Registered rule, all images | People, one image each | |||||||
| Prompt type | Prompts | One base | Best-of-16 | One RL | (points) | Best-of-16 | One RL | (points) |
| Known objects | ||||||||
| Count of five | 18 | 12.0 | 38.8 | 54.0 | 15.2 ( 28.8, 1.9) | 38.9 | 38.9 | 0.0 ( 33.3, 33.3) |
| Two counted classes | 60 | 9.9 | 35.4 | 16.1 | 19.3 ( 12.1, 26.8) | 36.7 | 18.3 | 18.3 ( 5.0, 31.7) |
| Three objects | 60 | 74.3 | 91.5 | 82.9 | 8.7 ( 0.9, 16.4) | 85.0 | 85.0 | 0.0 ( 13.3, 13.3) |
| Three colour bindings | 60 | 15.1 | 24.7 | 46.0 | 21.3 ( 30.6, 12.0) | 71.7 | 78.3 | 6.7 ( 20.0, 6.7) |
| Correct (%) | |||||
| Step | Dev | Test | Seconds | Cost | |
| 4 | 1 | 49.5 | 47.0 | 0 6.3 | 22% |
| 4 | 2 | 53.6 | 51.4 | 0 7.9 | 28% |
| 4 | 4 | 55.3 | 54.2 | 11.1 | 39% |
| 8 | 1 | 56.3 | 51.5 | 0 8.9 | 31% |
| 8 | 2 | 58.2 | 54.3 | 10.3 | 36% |
| Training cost | Prompts until RL is cheaper than | |
|---|---|---|
| (GPU-hours) | best-of-16 | best-of-32 |
| 100 | 13,400 | 6,500 |
| 500 | 66,800 | 32,400 |
| 1,000 | 133,700 | 64,700 |
| 2,000 | 267,300 | 129,500 |
| 4,000 | 534,700 | 258,900 |
| Prompts | RL only | Base only | Both | Neither | |
|---|---|---|---|---|---|
| Known objects | 17 | 3 | 226 | 12 | 0.003 |
| New objects | 0 3 | 0 | 136 | 0 1 | 0.25 |
| All | 20 | 3 | 362 | 13 | 0.001 |
| Prompt (each begins with “a photo of”) | Solved |
|---|---|
| five teddy bears | yes |
| four handbags and four bowls | yes |
| three books and four bottles | yes |
| four cakes and three chairs | yes |
| a brown dining table above a purple microwave | yes |
| a green stop sign below a brown backpack | yes |
| Judge | RL | 8B | 38B | , 8B | , 38B |
|---|---|---|---|---|---|
| People | 77.6 | 71.1 | 75.4 | 6.5 ( 11.1, 2.0) | 2.3 ( 7.0, 2.5) |
| Rule | 67.1 | 57.0 | 61.3 | 10.1 ( 14.6, 5.3) | 5.8 ( 10.6, 1.0) |
| Detector | 68.8 | 58.5 | 63.1 | 10.3 ( 15.1, 5.5) | 5.8 ( 10.8, 0.8) |
| VLM | 74.6 | 78.1 | 81.9 | 3.5 ( 0.3, 7.5) | 7.3 ( 3.5, 11.3) |
| All prompts (398) | Prompts without a position (319) | Position prompts (79) | |
| Perfect picker’s choice among base images | |||
| 58.0 | 65.8 | 26.6 | |
| 61.1 | 69.0 | 29.1 | |
| 65.8 | 73.0 | 36.7 | |
| 69.8 | 76.2 | 44.3 | |
| 72.9 | 79.3 | 46.8 | |
| RL model | One | Positions / other | ||
|---|---|---|---|---|
| GRPO (main) | 68.5 | 7.9 | 9.7 ( 13.3, 6.2) | 37.8 / 2.8 |
| Second run | 69.6 | 8.7 | 10.9 ( 14.7, 7.1) | 42.6 / 3.0 |
| Without KL | 58.1 | 3.5 | 0.7 ( 3.6, 5.0) | 33.4 / 9.1 |
| First human check | Second human check | ||||||
|---|---|---|---|---|---|---|---|
| Judged by | (points) | Correct | Wrong | (points) | Correct | Wrong | |
| People | 5.8 ( 12.8, 1.2) | – | – | 7.0 ( 13.6, 0.4) | – | – | |
| Both judges (registered rule) | 10.5 ( 17.1, 3.9) | 68.4 / 81.4 | 10.4 / 0 6.6 | 9.3 ( 15.9, 2.7) | 64.9 / 77.3 | 12.5 / 0 4.7 | |
| Detector judge | 11.2 ( 17.8, 4.3) | 70.4 / 85.0 | 13.2 / 0 8.8 | 9.3 ( 16.3, 2.7) | 66.2 / 79.7 | 16.3 / 0 7.0 | |
| Official GenEval | 10.9 ( 17.4, 4.3) | 70.4 / 83.8 | 15.1 / 12.1 | 10.1 ( 16.7, 3.5) | 68.2 / 84.9 | 20.2 / 0 7.0 | |
| GenEval reward, RL code | 16.7 ( 23.3, 10.1) | 61.8 / 85.6 | 13.2 / 0 8.8 | 14.7 ( 21.3, 8.1) | 57.8 / 83.1 | 18.3 / 0 3.5 | |
| Perfect picker | ||||||
| Prompt type | Prompts | One base | Best of 16 | Best of 32 | One RL | |
| Known objects | ||||||
| Count of five | 18 | 12.0 | 64.5 | 72.2 | 54.0 | 8.5 (4.7, 32) |
| Two counted classes | 60 | 9.9 | 53.2 | 61.7 | 16.1 | 1.7 (1.3, 2.4) |
| Three objects | 60 | 74.3 | 97.8 | 98.3 | 82.9 | 1.7 (1.1, 2.7) |
| Three colour bindings | 60 | 15.1 | 66.1 | 75.0 | 46.0 | 5.5 (4.0, 7.5) |
| Base image (398 prompts) | Base | RL | Base minus RL |
|---|---|---|---|
| SD3.5-M | |||
| Best-of-16 pick, first check | 5.45 | 5.44 | 0.01 ( 0.02, 0.05) |
| Best-of-16 pick, second check | 5.41 | 5.45 | 0.03 ( 0.07, 0.00) |
| with the 38B picker | 5.42 | 5.45 | 0.03 ( 0.06, 0.01) |
| One random base image | 5.45 | 5.44 | 0.01 ( 0.02, 0.05) |
| FLUX.1-dev | |||
| Prompts | Shift | Slope | |
|---|---|---|---|
| All | 1.80 (1.60, 1.99) | 0.69 (0.64, 0.74) | 0.23 ( 0.30, 0.16) |
| Known | 1.67 (1.43, 1.89) | 0.74 (0.68, 0.78) | 0.22 ( 0.33, 0.11) |
| New | 2.28 (1.94, 2.61) | 0.52 (0.38, 0.60) | 0.49 ( 0.62, 0.36) |
| Correct (%) | (points) | First check | |||||
| Prompt type | Prompts | One RL | 8B pick | 38B pick | 8B picker | 38B picker | (points) |
| Known objects | |||||||
| Count of five | 18 | 61.1 | 55.6 | 72.2 | 5.6 ( 33.3, 22.2) | 11.1 ( 16.7, 38.9) | 0.0 |
| Two counted classes | 60 | 15.0 | 33.3 | 48.3 | 18.3 ( 6.7, 30.0) | 33.3 ( 18.3, 46.7) | 18.3 |
| Three objects | 60 | 85.0 | 85.0 | 85.0 | 0.0 ( 11.7, 11.7) | 0.0 ( 11.7, 11.7) | 0.0 |
| Three colour bindings | 60 | 80.0 | 71.7 | 75.0 | 8.3 ( 20.0, 5.0) | 5.0 ( 16.7, 5.0) | 6.7 |
| First check | Second check | |||
| Check that fails | Best-of-16 | RL | Best-of-16 | RL |
| Object missing | 3.2 | 2.6 | 3.5 | 3.6 |
| Count | 3.2 | 0.7 | 4.2 | 1.3 |
| Colour | 14.3 | 6.6 | 15.9 | 7.8 |
| Position | 0.4 | 0.3 | 0.7 | 0.6 |
| Any check | 21.1 | 10.3 | 24.4 | 13.3 |
| Group of tests | Tests | before | after |
|---|---|---|---|
| First human check, people and judges | 4 | 3 | 1 |
| Hard and position prompts, three checks | 12 | 6 | 6 |
| Prompt types, first check, people | 11 | 3 | 1 |
| Prompt types, registered rule | 11 | 8 | 6 |
| Prompt types, second check, 8B picker | 11 | 3 | 3 |
| First human check | Second human check | |||||
|---|---|---|---|---|---|---|
| Judged by | (points) | Correct (%) | Wrong (%) | (points) | Correct (%) | Wrong (%) |
| People | 5.5 ( 10.3, 0.8) | – | – | 6.5 ( 11.1, 2.0) | – | – |
| Detector judge | 10.8 ( 15.6, 6.0) | 78.9 / 89.7 | 13.6 / 9.4 | 10.3 ( 15.1, 5.5) | 75.6 / 86.7 | 16.5 / 6.7 |
| VLM judge (Qwen3-VL-8B) | 0.5 ( 3.3, 4.3) | 95.0 / 95.0 | 34.7 / 18.8 | 3.5 ( 0.3, 7.5) | 93.3 / 94.2 | 40.9 / 6.7 |
| Second VLM judge (Idefics3-8B) | 3.8 ( 7.8, 0.3) | 86.4 / 92.1 | 32.2 / 17.7 | 0.8 ( 5.0, 3.5) | 85.9 / 90.0 | 35.7 / 10.1 |
| Larger VLM judge (Qwen3-VL-32B) | 1.5 ( 5.5, 2.8) | 90.7 / 94.4 | 33.1 / 14.6 | 0.8 ( 5.0, 3.8) | 89.8 / 94.2 | 35.7 / 7.9 |
| Prompts with colours | Other prompts | |||
|---|---|---|---|---|
| Judge | First | Second | First | Second |
| Detector, CLIP colour | 22.8 | 23.1 | 4.8 | 6.1 |
| Detector, SigLIP colour | 20.6 | 12.6 | 4.8 | 6.1 |
| VLM judge | 0.6 | 1.9 | 0.6 | 1.2 |
| Second VLM judge | 3.7 | 0.5 | 7.2 | 7.2 |
| Larger VLM judge | 8.5 | 8.4 | 1.2 | 2.4 |
| All prompts (398) | Prompts without a position (319) | Position prompts (79) | |
| Picker that knows the person’s verdict, among base images | |||
| 58.0 | 65.8 | 26.6 | |
| 64.8 | 73.4 | 30.4 | |
| 68.3 | 76.2 | 36.7 | |
| 72.6 | 80.6 | 40.5 | |
| 74.4 | 82.4 | 41.8 | |
T2I Generation
Text-to-image generation creates images from natural-language prompts using generative models, with research focused on fidelity, control, efficiency, and safety.
See all 346 papers