LayerLock: Non-collapsing Representation Learning with Progressive Freezing

Goker Erdogan, Nikhil Parthasarathy, Catalin Ionescu, Drew A. Hudson, Alexander Lerchner, Andrew Zisserman, Mehdi S. M. Sajjadi, Joao Carreira

TL;DR

This paper introduces LayerLock, a novel self-supervised learning technique for video representation that progressively freezes layers of a neural network and dynamically shifts its prediction target from low-level pixels to higher-level latent features. This approach leads to more stable and efficient training, achieving state-of-the-art results on various downstream vision tasks without suffering from representation collapse.

What Problem Does This Paper Address?

Self-supervised learning (SSL) for visual representation has made significant strides, particularly in learning from video. However, existing methods often fall into two categories: pixel prediction (like masked autoencoders) which can be data-hungry and focus on low-level features, and latent prediction which is more efficient and captures higher-level semantics but is prone to "representation collapse" (where the model learns trivial solutions). This paper aims to bridge this gap by developing a method that combines the strengths of both approaches, leading to more robust, efficient, and stable video representation learning.

Methods

The core of LayerLock is a progressive freezing strategy combined with a dynamically evolving prediction target.

  • Progressive Freezing: The authors observe that in Vision Transformer (ViT) models trained for masked autoencoding, shallower layers converge earlier than deeper layers. LayerLock exploits this by progressively freezing layers of the network as training progresses. This reduces computational cost and memory requirements as fewer layers need backpropagation.
  • Dynamic Target Shifting: Instead of always predicting pixels or always predicting latent features, LayerLock starts by predicting pixels (or early layer activations) and gradually transitions to predicting deeper latent representations as layers are frozen. This allows the model to first ground its learning in low-level visual information and then move towards more abstract semantic features.
  • Novel 3D Rotary Positional Embeddings (RoPE): The paper also introduces a new 3D version of rotary positional embeddings, which they found to significantly improve performance across various tasks.

LayerLock can be applied to both pixel-based (like VideoMAE) and latent-based (like V-JEPA) SSL frameworks.

Datasets

  • Training:
    • 174M web videos (for 4DS models)
    • 1 billion video clips (for 4DS models)
    • Kinetics700 dataset (for V-JEPA models)
    • 560 million video clips (for V-JEPA models)
  • Evaluation:
    • Kinetics700 [23] (action classification)
    • SSv2 [17] (action classification)
    • ScanNet [12] (monocular depth estimation)

No new benchmarks were introduced; existing datasets were used for evaluation.

Key Insights and Ideas

  • Layer Convergence Order: The observation that ViT layers converge in order of depth is a crucial insight. This natural progression allows for a structured approach to freezing layers without sacrificing performance.
  • Bridging Pixel and Latent Prediction: LayerLock effectively combines the benefits of both pixel and latent prediction methods. It grounds learning in pixels to prevent collapse while progressing to latents to capture higher-level semantics.
  • Efficiency Gains: Progressive freezing significantly reduces computational cost (FLOPs) and peak memory usage, making it possible to train larger models more efficiently.
  • Stability: The dynamic target shifting and progressive freezing contribute to a more stable training process, avoiding the representation collapse issues common in pure latent prediction methods.

Key Results

  • LayerLock achieved state-of-the-art performance on action recognition tasks (SSv2 and Kinetics700) and maintained competitive performance on depth estimation (ScanNet) compared to baseline models.
  • For example, LayerLock improved SSv2 accuracy from 63.1% to 66.1% for the 4DS-G MAE model.
  • The progressive freezing strategy alone (without the dynamic target shift) achieved comparable performance to a fully unfrozen MAE model but with significant efficiency gains: 9% fewer FLOPs and 16% less peak memory usage. These gains increase with longer training schedules.
  • The novel 3D RoPE embeddings consistently improved performance, yielding up to a 2.5% increase in SSv2 classification performance.

Limitations and Future Work

  • Resource Constraints for Ablations: Some ablation studies were conducted on smaller models or datasets due to resource limitations, which might limit the generalizability of those specific findings.
  • Granular Trade-off Exploration: The paper mentions that exploring the performance vs. compute trade-off for latent loss patch subselection in a more granular way would be interesting future work.
  • Scaling to Longer Videos/Higher Resolutions: The authors express excitement about the potential of progressive freezing to enable scaling to longer videos, larger resolutions, and even deeper models.
  • Single Target Sufficiency: Ablations suggest that using a single prediction target (the latest frozen layer) is sufficient and performs as well as using multiple targets, simplifying the approach.

Summary updated

BibTeX
@inproceedings{erdogan2025layerlock,
  author = {Goker Erdogan and Nikhil Parthasarathy and Catalin Ionescu and Drew A. Hudson and Alexander Lerchner and Andrew Zisserman and Mehdi S. M. Sajjadi and Joao Carreira},
  title = {{LayerLock: Non-collapsing Representation Learning with Progressive Freezing}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure