Test-Time Scaling of Text-to-Image Flow Matching Models with Noise-Rejuvenated Sequential Monte Carlo
Organizations: Department of Information Technology Uppsala University, Sweden · Department of Computer and Information Science Linköping University, Sweden
Abstract
Test-time scaling of diffusion models with sequential Monte Carlo (SMC) has become a promising strategy for sampling under user-specified rewards, such as human preference scores. However, the standard SMC framework typically relies on stochastic proposals and therefore does not directly transfer to flow matching models, in which inference is governed by deterministic ODEs. In this work, we introduce noise-rejuvenated SMC, an inference-time scaling method tailored for text-to-image flow matching models. Our key idea is to perturb each resampled particle by changing its source noise and constructing a new intermediate state using its current endpoint estimate. This moves the particle to another state that remains representable under the flow-matching interpolation form, enabling particle exploration without converting the sampler to an SDE. We further introduce a look-ahead mechanism to refine resampled particles before weighting. Experiments on Stable Diffusion 3, FLUX.1-dev, and Z-Image demonstrate consistent improvements in reward-guided generation, while ablation studies validate the contributions of noise rejuvenation and look-ahead refinement. Code is available at https://github.com/shermanlian/NR-SMC.
Figures & tables
| Backbone | Method | GenEval | ImageReward | HPSv2 | Correct Image |
|---|---|---|---|---|---|
| SD3 | Vanilla | 0.718 | 1.081 | 0.302 | 0.707 |
| FK-Diffusion | 0.636 | 1.080 | 0.293 | 0.624 | |
| Ours | 0.748 | 1.268 | 0.309 | 0.738 | |
| FLUX.1-dev | Vanilla | 0.663 | 0.986 | 0.306 | 0.646 |
| FK-Diffusion | 0.467 | 0.953 | 0.288 | 0.450 | |
| Ours | 0.673 | 1.218 | 0.309 | 0.656 |
| Objects | |||||||
| Model | Overall | Single | Two | Counting | Colors | Position | Color Attr. |
| minDALL-E | 0.23 | 0.73 | 0.11 | 0.12 | 0.37 | 0.02 | 0.01 |
| SD v1.5 | 0.43 | 0.97 | 0.38 | 0.35 | 0.76 | 0.04 | 0.06 |
| PixArt-alpha | 0.48 | 0.98 | 0.50 | 0.44 | 0.80 | 0.08 | 0.07 |
| SD v2.1 | 0.50 | 0.98 | 0.51 | 0.44 | 0.85 | 0.07 | 0.17 |
| DALL-E 2 | 0.52 | 0.94 | 0.66 | 0.49 | 0.77 | 0.10 | 0.19 |
| Method | Color | Shape | Texture | ||||||
|---|---|---|---|---|---|---|---|---|---|
| BVQA | ImageReward | HPSv2 | BVQA | ImageReward | HPSv2 | BVQA | ImageReward | HPSv2 | |
| SD3 | 0.812 | 1.443 | 0.314 | 0.590 | 0.977 | 0.282 | 0.734 | 1.110 | 0.280 |
| + Ours | 0.820 | 1.563 | 0.318 | 0.641 | 1.280 | 0.290 | 0.760 | 1.327 | 0.288 |
| FLUX.1-dev | 0.768 | 1.342 | 0.312 | 0.497 | 0.691 | 0.274 | 0.635 | 0.856 | 0.286 |
| + Ours | 0.915 | 1.465 | 0.310 | 0.536 | 0.975 | 0.280 | 0.650 | 1.164 | 0.290 |
| Z-Image | 0.821 | 0.925 | 0.291 | 0.606 | 0.665 | 0.256 | 0.761 | 0.580 | 0.254 |
| Model | Method | NFE | Avg. Time (s) | GenEval | ImageReward | HPSv2 |
|---|---|---|---|---|---|---|
| SD3 | Ours(w/o LA) | 200 | 35.10 | 0.742 | 1.261 | 0.308 |
| Ours(w/ LA) | 228 | 46.25 | 0.748 | 1.268 | 0.309 | |
| FLUX.1-dev | Ours(w/o LA) | 200 | 95.96 | 0.667 | 1.192 | 0.307 |
| Ours(w/ LA) | 228 | 109.32 | 0.673 | 1.218 | 0.309 |
| With Look-ahead | Without Look-ahead | |||||
|---|---|---|---|---|---|---|
| Number of Particles | GenEval | ImageReward | HPSv2 | GenEval | ImageReward | HPSv2 |
| 0.720 | 1.079 | 0.304 | 0.706 | 1.063 | 0.303 | |
| 0.748 | 1.268 | 0.309 | 0.742 | 1.261 | 0.308 | |
| 0.761 | 1.322 | 0.311 | 0.740 | 1.323 | 0.309 | |
| 0.766 | 1.347 | 0.311 | 0.763 | 1.348 | 0.311 | |
| Method | |||
|---|---|---|---|
| Best-of- | 1.227 | 1.369 | 1.438 |
| Ours | 1.255 | 1.374 | 1.448 |
| Method | LPIPS | IR |
|---|---|---|
| SD3 | 0.688 | 1.081 |
| SMC w/o rejuvenation | 0.154 | 1.282 |
| SMC w/ rejuvenation | 0.367 | 1.268 |
| FLUX | 0.605 | 0.986 |
| SMC w/o rejuvenation | 0.187 | 1.243 |
| SMC w/ rejuvenation | 0.364 | 1.218 |
| Method | ImageReward | HPSv2 | NFE | Wall-clock time (s) | Peak GPU memory (GiB) |
|---|---|---|---|---|---|
| Vanilla-50 | 1.0773 | 0.3023 | 50 | 3.73 | 20.46 |
| Vanilla-200 | 1.0792 | 0.3032 | 200 | 13.84 | 20.46 |
| Best-of- | 1.3696 | 0.3097 | 200 | 14.59 | 26.11 |
| FK-Diffusion | 1.2536 | 0.2965 | 200 | 18.53 | 27.78 |
| Diffusion Tree Sampling | 1.2344 | 0.2951 | 218 | 16.40 | 25.16 |
| Ours (w/o Look-ahead) | 1.3734 | 0.3103 | 200 | 18.18 | 27.78 |
| Method | ImageReward | HPSv2 | NFE | Wall-clock time (s) | Peak GPU memory (GiB) |
|---|---|---|---|---|---|
| Vanilla-50 | 1.1841 | 0.2925 | 50 | 3.75 | 20.46 |
| Vanilla-200 | 1.2028 | 0.2937 | 200 | 13.98 | 20.46 |
| Best-of- | 1.4826 | 0.2979 | 200 | 14.70 | 26.11 |
| FK-Diffusion | 1.2691 | 0.2853 | 200 | 17.82 | 27.78 |
| Diffusion Tree Sampling | 1.2608 | 0.2848 | 218 | 16.43 | 25.16 |
| Ours (w/o Look-ahead) | 1.4944 | 0.2995 | 200 | 17.54 | 27.78 |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Schedule | GenEval | ImageReward | HPSv2 | |||
| Early | 5 | 0 | 30 | 0.737 | 1.262 0.108 | 0.309 0.007 |
| Mid (default) | 5 | 5 | 35 | 0.748 | 1.268 0.106 | 0.309 0.007 |
| Late | 5 | 20 | 50 | 0.721 | 1.261 0.123 | 0.305 0.009 |
| Uniform window | 5 | 10 | 40 | 0.740 | 1.288 0.102 | 0.308 0.007 |
| Full window | 5 | 0 | 50 | 0.737 | 1.265 0.113 | 0.309 0.007 |
| Narrow, dense | 3 | 10 | 28 | 0.748 | 1.276 0.106 | 0.308 0.008 |
| Number of Particles | NFE | Avg. Time (s) | GenEval | ImageReward | HPSv2 |
|---|---|---|---|---|---|
| 114 | 0 18.11 | 0.720 | 1.079 | 0.304 | |
| 228 | 0 46.25 | 0.748 | 1.268 | 0.309 | |
| 456 | 0 68.14 | 0.761 | 1.322 | 0.311 | |
| 912 | 135.59 | 0.766 | 1.347 | 0.311 |
| Method | GenEval | ImageReward | HPSv2 |
|---|---|---|---|
| SD3 | 0.718 | 1.081 | 0.302 |
| Local perturb ( = 0.1) | 0.718 | 1.081 | 0.302 |
| Local perturb ( = 0.5) | 0.729 | 1.267 | 0.310 |
| Local perturb ( = 1.0) | 0.589 | 0.794 | 0.279 |
| Noise rejuvenation (Ours) | 0.748 | 1.268 | 0.309 |
Inference-Time Scaling
Inference-time scaling studies how extra computation during deployment can improve model performance through search, sampling, verification, or adaptive reasoning.
See all 115 papers