arXiv(opens in a new tab)cs.CVOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.24750

CorrFlow: Self-Correcting Flow Matching

Hangwei Zhang, Nathan Rouillé, Chuanxia Zheng

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

ABSTRACT

Flow-matching models generate samples through iterative velocity predictions, but typically do not revisit these predictions using the intermediate representations that produced them. We introduce CORRFLOW, a self-correcting flow-matching framework that reuses this information through a lightweight refiner. Under rectified-flow interpolation, the error of the one-step clean prediction equals the realized velocity residual scaled by the noise level. Motivated by this identity, the refiner learns to predict residual corrections from the base model's clean prediction, conditioning, noise level and hidden states from the same forward pass. The correction is added to the base velocity before each sampling update, so subsequent predictions are made from the corrected state. This requires no additional base-model evaluations and only one lightweight refiner evaluation per step. Our theory gives conditions under which feature reuse outperforms raw-input affine predictors, refiner training outperforms continued base-model training at matched compute, and deployed correction lowers velocity error under its own sampler law. Experiments on class-conditional image generation, text-to-video generation and image-to-video generation show consistent improvements over the corresponding base models, including gains in visual quality and physical consistency. Project Page: https://fogradio.github.io/corrflow-project.

1 INTRODUCTION

Flow-matching models (Lipman et al., 2023; Liu et al., 2023) generate samples by learning a velocity field that transports noise toward the data distribution. Their simple regression objective has shown strong results in image (Esser et al., 2024), video (Wan et al., 2025), 3D (Xiang et al., 2025) and robotic action (Black et al., 2024). Yet generated content still exhibits structural errors, semantic mismatches and physical inconsistencies (Zheng et al., 2025; Sun et al., 2025; Motamed et al., 2026; Zhang et al., 2025a). Recent approaches improve generation quality through large-scale training (Esser et al., 2024), representation alignment (Yu et al., 2025), self-supervised feature learning (Chefer et al., 2026) and reward-based optimization (Yuan et al., 2026). They focus on improving the model's ability by learning only from the final answer, which is limited. This limitation can be attributed, in part, to the fact that the model must predict a single velocity to determine the next sample state, without any opportunity to review and revise its own predictions.

We therefore exploit the property that learning should be “refine-in-loop”, in the sense that if a student makes a mistake, e.g., in an examination, they should revisit the answer they wrote, the question they were asked, and the reasoning they followed. By examining these pieces of context together, the student can trace a mistake and determine how to revise it, rather than struggling with a final answer (Madaan et al., 2023; Zou et al., 2025). Inspired by the success of self-refinement in large language models (LLMs) (Madaan et al., 2023; Shinn et al., 2023), we apply this principle to flow matching. A flow-based generator already computes analogous information at each sampling step: an estimate of the clean sample→answer, the generation conditions→question and intermediate hidden states→internal state. The challenge is to define a correction target that can be supervised during training and predicted from these quantities without access to a clean reference during generation.

In this paper, we introduce CORRFLOW, a self-correcting flow-matching framework that attaches a lightweight refiner to the base generator. Our core insight is that the model's one-step clean prediction provides a concrete object for the review, with a direct mathematical connection to the correction we seek (Chen et al., 2022). Under rectified-flow interpolation, the error between this prediction and the

Figure

Figure 1: CORRFLOW learns from its own imperfect predictions. The base model's clean prediction (blue) deviates from the clean reference (orange arrow). The resulting correction shifts the prediction closer to the clean reference by −σκr^-\sigma\kappa\hat{r} (green arrow), where σ\sigma is the noise level and κ\kappa controls the correction strength. The initial noise is obtained by adding Gaussian noise to the clean reference.

clean sample is exactly realized velocity residual (eq. (4)) scaled by the noise level. This identity connects a mistake in the predicted sample to a correction in the velocity field. We first theoretically prove the relationship between the realized velocity residual and the clean prediction (section 3.1). In practice, the refiner is a transformer that predicts the velocity residual from three sources of information: i) the current answer, given by the one-step clean prediction, ii) the circumstances, given by the generation condition and noise level, and iii) the internal state, given by hidden states from the base model (Epstein et al., 2023). During joint training, clean samples and their sampled noise provide residual targets for the refiner, while the base model and refiner optimize separate objectives. During generation, the predicted residual adjusts the velocity used by the sampler before each state update. All refiner inputs reuse the same base-model forward pass, and each correction requires one additional refiner evaluation.

We empirically apply CORRFLOW to a wide range of applications, including image generation, text-to-video generation and image-to-video generation. Figure 1 illustrates how this review shifts the model's clean prediction through a correction of its velocity on image generation. We find that training a refiner improves the base model's performance on aesthetic quality and physics consistency of generated content. The strong performance across multiple tasks and datasets shows that velocity residual correction is generic. Our contributions are summarized as follows:

• We introduce CORRFLOW, a self-correcting flow-matching framework that learns velocity residuals from the base model’s current prediction, and applies the resulting corrections within the sampling loop.

• We theoretically establish conditions under which reusing base-model representations outperforms raw-input affine predictors, refiner training achieves greater residual-risk reduction than continued base-model training at matched compute, and deployed correction lowers velocity error under its own sampler-induced state law.

• We evaluate CORRFLOW on image and video generation benchmarks, demonstrating improvements in visual quality and physics consistency.

References (64)