FlowBender: Feedback-Aware Training for Self-Correcting Conditional Flows

Daniel Gilo, Sven Elflein, Ido Sobol, Or LitanyarXiv 2026

TL;DR

FlowBender introduces a closed-loop framework for conditional diffusion and flow matching models by training the network to actively utilize its own alignment error as a first-class input. By learning a non-linear correction policy from inference-time feedback, it simultaneously improves both constraint fidelity and sample plausibility, breaking the traditional trade-off seen in standard guidance methods.

What Problem Does This Paper Address?

Conditional generative models (like diffusion and Flow Matching) are widely used to generate data aligned with specific constraints, such as generating an image from a depth map or texturing a 3D mesh based on a reference view. However, these models frequently suffer from a fundamental flaw: they fail to satisfy the very constraints that define their task. For example, a depth-conditioned model might generate an image from which the re-extracted depth map looks completely different from the input.

Existing solutions fall into two flawed paradigms:

  1. Open-Loop Training: Supervised models treat the conditioning signal as a static cue, meaning the network has no mechanism to evaluate or adjust its trajectory if it drifts away from the constraint during sampling.
  2. Inference-Time Guidance: These methods use the gradient of a distance metric to steer the trajectory at test time. However, because they rely on hand-tuned, rigid linear updates, they introduce a severe train-test discrepancy. Too little guidance fails to satisfy the constraint, while too much guidance pushes the samples entirely off the natural data manifold.
Figure 1: A conditional flow model is trained to sample from the 2D Archimedean spiral distribution shown in (a), which is partitioned by quadrant into four classes representing distinct radius ranges. (b–d) point colors denote the provided condition target classes. (b) FlowBender learns to internalize feedback from a radial guidance signal, achieving faithful alignment with both class constraints and the data manifold. (c) Standard conditional generation often violates class boundaries and misses the target distribution. (d) Inference-time (IT) Guidance satisfies radial constraints but drives samples off-manifold entirely. Insets showcase representative sampling trajectories for a green-class target, focusing on a specific velocity prediction at t = 0.7. The grey arrows (b, d) represent the first-pass or unconditional prediction, the purple arrow is the guidance component, and the green arrow is the final step taken. In (d), guidance dominates, pushing the final sample (large green dot) off-manifold. While the standard model (c) misses both the class and data distribution, our framework (b) learned to aggregate the components to arrive safely at the correct class within the data manifold. See Appendix A.1 for further details.

Methods

FlowBender solves this by transforming the generation process into a closed-loop system via a Two-Pass Feedback Loop:

  • Pass 1 (Look-ahead): At any given sampling step $t$, the model performs an unguided pass to estimate the clean signal ($\hat{x}_1$). This estimate is passed through the task's forward operator $\mathcal{H}$ (e.g., a depth predictor or renderer) to compute a task-specific deviation/error signal ($s_t$).
  • Pass 2 (Refine): The model consumes this error signal alongside the standard inputs to emit a corrected velocity ($v_{ref}$), bending the trajectory back toward the conditional manifold.
Overview of the FlowBender framework, illustrating the two-pass training strategy, feedback variants, and the efficient prior-step inference shortcut.

The authors propose three feedback variants:

  • First-Order Feedback: Uses the gradient of the alignment loss, either with respect to the noisy state $x_t$ or the clean estimate $\hat{x}_1$.
  • Zero-Order Feedback: Feeds the raw measurement-space error residual directly into the network. This derivative-free approach allows FlowBender to work with non-differentiable or black-box operators (e.g., JPEG compression).
  • Hybrid Feedback: Combines both first- and zero-order signals.

To mitigate the doubled computational cost of a two-pass architecture, the authors introduce a Prior-Step Shortcut. Because error signals are highly correlated across consecutive timesteps, the model can bypass the look-ahead pass for later stages of generation by reusing the cached estimate from the previous step. At its extreme ($t_{thresh}=0$), this reduces the inference cost to just $N+1$ function evaluations for an $N$-step trajectory.

Datasets

The framework was evaluated across two primary domains:

  • Image-to-Image Translation & Restoration: Evaluated on the Unsplash-25K dataset (20k training, 5k test images) across four tasks: super-resolution, depth-to-RGB, edge-to-RGB, and JPEG restoration.
  • 3D Mesh Texturing: Trained on 7,500 assets from the Objaverse dataset and evaluated on 100 held-out Objaverse assets and 100 assets from the Toys4K benchmark.

Key Insights and Ideas

  • Beyond Linear Guidance: Through orthogonal decomposition, the authors discovered that roughly 80% of FlowBender's correction energy lies orthogonal to the loss gradient. This proves the model isn't just automating hyperparameter tuning for standard gradient guidance; it is exploiting a complex, non-linear correction policy that scalar-weighted schemes cannot replicate.
  • Breaking the Fidelity-Plausibility Trade-off: Traditional guidance methods act like a tug-of-war—improving adherence to the constraint (fidelity) destroys the natural look of the image (plausibility). FlowBender improves both axes simultaneously because it learns how to correct errors without leaving the data manifold.

Key Results

  • Image-to-Image Translation: FlowBender variants consistently outperformed standard fine-tuning and state-of-the-art inference guidance (FlowChef). For example, on the Super Resolution task, FlowBender achieved a 44.07 PSNR compared to Standard Fine-Tuning's 34.35 PSNR, while simultaneously maintaining a highly competitive FID score.
  • Non-Differentiable Constraints: On JPEG restoration (where gradient-based methods fail entirely), the Zero-Order FlowBender variant improved PSNR from 26.29 (Standard FT) to 28.86 and reduced FID from 4.35 to 3.80.
  • 3D Mesh Texturing: When integrated with the TRELLIS-2 architecture, FlowBender significantly improved multi-view plausibility and single-view fidelity, dropping the Objaverse multi-view FID from 8.74 (Standard FT) to 6.64.

Limitations and Future Work

Despite its inference efficiency via the prior-step shortcut, FlowBender still requires an additional model evaluation per iteration during the training phase to generate the look-ahead feedback signal. This effectively doubles the computational budget required for fine-tuning. The authors suggest that future work should explore training schemes that directly utilize cached prior-step predictions during the optimization loop to achieve single-pass efficiency across both training and inference.

Summary updated

BibTeX
@misc{gilo2026flowbender,
  author = {Daniel Gilo and Sven Elflein and Ido Sobol and Or Litany},
  title = {{FlowBender: Feedback-Aware Training for Self-Correcting Conditional Flows}},
  year = {2026},
  eprint = {2606.20404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.20404},
}
Figure