Saved in:
Bibliographic Details
Main Authors: Luo, Jiajun, Xiao, Yicheng, Xu, Jianru, You, Yangxiu, Lu, Rongwei, Tang, Chen, Jiang, Jingyan, Wang, Zhi
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2507.17511
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912733653368832
author Luo, Jiajun
Xiao, Yicheng
Xu, Jianru
You, Yangxiu
Lu, Rongwei
Tang, Chen
Jiang, Jingyan
Wang, Zhi
author_facet Luo, Jiajun
Xiao, Yicheng
Xu, Jianru
You, Yangxiu
Lu, Rongwei
Tang, Chen
Jiang, Jingyan
Wang, Zhi
contents Diffusion models produce realistic images and videos but require substantial computational resources, necessitating multi-accelerator parallelism for real-time deployment. However, parallel inference introduces significant communication overhead from exchanging large activations between devices, limiting efficiency and scalability. We present CompactFusion, a compression framework that significantly reduces communication while preserving generation quality. Our key observation is that diffusion activations exhibit strong temporal redundancy-adjacent steps produce highly similar activations, saturating bandwidth with near-duplicate data carrying little new information. To address this inefficiency, we seek a more compact representation that encodes only the essential information. CompactFusion achieves this via Residual Compression that transmits only compressed residuals (step-wise activation differences). Based on empirical analysis and theoretical justification, we show that it effectively removes redundant data, enabling substantial data reduction while maintaining high fidelity. We also integrate lightweight error feedback to prevent error accumulation. CompactFusion establishes a new paradigm for parallel diffusion inference, delivering lower latency and significantly higher generation quality than prior methods. On 4xL20, it achieves 3.0x speedup while greatly improving fidelity. It also uniquely supports communication-heavy strategies like sequence parallelism on slow networks, achieving 6.7x speedup over prior overlap-based method. CompactFusion applies broadly across diffusion models and parallel settings, and integrates easily without requiring pipeline rework. Portable implementation demonstrated on xDiT is publicly available at https://github.com/Cobalt-27/CompactFusion
format Preprint
id arxiv_https___arxiv_org_abs_2507_17511
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Accelerating Parallel Diffusion Model Serving with Residual Compression
Luo, Jiajun
Xiao, Yicheng
Xu, Jianru
You, Yangxiu
Lu, Rongwei
Tang, Chen
Jiang, Jingyan
Wang, Zhi
Computer Vision and Pattern Recognition
Diffusion models produce realistic images and videos but require substantial computational resources, necessitating multi-accelerator parallelism for real-time deployment. However, parallel inference introduces significant communication overhead from exchanging large activations between devices, limiting efficiency and scalability. We present CompactFusion, a compression framework that significantly reduces communication while preserving generation quality. Our key observation is that diffusion activations exhibit strong temporal redundancy-adjacent steps produce highly similar activations, saturating bandwidth with near-duplicate data carrying little new information. To address this inefficiency, we seek a more compact representation that encodes only the essential information. CompactFusion achieves this via Residual Compression that transmits only compressed residuals (step-wise activation differences). Based on empirical analysis and theoretical justification, we show that it effectively removes redundant data, enabling substantial data reduction while maintaining high fidelity. We also integrate lightweight error feedback to prevent error accumulation. CompactFusion establishes a new paradigm for parallel diffusion inference, delivering lower latency and significantly higher generation quality than prior methods. On 4xL20, it achieves 3.0x speedup while greatly improving fidelity. It also uniquely supports communication-heavy strategies like sequence parallelism on slow networks, achieving 6.7x speedup over prior overlap-based method. CompactFusion applies broadly across diffusion models and parallel settings, and integrates easily without requiring pipeline rework. Portable implementation demonstrated on xDiT is publicly available at https://github.com/Cobalt-27/CompactFusion
title Accelerating Parallel Diffusion Model Serving with Residual Compression
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2507.17511