arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.36893cs.AIcs.LG
收藏

WEAVE:在线性注意力大模型的原生演化过程中压缩状态变化

WEAVE: Compressing State Changes Along Native Evolution in Linear Attention LLMs

University of Chinese Academy of Sciences(中国科学院大学);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所)

Zedong Liu, Xinyang Ma, Man Liu, Bing Lu, Chen Yuhan, Dingwen Tao, Guangming Tan

AI总结:

WEAVE是一种无需训练的压缩方法,通过共享锚点残差等技术压缩线性注意力大模型的循环检查点,在Qwen3.5-35B-A3B等模型上实现高压缩比,提升服务性能。

摘要:

新一代混合线性注意力模型用固定大小的循环状态替代了大部分不断增长的KV缓存,但智能体服务必须保留大量此类状态作为检查点,以支持多轮和分支场景下的前缀复用,这在负载下会造成巨大的GPU内存压力和高昂的前缀重计算成本。我们提出了WEAVE,一种无需训练的方法,它从共享锚点编码状态变化,并基于模型的原生更新高效构建这些紧凑表示。WEAVE结合了共享锚点残差、基于模型原生更新的循环驱动编码,以及带有融合GPU内核的周期性压缩,以实现高效的在线服务。我们在Qwen3.5-35B-A3B和Kimi-Linear-48B上,针对推理、长上下文和智能体工作负载对WEAVE进行评估。WEAVE将循环检查点压缩了最高4.26倍,同时保持了任务质量,并且在所有六个基准测试中均优于INT8和INT4量化方法。将其集成到vLLM的原生前缀缓存路径后,减少的状态占用降低了内存压力下的前缀驱逐和重计算,在SLO约束下,TTFT降低了最高6.96倍,令牌吞吐量提高了3.14倍。

英文摘要:

A new generation of hybrid linear-attention models replaces much of the growing KV cache with fixed-size recurrent states. Yet agent serving must retain many of these states as checkpoints for prefix reuse across turns and branches, creating substantial GPU-memory pressure and costly prefix recomputation under load. We present WEAVE, a training-free approach that encodes state changes from a shared anchor and efficiently constructs these compact representations from the model's native updates. WEAVE combines shared-anchor residuals, recurrence-driven encoding from native model updates, and periodic compaction with fused GPU kernels for efficient online serving. We evaluate WEAVE on Qwen3.5-35B-A3B and Kimi-Linear-48B across reasoning, long-context, and agentic workloads. WEAVE compresses recurrent checkpoints by up to 4.26x while maintaining task quality and outperforming INT8 and INT4 quantization on all six benchmarks. Integrated into vLLM's native prefix-cache path, the reduced state footprint lowers prefix eviction and recomputation under memory pressure, yielding up to 6.96x lower TTFT and 3.14x higher token goodput under SLO constraints.

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

↑