ReFlex: Text-Guided Editing of Real Images in Rectified Flow via Mid-Step Feature Extraction and Attention Adaptation

Jimyeong Kim, Jungwon Park, Yeji Song, N. Kwak, W. Rhee
7/1/2025
21 citations
diffusion-flow

No official code found. Best implementation: wlaud1001/ReFlex (39 stars, Python, last commit 2025-08-01).

Abstract

Rectified Flow text-to-image models surpass diffusion models in image quality and text alignment, but adapting ReFlow for real-image editing remains challenging. We propose a new real-image editing method for ReFlow by analyzing the intermediate representations of multimodal transformer blocks and identifying three key features.

Show full abstract

To extract these features from real images with sufficient structural preservation, we leverage mid-step latent, which is inverted only up to the mid-step. We then adapt attention during injection to improve editability and enhance alignment to the target text. Our method is training-free, requires no user-provided mask, and can be applied even without a source prompt. Extensive experiments on two benchmarks with nine baselines demonstrate its superior performance over prior methods, further validated by human evaluations confirming a strong user preference for our approach.

View on arXivView PDF

Code Implementations(1)

wlaud1001/ReFlexCommunity68%

[ICCV 2025, Highlight] Official Pytorch implementation of the paper: "ReFlex: Text-Guided Editing of Real Images in Rectified Flow via Mid-Step Feature Extraction and Attention Adaptation"

396Python, ShellJul 1, 20251 years ago

Similar Papers

Cite this paper

@article{kim2025reflex,
  title  = {ReFlex: Text-Guided Editing of Real Images in Rectified Flow via Mid-Step Feature Extraction and Attention Adaptation},
  author = {Jimyeong Kim and Jungwon Park and Yeji Song and N. Kwak and W. Rhee},
  year   = {2025},
  eprint = {2507.01496},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2507.01496},
  journal = {IEEE International Conference on Computer Vision}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.01496.svg)](https://codeofpaper.com/paper/2507.01496)

Discussion