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

LookWhen? 通过学习何时、何地和什么来计算实现快速视频识别

LookWhen? Fast Video Recognition by Learning When, Where, and What to Compute

University of British Columbia(不列颠哥伦比亚大学);Carleton University(卡尔顿大学);Vector Institute(向量研究所)

Ali Salamatian, Anthony Fuller, Pritam Sarkar, James R. Green, Leonid Sigal, Evan Shelhamer

AI总结:

本文提出LookWhen框架,通过学习何时、何地和什么来计算,实现高效视频识别,在多个数据集上优于现有模型。

摘要:

Transformer在视频识别中占据主导地位。它们将视频分割成token,并处理这些token具有昂贵的超线性计算成本。然而,视频充满冗余,因此可以质疑这种成本的必要性。我们引入LookWhen,一种选择器-提取器框架,将视频识别分解为学习何时、何地和什么来计算。我们的浅层选择器获取缩放后的视频并快速评分所有空间-时间token,而我们的深层提取器获取顶部K个选定token以近似完整视频表示,而无需实际处理所有token。关键挑战是定义有效的监督用于选择和提取。对于选择预训练,我们引入一种基于表示的评分,使用简单的最近邻距离对token进行唯一性排序。对于提取预训练,我们蒸馏了视频教师和图像教师,以学习视频内变化的内容。通过这些策略,我们的选择器-提取器学习了通用且高效的表示用于特征提取或微调到特定任务。在Kinetics-400、SSv2、Epic-Kitchens、Diving48、Jester和Charades数据集上的实验表明,LookWhen在准确率-计算量权衡上优于高效模型和类似规模的升级基线。在9/12种情况下(6个任务x2种设置),LookWhen在准确率-FLOPs上Pareto主导,其余3种情况大致匹配。在准确率-吞吐量上,测量实际时间,LookWhen在同等准确率下仍比InternVideo2-B快6.7倍。

英文摘要:

Transformers dominate video recognition. They split videos into tokens, and processing them has expensive superlinear computational cost. Yet videos are filled with redundancy, so we can question the need for this expense. We introduce LookWhen, a selector-extractor framework that factorizes video recognition into learning when, where, and what to compute. Our shallow selector gets a scaled-down video and quickly scores all tokens across space-time, while our deep extractor gets the top-K selected tokens to approximate full-video representations without actually processing all the tokens. A key challenge is defining effective supervision for selection and extraction. For selection pre-training, we introduce a score on representations that ranks tokens by uniqueness using a simple nearest-neighbor distance. For extraction pre-training, we distill both a video teacher and an image teacher, for which we normalize its frame-wise representations to learn what changes within videos. Through these strategies, our selector-extractor learns general and efficient representations for feature extraction or fine-tuning to a task. Through experiments on Kinetics-400, SSv2, Epic-Kitchens, Diving48, Jester, and Charades, we show that LookWhen achieves a better accuracy-computation trade-off than efficient models and upgraded baselines of similar size. LookWhen Pareto-dominates in accuracy-FLOPs on 9 of 12 cases (6 tasks x 2 settings) and roughly matches on 3. In accuracy-throughput, measuring time in practice, LookWhen is more efficient still at 6.7x faster than InternVideo2-B at equal accuracy.

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

↑