
data2vec (speech)
Audio and speech376 ops93.2M params
Self-supervised speech encoder that regresses a teacher's contextualized representations from masked audio.
Audio and speech · 412 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
About this model's family
data2vec is a self-supervised learning framework that applies one learning method to speech, natural language processing and computer vision. Instead of predicting words, visual tokens or units of speech, it predicts contextualized latent representations that contain information from the entire input from a masked view of that input. A teacher copy of the Transformer encodes the unmasked sample, its weights an exponentially moving average of the student, and the student regresses the average of the top K teacher layers for the masked time-steps.
For speech, the input is a 16 kHz waveform processed by a feature encoder of seven temporal convolutions with 512 channels. Unlike wav2vec 2.0, data2vec directly predicts contextualized latent representations without quantization, and unlike HuBERT it predicts the average over multiple layers rather than discretized units. On Librispeech test-other the paper reports improvements for most labeled data setups, with the largest gain at 10 minutes of labeled data, a 20% relative word error rate improvement for the Base models.
Music2Vec applies the same recipe to music audio, following the standard pretraining protocols of data2vec with the fairseq framework. With 95M parameters, the card reports performance comparable to the Jukebox-5B representation on music information retrieval tasks at under 2% of its size. The music paper found that the CNN representations sometimes outperform the Transformer layers, especially for key detection.
Key idea. A single masked self-distillation objective, regressing contextualized teacher representations, works across speech, vision and language and improves speech recognition in low-resource Libri-light setups.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{baevski2022data2vecgeneralframeworkselfsupervised,
title={data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Language},
author={Alexei Baevski and Wei-Ning Hsu and Qiantong Xu and Arun Babu and Jiatao Gu and Michael Auli},
year={2022},
eprint={2202.03555},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2202.03555},
}