emotion2vec
Self-supervised speech encoder that extracts emotion representations from 16k Hz recordings.
Audio and speech · 514 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.
At a glance
- Task
- Audio and speech
- Parameters
- 93.8M
- Operations
- 514
- Framework
- PyTorch
- Recurrent
- No
- Published
- Findings of ACL 2024
- Cited by
- 155 (as of 27 October 2026)
- Authors
- Ziyang Ma, Zhisheng Zheng, Jiaxin Ye and others
- Source
- funasr 1.4.16
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
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.
Details
- Stable ID
- m21607
- Graph hash
- aa3039cca30e2af6457b91a810f2b3171b04c71a4c231ef9a9bd425307f40300
- Skeleton hash
- e4b683b8b35160751a41a0b46344771356afd513de050ae9bc07092c0e102bb3
- Architecture hash
- fc20e6c60b979a5a5df0c8d01e29fa347c362cf86335f4d984e351eabc8fd420
- Diagram SHA-256
- d39cb878d0b2a99bdd8bc08e0d2d9a08b63a91682a90f4a607dc2784fa067b87
- 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
emotion2vec is a speech emotion representation model: it extracts speech features that can be used for diverse emotion tasks. The paper's motivation is that the self-supervised speech models in common use are not entirely suitable for emotional tasks.
The model has a feature extractor composed of multi-layer convolutional neural networks and a backbone network composed of multi-layer Transformers. The paper adopts two initial models, data2vec and data2vec 2.0, which share a feature extractor design but differ in the backbone. Pre-training uses 262 hours of open-source emotion data with online distillation. In online distillation a student network learns by backpropagation while a teacher network is updated as an exponential moving average. An utterance-level loss sets a pretext task for learning the global emotion. A frame-level loss, computed only on the masked part of the input, sets a frame-wise task for learning the context emotion.
For a downstream task, emotion2vec is frozen and a lightweight downstream model is trained on its features. The paper reports that on the IEMOCAP dataset a linear model trained on emotion2vec features outperformed the mainstream self-supervised models and the specialist models of the time. This model is the pre-trained representation model without fine-tuning, which can be used for feature extraction. It takes a 16k Hz speech recording and returns features for the entire utterance or frame-level features at 50 Hz.
Key idea. emotion2vec pre-trains a speech emotion representation model on unlabeled emotion data through self-supervised online distillation that combines an utterance-level loss with a frame-level loss.
- emotion2vec
- emotion2vec_base
- speech emotion representation
- speech emotion recognition
- SER
- emotion recognition
- speech emotion features
- self-supervised speech model
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{ma2023emotion2vecselfsupervisedpretrainingspeech,
title={emotion2vec: Self-Supervised Pre-Training for Speech Emotion Representation},
author={Ziyang Ma and Zhisheng Zheng and Jiaxin Ye and Jinchao Li and Zhifu Gao and Shiliang Zhang and Xie Chen},
year={2023},
eprint={2312.15185},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2312.15185},
}