arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.00712cs.CVcs.MM
收藏

面向内存高效的自回归视频生成:基于实例特定参数吸收

Towards Memory-Efficient Autoregressive Video Generation via Instance-Specific Parametric Absorption

Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);The University of Hong Kong(香港大学);AMAP, Alibaba Group(阿里巴巴集团高德地图)

Xiaomeng Fu, Jia Li, Yiming Hu, Yong Wang, Hayden Kwok-Hay So, Jiao Dai, Xiangxiang Chu, Jizhong Han

AI总结:

提出ISPA框架,通过将历史上下文吸收到模型权重中,将部分注意力层从全局注意力转换为局部注意力,在保持视觉质量的同时减少50%的KV缓存。

摘要:

自回归(AR)流式模型已成为长视频生成的强大范式。然而,线性增长的键值(KV)缓存构成了重大瓶颈,导致内存过载和推理吞吐量下降。一种常见的压缩方法是丢弃冗余的KV令牌,但这通常会破坏长程依赖,导致时间闪烁和身份丢失。在本文中,我们提出了实例特定参数吸收(ISPA),一种新颖的框架,将KV缓存压缩从丢弃转变为蒸馏。核心思想是通过将历史上下文“吸收”到模型权重中,将一部分层从全注意力(F层)过渡到内存高效的局部注意力(L层)。具体来说,在短暂的预热阶段,ISPA监控全局注意力和局部注意力之间的输出差异。在过渡点,我们求解一个闭式最小二乘问题,以计算一个实例特定的权重调制,补偿缺失的历史。跨架构(1.3B到14B)的实验表明,ISPA可以移除高达50%的KV缓存,且视觉质量几乎无损。我们希望这一视角鼓励未来的工作探索超越外部令牌级缓存管理的参数化记忆整合,用于流式生成模型。

英文摘要:

Autoregressive (AR) streaming models have emerged as a powerful paradigm for long video generation. However, the linearly growing Key-Value (KV) cache poses a significant bottleneck, leading to memory overload and degraded inference throughput. A common compression method is to drop redundant KV tokens, which often breaks long-range dependencies, resulting in temporal flickering and identity loss. In this paper, we propose Instance-Specific Parametric Absorption (ISPA), a novel framework that shifts the KV cache compression from discarding to distilling. The core idea is to transit a subset of layers from Full-Attention (F-Layers) to memory-efficient Local-Attention (L-Layers) by "absorbing" historical context into the model's weights. Specifically, during a brief warmup phase, ISPA monitors the output discrepancy between global and local attention. At the transition point, we solve a closed-form least-squares problem to compute an instance-specific weight modulation that compensates for the missing history. Experiments across architectures (1.3B to 14B) demonstrate that ISPA can remove up to 50\% of the KV cache with near-lossless visual quality. We hope this perspective encourages future work to explore parametric memory consolidation beyond external token-level cache management for streaming generative models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