wavlm-large-bilstm-msp-emotion-vad-standard (BiLSTM Std)
Time-continuous valence, arousal and dominance at 10 Hz in the VAD standard space: a frozen WavLM-large encoder (the
MSP-Podcast fine-tuned encoder of 3loi/SER-Odyssey-Baseline-WavLM-Multi-Attributes),
mean pooling with a 120 ms window every 100 ms, and one BiLSTM head (three linear layers of 512, two bidirectional LSTM
layers of hidden 256, a linear output). The head was trained on MSP-Conversation traces calibrated into the standard
space, with a loss on 12 s windows (level, change size, shape, timing) and a pooled CCC of a delayed readout against
the processed traces.
RetentionLabs/wavlm-large-bilstm-msp-emotion-vad
holds the same head with an affine map to the MSP-Conversation trace scale folded into its output layer and a 2 s
output delay. All other weights are identical.
On MSP-Conversation Test1 its output moves about as much as the target inside 12 s windows (change size 0.89 / 1.01 / 0.99, V / A / D), where a head of the same architecture trained with $1 - \mathrm{CCC}$ moves 0.57 / 0.58 / 0.57. On the joined acted ESD recordings its valence follows the target weakly (pooled CCC 0.101) and its timing is at the null.
Usage
import torch
from transformers import AutoFeatureExtractor, AutoModel
model = AutoModel.from_pretrained("RetentionLabs/wavlm-large-bilstm-msp-emotion-vad-standard", trust_remote_code=True, dtype=torch.bfloat16).eval()
feature_extractor = AutoFeatureExtractor.from_pretrained("RetentionLabs/wavlm-large-bilstm-msp-emotion-vad-standard")
waveform = ... # mono, 16 kHz, numpy array
inputs = feature_extractor(waveform, sampling_rate=16000, return_tensors="pt")
with torch.no_grad():
out = model(inputs.input_values) # float32 waveform; the model casts it after normalization
vad = out.vad[0] # (frames, 3): valence, arousal, dominance
times = model.frame_times(vad.shape[0]) # seconds from the start
The code depends only on transformers and torch. forward also takes labels (frames, 3) and returns a CCC loss.
Pass a whole recording in one call: the encoder reads it in consecutive 60 s chunks (encoder_chunk_seconds) and the
head reads the concatenated states, which is how the head was trained and evaluated.
Structure
| Encoder | Encoder weights | Pooling | Regressor | Added head | Output rate | Output | Trained | |
|---|---|---|---|---|---|---|---|---|
audeering/wav2vec2-large-robust-12-ft-emotion-msp-dim (original) | wav2vec 2.0 large robust, 12 layers | frozen | mean over the whole utterance | Linear-tanh-Linear (original) | none | one value per utterance | A, D, V on about [0, 1] | MSP-Podcast 1.7 consensus labels |
| stock | same, original weights | original | 0.5 s windows (25 frames) every 0.24 s (12 frames) | original | none | 4.17 Hz | V, A, D standard space | no training (calibration only) |
| TCN | same, original weights | frozen | frame pairs to 25 Hz, centered 0.48 s (12 frames) mean | original | residual TCN (dilations 1, 2, 4, 8, width 192) | 25 Hz | V, A, D standard space | head on ESD + MSP-Podcast (1:1) |
| BiLSTM Std | WavLM-large from 3loi/SER-Odyssey-Baseline-WavLM-Multi-Attributes | frozen | 120 ms window every 100 ms | none | 3 x Linear 512 + 2-layer BiLSTM (256) | 10 Hz | V, A, D standard space | head on MSP-Conversation traces |
VAD standard space
Datasets, annotators and emotion recognizers place valence, arousal and dominance on different scales with different
origins. The VAD standard space (legacy4) puts them on one scale:

