AsymPipe: Accelerating Large-scale DiTs Image Editing via Asymmetry-Aware Pipeline Parallelism

Huage Deng, Wenkai Lv, Wu Yongjin, Tianyang Zheng, heng Guo, Fangyun Zhou, Shiyu, Wenxi Zhu, Minwen DengNeurIPS 2026

TL;DR

When you ask a massive image-editing model to put a magician's hat on a cat, it wastes enormous compute redrawing every single blade of grass in the background from scratch. Simply skipping those static background pixels breaks multi-GPU pipelines because some GPUs finish instantly and sit idle waiting for the GPU stuck redrawing the hat. AsymPipe solves both the algorithmic waste and the hardware bottleneck simultaneously, speeding up 80-billion-parameter image editors by nearly 3× without retraining or losing visual fidelity.

What Problem Does This Paper Address?

Modern instruction-driven image editing uses massive Diffusion Transformers (DiTs) to modify images from text prompts alone—no manual user masks required. However, this creates a severe semantic–computation mismatch. Even if an edit is tiny and localized, the Transformer performs dense, heavy computations over every high-resolution token across dozens of denoising steps.

Figure 1: Region-asymmetric denoising in IIE DiTs. Dual-reference cosine views of ˜y(t) = xt − σtvθ(xt). (a) vs. source latent XR: non-edit tokens align early (red), while the edit region stays separable throughout denoising. (b) vs. final latent ˜y(T ): non-edit tokens converge early (blue), whereas the edit region only aligns late.

Prior works noticed that unedited background regions stabilize early and tried caching them on single GPUs. Put an 80B-parameter model into production, though, and it won't fit on one GPU. You need pipeline parallelism—slicing the image into spatial patches and passing them across an assembly line of GPUs. If you naively skip computations on background tokens, the GPU holding the "sky" patch finishes in milliseconds, while the GPU holding the "cat's hat" patch grinds away. This workload skew creates massive idle gaps ("pipeline bubbles"), preventing theoretical FLOP savings from becoming real-world speedups.

Skipping static tokens in a naive spatial split leaves GPUs waiting on the slowest patch, creating pipeline bubbles.

Methods

AsymPipe is a training-free algorithm–system co-design built on three novel components that wrap around standard Flow-Matching DiTs:

  1. Velocity-to-Reference Alignment Detection (VRA-Detect): After a few normal warm-up steps, AsymPipe locates the edit region with zero extra neural networks or forward passes. In flow-matching models, the network predicts a "velocity" vector pointing toward the clean image. VRA-Detect simply takes the cosine similarity between each token's predicted velocity and the straight-line path back to the original source image. Tokens pointing straight back to the original image are labeled "non-edit"; tokens steered elsewhere are labeled "edit."
  2. Reuse-Equalized Pipeline (REP-Pipe): Once the mask is found, non-edit tokens only refresh their DiT block outputs and Key/Value (KV) states every $\Delta$ steps, reusing cached outputs in between. To eliminate pipeline bubbles, REP-Pipe scrambles the spatial patches—deconstructing the 2D image layout so every GPU gets an identical ratio of heavy "edit" tokens and cached "non-edit" tokens. Because each token retains its original 2D positional encoding (position_ids), spatial semantics stay completely intact.
  3. Source-Partitioned Attention (SPA): Even inside the active edit region, attention isn't uniformly dynamic. Every token attends to three sources: text prompt, original reference image, and the evolving generated image. SPA caches the static text and reference-image attention outputs, recomputing attention only against the evolving image tokens, and merges them losslessy using online softmax (Log-Sum-Exp).
Figure 3: Overview of AsymPipe. Following initial full-computation warm-up, (1) VRA-Detect identifies edit regions by reusing the predicted velocity. (2) Tokens are then rearranged into load- balanced patches to eliminate pipeline bubbles, and non-edit regions reuse block-level outputs. (3) Edit regions are dynamically accelerated via Source-Partitioned Attention. Periodic and final full- refreshes ensure high editing fidelity.

Datasets

