[Paper Review] Efficient Self-supervised Learning with Contextualized Target Representations for Vision, Speech and Language
This paper introduces data2vec 2.0, a highly efficient self-supervised learning framework that uses contextualized target representations to unify vision, speech, and language pre-training. By employing a fast convolutional decoder, avoiding masked token encoding, and amortizing teacher model inference across multiple masked views, data2vec 2.0 achieves state-of-the-art accuracy in 2–16x less pre-training time than prior methods across ImageNet-1K, Librispeech, and GLUE benchmarks.
Current self-supervised learning algorithms are often modality-specific and require large amounts of computational resources. To address these issues, we increase the training efficiency of data2vec, a learning objective that generalizes across several modalities. We do not encode masked tokens, use a fast convolutional decoder and amortize the effort to build teacher representations. data2vec 2.0 benefits from the rich contextualized target representations introduced in data2vec which enable a fast self-supervised learner. Experiments on ImageNet-1K image classification show that data2vec 2.0 matches the accuracy of Masked Autoencoders in 16.4x lower pre-training time, on Librispeech speech recognition it performs as well as wav2vec 2.0 in 10.6x less time, and on GLUE natural language understanding it matches a retrained RoBERTa model in half the time. Trading some speed for accuracy results in ImageNet-1K top-1 accuracy of 86.8\% with a ViT-L model trained for 150 epochs.
Motivation & Objective
- Address the high computational cost of self-supervised learning across vision, speech, and language modalities.
- Reduce training time without sacrificing downstream performance by improving efficiency in data2vec, a unified self-supervised objective.
- Enable low-batch-size pre-training through multi-masked training with shared target representations.
- Demonstrate that contextualized targets improve learning efficiency and performance across modalities.
- Develop a general-purpose, modality-agnostic pre-training framework that maintains high accuracy with reduced compute.
Proposed method
- Use a student-teacher distillation framework where the student predicts contextualized target representations from a masked input.
- Generate contextualized targets using a teacher model with exponentially averaged weights, capturing global context via self-attention.
- Amortize the cost of target generation by reusing the same target representation across multiple masked views of the same input sample.
- Replace full token masking with a fast convolutional decoder that only processes unmasked patches, reducing computation.
- Apply multi-mask training to enable effective learning with smaller batch sizes by generating multiple masked versions per sample.
- Introduce a learnable relative position bias (Alibi) for speech models to improve performance without additional positional embeddings.
Experimental results
Research questions
- RQ1Can contextualized target representations improve the efficiency of self-supervised learning across vision, speech, and language?
- RQ2To what extent can amortizing teacher inference across multiple masked views reduce training time without accuracy loss?
- RQ3How does multi-mask training affect model convergence and performance when using small batch sizes?
- RQ4Does replacing masked token prediction with pixel or patch reconstruction improve efficiency and accuracy?
- RQ5Can a unified learning objective with shared components achieve SOTA performance across multiple modalities with reduced computational cost?
Key findings
- On ImageNet-1K, data2vec 2.0 achieves 86.8% top-1 accuracy with a ViT-L model in 150 epochs, matching a RoBERTa model in half the time.
- For speech recognition on Librispeech, data2vec 2.0 matches wav2vec 2.0 performance in 10.6x less pre-training time.
- On GLUE, data2vec 2.0 matches a retrained RoBERTa model in 1.8x faster training and 7.8 fewer epochs.
- Multi-mask training enables stable pre-training with batch size 64 (M=16), achieving 4.6% higher accuracy than single-mask baseline.
- Removing the CLS loss reduces accuracy by only 0.2%, indicating its minor but complementary role to patch-level prediction.
- Pixel regression loss alone leads to a 0.9% drop in ImageNet accuracy, showing that contextualized target prediction is more effective than raw pixel reconstruction.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.