Speech emotion recognition models score well on the dataset they were trained on and fail on a new one. Two common fixes point in opposite directions. Multi-task learning adds side predictions, such as the speaker's gender, so the shared representation learns more structure. Adversarial domain adaptation instead trains the network so that a second classifier cannot recover a nuisance attribute from its features, and in doing so erases that attribute. The one study that tried both across corpus, gender, speaker and language got inconsistent results. Treating gender either way helped on one held-out corpus and hurt on another, and adding attributes cost in-domain accuracy (Speech Emotion Recognition in the Wild using Multi-task and Adversarial Learning). We argue the inconsistency is expected, because these attributes play different roles. The recording channel of a corpus (microphone, room, elicitation protocol) is pure nuisance and should be erased. A speaker's gender is a reference frame: a raised pitch means something different for a low-pitched and a high-pitched voice. Erasing gender discards the baseline against which emotional cues are read. Keeping it in the shared features lets the model use it as a shortcut.
The proposal is to build and test a model that handles the two roles differently. On top of a frozen speech foundation model, an adversary trained with unlabeled target-corpus audio removes corpus identity from the representation. Gender is kept, but in a separate channel constrained to be orthogonal to the emotion features, and that channel only adjusts how the emotion classifier reads those features. In two sentences: stop asking whether an attribute should be learned or erased, and ask whether it is a nuisance or a reference frame. Erase nuisances with adversarial alignment to the unlabeled target, and give reference-frame attributes a separate channel that conditions the emotion readout.
Core Claim
We make one claim. When attributes are assigned by role, the sign flips reported by Wild-MTL/AL disappear, and gains on held-out corpora become consistent in direction across targets. A uniform policy of erasing or sharing each attribute does not have this property.
The claim also has a structural side that we think is under-appreciated. In multi-corpus pools, speaker identity is almost always nested inside corpus, since each speaker appears in only one dataset, and language is often nested too. Gender is crossed with corpus in most datasets. The exceptions are exactly the diagnostic cases: TESS, one of Wild-MTL/AL's held-out sets, is described as having only female speakers. An attribute nested in corpus cannot be both preserved and made corpus-invariant, because the corpus adversary and the attribute head then pull the features in opposite directions. We therefore predict three things. Speaker-level auxiliary heads will conflict with corpus erasure. Gender can be conditioned on safely. The gender-induced losses seen on TESS come from erasing a reference frame the single-gender target depends on.
Relation to Prior Work
The papers closest to this proposal fall into three groups.
The first group motivates it. Wild-MTL/AL pools seven corpora and compares auxiliary heads, gradient reversal, and external adversaries for each attribute. It finds reversal best on average but with target-dependent sign flips. It applies one uniform treatment per attribute, does no conditioning, and uses no unlabeled target audio. We keep its pool and held-out protocol and change the treatment rule. EmoBox shows that even the strongest foundation model degrades across corpora despite 72.86% weighted accuracy within IEMOCAP. This rules out "just scale the backbone" as a full answer, though it gives no aggregate cross-corpus number to compare against.
The second group supplies the method. Compositional Feature Alignment trains class and domain linear heads with an orthogonality constraint on frozen vision encoders. It deliberately keeps domain information in a separate subspace instead of erasing it. We borrow the orthogonal split but differ in three ways. We apply it to speech. We add adversarial erasure for the attribute that really is nuisance. And we let the kept attribute modulate the emotion readout rather than simply sit apart from it. The corpus adversary with a gradient reversal layer, which flips the gradient sign so the encoder learns to confuse a domain classifier, follows the adversarial SER line of CAEADA and sADDi. Both use global alignment on handcrafted features or small CNNs, and neither has auxiliary attribute heads during adaptation.
The third group constrains the design. Emo-DNA shows that global alignment causes false alignment and class confusion. It separates emotion from corpus features without an adversary, which is why we include class-conditional alignment as a tested variant rather than assume global adversarial alignment suffices.
The nearest single competitor is MTLSA. It aligns source and target within emotion and gender subgroups using discrepancy matching and raw softmax pseudo-labels. That is a form of gender-aware alignment, but it uses no adversary, works on handcrafted features, and never uses gender to condition the classifier. We test whether conditioning adds anything over its subgroup matching by including an MTLSA-style variant on the same backbone.
Research Program
We build one model on frozen WavLM Large features, one of the backbones EmoBox evaluated. A learned weighted sum over its layers feeds a small trainable encoder. The encoder's output is split into an emotion part $e$ and an attribute part $a$.
The emotion classifier $h$ reads $e$ after a feature-wise scale and shift computed from $a$, a conditioning scheme often called FiLM. A gender head $g$ reads $a$ alone. A corpus discriminator $d$ sees both $e$ and $a$ through a gradient reversal layer and is trained on labeled source and unlabeled target audio. The objective is
$$ \mathcal{L} = \mathcal{L}_{\text{emo}}\big(h(e;a), y\big) + \lambda\,\mathcal{L}_{\text{gen}}\big(g(a), s\big) - \beta\,\mathcal{L}_{\text{corp}}\big(d(e,a), c\big) + \gamma\,\lVert W_e^{\top} W_a \rVert_F^2 . $$
Here $y$ is the emotion label, $s$ the gender label, and $c$ the corpus label, with the target corpus as one unlabeled class. The matrices $W_e$ and $W_a$ are the projections producing $e$ and $a$. The weights $\lambda$, $\beta$ and $\gamma$ trade the terms off. The last term follows CFA's orthogonality constraint, so gender cannot be folded back into the emotion features. The corpus adversary covers $a$ as well, so channel information cannot leak through the conditioning path. That constraint only works because gender is crossed with corpus.
Speaker identity is deliberately not given a head. Its nesting within corpus is the conflict we predict. We test that prediction with an ablation that adds a speaker head to $a$.
The program has three parts. The first is a factorial study on the Wild-MTL/AL pool. It crosses each attribute (gender, language, speaker) with each treatment (share, erase, condition), holding out one corpus at a time. The second compares a class-conditional corpus discriminator that uses confidence-thresholded target pseudo-labels against the global one, to address the class-confusion failure Emo-DNA describes. The third is a controlled confound experiment, described under the decisive checks, that tests the causal story directly.
Baselines
The naive reference is pooled supervised training. The same frozen WavLM features and encoder are trained with emotion loss only on all source corpora. It shows how much any attribute handling buys.
The strongest existing recipe is uniform gradient reversal as in Wild-MTL/AL. We run it two ways: gender only, and all attributes combined. It is the strongest competitor because it is the best method in the only study asking this exact question. Wild-MTL/AL reports no per-attribute numbers on Lacuna (no reported result found on Lacuna for Wild-MTL/AL scores), so we re-implement it on our backbone and pool.
The strongest published cross-corpus figures come from other protocols. sADDi reports 47.1% unweighted average recall (UAR, mean per-class recall) on IEMOCAP→MSP-IMPROV and 48.3% on IEMOCAP→EMODB. On the six EmoDB/eNTERFACE/CASIA schemes, C²GAN reports 45.41% average UAR with IS10 features, CAEADA 44.79% UAR, and MTLSA 42.87% weighted average recall. Those systems use different features, so we also re-run three of them on our backbone: an MTLSA-style subgroup discrepancy matcher, an Emo-DNA-style decoupling with MK-MMD distribution matching and adaptive pseudo-labels, and a plain corpus adversary with no attribute handling.
Two ablations isolate the key ingredient. The first removes conditioning, keeping $a$ orthogonal but unused by $h$; this reduces the model to CFA plus an adversary. The second removes the adversary from $a$.
All methods share the frozen backbone, the encoder size, the same unlabeled target audio where applicable, and an equal hyperparameter search budget selected by leave-one-source-corpus-out validation. The target corpus is never used for model selection. Each configuration runs with five seeds.
We count it as beating a baseline only when three conditions hold. The model must exceed uniform gradient reversal on mean UAR across held-out corpora. It must never fall below the pooled baseline on any target. And it must reach or pass the sADDi figures on its two transfer pairs under their protocol.
Why not just…?
Why not just normalize features per speaker or per gender and train pooled? This is the most serious threat. Speaker-level standardization is an old, cheap fix that directly supplies a reference frame. If standardization plus a corpus adversary matches our model, the conditioning channel is unnecessary, and we would report the simpler recipe as the finding. We run it with oracle speaker IDs and with clustered pseudo-speakers, since held-out test sets rarely come with speaker labels. Our expected advantage is on utterance-level targets with few utterances per speaker, where standardization statistics are noisy. That is an expectation the experiment will confirm or refute, not an established result.
Why not just pick which attributes to erase by validation on held-out source corpora? Selecting attributes per target with validation would fix the sign flips if the right choice were stable across targets. Wild-MTL/AL's results suggest it is not, since gender helped CREMA-D and hurt TESS. We run this selection baseline explicitly. If it matches our model, the role-based rule adds nothing beyond selection. If our model wins on single-gender targets, where selection has no single-gender validation corpus to learn from, that is evidence for the reference-frame story.
Why not just use a large foundation model and discrepancy matching, skipping adversaries and attribute heads? EmoBox shows that scale alone leaves a cross-corpus gap. Emo-DNA shows that non-adversarial decoupling performs well on binary arousal (74.3% weighted accuracy) but only reaches 58.6% on valence. Our Emo-DNA-style re-run on the same backbone settles whether attribute handling adds anything once the backbone is strong.
Proposed Experiments and Decisive Checks
The main evaluation is leave-one-corpus-out over the Wild-MTL/AL pool: CREMA-D, EMOVO, Emo-DB, IEMOCAP, EPST, RAVDESS and TESS. Each corpus's unlabeled audio is available for adaptation, and scoring uses the shared four emotions (angry, happy, sad, neutral). We add sADDi's IEMOCAP→MSP-IMPROV and IEMOCAP→EMODB pairs, and the six EmoDB/eNTERFACE/CASIA schemes under their class subsets. UAR is primary and weighted recall secondary.
The first decisive check is sign consistency. For each attribute and treatment, we count held-out targets where it beats pooled training, with paired tests across seeds. The claim fails if conditioning shows the same mixed signs as uniform reversal.
The second is the confound experiment. We subsample training so gender is strongly tied to emotion, for example most angry clips male, and test on gender-balanced targets. We then repeat with the tie removed. The prediction has two parts. Under the confound, erasing and conditioning should both beat sharing, because the orthogonal channel keeps gender out of $e$. Without the confound, conditioning should beat erasing, particularly on TESS and SAVEE, which the dataset profiles describe as having only female and only male speakers respectively.
The third is the nesting check. Adding a speaker head to $a$ should lower target UAR and raise corpus-discriminator loss instability relative to gender only. We also probe $e$ with a linear classifier: gender and corpus should be near chance from $e$ but recoverable from $a$ only for gender.
If the confound experiment shows no difference between conditioning and erasing, the reference-frame hypothesis is wrong. The note's contribution would then shrink to an evaluation of uniform attribute policies on foundation features.
References
- Speech Emotion Recognition in the Wild using Multi-task and Adversarial Learning
- EmoBox: Multilingual Multi-corpus Speech Emotion Recognition Toolkit and Benchmark
- Enhancing Compositional Generalization via Compositional Feature Alignment
- Convolutional Auto-Encoder and Adversarial Domain Adaptation for Cross-Corpus Speech Emotion Recognition
- Self Supervised Adversarial Domain Adaptation for Cross-Corpus and Cross-Language Speech Emotion Recognition
- Emo-DNA: Emotion Decoupling and Alignment Learning for Cross-Corpus Speech Emotion Recognition
- Cross-Corpus Speech Emotion Recognition Based on Multi-Task Learning and Subdomain Adaptation
- Boosting Cross-Corpus Speech Emotion Recognition using CycleGAN with Contrastive Learning