arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.10465cs.CVcs.AI
收藏

用于视频识别的、带可学习对齐的隐式时序建模

Implicit Temporal Modeling with Learnable Alignment for Video Recognition

Fudan University(复旦大学);Microsoft Research Asia(微软亚洲研究院);Carnegie Mellon University(卡内基梅隆大学)

Shuyuan Tu, Qi Dai, Zuxuan Wu, Zhi-Qi Cheng, Han Hu, Yu-Gang Jiang

AI总结:

针对视频 CLIP 的时序建模难题,本文提出 ILA,通过预测帧对交互点并增强、池化对齐特征来替代时序自注意力,在 Kinetics-400 上以更低 FLOPs 达到 88.7% top-1 准确率。

摘要:

对比语言-图像预训练(CLIP)已在多种图像任务中展现出显著成功。然而,如何通过有效的时序建模来扩展 CLIP,仍是一个开放且关键的问题。现有的分解式或联合式时空建模会在效率与性能之间进行权衡。尽管在直通时间管(straight through tube)内建模时序信息已在文献中被广泛采用,但我们发现,简单的帧对齐已经能够提供足够的本质信息,而无需时序注意力。为此,本文提出了一种新颖的隐式可学习对齐(Implicit Learnable Alignment,ILA)方法,该方法在最小化时序建模工作量的同时实现了极高的性能。具体而言,对于一个帧对,该方法在每一帧中预测一个交互点,将其作为富含互信息的区域。通过增强交互点周围的特征,两帧被隐式对齐。随后,对齐后的特征被池化为单个 token,并在后续的空间自注意力中使用。我们的方法允许消除视频中代价高昂或能力不足的时序自注意力。在多个基准上进行的大量实验证明了该模块的优越性和通用性。特别是,所提出的 ILA 在 Kinetics-400 上取得了 88.7% 的 top-1 准确率,并且与 Swin-L 和 ViViT-H 相比使用了少得多的 FLOPs。代码已发布于 https://github.com/Francis-Rings/ILA 。

英文摘要:

Contrastive language-image pretraining (CLIP) has demonstrated remarkable success in various image tasks. However, how to extend CLIP with effective temporal modeling is still an open and crucial problem. Existing factorized or joint spatial-temporal modeling trades off between the efficiency and performance. While modeling temporal information within straight through tube is widely adopted in literature, we find that simple frame alignment already provides enough essence without temporal attention. To this end, in this paper, we proposed a novel Implicit Learnable Alignment (ILA) method, which minimizes the temporal modeling effort while achieving incredibly high performance. Specifically, for a frame pair, an interactive point is predicted in each frame, serving as a mutual information rich region. By enhancing the features around the interactive point, two frames are implicitly aligned. The aligned features are then pooled into a single token, which is leveraged in the subsequent spatial self-attention. Our method allows eliminating the costly or insufficient temporal self-attention in video. Extensive experiments on benchmarks demonstrate the superiority and generality of our module. Particularly, the proposed ILA achieves a top-1 accuracy of 88.7% on Kinetics-400 with much fewer FLOPs compared with Swin-L and ViViT-H. Code is released at https://github.com/Francis-Rings/ILA .

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

↑