Unveil Inversion and Invariance in Flow Transformer for Versatile Image Editing

Pengcheng Xu, Boyuan Jiang, Xiaobin Hu, Donghao Luo, Qingdong He +5 more
2/9/2026

No official code found. Best implementation: Pengchengpcx/FTEdit (25 stars, last commit 2025-08-23).

Abstract

Leveraging the large generative prior of the flow transformer for tuning-free image editing requires authentic inversion to project the image into the model’s domain and a flexible invariance control mechanism to preserve non-target contents. However, the prevailing diffusion inversion performs deficiently in flow-based models, and the invariance control cannot reconcile diverse rigid and non-rigid editing tasks. To address these, we systematically analyze the inversion and invariance control based on the flow transformer. Specifically, we unveil that the Euler inversion shares a similar structure to DDIM yet is more susceptible to the approximation error. Thus, we propose a two-stage inversion to first refine the velocity estimation and then compensate for the leftover error, which pivots closely to the model prior and benefits editing. Meanwhile, we propose the invariance control that manipulates the text features within the adaptive layer normalization, connecting the changes in the text prompt to image semantics. This mechanism can simultaneously preserve the non-target contents while allowing rigid and non-rigid manipulation, enabling a wide range of editing types such as visual text, quantity, facial expression, etc. Experiments on versatile scenarios validate that our framework achieves flexible and accurate editing, unlocking the potential of the flow transformer for versatile image editing. Project Page is here.

View on arXivView PDF

Code Implementations(1)

[CVPR2025] Unveil Inversion and Invariance in Flow Transformer for Versatile Image Editing

250PythonNov 26, 20241 years ago
diffusion-transformerflow-matchingimage-editinginversionrectified-flow

Similar Papers

Cite this paper

@article{xu2026unveil,
  title  = {Unveil Inversion and Invariance in Flow Transformer for Versatile Image Editing},
  author = {Pengcheng Xu and Boyuan Jiang and Xiaobin Hu and Donghao Luo and Qingdong He and Jiangning Zhang and Chengjie Wang and Yunsheng Wu and Charles Ling and Boyu Wang},
  year   = {2026},
  eprint = {2411.15843},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2411.15843},
  journal = {CVPR 2024 2024}
}

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/2411.15843.svg)](https://codeofpaper.com/paper/2411.15843)

Discussion