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

运动遇见注意力:视频运动提示

Motion meets Attention: Video Motion Prompts

Australian National University(澳大利亚国立大学);Data61/CSIRO(澳大利亚联邦科学与工业研究组织数据61分部);Curtin University(科廷大学)

Qixiang Chen, Lei Wang, Piotr Koniusz, Tom Gedeon

AI总结:

本文提出即插即用的运动提示层,用改进 Sigmoid 注意力调制帧差分运动并加入时间正则化,从而替代原始帧提升动作识别性能。

摘要:

视频包含丰富的时空信息。用于动作识别等任务的传统运动提取方法通常依赖视觉内容,而非精确的运动特征。这种现象被称为“盲目运动提取”行为,事实证明,由于缺乏运动引导线索,该行为在捕获感兴趣运动方面效率低下。近年来,注意力机制通过有效突出显著视觉区域,增强了许多计算机视觉任务。受此启发,我们提出一种带有可学习斜率和位移参数的改进 Sigmoid 函数,将其作为注意力机制来调节来自帧差分图的运动信号。该方法生成一系列注意力图,以增强对运动相关视频内容的处理。为确保注意力图的时间连续性和平滑性,我们应用成对时间注意力变化正则化,在保留重要运动的同时去除不需要的运动(例如噪声)。随后,我们在每对注意力图与原始视频帧之间执行 Hadamard 乘积,以随时间突出不断演变的感兴趣运动。这些被突出的运动称为视频运动提示,随后代替原始视频帧用作模型输入。我们将该过程形式化为一个运动提示层,并将正则化项纳入损失函数,以学习更好的运动提示。该层充当模型与视频数据之间的适配器,弥合了传统“盲目运动提取”与相关感兴趣运动提取之间的差距。我们表明,轻量级、即插即用的运动提示层可无缝集成到 SlowFast、X3D 和 TimeSformer 等模型中,并提升在 FineGym 和 MPII Cooking 2 等基准上的性能。

英文摘要:

Videos contain rich spatio-temporal information. Traditional methods for extracting motion, used in tasks such as action recognition, often rely on visual contents rather than precise motion features. This phenomenon is referred to as 'blind motion extraction' behavior, which proves inefficient in capturing motions of interest due to a lack of motion-guided cues. Recently, attention mechanisms have enhanced many computer vision tasks by effectively highlighting salient visual areas. Inspired by this, we propose a modified Sigmoid function with learnable slope and shift parameters as an attention mechanism to modulate motion signals from frame differencing maps. This approach generates a sequence of attention maps that enhance the processing of motion-related video content. To ensure temporal continuity and smoothness of the attention maps, we apply pair-wise temporal attention variation regularization to remove unwanted motions (e.g., noise) while preserving important ones. We then perform Hadamard product between each pair of attention maps and the original video frames to highlight the evolving motions of interest over time. These highlighted motions, termed video motion prompts, are subsequently used as inputs to the model instead of the original video frames. We formalize this process as a motion prompt layer and incorporate the regularization term into the loss function to learn better motion prompts. This layer serves as an adapter between the model and the video data, bridging the gap between traditional 'blind motion extraction' and the extraction of relevant motions of interest. We show that our lightweight, plug-and-play motion prompt layer seamlessly integrates into models like SlowFast, X3D, and TimeSformer, enhancing performance on benchmarks such as FineGym and MPII Cooking 2.

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

↑