RefMixExpanding Endpoint Proposals for Diversity‑Preserving Reward Fine‑Tuning

Jaemin Kim1,2,† Christian Simon2 Dongseok Shim2 Wei-Yao Wang2 Qiyu Wu2 Masato Ishii2 Shusuke Takahashi2 Jong Chul Ye1,* Yuki Mitsufuji2,*

1KAIST    2Sony Group Corporation

†Work done during an internship at Sony Group Corporation  ·  *Corresponding authors

RAM on GenEval, “a photo of a bowl”, over 30 training updates, with the same initial noise in each column. Baseline samples converge to one look; RefMix keeps varied glazes, contents and backgrounds.

Abstract

Online forward matching fine-tunes a flow model on its own reward-scored samples. As high-reward modes take over, alternative modes stop appearing in the training pool and visual diversity shrinks. RefMix fills part of each pool with hybrid samples, which the frozen reference model starts at high noise and the current model finishes, and leaves the reward and the training objective unchanged. Across NFT, AWM and RAM, RefMix improves visual diversity while largely preserving reward, with up to 44% higher diversity at comparable reward.

Reward goes up, diversity goes down

As the reward rises, the samples for a prompt become nearly identical.

Baseline RAM on GenEval. As the reward rises to 0.82, DINO diversity falls to 0.06.

Why: rare modes drop out of the training pool

A visual mode that the current model produces with probability \(p\) appears in a pool of \(N\) samples with probability

\[ 1-(1-p)^N \;\approx\; Np . \]

With \(N=24\) and \(p=1\%\), it is missing from about 79% of pools. A missing mode gets no direct training signal, becomes rarer, and the loop continues.

2D toy: the two end modes (orange) have high reward. NFT sends most samples to one of them; RefMix keeps both. One training run shown.

RefMix: the reference model starts, the tuned model finishes

RefMix changes only where training samples come from. The first high-noise steps set the coarse layout, so running them with the frozen reference model can bring back layouts that the tuned model no longer produces.

RefMix pipeline: ordinary and hybrid sampling fill the training pool, which is scored, re-noised and fitted with the endpoint and anchor regressions.

Forward matching normally trains on samples from the current model, \(x_0\sim P_n\). RefMix draws them from a mixture with the hybrid sampler \(Q_n\):

\[ x_0\sim M_n=(1-\alpha)\,{\color{#2f6db5}P_n}+\alpha\,{\color{#3c9a5f}Q_n} . \]

With \(\alpha=0.75\), 18 of the 24 samples per prompt are hybrid and 6 are ordinary. Each reference call replaces a current-model call, so the cost is unchanged.

Ordinary and hybrid sampling from the same collapsed baseline RAM checkpoint and initial noise. With the reference model for the first 4 of 40 steps, samples leave the dark-bowl mode and keep the tuned model’s finish.

More diverse across methods and tasks

SD3.5-Medium with LoRA, three rewards and three forward matching methods. DINO diversity increases in all nine settings. Reward stays within 0.3% or improves, except AWM on GenEval (0.815 to 0.799).

Same noise, with and without RefMix

All 16 samples for one prompt; tiles at the same position share the initial noise.

Baseline
16 baseline samples
+ RefMix
16 RefMix samples

Quantitative results

TaskMethodReward ↑Diversity \(D_{\mathrm{all}}\) ↑
Baseline+ RefMixBaseline+ RefMix
PickScoreNFT22.5622.540.0840.099
AWM22.5622.610.0830.087
RAM22.7722.770.0770.086
GenEvalNFT0.7810.8110.0840.087
AWM0.8150.7990.0490.132
RAM0.8220.8370.0590.101
OCRNFT0.9330.9340.1020.114
AWM0.9320.9330.1570.167
RAM0.8330.8900.0890.115

\(D_{\mathrm{all}}\): mean pairwise DINOv3 distance among 16 samples per prompt, over 64 held-out prompts. LPIPS, Vendi and auxiliary rewards are in the paper.

Training, not just the sampler

The reference prefix can also be used at inference on any fine-tuned model, trading reward for diversity. With the same inference prefix on both NFT checkpoints, the RefMix-trained model gives 12.1%, 44.2% and 40.1% more DINO diversity at the reward of baseline inference on PickScore, GenEval and OCR.

Reward against DINO diversity for baseline-trained and RefMix-trained NFT checkpoints across inference prefixes on PickScore, GenEval and OCR.
Fixed NFT checkpoints across inference prefix fractions \(k\).

Text-to-video

Unchanged, RefMix carries over to NFT on Wan2.1-T2V-1.3B with the PickScore reward: PickScore rises from 21.26 to 21.47, with 20.3% more DINO diversity at the reward of baseline inference.

Middle frames of videos from four initial noises for three prompts, baseline and RefMix.
Middle frames of videos from four initial noises.