Manuscript Offprint

arXiv:2609.35464

W2Rep: Learning Visual Representations by Watching the World Change

Wen Huang, Hang Guo, Jiarui Yang, Zheng Liu, Tao Dai, Shu-tao Xia

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Images capture the world at one moment, whereas video reveals how it changes. Image self-supervision learns spatial structure from a single moment, while video methods commonly learn temporal relationships inside a representation computed jointly from several frames. We ask whether watching a scene change can instead improve features available from one image without sacrificing the ability to represent video. We introduce W2REP, a masked feature-prediction framework in which an independently encoded source image participates in prediction at the same or another moment. The predictor is conditioned on visible video context, the queried location, and the signed time interval between source and target. This gives the cross-frame objective two complementary roles: the image path learns features that remain useful across time, while the video path must gather evidence that is missing from the source image. Across model scales and downstream tasks, W2REP improves frozen and fine-tuned recognition under our comparison protocol, while joint video encoding provides further gains over frame-wise aggregation. Controlled experiments show that these gains depend on directly updating the source-image features and on using both video context and temporal displacement. Overall, change across a video can supervise a visual encoder whose representations remain useful at either image or video granularity. Code is available at https://wenooi.github.io/W2Rep.

1 INTRODUCTION

Learning visual representations that transfer across tasks and input formats is a central goal of visual pretraining. A useful representation should capture not only what is visible in one image, but also how related observations of the same scene are organized as the world changes. Images provide spatial structure at a single moment; video additionally connects objects, states, and interactions across time. These temporal relations offer supervision that is unavailable from isolated images.

Self-supervised learning has progressively expanded the relationships used to train visual representations. Contrastive learning (Chen et al., 2020; He et al., 2020; Caron et al., 2020) and self-distillation (Grill et al., 2020; Caron et al., 2021) relate augmented views of one image, while masked modeling predicts hidden pixels, tokens, or features from visible image context (Bao et al., 2021; He et al., 2022; Assran et al., 2023). Video methods extend these ideas across space and time, commonly encoding several frames together to learn a spatiotemporal representation (Wei et al., 2022; Tong et al., 2022; Feichtenhofer et al., 2022; Bardes et al., 2024). These approaches have produced strong image and video models, but they differ in whether the encoder is trained to represent one image or an entire clip.

Many existing video objectives are designed primarily to learn representations of clips rather than individual images. Because they process several frames together, the resulting representation can use information from the entire clip. This is valuable for video understanding, but it does not directly answer whether observing a scene change can also improve the representation produced from one image alone. As illustrated in Fig. 1, we study this complementary question: can changes across

Figure

Figure 1: Three training interfaces for visual self-supervision. Image methods learn from different views or masked regions of one image. Video methods commonly encode several frames together. W2REP uses change across a video to train image features. Its video-context path supplies the complementary multi-frame evidence needed for cross-frame prediction, so the same objective also trains the encoder to use video inputs. The retained encoder can later process either an image or a video. The thumbnails show four frames from a single Something-Something V2 video; the illustration is schematic rather than an exhaustive taxonomy.

frames help learn better image representations, while still allowing the model to use multiple frames when video is available?

Our idea is to make an independently encoded source image participate in prediction across time. Because the scene may change from one frame to another, we do not directly match their features, as is commonly done between two augmented views of the same image. Instead, the source image helps predict the features of a queried region at the same or another time. The prediction also uses the queried location, the time interval, and visible evidence from the video. This relates observations in one learned feature space without imposing temporal invariance or defining change through a hand-crafted target such as optical flow or an RGB difference.

W2REP realizes this idea with a visual encoder and a conditional predictor used only during pre-training, as detailed in Fig. 2. The same visual encoder processes the sampled source image and the masked video clip in two separate passes. The first produces image features without seeing neighboring frames; the second summarizes visible context from the clip. Given the source features, clip context, masked spatial queries, and a signed temporal offset, the predictor estimates target features in the source or another frame. Both passes are necessary for cross-frame prediction: the source-image pass must produce features from one image that remain useful for predicting other moments, while the video pass gathers complementary evidence from the surrounding clip. The cross-frame loss therefore trains the same Vision Transformer (ViT) both as an image encoder and as a multi-frame encoder. After pretraining, the predictor and auxiliary tokens are discarded. The retained encoder produces image-level features from one image and can also aggregate evidence jointly when given several frames. We call these features a temporally grounded visual state: they remain available from an image, while the distinctions they preserve are learned from related observations of scenes as they change.

W2REP improves frozen recognition at both ViT-B/16 and ViT-L/16 scales while also producing effective spatiotemporal representations. At ViT-B/16, frozen ImageNet accuracy rises from 28.5% for compute-matched I-JEPA to 34.6%. Across Something-Something V2 (SSv2), UCF101, and Diving48, encoding frames together consistently improves over aggregating independently encoded frames, and full fine-tuning reaches 58.8% on SSv2, compared with 55.2% for step-matched VideoMAE. Ablations show complementary roles for same-frame and cross-frame prediction and verify that both visible clip context and signed temporal displacement affect the prediction. A frozen-predictor diagnostic further retrieves the requested target frame in 52.1% of eight-way comparisons, versus 12.5% at random.

Our contributions are:

