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

VideoNSA:原生稀疏注意力扩展视频理解

VideoNSA: Native Sparse Attention Scales Video Understanding

Enxin Song, Wenhao Chai, Shusheng Yang, Ethan Armand, Xiaojun Shan, Haiyang Xu, Jianwen Xie, Zhuowen Tu

AI总结:

VideoNSA通过端到端训练提升视频理解,结合原生稀疏注意力实现长视频和时间推理的性能优化

摘要:

多模态语言模型中的视频理解仍然受到上下文长度的限制:模型经常遗漏关键过渡帧,并在长时间尺度上难以保持一致性。为了解决这个问题,我们采用了原生稀疏注意力(NSA)来适应视频-语言模型。我们的方法VideoNSA通过在包含216,000个视频指令数据集上进行端到端训练来适应Qwen2.5-VL。我们采用一种硬件感知的混合方法来处理注意力,保留密集注意力用于文本,同时使用NSA处理视频。与基于标记压缩和无训练稀疏基线相比,VideoNSA在长视频理解、时间推理和空间基准上实现了更好的性能。进一步的消融分析揭示了四个关键发现:(1)能够可靠地扩展到128,000个标记;(2)在固定预算下最优的全局-局部注意力分配;(3)任务依赖的分支使用模式;(4)可学习的结合稀疏注意力有助于动态注意力 sinks。项目页面:https://enxinsong.com/VideoNSA-web/,代码:https://github.com/Espere-1119-Song/VideoNSA

英文摘要:

Video understanding in multimodal language models remains limited by context length: models often miss key transition frames and struggle to maintain coherence across long time scales. To address this, we adapt Native Sparse Attention (NSA) to video-language models. Our method, VideoNSA, adapts Qwen2.5-VL through end-to-end training on a 216K video instruction dataset. We employ a hardware-aware hybrid approach to attention, preserving dense attention for text, while employing NSA for video. Compared to token-compression and training-free sparse baselines, VideoNSA achieves improved performance on long-video understanding, temporal reasoning, and spatial benchmarks. Further ablation analysis reveals four key findings: (1) reliable scaling to 128K tokens; (2) an optimal global-local attention allocation at a fixed budget; (3) task-dependent branch usage patterns; and (4) the learnable combined sparse attention help induce dynamic attention sinks. Project Page: https://enxinsong.com/VideoNSA-web/, Code: https://github.com/Espere-1119-Song/VideoNSA

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

↑