TL;DR
Recurrent Video Masked Autoencoders (RVM) introduce a highly efficient "generalist" visual encoder by combining sequential frame processing with a transformer-based recurrent core. Trained purely on a pixel reconstruction loss with an asymmetric future-prediction masking objective, RVM bridges the long-standing gap between image models and video models, setting a new Pareto frontier in parameter efficiency without requiring knowledge distillation.
What Problem Does This Paper Address?
Self-supervised visual representation learning has historically forced a compromise between two paradigms:
- Image-based models (e.g., DINOv2): Excel at dense spatial, geometric, and semantic tasks (like depth estimation or part tracking) but fail to capture motion or temporal dynamics.
- Video-based models (e.g., VideoMAE, V-JEPA): Excel at spatiotemporal tasks (like action recognition) but perform poorly on dense spatial correspondence tasks.
Furthermore, standard video models typically rely on chunked offline architectures with symmetric spatio-temporal attention. By treating time symmetrically, they ignore the causal nature of video, incur quadratic computational costs over long sequences, and remain ill-suited for online or streaming applications like robotics. RVM addresses these challenges by explicitly modeling the asymmetry of time through both its architecture and its masking objective.
Methods
RVM processes video sequentially using a hybrid architecture that integrates a Vision Transformer (ViT) with a Gated Recurrent Unit (GRU):
- Tokenization & Independent Encoding: Input video frames ($X_t$) are processed sequentially. Each frame is patchified and independently embedded using a standard ViT encoder, with weights shared across all source and target frames.
- Recurrent Core (The Transformer-GRU Hybrid): The encoded tokens are fed into an RNN core. This core uses a multi-layer Transformer block utilizing both cross- and self-attention, modulated by the gating mechanism of a standard GRU. The previous hidden state ($s_{t-1}$) acts as the keys and values, while the current frame's tokens serve as queries. This allows the model to incrementally aggregate, refine, or discard temporal information with linear compute and memory scaling.
- Asymmetric Masking & Decoding: During training, a target frame ($XT$) is sampled from a random future time gap (4 to 48 frames ahead) and heavily masked (typically 95%). A cross-attention decoder takes the unmasked target tokens and conditions them on the aggregated source features from the recurrent core to minimize a simple $L_2$ pixel reconstruction loss.
Datasets
- Pre-training: A large-scale mixture of approximately 8.4 million publicly available web video clips, combining samples from HowTo100M, Kinetics700, Something-Something v2 (SSV2), YTBB, and YT8M.
- Evaluation Suite:
- Spatio-temporal tasks: Something-Something v2, Kinetics-400/700, Waymo open object tracking, and the Perception Test point tracking benchmark.
- Spatial tasks: ScanNet depth estimation, DAVIS-2017 video object segmentation, JHMDB human keypoint tracking, and Video Instance Parsing (VIP).
Key Insights and Ideas
- Time is Asymmetric: By forcing the network to causally aggregate past frames to predict a heavily masked future frame, the model develops a strong inductive bias for learning object permanence and spatial correspondences.
- Emergent Long-Term Feature Stability: Remarkably, even though RVM is trained using only a 4-frame source horizon, its recurrent core generalizes beautifully to long sequences. When unrolled over 80+ frames, RVM's feature consistency decays significantly less than competing video models that rely on chunked, full spatio-temporal self-attention.
- Natively Strong Small Models: While image giants like DINOv2 rely heavily on knowledge distillation from massive teacher networks to perform well at smaller scales, RVM achieves state-of-the-art efficiency directly from scratch.
Key Results
RVM establishes a clear Pareto frontier across both spatial and spatiotemporal domains:
- The Generalist Advantage: RVM-H (Huge) achieves an average normalized task performance of 94.9% across the entire evaluation suite, comfortably outperforming specialized giant models like DINOv2-g (85.0%) and VideoMAEv2-g (77.9%).
- Extreme Parameter Efficiency: RVM-S (Small, 34M parameters) outperforms a VideoMAE-B model (87M parameters) on 6 out of 8 benchmarks. Natively, RVM models exhibit up to $30\times$ greater parameter efficiency than competing video masked autoencoders for equivalent average performance.
Limitations and Future Work
- Short Sequence Overhead: Because RVM processes frames sequentially rather than patchifying across the temporal dimension simultaneously, it can be computationally heavier than chunked models for very short video clips.
- Memory-Intensive Training: Backpropagation through time (BPTT) requires keeping the ViT encoder gradients in memory at every temporal step, creating a substantial hardware footprint during training.
- Scaling Laws: The authors noted that they have not yet hit a data saturation point; performance continued to scale steadily up to 2 billion training examples. Defining formal scaling laws for this recurrent architecture remains an open avenue for future research, alongside evaluating RVM on downstream robotic control and world-modeling tasks.
Summary updated