SplitFlow: Flow Decomposition for Inversion-Free Text-to-Image Editing

Sung-Hoon Yoon, Minghan Li, Gaspard Beaudouin, Congcong Wen, Muhammad Rafay Azhar, Mengyu Wang

Abstract

Text-to-image editing of real-world images typically relies on inversion processes that are prone to semantic drift and visual distortion. Furthermore, complex prompts involving multiple attributes often suffer from gradient entanglement, where conflicting instructions lead to incomplete edits. We present SplitFlow, an inversion-free framework that semantically decomposes complex prompts into simpler sub-tasks. By recombining these sub-tasks through a conflict-aware aggregation mechanism—incorporating Latent Trajectory Projection (LTP) and Velocity Field Aggregation (VFA)—SplitFlow achieves superior editing fidelity and background preservation compared to current state-of-the-art methods.

Introduction

In the field of generative AI, editing a real image to match a specific text prompt (e.g., "make this dog wear sunglasses") remains a significant challenge. Most contemporary methods rely on inversion, a process that attempts to find the precise initial noise that generated a given image so it can be modified. However, inversion is rarely perfect; it frequently results in "semantic drift," where unintended parts of the image change, or "visual distortion," where the overall quality degrades.

Beyond the technical hurdles of inversion, complex prompts containing multiple attributes—such as "a German Shepherd with sunglasses jumping on grass"—introduce the problem of gradient entanglement. In these scenarios, the generative model attempts to satisfy all instructions simultaneously. Often, these instructions conflict within the model's latent space, leading to "under-edited" results where specific requested changes fail to manifest.

The SplitFlow Framework

SplitFlow addresses these issues by building upon Rectified Flow (RF) models, which are characterized by stable, straight-line generation paths. Unlike traditional methods, SplitFlow is inversion-free. It operates by calculating the difference between the "velocity" of the source image and the target prompt, effectively bypassing the error-prone inversion step.

The framework follows a two-stage process: Flow Decomposition and Flow Composition.

1. Flow Decomposition

Using a Large Language Model (LLM), such as Mistral-7B, SplitFlow breaks a complex target prompt into several simpler, atomic sub-prompts. For each sub-prompt, the system calculates an independent "flow" (a trajectory in latent space). This decomposition allows the model to focus on individual attributes without the interference of unrelated instructions.

2. Flow Composition

To ensure these independent flows result in a cohesive image rather than a fragmented one, SplitFlow introduces two mechanisms inspired by multi-task learning:

  • Latent Trajectory Projection (LTP): This mechanism projects the sub-target flows onto the direction of the main target prompt. This ensures that all sub-flows are moving toward the same global semantic goal, preventing the latent variables from drifting apart.
  • Velocity Field Aggregation (VFA): This component adaptively weights the different flows. If two sub-prompts are redundant, their influence is suppressed; if they point in distinct, complementary directions, they are emphasized. This "gradient surgery" resolves the conflicts that typically stall complex edits.

The process begins with a Decomposition Phase, where sub-flows are processed individually, and concludes with a Unified Flow Phase to ensure the final output is visually consistent.

Experimental Evaluation

The researchers evaluated SplitFlow using the PIE-Bench (Prompt-based Image Editing Benchmark), which consists of 700 images across ten editing categories, including style changes, object addition, and object deletion. Each entry includes a source image, source prompt, target prompt, and an editing mask.

SplitFlow was benchmarked against leading models, including FlowEdit, RF-Inversion, and FTEdit, utilizing both Stable Diffusion 3 (SD3) and SD3.5 as base models.

Key Results

  • Quantitative Performance: SplitFlow achieved state-of-the-art scores in Structure Distance and LPIPS, indicating superior preservation of the original image's structure. Simultaneously, it maintained high CLIP Similarity, proving that the final images closely matched the target text prompts.
  • Qualitative Superiority: In complex scenarios where baseline models failed—such as adding a hat to a specific historical portrait or changing the species of multiple animals while maintaining their spatial arrangement—SplitFlow successfully executed the edits without distorting the background or unrelated subjects.
  • Efficiency: As an inversion-free method, SplitFlow is significantly faster than optimization-based inversion techniques. While it requires approximately 1.5x the computation time of the basic FlowEdit baseline due to sub-flow calculations, the trade-off in quality is substantial.

Discussion and Insights

A primary insight of this work is the treatment of image editing as a multi-task learning problem. By applying techniques designed to resolve task contradictions in machine learning to generative flows, SplitFlow can navigate the trade-offs between different prompt instructions. Furthermore, the authors found that simply decomposing a prompt helps the model "localize" its changes, which naturally improves background consistency even before advanced aggregation is applied.

Mathematically, the paper demonstrates that the VFA weighting scheme is guaranteed to be more effective than simple averaging. It steers the latent update toward "high-consensus" attributes while maintaining the diversity of the requested edits.

Limitations and Future Work

Despite its successes, SplitFlow has limitations. Its performance is heavily dependent on the LLM's ability to accurately decompose prompts. Additionally, while faster than inversion methods, the inference overhead increases with the number of sub-flows. Like most current text-to-image tools, preserving the exact identity of specific individuals (fine-grained identity preservation) remains a challenge. Future research may explore more sophisticated decomposition techniques and the application of flow surgery to video editing domains.

Conclusion

SplitFlow represents a significant step forward in controllable image editing. By eliminating the need for inversion and treating complex prompts as decomposable tasks, it provides a robust solution to the long-standing problems of semantic drift and gradient entanglement in generative models.

Summary updated

BibTeX
@inproceedings{yoon2025splitflow,
  author = {Sung-Hoon Yoon and Minghan Li and Gaspard Beaudouin and Congcong Wen and Muhammad Rafay Azhar and Mengyu Wang},
  title = {{SplitFlow: Flow Decomposition for Inversion-Free Text-to-Image Editing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=lRs6qSMKH1},
}
Figure