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

📄 arXiv: 2606.26515v1 📥 PDF

作者: Rajat Modi, Sebastian Noel, Xin Liang, Yogesh Singh Rawat

分类: cs.CV

发布日期: 2026-06-25

备注: ECCV 2026. GLOM/APM's temporal binding now works for long videos


💡 一句话要点

提出帧遗忘网络以解决长视频测试时训练的计算挑战

🎯 匹配领域: 支柱三:空间感知与语义 (Perception & Semantics)

关键词: 长视频理解 测试时训练 帧遗忘网络 自监督学习 视频分析 动态窗口调整 计算效率

📋 核心要点

  1. 现有的测试时训练方法在处理长视频时计算复杂度高,尤其是当视频时长达到数小时。
  2. 本文提出的帧遗忘网络(FFN)通过仅使用三个帧进行更新,保留时间上下文并降低计算负担。
  3. FFN在密集分割和视频分类任务中表现出色,并在深度估计和多小时长视频上具有良好的泛化能力。

📝 摘要(中文)

测试时训练(TTT)是一种机制,模型在推理过程中通过自监督任务适应输入的测试样本并更新权重,而无需测试时标签。本文关注长视频的TTT,指出现有方法在处理长视频时的计算不可行性和相似帧的冗余更新问题。我们提出帧遗忘网络(FFN),仅使用滑动窗口中的三个帧进行更新,并定义了一种惊讶度量来动态调整有效窗口大小。此外,我们构建了EpicTours数据集,包含长达3小时的城市步行视频,展示了FFN在密集分割、视频分类等任务上的有效性。

🔬 方法详解

问题定义:本文旨在解决长视频的测试时训练(TTT)中计算复杂度高和冗余更新的问题。现有方法在处理长视频时,使用滑动窗口更新的计算量随着窗口大小线性增加,导致不可行。

核心思路:我们提出帧遗忘网络(FFN),仅使用滑动窗口中的三个帧进行更新:当前帧、前一帧和后一帧。通过这种方式,模型能够在长视频中保留时间上下文,同时减少计算开销。

技术框架:FFN的整体架构包括输入帧的选择、惊讶度量的计算和动态窗口大小的调整。模型通过自监督任务进行训练,更新权重以适应新输入。

关键创新:本文的核心创新在于定义了一种惊讶度量,量化新帧相对于过去帧的新信息量,从而动态调整有效窗口大小。这一机制显著提高了TTT的效率。

关键设计:在模型设计中,我们设置了特定的损失函数以优化帧选择过程,并确保网络结构能够有效处理长视频数据。

🖼️ 关键图片

fig_0
fig_1
fig_2

📊 实验亮点

实验结果表明,FFN在密集分割和视频分类任务中相较于基线方法有显著提升,尤其在处理多小时长视频时,计算效率提高了约50%。此外,FFN在深度估计任务中也展现了良好的泛化能力。

🎯 应用场景

该研究的潜在应用领域包括视频监控、自动驾驶、智能城市等场景,能够有效处理长时间的视频数据,提升模型在实际应用中的适应性和效率。未来,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.