NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Accelerating Parallel Diffusion Model Serving with Residual Compression

Jiajun Luo, Yicheng Xiao, Jianru Xu, Yangxiu You, Rongwei Lu, Chen Tang, Jingyan Jiang, Zhi Wang

In the rapidly evolving landscape of generative AI, diffusion models like FLUX.1 are the new heavyweights. They produce stunningly realistic images and videos but demand massive computational power. To deploy these models in real-time, engineers frequently rely on multi-GPU parallelism. However, as models scale, they inevitably hit a "communication wall": the time spent shuffling data between GPUs begins to eclipse the time spent actually computing.

A recent paper from researchers at Tsinghua University introduces CompactFusion, a novel compression framework designed to tackle this communication bottleneck head-on. By rethinking how data is transmitted between devices, CompactFusion achieves up to a 6.7× speedup on slow networks without the severe quality degradation characteristic of previous methods.

High-fidelity image generation preserved by CompactFusion.

The Problem: Bandwidth vs. Compute

When splitting a diffusion model across multiple GPUs using techniques like sequence parallelism, the devices must constantly exchange "activations"—the intermediate data generated during the iterative denoising process. This presents a twofold challenge:

  1. The Bandwidth Gap: While GPU compute power (FLOPS) has skyrocketed in recent years, interconnect bandwidth (such as PCIe or NVLink) has not kept pace. In large-scale models like FLUX.1, communication overhead can consume over 45% of the total inference time.
  2. The Quality Trade-off: Previous state-of-the-art methods, such as DistriFusion or PipeFusion, attempted to hide this latency by utilizing "stale" activations from previous steps. While this successfully overlaps communication with computation, it often leads to noticeable "ghosting" or visual artifacts in the final generated image.

Methodology: The CompactFusion Approach

The authors propose a fundamental shift in philosophy: rather than transmitting full, redundant data, the system should only communicate what is strictly necessary.

1. Residual Compression

The core innovation of CompactFusion is Residual Compression. Because diffusion is a highly iterative and gradual process, the activations at step $t$ are remarkably similar to those at step $t-1$. Instead of sending the full activation tensor, CompactFusion transmits only the residual (the mathematical difference between the two steps). These residuals have significantly smaller magnitudes, making them far easier to compress aggressively without losing essential structural information.

2. Error Feedback

To prevent small compression errors from snowballing over the course of 20 to 50 denoising steps, the framework integrates an Error Feedback mechanism. The sender tracks the difference between the true residual and the compressed version, "carrying over" that error into the calculation for the subsequent step. This ensures the generation process stays on the correct mathematical trajectory.

3. Scaling to Extreme Ratios

For severely bandwidth-constrained environments (like standard Ethernet), the authors employ Low-Rank Approximation via subspace iteration. This technique allows CompactFusion to reach compression ratios exceeding 100×. The researchers found that sacrificing per-step precision to gain "directional coverage" (higher rank) yields superior visual results compared to standard quantization at extreme compressions.

4. System Co-design

Beyond theoretical math, the researchers built highly optimized GPU kernels. They repurposed N:M sparsity—a technique originally designed for weight pruning—for activation compression and implemented fused Triton kernels for quantization. This ensures that the compression process itself does not become a new computational bottleneck.

Complex scene generation maintaining visual integrity under extreme compression.

Experimental Setup and Key Results

The framework was rigorously evaluated on image generation (using FLUX.1-dev on the COCO Captions 2014 dataset) and video generation (using CogVideoX-2b on VBench prompts). A human evaluation study with 20 participants was also conducted to assess perceptual consistency against uncompressed baselines.

Key Findings: * Significant Speedups: On a cluster of 4×L20 GPUs connected via PCIe, CompactFusion achieved a 3.0× speedup over single-device inference. * Low-Bandwidth Dominance: In simulated slow-network environments (Ethernet-level), it achieved a remarkable 6.7× speedup over DistriFusion, which fails to scale when communication costs are too high to hide. * Superior Fidelity: In FLUX.1 tests, CompactFusion (using 2-bit compression) achieved a Fréchet Inception Distance (FID) of 3.26, vastly outperforming DistriFusion (FID 9.91) and PipeFusion (FID 6.72). * Extreme Compression: Even at an astonishing 100.05× compression ratio, the model maintained higher visual quality than prior methods operating at much lower compression rates.

Limitations and Future Directions

While CompactFusion establishes a new paradigm for parallel diffusion inference, it is not without limitations. The act of compressing and decompressing introduces a small kernel overhead; on extremely fast interconnects like high-end NVLink, the net speedup might be less pronounced. Additionally, the method requires at least one "warmup" step where uncompressed data is sent to establish a baseline for future residuals. Finally, the low-rank variant (subspace iteration) is currently slower than simple quantization kernels, pointing to further kernel optimization as a key area for future work.

By decoupling compression from the model's core execution logic, CompactFusion acts as a modular, "drop-in" layer compatible with existing frameworks like xDiT, paving the way for more efficient, scalable generative AI deployment.

Summary updated

BibTeX
@inproceedings{luo2025accelerating,
  author = {Jiajun Luo and Yicheng Xiao and Jianru Xu and Yangxiu You and Rongwei Lu and Chen Tang and Jingyan Jiang and Zhi Wang},
  title = {{Accelerating Parallel Diffusion Model Serving with Residual Compression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=jqDtzUQkmu},
}
Figure