Because AsymPipe is entirely training-free, no training datasets are used. It is evaluated on two established instruction-based image editing benchmarks: GEdit-Bench and KontextBench (detailed in the paper's appendix). No new benchmarks are introduced.

Key Insights and Ideas

  • Free Error Absorption via Staleness Alignment: Standard multi-GPU patch pipelines (like PipeFusion) already force GPUs to read slightly outdated, 1-step-stale KV caches from neighboring GPUs to overlap communication with computation. AsymPipe's intentional multi-step KV caching on static background regions aligns directly with this unavoidable hardware staleness—meaning algorithmic and system approximations don't stack up as separate quality penalties.
  • The Model Already Knows Where It's Editing: You don't need auxiliary segmentation models or attention-map heuristics to find an edit mask; the flow velocity vector commits to preserving unedited background pixels within the very first few denoising steps.
  • Decoupling Physical Layout from Spatial Meaning: Because Transformers rely on positional embeddings rather than physical memory adjacency to understand 2D space, you can freely shuffle tokens across GPUs like a deck of cards to balance hardware load without confusing the model.

Key Results

Tested on an 8× NVIDIA H20 GPU server using two massive open-source models—HunyuanImage-3.0-Instruct (80B) and Qwen-Image-Edit-2511 (20B)—on GEdit-Bench:

  • End-to-End Speedup: Achieved a 2.862× speedup (cutting latency from 173.76s down to 60.72s) on the 80B Hunyuan model, and a 2.707× speedup (129.13s down to 47.70s) on the 20B Qwen model.
  • Preserved Visual Quality: Maintained high fidelity against dense baselines with PSNRs of 33.69 (Hunyuan) and 29.74 (Qwen), outperforming existing parallel (PipeFusion) and caching (TeaCache, RegionE) baselines in GPT-5.5 semantic and perceptual evaluations.
  • Load-Balancing Impact: Turning on edit-aware token reordering consistently shaved off pipeline bubbles across 2, 4, and 8 GPU setups, adding up to an extra ~9% speedup on top of algorithmic caching alone.

Limitations and Future Work

When split across 8 GPUs, the number of active edit-query tokens per GPU becomes quite small. Consequently, Source-Partitioned Attention (SPA) only yields a modest 1.047× incremental speedup in the 8-GPU setup (compared to 1.602× when patch partitioning is disabled), because separate kernel launches and Log-Sum-Exp merging overheads eat into the compute savings. The authors note that writing a dedicated, custom-fused GPU kernel is a promising direction to unlock SPA's full speed potential at high GPU counts.

Summary updated

Abstract

Instruction-driven mask-free image editing with large-scale Diffusion Transformers (DiTs) has enabled high-fidelity local edits while maintaining global consistency. However, these models incur a prohibitive inference cost due to a pronounced semantic-computation mismatch, where dense computation is performed over all high-resolution tokens regardless of localized editing instructions. Building on prior observations of distinct denoising behavior between edit and non-edit regions, we reveal how spatio-temporal asymmetry manifests in whole DiT block outputs, with non-edit regions exhibiting highly stable outputs across denoising steps. Furthermore, we identify a critical system-level challenge: introducing such asymmetric computation into pipeline-parallel execution for ultra-large models triggers severe workload imbalance and pipeline bubbles, preventing algorithmic savings from fully translating into end-to-end latency gains. To address these issues, we propose AsymPipe, a training-free algorithm-system co-design framework that accelerates image editing with large-scale DiTs. The framework identifies edit versus non-edit regions on the fly using a zero-overhead velocity-based probe that reuses the predicted velocity field from the existing denoising process. For non-edit regions, AsymPipe caches and reuses block-level outputs, while for edit regions, it introduces a source-aware sparse attention module to precisely eliminate redundant contributions from static text and image sources. Finally, to bridge the gap between algorithmic optimization and hardware speedup, the framework incorporates a load-balanced token rearrangement scheme. This scheme deconstructs the original spatial topology to distribute tokens evenly across devices, physically restoring compute balance in pipeline-parallel systems. On HunyuanImage-3.0-Instruct and Qwen-Image-Edit-2511, AsymPipe achieves end-to-end speedups of 2.862x (PSNR 33.69) and 2.707x (PSNR 29.74), respectively, delivering substantial acceleration with virtually no loss in editing quality. Our source code is available at https://github.com/Yaegaki1Erika/AsymPipe.
BibTeX
@inproceedings{deng2026asympipe,
  author = {Huage Deng and Wenkai Lv and WU YONGJIN and Tianyang Zheng and heng Guo and Fangyun Zhou and SHIYU and Wenxi Zhu and Minwen Deng},
  title = {{AsymPipe: Accelerating Large-scale DiTs Image Editing via Asymmetry-Aware Pipeline Parallelism}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=zvdQTz8byr},
}
Figure