arXiv:2606.26515cs.CV2026-06

让模型在推理时自适应长视频,动态调整计算量。

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

论文配图:Forget, Anticipate and Adapt: Test Time Training for Long Videos
图 1 · 摘自论文原文
  • 只用三帧信息实现时间上下文建模,降低长视频计算负担。
  • 设计惊喜度指标,智能决定是否更新模型参数。
  • 支持数小时视频推理,适用于长序列理解任务。

测试时训练(TTT)是一种模型在推理阶段通过自监督学习更新自身权重的机制,无需标签。本文聚焦于长视频场景下的TTT。现有方法存在两大问题:1)使用滑动窗口对历史帧进行更新,计算量随窗口增大线性增长,难以处理长达数小时的视频;2)即使相邻帧相似也持续更新,浪费大量计算资源。为此,本文提出帧遗忘网络(FFN),仅依赖窗口内三个关键帧——即将离开的帧、当前帧和下一帧,仍能保持时间上下文并支持数小时视频处理。同时,提出一种数学定义的“惊喜度”度量,量化新帧相对于过去帧的信息增量,用于动态调节有效窗口大小,构成自适应窗口算法的核心。此外,构建了包含最长3小时城市步行视频的EpicTours数据集,显著超过此前5分钟级别的规模。实验表明,FFN在密集分割、视频分类任务中表现优异,并具备向深度估计任务迁移的能力,适用于多小时长视频场景。

原文摘要 · Abstract (English)

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.

视频理解测试时训练长视频自适应

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。