arXiv:2511.11106cs.MMcs.CV2025-11被引 8

提出AccKV框架,优化音视频大模型推理时的缓存管理,提升效率并保持精度。

AccKV: Towards Efficient Audio-Video LLMs Inference via Adaptive-Focusing and Cross-Calibration KV Cache Optimization

  • 按层自适应聚焦关键模态,动态调整音视频注意力分配。
  • 通过跨模态校准,减少冗余缓存,避免音视频信息混淆。
  • 适合需要高效推理的多模态对话与视听问答系统使用。

近期音频-视频大语言模型(AV-LLMs)在视听问答和多模态对话系统等任务中展现出更强能力。视频与音频引入了更长的时间维度,导致其键值(KV)缓存规模远超静态图像嵌入。现有方法通常基于任务选择性保留音视频的KV缓存,但实验发现,高层数的注意力机制并非严格依赖任务。在高层中,模型注意力更多转向视频模态。此外,直接融合音频的时序KV与视频的时空KV可能引发信息混淆,导致性能显著下降。若音视频处理不加区分,还可能导致某一模态过度压缩或保留,破坏模态对齐。为此,本文提出AccKV框架,通过层自适应聚焦技术,根据各层特性选择性关注关键模态,并通过注意力重分配增强重要标记识别。同时,提出跨模态校准技术:先整合音频与视频内部低效的KV缓存,再将低优先级模态与高优先级模态对齐,从而有选择地淘汰低优先级缓存。实验表明,AccKV可显著提升AV-LLMs的计算效率,同时维持模型精度。

原文摘要 · Abstract (English)

Recent advancements in Audio-Video Large Language Models (AV-LLMs) have enhanced their capabilities in tasks like audio-visual question answering and multimodal dialog systems. Video and audio introduce an extended temporal dimension, resulting in a larger key-value (KV) cache compared to static image embedding. A naive optimization strategy is to selectively focus on and retain KV caches of audio or video based on task. However, in the experiment, we observed that the attention of AV-LLMs to various modalities in the high layers is not strictly dependent on the task. In higher layers, the attention of AV-LLMs shifts more towards the video modality. In addition, we also found that directly integrating temporal KV of audio and spatial-temporal KV of video may lead to information confusion and significant performance degradation of AV-LLMs. If audio and video are processed indiscriminately, it may also lead to excessive compression or reservation of a certain modality, thereby disrupting the alignment between modalities. To address these challenges, we propose AccKV, an Adaptive-Focusing and Cross-Calibration KV cache optimization framework designed specifically for efficient AV-LLMs inference. Our method is based on layer adaptive focusing technology, selectively focusing on key modalities according to the characteristics of different layers, and enhances the recognition of heavy hitter tokens through attention redistribution. In addition, we propose a Cross-Calibration technique that first integrates inefficient KV caches within the audio and video modalities, and then aligns low-priority modalities with high-priority modalities to selectively evict KV cache of low-priority modalities. The experimental results show that AccKV can significantly improve the computational efficiency of AV-LLMs while maintaining accuracy.

音视频生成大模型推理缓存优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。