arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2204.01692cs.CV
收藏

基于状态空间视频模型的长视频片段分类

Long Movie Clip Classification with State-Space Video Models

UNC Chapel Hill(北卡罗来纳大学教堂山分校)

Md Mohaiminul Islam, Gedas Bertasius

摘要:

大多数现代视频识别模型被设计为对短视频剪辑进行操作(例如,5- 10 s长度)。因此,将这样的模型应用于长电影理解任务是具有挑战性的,这通常需要复杂的长距离时间推理。最近推出的视频Transformers部分解决这个问题,通过使用长距离时间的自我关注。然而,由于自我注意力的二次成本,这样的模型往往是昂贵的和不切实际的使用。相反,我们提出了ViS 4 mer,这是一种有效的长距离视频模型,它结合了自我注意力和最近引入的结构化状态空间序列(S4)层的优势。我们的模型使用标准的Transformer编码器进行短距离时空特征提取,并使用多尺度时间S4解码器进行后续的长距离时间推理。通过逐步降低每个解码器层的时空特征分辨率和通道维度,ViS 4 mer可以学习视频中复杂的长距离时空依赖性。此外,ViS 4 mer的$2.63\times$速度更快,需要的$8\times$ GPU内存比相应的纯自我注意模型少。此外,ViS 4 mer在长视频理解(LVU)基准测试中,在$9$长格式电影视频分类任务中实现了$6$的最新结果。此外,我们表明,我们的方法成功地推广到其他领域,在早餐和COIN程序活动数据集上取得了有竞争力的结果。该代码可在https://github.com/md-mohaiminul/ViS4mer上公开获取。

英文摘要:

Most modern video recognition models are designed to operate on short video clips (e.g., 5-10s in length). Thus, it is challenging to apply such models to long movie understanding tasks, which typically require sophisticated long-range temporal reasoning. The recently introduced video transformers partially address this issue by using long-range temporal self-attention. However, due to the quadratic cost of self-attention, such models are often costly and impractical to use. Instead, we propose ViS4mer, an efficient long-range video model that combines the strengths of self-attention and the recently introduced structured state-space sequence (S4) layer. Our model uses a standard Transformer encoder for short-range spatiotemporal feature extraction, and a multi-scale temporal S4 decoder for subsequent long-range temporal reasoning. By progressively reducing the spatiotemporal feature resolution and channel dimension at each decoder layer, ViS4mer learns complex long-range spatiotemporal dependencies in a video. Furthermore, ViS4mer is $2.63\times$ faster and requires $8\times$ less GPU memory than the corresponding pure self-attention-based model. Additionally, ViS4mer achieves state-of-the-art results in $6$ out of $9$ long-form movie video classification tasks on the Long Video Understanding (LVU) benchmark. Furthermore, we show that our approach successfully generalizes to other domains, achieving competitive results on the Breakfast and the COIN procedural activity datasets. The code is publicly available at: https://github.com/md-mohaiminul/ViS4mer.

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

↑