How Many Samples Is RL Worth? Best-of-N versus RL Post-Training for Text-to-Image Models

Salil BhatnagararXiv 2026

TL;DR

When you want a text-to-image model to actually follow complex prompts, you can either pay upfront to fine-tune it with Reinforcement Learning (RL), or pay at inference time by generating $N$ images from the base model and picking the best one (best-of-$N$). By calculating the "exchange rate" between these two strategies, this paper shows that for most prompts, simple sampling easily catches up to RL—except on spatial layouts ("left of", "above"), where RL dominates. Along the way, it uncovers a crucial trap in AI evaluation: automated judges systematically lie in opposite directions depending on how the image was chosen.

What Problem Does This Paper Address?

Text-to-image models are notoriously bad at compositional prompts—ask for "five carrots" or "a blue fork right of a pink couch," and you often get culinary or furniture chaos. Lately, practitioners have fixed this by post-training models using RL on verifiable rewards (like object detectors).

However, there is a much lazier alternative: best-of-$N$. You require zero training, generate $N$ images from the base model, and use an off-the-shelf Vision-Language Model (VLM) as a "picker" to keep the best one. RL costs compute once upfront; best-of-$N$ multiplies the compute cost of every prompt you ever serve. Until now, practitioners lacked a clear "exchange rate" ($N^\star$)—how many base model samples is one RL image actually worth? Furthermore, does RL teach the model genuinely new tricks, or just surface capabilities the base model already had?

Methods

The author compares base models—primarily Stable Diffusion 3.5 Medium (SD3.5-M), alongside FLUX.1-dev—against their public RL-tuned checkpoints (like Flow-GRPO and DiffusionNFT).

To keep the game honest, the study introduces three strict guardrails:

  1. Separate Pickers and Judges: In practical deployments, the model picking the best image out of $N$ (here, an 8B-parameter InternVL3.5 VLM) is never the same model judging final accuracy. (The author also tests a theoretical "perfect picker" that peaks at the judges' answers to establish an upper bound).
  2. Diverse Judges + Humans: Automated evaluations rely on both a VLM judge (Qwen3-VL-8B) and an open-vocabulary object detector (OWLv2) agreeing. Because automated metrics have blind spots, human annotators also blindly labeled 6,371 images across three rigorous checks.
  3. Pre-registration: Key hyperparameters—like the base model's guidance scale, the $N=16$ serving budget, and the primary statistical test—were locked into a time-stamped repository before generating a single test image.

Datasets

Instead of reusing standard GenEval prompts that the RL models were trained on, the author built a fresh evaluation set of 398 test prompts following GenEval templates:

  • 258 known-object prompts: Harder, unseen compositions (e.g., three color bindings, counts of five) of standard COCO objects that the RL reward detector recognizes.
  • 140 new-object prompts: Everyday objects pulled from the LVIS dataset that the RL detector cannot recognize.
  • 200 text-rendering prompts: Used for a secondary OCR-reward task, testing character lengths up to 53 characters (nearly double what the RL model saw during training).

Key Insights and Ideas

  • The Exchange Rate Splits by Prompt Type: Averaging across all prompts hides a massive divide. When prompts don't specify spatial positions (four-fifths of the dataset), a human looking through just 3 base images—or a VLM picking from 16—matches one RL image. On spatial prompts ("above", "left of"), the base model's layout intuition is terrible, and RL leaves sampling in the dust. Human search across N base images vs one RL image
  • Automated Judges Fail in Opposite Directions: When evaluating best-of-16 against RL, the detector judge exaggerates RL's lead (nearly doubling the gap humans see) because it shares architectural biases with the RL training reward. Meanwhile, the VLM judge erases the gap entirely—falling for the VLM picker's blind spots and passing flawed best-of-16 images (like a mouse sitting inside a bowl instead of above it). Examples of human vs automatic judge disagreements
  • RL Acts in the Opening Steps: By swapping between the base and RL models mid-generation, the author found that RL does almost all its heavy lifting in the first ~8 (of 40) denoising steps, where coarse spatial layout is locked in. Rather than nudging "near-miss" images over the finish line, RL fundamentally alters early structural layout.
Figure 2. A person looks for a correct image among N base images. Blue: share of prompts for which at least one of the first N base images is correct, as judged by a person. Orange: share of prompts for which one RL image is correct. Bands are 95% bootstrap intervals of each share; Tab. S25 gives the differences. Over all prompts the base model reaches one RL image at about 8 images, where our series end. Without a position about 3 images are enough, and with a position 8 are far from enough. One person per prompt judged the base images one after another, which may favour the base model somewhat (Supp. Sec. J).
Figure 3. Four prompts from the first human check. Top: the image that the VLM picker chose from 16 base images. Bottom: one RL image. Under each image: verdicts of people (P), the detector judge (D) and the VLM judge (V). Left to right: only RL is right; the VLM judge passes a wrong pick; the detector judge fails a correct pick; only best-of-16 is right.

Key Results

  • With a Perfect Picker: Across all 398 prompts, the base model matches one RL image (68.0% vs. 41.2% single-image accuracy) at an exchange rate of $N^\star = 7.5$ samples (and $N^\star = 6.4$ on FLUX.1-dev).
  • With a Practical VLM Picker: Best-of-16 climbs to 58.8% under the strict dual-judge rule—trailing one RL image by 9.3 percentage points. Humans see a smaller, real gap of 5.5 to 6.5 points. Accuracy curves and judge discrepancies
  • The Spatial Divide: When humans inspect up to 8 base images on position prompts, they find a winner only 51.9% of the time, compared to 92.4% for a single RL image.
  • Reach & Compute Payback: In 128 tries, RL solves 20 prompts the base model completely misses; giving the base model 1,024 tries recovers half of them, showing RL mostly turns ultra-rare successes into common ones. Because best-of-16 costs 16.4$\times$ more per prompt, 1,000 GPU-hours of RL training pays for itself after serving roughly 134,000 prompts.

Limitations and Future Work

The experiments center mainly on SD3.5-M and public RL checkpoints, meaning the author couldn't vary the duration of RL training. Additionally, all prompts follow structured GenEval templates, which naturally favors models trained on those exact phrasings. The evaluations strictly check prompt alignment rather than aesthetic quality—and the author notes that RL noticeably reduces output diversity (32 RL samples yield about 3.1 visually distinct images, versus 4.3 for the base model). Future work might explore step-by-step VLM critics or tree-search samplers, though any inference-time search will still require hand-checked evaluations so VLM pickers don't fool VLM judges.

Summary updated

BibTeX
@misc{bhatnagar2026how,
  author = {Salil Bhatnagar},
  title = {{How Many Samples Is RL Worth? Best-of-N versus RL Post-Training for Text-to-Image Models}},
  year = {2026},
  eprint = {2611.33232},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33232},
}
Figure