TReFT: Taming Rectified Flow Models For One-Step Image Translation

Shengqian Li, Ming Gao, Yi Liu, Zuzeng Lin, Feng Wang, Feng DaiarXiv 2025 · DOI

Introduction

Image-to-image (I2I) translation—the process of mapping an image from one domain to another while preserving its underlying structure—is a cornerstone of computer vision. Traditionally, this has required multi-step denoising processes in diffusion models, which are computationally expensive and slow. While "one-step" methods like CycleGAN-Turbo have successfully accelerated standard diffusion models (e.g., SD-Turbo), they encounter a significant hurdle when applied to the newer, more powerful Rectified Flow (RF) models such as SD3.5 and FLUX.

The Challenge: Objective Mismatch

The authors identify a fundamental "objective mismatch" that prevents standard adversarial finetuning from working with RF models. Pretrained RF models are designed to learn a linear flow from pure noise to a clean image. Standard finetuning attempts to force these models to learn a flow between two distinct image domains. In latent space, these two directions are nearly orthogonal, leading to unstable training and a failure to converge.

Comparison of finetuning strategies: (a) standard diffusion, (b) the failing vanilla approach for RF models, and (c) the proposed TReFT method which directly utilizes velocity at t=1.

The TReFT Strategy

The core innovation of TReFT (Taming Rectified Flow) stems from a simple yet profound observation: at the very end of the denoising process ($t \to 1$), the velocity predicted by an RF model is almost identical to the final clean image.

Instead of using the standard denoising step, which predicts a small "delta" to move from noise toward an image, TReFT directly utilizes the model's velocity output $v_\theta(z_1, 1)$ as the translated image. This aligns the training objective with the model's internal pretraining logic, making adversarial finetuning significantly more stable and effective.

Key Methodological Components

  • Theoretical Foundation: The authors provide mathematical proof showing that the conditional expectation of the flow-matching target converges to the clean image latent as the timestep approaches 1.
  • Latent-Space Efficiency: To maintain the content of the source image, TReFT employs Latent Cycle-Consistency and Latent Identity losses. By computing these directly in the latent space rather than pixel space, the method avoids slow VAE decoder passes and reduces memory overhead.
  • Architectural Pruning: Analysis of the Multimodal Diffusion Transformer (MM-DiT) revealed that early blocks are largely text-agnostic. By removing text branches from the first 18 blocks, the authors achieved a ~16% inference speedup with no loss in quality.

Empirical Results

TReFT demonstrates superior performance across both paired and unpaired translation tasks, including Horse2Zebra, Day2Night, and Edge2Photo.

Training dynamics showing FID scores over time. TReFT enables stable convergence and significantly lower FID for Rectified Flow models compared to vanilla finetuning.

As shown in the training curves, vanilla finetuning of RF models like FLUX and Perflow often fails to improve FID scores (remaining flat), whereas TReFT enables rapid and deep convergence. On an NVIDIA A800 GPU, TReFT performs one-step inference in just 132ms, making it highly suitable for real-time applications. Qualitatively, the model avoids common artifacts like "double moons" or structural distortions, achieving a DINO-Struct score of 2.2 on Horse2Zebra, far surpassing previous benchmarks.

Conclusion

TReFT successfully bridges the gap between high-performance Rectified Flow models and the efficiency of one-step image translation. By "going with the flow" of the model's pretraining rather than fighting it, TReFT sets a new standard for real-time, high-fidelity image editing. Future work may extend this approach to video-to-video translation and further hardware-specific optimizations.

Summary updated

BibTeX
@misc{li2025treft,
  author = {Shengqian Li and Ming Gao and Yi Liu and Zuzeng Lin and Feng Wang and Feng Dai},
  title = {{TReFT: Taming Rectified Flow Models For One-Step Image Translation}},
  year = {2025},
  eprint = {2511.20307},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.20307},
}
Figure