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

遗忘、预期与适应:长视频的测试时训练

Forget, Anticipate and Adapt: Test Time Training for Long Videos

University of Central Florida(中佛罗里达大学)

Rajat Modi, Sebastian Noel, Xin Liang, Yogesh Singh Rawat

AI总结:

提出帧遗忘网络(FFN),通过仅处理滑动窗口中的三帧并定义惊奇度量自适应调整窗口,实现长视频的高效测试时训练。

摘要:

测试时训练(TTT)是一种机制,模型通过执行某些自监督(SSL)任务并在推理期间更新其权重来适应传入的测试样本。此过程在测试时不需要标签。本文聚焦于长视频的TTT。现有方法的主要问题是:1)它们使用包含过去帧的滑动窗口执行TTT更新,其计算量随窗口大小线性增加。当视频长达数小时时,这在计算上变得难以处理。2)即使时间上相近的帧看起来相似,也会执行TTT,从而消耗大量计算。我们提出了帧遗忘网络(FFN),它:1)仅对滑动窗口内的三帧进行操作,即退出的帧、当前帧和下一帧。该模型仍然能够保留时间上下文并处理数小时长的视频;2)数学上定义了一个惊奇度量:传入帧相对于过去已见帧包含多少新信息。这有助于确定如何在TTT期间调整有效窗口大小,并构成了自适应窗口算法的核心机制。此外,我们整理了一个名为EpicTours的数据集,包含长达3小时的步行城市游览视频,而此前该问题的数据集仅5分钟长。我们展示了FFN在密集分割、视频分类任务上的实证有效性,以及对深度估计和多小时长视频的泛化能力。

英文摘要:

Test Time Training (TTT) is a mechanism in which a model adapts to an incoming test-sample by performing some self-supervised (SSL) task and updating its weights even during inference. This procedure does not require labels at test-time. This paper focuses on TTT for long-videos. A major concern with existing approaches is: 1) they perform TTT updates using a sliding window containing frames in the past, whose compute increases linearly with the size of window. This becomes computationally intractable when the videos are hours long. 2) TTT is performed even when temporally close frames look similar, thereby consuming a lot of compute. We present the Frame Forgetting Network (FFN) that: 1) operates on only three frames within the sliding window, namely the frame that exits, the current frame and the frame after that. The model still manages to retain temporal context and work for hours long-videos; 2) mathematically define a surprise metric: how much new information the incoming frame contains with respect to the past seen frame. This facilitates determining how to modify the effective window size during TTT and constitutes the core mechanism of an adaptive windowing algorithm. Additionally, we curate a dataset EpicTours containing up to 3 hour long videos of walking city-tours, whereas earlier datasets on this problem were only 5 min long. We demonstrate FFNs empirical effectiveness on dense-segmentation, video classification tasks, generalization to depth-estimation, and multi-hour long videos.

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

↑