Self-supervised video pretraining yields robust and more human-aligned visual representations

Nikhil Parthasarathy, S. M. Ali Eslami, Joao Carreira, Olivier J Henaff

TL;DR

While static image pretraining (like ImageNet) dominates computer vision, it misses the rich, dynamic signals humans use to learn about the world. This paper introduces VITO (VIdeos inTO visual representations), a self-supervised framework that leverages curated video data and multi-scale attention to learn visual representations. VITO models are not only more robust to real-world distortions but also significantly more aligned with human perceptual judgments than models trained on static images.

The Problem with Static Pretraining

Most "foundation models" in computer vision are trained on static images. While highly successful on standard benchmarks, these models often lack human alignment: they can be easily fooled by small perturbations, rely heavily on texture rather than shape, and generally do not "see" the world the way humans do.

Humans and animals learn by observing how objects move and change over time. Video provides "natural augmentations"—changes in pose, viewpoint, and lighting—that are far more complex than the synthetic crops and color jitters used in standard image training. Previous attempts to use video for pretraining often resulted in models that excelled at action recognition but performed poorly on spatial tasks like object detection. The authors of VITO set out to bridge this gap, asking if video pretraining can yield a single, unified representation that excels at both spatial and temporal tasks while remaining robust and human-like.

The VITO Methodology

The authors propose VITO, a framework designed to distill knowledge from complex temporal transformations. It consists of three main components:

The VITO framework pipeline.
  1. Natural Video Pipeline: Instead of aggressive cropping—which can easily lose the target object in uncurated video—VITO uses larger minimum crop sizes (40% of the image versus the standard 8%). It samples frames from a 2.56-second window, forcing the model to learn invariances across natural temporal transformations.
  2. Multi-scale Contrastive Attention Pooling: Standard models use "global average pooling," which treats all pixels as equally important. VITO introduces a 2-layer MLP attention module to learn which features are stable and distinctive across temporally displaced frames. By applying this at multiple scales of the backbone (e.g., the last two blocks of a ResNet), the model learns to track objects and their constituent parts as they move.
  3. Contrastive Learning: VITO uses an InfoNCE loss with an Exponential Moving Average (EMA) target network (similar to BYOL or DINO). This enforces similarity between different views of the same video clip while pushing away "negative" samples from other videos.

Datasets and Evaluation

To train VITO, the authors found that standard video datasets (like Kinetics) were either too narrow in scope or too noisy. They curated VideoNet, a new dataset of 1.18 million video clips designed to match the 1,000-class distribution of ImageNet. They used an ImageNet-pretrained classifier to filter 5 million raw clips, ensuring the intended objects were actually present and visible.

The model was rigorously tested across a battery of benchmarks:

  • Scene Understanding: ADE20K, COCO, PASCAL, and LVIS.
  • Video Understanding: DAVIS (segmentation) and UCF-101 (action recognition).
  • Robustness: ImageNet-A (adversarial), ImageNet-Vid (temporal shifts), and ImageNet-3DCC (3D-consistent corruptions like fog or motion blur).
  • Human Alignment: ClickMe (saliency maps) and shape-bias datasets.

Key Insights

  • Semantic Binding: One of the most fascinating findings is that VITO's attention mechanism performs "semantic binding." By learning what is stable across time, the model naturally learns to associate related but visually different features—like an arm and a dumbbell—because they move together.
  • Video as a Robustness Teacher: Learning from motion-induced deformations makes models much more resilient to 3D corruptions (like viewpoint changes or blur) than models trained on static images, or even those specifically trained for adversarial robustness.
  • The "Texture vs. Shape" Gap: Standard CNNs are notoriously "texture-biased." VITO demonstrates a much stronger "shape-bias," making its error patterns much more consistent with how humans fail (or succeed) at visual tasks.
  • Curation is King: Simply having more video data isn't enough. Aligning the video training distribution with a well-balanced set of categories (via VideoNet) was critical for VITO to outperform ImageNet-trained models on spatial tasks.

Key Results

  • Generalization: VITO (using a ResNet-50 backbone) achieved 39.4 mIoU on ADE20K, outperforming all prior video pretraining methods and matching or beating top-tier image-based self-supervised methods like DINO.
  • Robustness: On ImageNet-3DCC, VITO was +10% more robust than supervised ImageNet models at high corruption levels.
  • Human Alignment: In saliency map comparisons, VITO achieved a correlation score of 47.7, surpassing even "Harmonized" models (45.5) that were explicitly trained to match human eye-tracking data.
  • Video Tasks: Despite being a frame-based backbone, VITO outperformed specialized video architectures on DAVIS segmentation (68.2 J&F mean).

Limitations and Future Work

While VITO presents a compelling step forward, the authors note a few limitations. Most of the exploration was conducted with ResNet-50; while promising results were shown scaling to Swin Transformers, further work is needed to evaluate VITO with massive Vision Transformers (ViTs). Additionally, because VideoNet was curated using an ImageNet-pretrained classifier, it may inherit some existing biases of image-based models. Finally, VITO currently uses a relatively simple temporal sampling strategy. Future iterations could incorporate more complex attentional architectures or predictive objectives—such as learning intuitive physics—to further enhance the model's reasoning capabilities.

Summary updated

BibTeX
@inproceedings{parthasarathy2023self,
  author = {Nikhil Parthasarathy and S. M. Ali Eslami and Joao Carreira and Olivier J Henaff},
  title = {{Self-supervised video pretraining yields robust and more human-aligned visual representations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=vF8ukt5l1R},
}
Figure