arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.00333cs.LGcs.AIcs.SDeess.AS
收藏

C3:面向长上下文语音大语言模型推理的语音引导键值检索

C3: Speech-Guided KV Retrieval for Long-Context SpeechLLM Inference

University at Buffalo(布法罗大学);Amazon AGI(亚马逊AGI)

Dancheng Liu, Markus Müller, Rupak Vignesh Swaminathan, Jing Liu, Srikanth Ronanki, Aram Galstyan

AI总结:

针对长上下文语音大语言模型推理中KV缓存成本过高的问题,提出$C^3$检索方法,在四项语音任务上实现最优性能,提升了解码效率与内存扩展性。

摘要:

语音语言模型对音频的编码速率远高于文本,这使得键值(KV)缓存成为长文本生成过程中内存、带宽和解码成本的主要消耗项。KV检索通过仅关注依赖查询的缓存子集来减少每一步的访问量,但现有方法主要针对文本设计,未考虑音频注意力的结构。我们首先证明,检索误差可能会自回归地累积为生成漂移。随后,我们分析长文本生成过程中的完整音频注意力,确定了与检索相关的三个特性:不同查询头的注意力集中度不均、音频支持非连续、解码步骤间存在时间连续性。基于这些观察,我们提出了$C^3$(Cluster-Compete-Compete,即聚类-竞争-竞争),该方法在分层键空间索引中组织音频KV,让共享同一KV头的查询头竞争共同的检索预算,并通过配对拆分-合并更新自适应重新分配检索分辨率。在四个语音大语言模型上的长文本语音识别、翻译和摘要任务中,在可比的最终KV访问预算下,$C^3$在所有检索方法中实现了最强的整体性能,在严格预算机制下的提升尤为显著,同时提高了长上下文解码效率和加速器内存扩展性。

英文摘要:

Speech language models encode audio at a much higher rate than text, causing the KV cache to dominate the memory, bandwidth, and decoding cost of long-form generation. KV retrieval can reduce per-step access by attending to only a query-dependent subset of the cache, but existing methods are designed primarily for text and do not account for the structure of audio attention. We first show that retrieval errors may compound autoregressively into generation drift. We then analyze full audio attention during long-form generation and identify three properties relevant to retrieval: unequal attention concentration across query heads, non-contiguous audio support, and temporal continuity across decoding steps. Guided by these observations, we propose $C^3$(Cluster-Compete-Compete), which organizes audio KVs in a hierarchical key-space index, lets query heads sharing a KV head compete for a common retrieval budget, and adaptively reallocates retrieval resolution through paired split-merge updates. Across long-form speech recognition, translation, and summarization on four SpeechLLMs, $C^3$ achieves the strongest overall performance among retrieval methods under comparable final-KV access budgets, with particularly large gains in the tight-budget regime, while improving long-context decoding efficiency and accelerator-memory scaling.

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

↑