Manuscript Offprint

arXiv:2610.41598

Scout-Refine-Correct: Teaching Flow Models to Refine Their Own Samples

Sergey Karpukhin, Aibek Alanov

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The quality of image generation models trained with diffusion or flow matching is largely fixed by the training budget: at inference, the only available lever is the number of sampling steps, and additional steps improve quality only up to a point. We present a training recipe, Scout-Refine-Correct (SRC), that instead gives a flow-matching generator a genuine inference-time refinement capability. At each sampling step the model takes a scout rollout – K steps ahead along its own trajectory – extrapolates a full-sample estimate, and feeds that estimate back to itself as a self-conditioning signal before taking the real step. This can be repeated for R refinement rounds. Two correction losses, applied during training at states the model's own rollouts actually reach rather than only on the ground-truth path, teach the model to use this signal to reach new samples instead of collapsing to a suboptimal one. On ImageNet-256, SRC improves LightningDiT-B from FID 14.5 to FID 7.26 at NFE 550, matching a privileged best-of-N baseline that uses an oracle FID verifier to choose among samples. SRC uses no external verifier, no reward signal, and, after ablation, almost no extra parameters over the base

architecture. Combining SRC with best-of-N improves the result further, to FID 3.81 at NFE 4400, showing that the two axes are complementary. We ablate the main design choices – the architectural pathway for the scout signal, the scout horizon, each correction loss, and the training schedule to demonstrate key working components of training.

1. Introduction

A recent finding in language modeling is that accuracy can scale with how much the model is allowed to compute at inference time - not just with parameter count or training compute. Chain-of-thought prompting [23] and self-consistency [22] spend that compute as extra generated tokens. Later models learn the behavior itself, either by outcome-reward reinforcement learning [9] or by supervised training on reasoning traces [20]. No handwritten chain of thought is required at test time: the model learns, from training, that spending more of its own intermediate computation pays off. We use the word reasoning in exactly this sense throughout this paper - not textual chain-of-thought, but test-time compute that a trained model has learned to spend productively on improving its own answer - and ask whether an analogous capability can be trained into image generators.

Flow matching [17, 18] is now a standard way to train those generators, including large text-to-image systems [5, 14], and it extends to video [11] and to discrete data [7, 15]. Self-conditioning [1], in which the model conditions on its own previous estimate, is a natural place to spend extra computation inside the sampler. Prior attempts to bring reasoning to image generation usually rely on working with prompt conditioning. Reflection and prompt-refinement pipelines [13, 16] iterate with an auxiliary model, while the image model's own forward computation is untouched. Closer to our setting, inference-time scaling has been studied by sampling many candidates and selecting among them with a verifier [19] - this is also the source of the FID-oracle best-of-N baseline we compare against throughout this paper. Critically, that approach is a pure inference-time search: no training changes, and it is bounded by whatever diversity the base model's sampling distribution already contains. It therefore cannot discover behavior the base model was never trained to produce. Looped and recursive networks build the extra computation into the architecture instead [2, 3, 6, 8, 12].

Our direction is to push the refinement signal into the training objective itself, for pure class-conditional image generation (deliberately simpler than text-to-image, so the effect is not confounded with prompt-level search). We keep the architecture close to the base model and implement the loop at the level of trajectory integration. We train the model so that, at inference, it can look K steps ahead along its own sampling trajectory, extrapolate a tentative full-sample estimate from that look-ahead, and condition its very next step on that estimate - with two correction losses supervising exactly the states this look-ahead-and-condition loop actually visits, while not relying on external reward model, human feedback or architectural modifications to the model.

References (22)