跳到正文
arXiv (AI + Vision + Imaging)· Ruizhe Yao, Zhen Huang, Songpan Gao, Danyi Liu, Zijian Cao, Weijie Zheng, Haohuan Fu·· 1 天前AI 评分30

LRQ-Cache:用低秩近似与量化压缩视频扩散模型特征缓存

LRQ-Cache: Compressing Feature Caches in Video Diffusion via Low-Rank Approximation and Quantization

AI 导读

LRQ-Cache 是一种免训练的特征缓存压缩方法,结合低秩近似与量化,将视频扩散模型预测缓存的持久状态压缩 42-71 倍,降至每视频 2.3-4.9 GiB。

正文 · 原文

arXiv:2611.32345v1 Announce Type: new Abstract: Video diffusion transformers (DiTs) achieve high-fidelity generation, but inference is expensive because every denoising step evaluates a large transformer over all spatiotemporal tokens of the video. Temporal caching accelerates them by reusing intermediate features across denoising steps. However, retaining dense feature tensors introduces a persistent storage cost that grows with video length, resolution, and cache coverage, reaching 109-346 GiB per video for the predictive caches we evaluate. Such states exceed the memory of a single GPU, so native caches must either be offloaded to the CPU, which slows generation, or be sharded across several GPUs, e.g., with sequence parallelism, so that the cache rather than the compute sets the number of GPUs. We instead shrink the cached state itself, exploiting its redundancy: a few channel patterns shared across tokens capture much of the energy of each cached feature. Based on this observation, we propose LRQ-Cache, a training-free method that combines low-rank approximation and quantization for feature-cache compression. LRQ-Cache represents each cached feature with a small set of factors, quantizes them before storage, and reconstructs the feature at reuse time, leaving cache mechanisms unchanged. Across three caching mechanisms on HunyuanVideo and Wan2.1, LRQ-Cache reduces the persistent state of predictive caches by 42-71x, to 2.3-4.9 GiB per video. VBench stays within 0.25 pp of the native cache for TeaCache, and the larger drops of the Wan2.1 predictive caches, up to 3.5 pp, shrink at higher ranks. As a result, predictive caches that exceed the memory of a single 80 GB H100 GPU fit on it with LRQ-Cache, making generation 2.7-5.9x faster than with CPU-offloaded native caches.

来源:arXiv (AI + Vision + Imaging) · arxiv.org