用压缩感知降低视觉语言模型注意力计算开销
CS-VLM: Compressed Sensing Attention for Efficient Vision-Language Representation Learning
- 通过随机投影和稀疏恢复重构注意力,降低计算复杂度
- 在视频和语言中利用时序冗余与对齐稀疏性,保持语义精度
- 适合需要高效推理的多模态应用,如视频理解与对话系统
视觉-语言模型(vLLMs)在图像描述、跨模态检索和多模态对话等任务中表现卓越,但其标准注意力机制具有二次复杂度,尤其在处理长视频序列和丰富文本时,导致内存和延迟成本过高。本文提出压缩感知注意力变换器(CSAT),将高维键值表示通过随机测量矩阵投影至低维子空间,并使用稀疏恢复算法重建注意力输出,显著降低计算开销。该方法充分利用视觉与语言表示的内在可压缩性:视频中存在高时序冗余,语言中跨模态对齐常具稀疏性。相比需建模纠缠符号依赖的LLM,vLLMs更受益于结构化稀疏性,因此特别适合压缩注意力。我们提供了数学形式化推导,展示了在多模态流水线中的集成方式,并在标准基准上验证了性能,证明CSAT是下一代多模态变压器中可扩展、可解释且资源高效的解决方案。
原文摘要 · Abstract (English)
Vision-Language Models (vLLMs) have emerged as powerful architectures for joint reasoning over visual and textual inputs, enabling breakthroughs in image captioning, cross modal retrieval, and multimodal dialogue. However, as these models scale to longer video sequences and richer language descriptions, the quadratic complexity of the standard attention mechanism presents a fundamental computational bottleneck. This challenge is exacerbated in vLLMs, where attention must be computed not only within modalities but also across them, leading to prohibitive memory and latency costs. In this work, we introduce the Compressed Sensing Attention Transformer (CSAT), a novel architecture that reimagines attention computation through the lens of compressed sensing. By projecting high dimensional key and value representations into a lower-dimensional subspace via random measurement matrices and reconstructing the attention outputs using sparse recovery algorithms, CSAT significantly reduces attention complexity while maintaining semantic fidelity. Applied to vLLMs, CSAT exploits the inherent compressibility of both visual and textual representations especially evident in video, where temporal redundancy is high, and in language, where cross-modal grounding is often sparse. In contrast to LLMs, which must often model entangled symbolic dependencies, vLLMs benefit from structured sparsity in alignment and scene composition, making them particularly well-suited to compressed attention. We provide a formal mathematical treatment of CSAT, demonstrate its integration into vision language pipelines, and validate its performance on standard benchmarks, highlighting its promise as a scalable, interpretable, and resource efficient solution for next generation multimodal transformers.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。