arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.13556cs.CL
收藏

YOCO++:通过KV残差连接增强YOCO以实现高效的LLM推理

YOCO++: Enhancing YOCO with KV Residual Connections for Efficient LLM Inference

Alibaba Group(阿里巴巴集团);ShanghaiTech University(上海科技大学);Zhejiang University(浙江大学)

You Wu, Ziheng Chen, Yizhen Zhang, Haoyi Wu, Chengting Yu, Yuchi Xu, Wenbo Su, Bo Zheng, Kewei Tu

AI总结:

本文提出YOCO++,通过在底层层与底层之间加入加权残差连接,提升YOCO的性能,实现50%的KV缓存压缩率下的最佳表现。

摘要:

跨层键值(KV)压缩已被发现对大型语言模型(LLM)的高效推理有效。尽管它们减少了KV缓存的内存消耗,但此类方法通常会引入不可忽视的性能下降。本文旨在增强YOCO,一种共享中间层KV与上半层的跨层KV压缩方法。我们提出YOCO++,一种增强的YOCO,其在每个底层层的KV与底层之间加入加权残差连接。与YOCO相比,YOCO++在保持相同训练和推理效率的同时增加了模型容量。我们的实验表明,YOCO++在50%的KV缓存压缩率下,优于标准Transformer,成为跨层KV压缩方法中的最佳表现。

英文摘要:

Cross-layer key-value (KV) compression has been found to be effective in efficient inference of large language models (LLMs). Although they reduce the memory consumption of the KV cache, such methods usually introduce non-negligible performance degradation. In this work, we aim to enhance the performance of YOCO, a cross-layer KV compression method that shares the KVs of the middle layer with the top-half layers. We propose YOCO++, an enhanced YOCO that incorporates a weighted residual connection between the KVs of each bottom-half layer and the bottom layer. Compared to YOCO, YOCO++ increases model capacity while maintaining the same training and inference efficiency. Our experiments show that YOCO++ achieves state-of-the-art performance among the cross-layer KV compression methods at a 50% KV cache compression rate, outperforming the standard Transformer.

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

↑