data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Language

While the general idea of self-supervised learning is identical across modalities, the actual algorithms and objectives differ widely because they were developed with a single modality in mind. To get us closer to general self-supervised learning, we present data2vec, a framework that uses the same learning method for either speech, NLP or computer vision. The core idea is to predict latent representations of the full input data based on a masked view of the input in a self-distillation setup using a standard Transformer architecture. Instead of predicting modality-specific targets such as words, visual tokens or units of human speech which are local in nature, data2vec predicts contextualized latent representations that contain information from the entire input. Experiments on the major benchmarks of speech recognition, image classification, and natural language understanding demonstrate a new state of the art or competitive performance to predominant approaches.

PDF Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Linguistic Acceptability CoLA data2vec Accuracy 60.3% # 30
Image Classification ImageNet data2vec (ViT-H) Top 1 Accuracy 86.6% # 132
Number of params 656M # 946
Speech Recognition LibriSpeech test-other data2vec Word Error Rate (WER) 3.7 # 10
Natural Language Inference QNLI data2vec Accuracy 91.1% # 30
Paraphrase Identification Quora Question Pairs data2vec Accuracy 92.4 # 1
Natural Language Inference RTE data2vec Accuracy 69.9% # 54

Methods