• We introduce a masked feature-prediction objective that places an independently computed image representation in both within-frame and cross-frame prediction.

• We realize this objective with one ViT backbone that produces both image and spatiotemporal video representations after its auxiliary prediction components are removed.

• Across two model scales, frozen and fine-tuned evaluations, and controlled temporal diagnostics, we show that this supervision improves image- and video-level recognition and that the predictor uses both ordered clip evidence and signed temporal displacement.

References (61)

  • Self-supervised learning from images with a joint-embedding predictive architecture
  • Data2vec: A general framework for self-supervised learning in speech, vision and language
  • BEiT: BERT Pre-Training of Image Transformers
  • Vicreg: Variance-invariance-covariance regularization for self-supervised learning (opens arXiv in a new tab)
  • Mc-jepa: A joint-embedding predictive architecture for self-supervised learning of motion and content features (opens arXiv in a new tab)
  • Revisiting feature prediction for learning visual representations from video (opens arXiv in a new tab)
  • Speednet: Learning the speediness in videos
  • Generative interactive environments
  • Unsupervised learning of visual features by contrasting cluster assignments
  • Emerging properties in self-supervised vision transformers
  • A simple framework for contrastive learning of visual representations
  • You don’t need strong assumptions: Visual representation learning via temporal differences (opens arXiv in a new tab)
  • Imagenet: A large-scale hierarchical image database
  • Temporal cycle-consistency learning
  • Advances in neural information processing systems, 35:35946–35958, 2022
  • Omnimae: Single model masked pretraining on images and videos
  • something something
  • Advances in neural information processing systems, 33:21271–21284, 2020
  • Momentum contrast for unsupervised visual representation learning
  • Masked autoencoders are scalable vision learners
  • Space-time correspondence as a contrastive random walk
  • Visual representation learning with stochastic frame prediction (opens arXiv in a new tab)
  • Token bottleneck: One token to remember dynamics
  • Resound: Towards action recognition without representation bias
  • Decoupled Weight Decay Regularization
  • Shuffle and learn: unsupervised learning using temporal order verification
  • V-jepa 2.1: Unlocking dense features in video self-supervised learning
  • Learning features by watching objects move
  • Spatiotemporal contrastive video representation learning
  • International journal of computer vision, 115(3):211–252, 2015
  • Ucf101: A dataset of 101 human actions classes from videos in the wild (opens arXiv in a new tab)
  • Videomae: Masked autoencoders are data-efficient learners for self-supervised video pre-training
  • Attention is all you need
  • Long-short temporal contrastive learning of video transformers
  • Videomae v2: Scaling video masked autoencoders with dual masking
  • Bevt: Bert pretraining of video transformers
  • Masked video distillation: Rethinking masked feature modeling for self-supervised video representation learning
  • Learning correspondence from the cycle-consistency of time
  • Masked feature prediction for self-supervised visual pre-training
  • Unified perceptual parsing for scene understanding
  • Scene parsing through ade20k dataset
  • ibot: Image bert pre-training with online tokenizer (opens arXiv in a new tab)
  • The independent source-image call must produce features that help predict another moment
  • The shared spatial coordinates used for cross-frame queries are a reference system rather than an explicit correspondence mechanism, so object or camera motion may displace relevant content
  • The resource controls separate video exposure from arithmetic cost because neither quantity alone characterizes all objectives
  • To make this trade-off visible, Table 4 additionally evaluates VideoMAE after matching the ViT-B/16 forward-MAC budget
  • >Method</td><td rowspan=
  • The two model scales differ in encoder and predictor depth while sharing the same auxiliary-context design and optimization recipe
  • W2Rep uses one spatial mask across the video and samples target frames on both sides of a uniformly selected source frame
  • VideoMAE uses eight frames at stride three, tubelet size two, 90% tube masking, and a four-block decoder; its audit includes the encoder, encoder-to-decoder projection, decoder, and pixel head
  • Removing the temporal-offset condition causes the next-largest drop
  • All controlled pretraining runs use the common seed 42, and all decoders use their final 160k-iteration checkpoint
  • Values are top-1 accuracy (%), averaged over three downstream heads
  • It controls the magnitude of the predictor's video condition, although these results do not distinguish an optimization effect from reduced reliance on that branch
  • $K = 4$ remains close on SSv2 but loses 2.02 points on ImageNet and 2.47 on UCF101 joint-8; $K = 64$ does not improve these readouts and loses 4.14 on SSv2 joint-8
  • Across 5,000 paired video-level bootstrap replicates, the $95\%$ confidence intervals for ordered-minus-reversed, ordered-minus-shuffled, and ordered-minus-static are [11.43, 12.32], [15.91, 16.89], and [20.61, 21.66] points
  • An ordered linear readout is sensitive to both the set of observed frames and their temporal organization
  • (a) An SSv2 linear head trained on ordered clip latents is evaluated without refitting; accuracy falls when the same frames are reversed or shuffled, and further when one frame is repeated
  • The nearest ordered descriptor shares its SSv2 action label in 11.30% of validation videos, compared with 0.86% for an empirical random video
  • The static control removes both temporal evolution and multi-frame diversity, whereas shuffling is the cleaner order-only intervention
  • Figure 6 illustrates these behaviors