arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.06931cs.CVcs.AIcs.MM
收藏

视频模型中的独立帧间注意力

Stand-Alone Inter-Frame Attention in Video Models

JD Explore Academy(京东探索研究院);University of Rochester(罗切斯特大学)

Fuchen Long, Zhaofan Qiu, Yingwei Pan, Ting Yao, Jiebo Luo, Tao Mei

摘要:

运动作为视频的唯一性,一直是视频理解模型发展的关键。现代深度学习模型通过执行时空3D卷积、将3D卷积分解为空间卷积和时间卷积,或者沿着时间维度计算自我注意力来利用运动。这种成功背后的隐含假设是,连续帧之间的特征图可以很好地聚合。然而,特别是对于具有大变形的区域,该假设可能并不总是成立。在本文中,我们提出了一种新的配方帧间注意力块,即独立帧间注意力(SIFA),新颖地深入到跨帧的变形,以估计每个空间位置上的局部自注意力。从技术上讲,SIFA通过两帧之间的差异重新缩放偏移预测来重塑可变形设计。以当前帧中的每个空间位置作为查询,下一帧中的局部可变形邻居被视为键/值。然后,SIFA测量查询和关键字之间的相似性作为独立的注意加权平均值的时间聚合。我们进一步将SIFA模块分别插入到ConvNets和视觉Transformer中,设计出SIFA-Net和SIFA-Transformer。在四个视频数据集上进行的大量实验证明了SIFA-Net和SIFA-Transformer作为更强骨干的优越性。更值得注意的是,SIFA-Transformer在Kinetics-400数据集上实现了83.1%的准确率。源代码可从\url{https://github.com/FuchenUSTC/SIFA}获得。

英文摘要:

Motion, as the uniqueness of a video, has been critical to the development of video understanding models. Modern deep learning models leverage motion by either executing spatio-temporal 3D convolutions, factorizing 3D convolutions into spatial and temporal convolutions separately, or computing self-attention along temporal dimension. The implicit assumption behind such successes is that the feature maps across consecutive frames can be nicely aggregated. Nevertheless, the assumption may not always hold especially for the regions with large deformation. In this paper, we present a new recipe of inter-frame attention block, namely Stand-alone Inter-Frame Attention (SIFA), that novelly delves into the deformation across frames to estimate local self-attention on each spatial location. Technically, SIFA remoulds the deformable design via re-scaling the offset predictions by the difference between two frames. Taking each spatial location in the current frame as the query, the locally deformable neighbors in the next frame are regarded as the keys/values. Then, SIFA measures the similarity between query and keys as stand-alone attention to weighted average the values for temporal aggregation. We further plug SIFA block into ConvNets and Vision Transformer, respectively, to devise SIFA-Net and SIFA-Transformer. Extensive experiments conducted on four video datasets demonstrate the superiority of SIFA-Net and SIFA-Transformer as stronger backbones. More remarkably, SIFA-Transformer achieves an accuracy of 83.1% on Kinetics-400 dataset. Source code is available at \url{https://github.com/FuchenUSTC/SIFA}.

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

↑