arXiv:2609.40333cs.CVSep 2026

Manuscript Offprint

arXiv:2609.40333

I Have a Stream: Making Self-Supervised Learning Work on Continuous Video

Ivan Martinović, Lukas Knobel, Yuki M. Asano

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

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.

1 Introduction

Self-supervised learning (SSL) methods, such as MAE [28] and DINO [5, 37], have advanced visual representation learning. These models are trained on large image collections [15, 37, 42] that are shuffled, often revisited over multiple epochs, and sampled to form diverse batches. This approximates an independent-and-identically-distributed (i.i.d.) regime at the batch level: batches contain diverse, unrelated examples, supporting stable optimization and broad coverage. While SSL is often motivated by how infants and animals learn without explicit high-level supervision, such as language, this pretraining regime remains far from how visual experience arrives in practice.

Natural visual experience is inherently sequential. A camera, robot, or embodied agent observes the world as a temporally ordered stream, where consecutive frames are highly similar and visual content evolves slowly over time. This setting removes a central convenience of standard gradient-based SSL: the ability to globally shuffle data and construct diverse batches. We therefore ask: Can SSL work well on continuous video streams and scale with more video data when trained from random initialization, without global shuffling, multi-epoch training, or a long-term replay buffer?

Learning from streaming video is appealing not only as a fundamental research question, but also for embodied agents and edge devices, where data naturally arrive sequentially and need not be stored as a fixed training dataset. However, this regime challenges standard gradient-based training: instead of diverse batches that approximate the data distribution, streaming batches come from short consecutive

Preprint.

Figure

Figure 1: Left: StreamMAE adapts MAE to continuous video streams with stream-aware regularization and crop selection. Right: StreamMAE (ViT-S) improves dense performance over streaming SSL baselines (top) and improves with longer pretraining streams and a larger backbone (bottom).

video segments, are highly redundant, and often contain only small visual changes. As a result, SSL methods that work well on large image collections may not be the best fit for continuous video.

Several recent works study learning from continuous video, but typically relax the strict from-scratch streaming setting: they focus on online prediction or adaptation with pretrained initialization [6], address correlated updates without fully closing the from-scratch degradation [23], or use replay buffers to restore batch diversity [56]. In contrast, we study SSL from scratch: models consume video in temporal order using sliding-window batches and are trained without long-term replay buffers.

To study this setting, we extend the released WalkingTours (WT) dataset [49] into WT++, a 95-hour collection of walking-tour videos for streaming pretraining. We evaluate learned representations across several downstream vision tasks, covering both close-to-domain and out-of-domain benchmarks.

We first benchmark common SSL objectives under this streaming setup, including contrastive learning with MoCo v3 [10], self-distillation with DINO [5], and masked reconstruction with MAE [28]. Under streaming pretraining, MoCo v3 and DINO lag behind MAE (see Figure 1, right), making masked reconstruction the strongest starting point in our setting. However, streaming MAE still falls short of standard i.i.d. MAE trained on the same visual data. We investigate this gap by separating two effects: inter-batch similarity, i.e., similarity between consecutive batches caused by fixed-order sliding-window consumption, and intra-batch similarity, i.e., similarity among examples within the same batch. To isolate these effects, we pre-shuffle ImageNet-1K [15] once and then consume it as a fixed stream. MAE trained on this pre-shuffled stream matches standard i.i.d. MAE, showing that inter-batch similarity alone does not explain the gap. The main difficulty instead comes from high intra-batch similarity in continuous video, where each batch contains many near-duplicate frames.

Motivated by this analysis, we propose StreamMAE, a simple adaptation of MAE for streaming video. As summarized in Figure 1, StreamMAE preserves the MAE reconstruction objective while adapting the training pipeline to reduce the effect of temporally redundant batches. It combines stronger regularization, two-stage cropping, and motion-biased crop selection based on patch-level frame differences. StreamMAE outperforms streaming baselines, narrows the gap to standard i.i.d. MAE on the same video data, and scales with encoder capacity and pretraining duration (Figure 1, bottom right). These results suggest that masked reconstruction, combined with stream-aware sampling and regularization, is a strong foundation for self-supervised learning from continuous video streams.

References (54)