In the world of Large Language Models (LLMs), we’ve learned that giving a model more time to "think"—through techniques like Chain-of-Thought—leads to better answers. But in image generation, we’ve historically hit a wall. Once a diffusion or flow-matching model is trained, adding more sampling steps at inference time only improves quality up to a certain point before results plateau.
A new paper, "Scout-Refine-Correct: Teaching Flow Models to Refine Their Own Samples," introduces a training recipe that finally allows image generators to spend extra inference-time compute productively. By teaching the model to look ahead and refine its own trajectory, the authors achieve massive quality gains without needing external verifiers or reward models.
TL;DR
Scout-Refine-Correct (SRC) is a training framework that enables flow-matching models to perform inference-time refinement by "scouting" ahead, self-conditioning on those future estimates, and using specialized correction losses to stay on track. On ImageNet-256, it slashes the FID score from 14.5 to 7.26, matching the performance of "oracle" systems that pick the best of many samples.
What Problem Does This Paper Address?
Standard image generation models (like Stable Diffusion or Flux) follow a fixed trajectory from noise to an image. At test time, your only "knob" for quality is the number of sampling steps. However, these models are typically trained only on the "ground-truth" path. When a model makes a small error during sampling, it drifts off-path into states it never saw during training. Taking more steps often just compounds these errors or leads to a quality plateau.
The authors wanted to find a way to make "inference-time scaling" work for images—allowing a model to use extra computation to actually fix its mistakes and improve its final output, much like how an LLM can catch its own errors in a reasoning trace.
Methods
The SRC pipeline consists of three main phases, illustrated in the conceptual scheme below:
- Scout: At any given step, the model takes a "scout rollout"—it jumps $K$ steps ahead along its current trajectory to see where it's heading. It then extrapolates a rough estimate ($\hat{s}$) of the final clean image from that future point.
- Refine (Self-Condition): The model then goes back to the current step and re-runs the jump, but this time it is "self-conditioned" on its own scout signal $\hat{s}$. This allows the model to use its future "hindsight" to inform its current move.
- Correct: This is the crucial training innovation. The authors apply two correction losses (using an algorithm called ReNoiseCorrect). Instead of just training on the perfect ground-truth path, they supervise the model at the actual, drifted states reached during its own rollouts. They "re-noise" these off-path points back toward the true data, teaching the model how to recover from its own sampling errors.
Datasets
The researchers evaluated their method on ImageNet-256, a standard benchmark for class-conditional image generation. They used LightningDiT-B as their base architecture.
Key Insights and Ideas
- The Correction Loss is Non-Negotiable: Simply adding refinement rounds at inference time doesn't work if the model wasn't trained for it. As shown in Figure 2, without the correction losses, quality saturates almost immediately. The model needs to be taught how to handle its own imperfect, self-generated signals.
- Off-Path Supervision: The "aha moment" here is that the model must be trained on the states it actually visits during inference. By supervising these "off-path" points, the model learns a vector field that pulls drifted samples back toward the valid data manifold.
- Structural vs. Stylistic Changes: Unlike simply increasing the Classifier-Free Guidance (CFG) scale—which usually just boosts contrast and saturation—SRC refinement actually changes the pose, composition, and fine structure of the image (see Figure 6 in the paper). It is a fundamental improvement in "reasoning" about the image content.
Key Results
The quantitative improvements are striking. As seen in Figure 3, SRC creates a new frontier for the trade-off between quality (FID) and compute (Number of Function Evaluations, or NFE).
- Single-Sample Performance: SRC improved the base model's FID from 14.5 to 7.26 at 550 NFE. This is competitive with a "best-of-N" oracle that generates many images and uses a privileged verifier to pick the best one.
- Scaling Further: When SRC is combined with a best-of-N approach, it reaches a new global best FID of 3.81 at 4400 NFE.
- Visual Coherence: Qualitatively, SRC refinement significantly improves the readability and coherence of objects. In the examples below, notice how the refined images (left) resolve structural issues that the baseline (right) cannot.
Limitations and Future Work
- Inference Cost: SRC requires more model evaluations (NFE) per step because of the scout rollouts and refinement rounds. While it uses compute more productively than standard sampling, it is still slower than a single-pass generation.
- Training Complexity: The three-stage training schedule (pretraining, fixed-depth SRC, then variable-depth SRC) is more complex than standard flow matching.
- Text-to-Image: This study focused on class-conditional generation (ImageNet). Extending this to complex text-to-image prompts (like those used in Stable Diffusion 3 or Flux) is a logical and exciting next step, as "reasoning" about complex prompt alignment is a major current challenge.
In summary, Scout-Refine-Correct provides a principled way to trade compute for quality in generative modeling, moving us closer to image models that can "think" before they draw.
Summary updated