All models

data2vec-audio (CTC ASR)

Self-supervised speech encoder that regresses a teacher's contextualized representations from masked audio.

Audio and speech · 378 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (21 KB)

Open in a new tab

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.

At a glance

Parameters
93.2M
Operations
378
Framework
PyTorch
Recurrent
No
Published
ICML 2022
Cited by
231 (as of 19 October 2026)
Authors
Alexei Baevski, Wei-Ning Hsu, Qiantong Xu and others
Name in source
data2vec-audio:ctc-asr
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m4088
Graph hash
3a55042e8f2a8e8f02c3189064d55a731a6291868392f6e5708f34f27cc3a921
Skeleton hash
88b5a42c5c8b71cae22e96e606103732ff68326edaede450c58825f633f8d1c9
Architecture hash
b5c86e43d4eced4e7f6c857c3ea818aa4ea5843ee4c8aeb808149a51527a7308
Diagram SHA-256
024e1160160ae6d283fd4f8c34b035aaa464edb9b3570472e0c9d1a1a5e11022
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This version carries a head for automatic speech recognition, the task the paper fine-tunes the pretrained speech model for with labeled data ranging from 10 minutes to 960 hours.

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.

  • data2vec
  • data2vec-audio
  • data2vec speech
  • music2vec
  • map-music2vec
  • self-supervised learning
  • speech representation
  • audio pretraining
  • masked prediction
  • self-distillation

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@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}, 
}