$$\mathbf z = k,R,\frac{\mathbf v - \mathbf c}{\boldsymbol\sigma}$$
- $\mathbf v$ is a source's (valence, arousal, dominance) on $[-1, 1]$, $\mathbf c$ its mean on Neutral utterances and $\boldsymbol\sigma$ its per-axis standard deviation, both over the MSP-Podcast Train utterances. After this step the origin is Neutral and one unit is one standard deviation of that source.
- $R$ (a rotation) and $k$ (a scale) are a similarity map that puts the source's centroids of four emotion groups (Happy/Surprise, Sad, Fear, Angry/Disgust/Contempt) onto the centroids of the MSP-Podcast consensus labels.
- In this space an emotion is a direction away from the origin and its strength is the distance. The canonical reference is the MSP-Podcast consensus labels; MSP-Conversation annotator traces and the audEERING regressor are calibrated onto it with the same Train utterances.
Training
train.py: one head for V, A, D. A quarter of the sequences are splices of 2 to 4 segments (3 to 20 s) of different
parts with the labels spliced at the same frames; the rest are one-minute sections of a part. Loss on every 12 s
window: level $(\bar y - \bar x)^2$, size $(\log\sigma_y - \log\sigma_x)^2$ and shape $1 - \rho$ with weight 1 each,
timing ($1 - \rho$ of the frame differences) with weight 0.5, plus 0.1 times a pooled $1 - \mathrm{CCC}$, plus 10
times the pooled $1 - \mathrm{CCC}$ of the output mapped to the trace scale and delayed 2 s against the processed
traces. AdamW 1e-4 with a one-cycle schedule, batch 64, an exponential moving average of the weights, 30 epochs from a
head trained with the same window terms, best Development epoch.
The released head was chosen among retrained heads with its Test1 values in view, so its Test1 values below are optimistic. The head with the best Development score differed from it on Test1 by at most 0.02 in pooled CCC and 0.01 in 12 s window direction.
Performance
Indicators
The usual within-segment CCC mixes several things. It factors as $\mathrm{CCC} = \rho \cdot 2 / (v + 1/v + u^2)$, so it is reported together with four separate indicators per segment and axis (V / A / D):
| Indicator | Definition | Better |
|---|---|---|
| Level gap | $\lvert \mu_{\text{out}} - \mu_{\text{target}} \rvert$ | lower |
| Change size $v$ | $\sigma_{\text{out}} / \sigma_{\text{target}}$ (median) | close to 1 |
| Direction | sign agreement of last-third minus first-third mean change (targets that change by more than 0.05) | higher |
| Timing | $\lvert\tau^*\rvert$, the shift within $\pm 30%$ of the segment that maximizes the correlation of output and target, in seconds (median), next to the same reading against another sample's target (null) | lower than the null |
Test sets: MSP-Conversation Test1 (168 conversation parts, 14.3 h, human traces calibrated into the standard space, 10 Hz) read per part (3 to 7 min), per non-overlapping 12 s window, and pooled over the whole split; ESD joined (360 real recordings: two ESD test recordings of one English speaker with different emotions among Angry, Happy, Sad, Surprise joined in time, the target stepping at the join between the standard-space emotion anchors) read per recording and pooled. Human reference: the annotators of each MSP part split in two random halves, each half turned into a trajectory with the same calibration.
MSP-Conversation Test1
| Model | CCC pooled | CCC per part | CCC per 12 s window |
|---|---|---|---|
stock (wav2vec2-large-msp-emotion-vad-standard) | 0.514 / 0.366 / 0.307 | 0.216 / 0.236 / 0.173 | 0.024 / 0.027 / 0.024 |
TCN (wav2vec2-large-tcn-msp-emotion-vad-standard) | 0.363 / 0.347 / 0.290 | 0.158 / 0.216 / 0.159 | 0.019 / 0.025 / 0.021 |
| Same encoder and head, $1 - \mathrm{CCC}$ per axis (not released) | 0.653 / 0.529 / 0.504 | 0.331 / 0.411 / 0.356 | 0.068 / 0.145 / 0.110 |
BiLSTM Std (wavlm-large-bilstm-msp-emotion-vad-standard) | 0.650 / 0.567 / 0.521 | 0.338 / 0.449 / 0.405 | 0.099 / 0.215 / 0.190 |
| BiLSTM Std, previous release | 0.637 / 0.507 / 0.503 | 0.331 / 0.411 / 0.395 | 0.098 / 0.212 / 0.200 |
| Human annotator halves | 0.592 / 0.254 / 0.289 | 0.307 / 0.201 / 0.196 | 0.075 / 0.077 / 0.067 |
Four indicators, 12 s windows:
| Model | Level gap | Change size $v$ | Direction | Timing s (null) |
|---|---|---|---|---|
stock (wav2vec2-large-msp-emotion-vad-standard) | 1.19 / 0.97 / 1.06 | 1.35 / 0.96 / 0.88 | 56% / 61% / 59% | 2.60 / 2.90 / 2.80 (2.60 / 2.60 / 2.60) |
TCN (wav2vec2-large-tcn-msp-emotion-vad-standard) | 1.29 / 0.91 / 0.94 | 1.21 / 0.85 / 0.73 | 55% / 60% / 59% | 2.60 / 2.90 / 2.80 (2.60 / 2.60 / 2.60) |
| Same encoder and head, $1 - \mathrm{CCC}$ per axis (not released) | 1.25 / 0.97 / 1.00 | 0.57 / 0.58 / 0.57 | 61% / 68% / 63% | 2.70 / 2.00 / 2.50 (3.20 / 3.20 / 3.10) |
BiLSTM Std (wavlm-large-bilstm-msp-emotion-vad-standard) | 1.21 / 0.97 / 1.08 | 0.89 / 1.01 / 0.99 | 62% / 69% / 67% | 2.20 / 1.30 / 1.40 (2.90 / 2.90 / 2.80) |
| BiLSTM Std, previous release | 1.15 / 0.93 / 0.92 | 0.99 / 1.03 / 1.04 | 62% / 68% / 67% | 2.30 / 1.20 / 1.30 (2.80 / 2.70 / 2.70) |
| Human annotator halves | 1.45 / 1.67 / 1.62 | 0.94 / 0.94 / 0.98 | 59% / 58% / 58% | 2.50 / 2.30 / 2.40 (2.90 / 2.90 / 2.80) |
Four indicators, parts (3 to 7 min):
| Model | Level gap | Change size $v$ | Direction | Timing s (null) |
|---|---|---|---|---|
stock (wav2vec2-large-msp-emotion-vad-standard) | 0.84 / 0.73 / 0.82 | 0.80 / 0.66 / 0.59 | 72% / 70% / 71% | 10.25 / 3.30 / 3.50 (61.70 / 51.35 / 50.45) |
TCN (wav2vec2-large-tcn-msp-emotion-vad-standard) | 0.95 / 0.62 / 0.65 | 0.66 / 0.56 / 0.45 | 71% / 72% / 71% | 16.50 / 3.30 / 3.40 (57.35 / 52.00 / 50.50) |
| Same encoder and head, $1 - \mathrm{CCC}$ per axis (not released) | 0.87 / 0.71 / 0.75 | 0.87 / 0.80 / 0.69 | 78% / 74% / 73% | 3.90 / 1.05 / 1.90 (56.20 / 54.60 / 49.25) |
BiLSTM Std (wavlm-large-bilstm-msp-emotion-vad-standard) | 0.87 / 0.71 / 0.84 | 0.81 / 0.94 / 0.94 | 74% / 74% / 72% | 2.65 / 0.40 / 0.50 (55.90 / 53.50 / 49.40) |
| BiLSTM Std, previous release | 0.82 / 0.68 / 0.66 | 0.78 / 0.79 / 0.80 | 76% / 71% / 72% | 2.10 / 0.30 / 0.40 (57.45 / 54.90 / 50.30) |
| Human annotator halves | 1.03 / 1.29 / 1.10 | 0.98 / 0.88 / 0.99 | 74% / 54% / 64% | 7.20 / 5.70 / 21.50 (58.00 / 51.20 / 52.20) |
ESD joined
| Model | CCC pooled | CCC per recording | Level gap | Change size $v$ | Direction | Timing s (null) |
|---|---|---|---|---|---|---|
stock (wav2vec2-large-msp-emotion-vad-standard) | 0.160 / 0.660 / 0.635 | 0.094 / 0.358 / 0.341 | 0.96 / 0.42 / 0.41 | 0.59 / 1.29 / 1.05 | 66% / 78% / 79% | 0.72 / 0.52 / 0.45 (1.04 / 0.79 / 0.80) |
TCN (wav2vec2-large-tcn-msp-emotion-vad-standard) | 0.585 / 0.688 / 0.698 | 0.375 / 0.440 / 0.457 | 0.56 / 0.37 / 0.35 | 1.25 / 1.21 / 1.19 | 84% / 86% / 85% | 0.54 / 0.38 / 0.34 (0.90 / 0.72 / 0.69) |
| Same encoder and head, $1 - \mathrm{CCC}$ per axis (not released) | 0.066 / 0.317 / 0.390 | 0.022 / 0.099 / 0.196 | 1.19 / 0.71 / 0.69 | 0.20 / 0.37 / 0.74 | 56% / 66% / 72% | 1.32 / 1.48 / 1.21 (1.41 / 1.46 / 1.24) |
BiLSTM Std (wavlm-large-bilstm-msp-emotion-vad-standard) | 0.101 / 0.419 / 0.357 | 0.044 / 0.169 / 0.106 | 1.39 / 0.86 / 0.91 | 0.42 / 0.91 / 1.02 | 60% / 69% / 61% | 1.37 / 1.20 / 1.40 (1.41 / 1.36 / 1.47) |
| BiLSTM Std, previous release | 0.114 / 0.381 / 0.384 | 0.053 / 0.159 / 0.095 | 1.31 / 0.80 / 0.71 | 0.49 / 0.81 / 0.90 | 60% / 69% / 61% | 1.36 / 1.11 / 1.39 (1.32 / 1.32 / 1.48) |
All values are V / A / D. ESD recordings are 3 to 8 s, so there is no 12 s window unit for ESD. The TCN head was trained with ESD recordings, so its ESD rows are not independent of its training data. The BiLSTM Std rows come from the released BF16 weights with one forward per part or recording from the waveform; the previous release rows are its BF16 head read the same way. Against the previous release, pooled and per-part CCC on MSP-Conversation are higher, while the level gap on 12 s windows and parts, the valence timing on parts and the ESD dominance level gap are worse.
Papers
- audEERING dimensional model: J. Wagner, A. Triantafyllopoulos, H. Wierstorf, M. Schmitt, F. Burkhardt, F. Eyben, B. W. Schuller, "Dawn of the Transformer Era in Speech Emotion Recognition: Closing the Valence Gap," IEEE TPAMI, 2023. arXiv:2203.07378
- MSP-Conversation: "MSP-Conversation: A Corpus for Naturalistic, Time-Continuous Emotion Recognition," arXiv:2603.22536
@article{wagner2023dawn,
title = {Dawn of the Transformer Era in Speech Emotion Recognition: Closing the Valence Gap},
author = {Wagner, Johannes and Triantafyllopoulos, Andreas and Wierstorf, Hagen and Schmitt, Maximilian and
Burkhardt, Felix and Eyben, Florian and Schuller, Bj{\"o}rn W.},
journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
year = {2023},
eprint = {2203.07378},
archivePrefix = {arXiv}
}
Attribution
- WavLM baseline encoder: L. Goncalves et al., "Odyssey 2024 - Speech Emotion Recognition Challenge: Dataset, Baseline Framework, and Results," Odyssey 2024.
- MSP-Podcast and MSP-Conversation are distributed by the MSP Lab, UT Dallas.
- ESD: K. Zhou, B. Sisman, R. Liu, H. Li, "Seen and Unseen Emotional Style Transfer for Voice Conversion with a New Emotional Speech Dataset," ICASSP 2021, pp. 920-924; K. Zhou, B. Sisman, R. Liu, H. Li, "Emotional Voice Conversion: Theory, Databases and ESD," Speech Communication, vol. 137, pp. 1-18, 2022.
Released by TICTAP-11 and b-re-w as part of VADWeaver.