我有一条流:让自监督学习在连续视频上奏效
研究论文 · 2026/10/01
自监督学习虽受婴儿视觉发展启发,但标准训练流程与真实发展过程差异显著:图像被独立采样并在各轮次间全局打乱。本文研究连续视频流中的自监督学习,其中帧按时间顺序以严格滑动窗口批次被消费,无全局重排或多轮重复。为此,我们构建了WT++,一个95小时的城市步行游览视频数据集,用于流式预训练。结合全面的评估套件,我们发现对比学习和基于蒸馏的方法在此设定下表现不佳,而MAE更稳健但仍不及标准独立同分布预训练。我们发现由连续批次滑动窗口消费引起的高批次间相似性并不能解释这一差距。主要挑战在于高批次内相似性,即每个批次内的帧近乎重复。为缓解此问题,我们提出StreamMAE,它保留核心MAE重建目标,同时通过流感知正则化和运动偏置裁剪选择来调整输入管道。StreamMAE优于流式基线,与在同一视频数据上训练的独立同分布MAE相当,与ImageNet预训练的MAE相比仍具竞争力,并且随着预训练流从12小时增长到95小时而正向扩展。
本文挑战了自监督学习依赖独立同分布采样的假设,探索更贴近真实视觉发展过程的连续视频流预训练,提出了有效的StreamMAE方法,并构建了大规模数据集,对推动自监督学习在现实流式场景中的应用具有重要意义。
Self-supervised learning draws inspiration from infant visual development, yet standard training pipelines bear little resemblance to it: images are independently sampled and globally shuffled across epochs. We study self-supervised learning from continuous video streams, where frames are consumed in temporal order using strict sliding-window batches, without global reshuffling or multi-epoch replay. To this end, we construct WT++, a 95-hour urban walking-tour video dataset for streaming pretraining. Combined with a comprehensive evaluation suite we find that contrastive and distillation-based methods struggle in this setting, while MAE is more robust but still falls short of standard i.i.d. pretraining. We find that high inter-batch similarity, caused by sliding-window consumption across consecutive batches, does not explain this gap. The main challenge is high intra-batch similarity, where frames within each batch are near-duplicates. To mitigate this, we propose StreamMAE, which preserves the core MAE reconstruction objective while adapting the input pipeline with stream-aware regularization and motion-biased crop selection. StreamMAE outperforms streaming baselines, matches i.i.d. MAE trained on the same video data, remains competitive with ImageNet-pretrained MAE, and scales positively as the pretraining stream grows from 12 to 95 hours.