TL;DR
When you fine-tune an image generator using rewards, it quickly figures out one specific style or layout that scores well and forgets how to draw anything else. RefMix breaks this echo chamber by letting the original, un-tuned model sketch the initial composition before handing the brush over to the reward-tuned model to finish the details. Without changing the loss function or adding extra compute, this simple handoff yields up to 44% higher visual diversity at the exact same reward levels.
What Problem Does This Paper Address?
Suppose you ask an image model for "a photo of a bowl." Before fine-tuning, you get ceramic bowls, wooden bowls, top-down angles, and side views. Now, fine-tune that model to maximize an alignment or aesthetic score using online forward matching—a popular paradigm for flow-based models where the model generates a batch of images ("endpoints"), scores them, adds noise back to them, and trains itself to reconstruct the winners.
Because the model generates its own training targets on the fly, it falls into a self-reinforcing feedback loop. If dark ceramic bowls happen to score slightly higher early on, the model shifts its probability mass toward them. In the next round, alternative bowls are less likely to even show up in the training batch. And if a visual concept isn't in the batch, no clever loss function or reward-reweighting trick can rescue it—you can't upweight a sample that was never generated. Gradually, diversity collapses.
Methods
Instead of inventing a new diversity penalty or generating massive candidate pools to filter through, the authors intervene upstream: how training candidates enter the pool in the first place.
Why not just mix in pre-generated images from the original frozen "reference" model? The authors test this ("offline reference bank") and show it fails for two reasons:
- Reward mismatch: As the fine-tuned model improves, static reference images start looking mediocre by comparison, earning negative relative advantages and getting ignored.
- Distribution drift: Static reference images drift too far from what the evolving model knows how to generate, creating massive velocity residuals that destabilize regression.
Enter RefMix, an online hybrid sampling strategy:
- The Relay Race (Hybrid Rollout): In flow and diffusion models, early high-noise steps dictate coarse layout and low-frequency structure, while later steps refine textures and details. To generate an auxiliary candidate, RefMix uses the frozen reference model for the first $10\%$ of denoising steps (setting a diverse stage), then switches to the current reward-tuned model for the remaining $90\%$ (finishing it with high-reward polish).
- Pool Mixing: For each prompt's training batch of size $N$, RefMix populates $75\%$ ($\alpha = 0.75$) of the pool with these hybrid candidates and $25\%$ with standard on-policy rollouts.
- Drop-in Simplicity: Once this mixed batch is generated, everything else stays completely standard—same task reward, same number of denoising evaluations, and the exact same forward-matching regression loss (tested across NFT, AWM, and RAM). At inference time, RefMix uses the same $10\%$ reference prefix.
Datasets
Rather than training on static image datasets, online reward fine-tuning optimizes prompts against automated evaluators. Using Stable Diffusion 3.5 Medium (with LoRA), the authors train and evaluate on three standard prompt/reward benchmarks:
- PickScore: Evaluates general human visual preference.
- GenEval: Tests object-focused compositional text-to-image alignment (e.g., counting, spatial relations, colors).
- OCR: Evaluates text rendering accuracy (following the FlowGRPO setup).
No new datasets are introduced, though the authors define a reward-aware diversity metric ($D_{\text{rew}}$) alongside standard DINOv3 cosine distance ($D_{\text{all}}$), LPIPS, and Vendi score, ensuring a model doesn't cheat diversity metrics by generating varied low-quality images.
Key Insights and Ideas
- The bottleneck is exposure, not scoring: Prior methods add perceptual entropy regularizers or filter giant batches. RefMix shows that simply ensuring alternative modes show up in a standard-sized batch solves collapse without touching the objective.
- It’s not just an inference trick: You can take a collapsed baseline model and apply the $10\%$ reference prefix only at test time to boost diversity. However, controlled ablations prove that training with RefMix shifts the entire Pareto frontier—teaching the model itself to complete diverse layouts cleanly rather than trading away reward at test time.
- Keep a foothold on-policy: Replacing $100\%$ of the training pool with hybrid samples ($\alpha = 1.0$) hurts GenEval rewards (dropping from $\sim 0.82$ to $0.586$). Keeping $25\%$ pure on-policy rollouts anchors the advantage calculations and stabilizes learning.
Key Results
Tested across three state-of-the-art forward matching algorithms (NFT, AWM, RAM), RefMix consistently boosts visual diversity while matching or beating baseline rewards:
- Matched-Reward Diversity Gains: Controlling for reward via inference interpolation on NFT, RefMix delivers +44.2% higher DINO diversity on GenEval, +40.1% on OCR, and +12.1% on PickScore compared to baseline training.
- Win-Win on Compositional Tasks: On GenEval with RAM, RefMix boosts DINO diversity by 71% (from $0.059$ to $0.101$) while simultaneously increasing target reward from $0.822$ to $0.837$. Qualitatively, where baselines drop objects (e.g., forgetting the laptop in "a book and a laptop"), RefMix captures both objects across varied camera angles.
- Why Offline Banks Fail: Diagnostic tracking confirms that an offline reference bank's regression error balloons to nearly $10\times$ that of current-model samples, tanking GenEval rewards (from $0.718$ down to $0.334$), whereas RefMix's residual stays within $16\%$ of on-policy samples throughout training.
Limitations and Future Work
While the authors do not include a dedicated limitations section, they explicitly note a few empirical trade-offs in their results:
- Metric and Objective Trade-offs: Higher DINO diversity doesn't universally improve every perceptual or auxiliary metric. On OCR, while RefMix improves DINO diversity and maintains or boosts OCR accuracy, LPIPS diversity dips slightly for NFT and AWM, and unoptimized auxiliary scores (CLIPScore, HPSv2, Aesthetic) decline slightly across all three methods. Similarly, AWM on GenEval trades a small dip in target reward ($0.815 \to 0.799$) for a massive $2.7\times$ jump in diversity.
- Hyperparameter Sensitivity: Longer reference prefixes (e.g., $k = 0.20$ or $0.30$) degrade the reward–diversity trade-off, meaning the switch point needs to stay confined to early high-noise steps. Future work is not explicitly discussed in the paper.
Summary updated