asmit dash
Research project

Multimodal emotion recognition

Residual cross-attention fusion with InfoNCE contrastive alignment for audio-visual emotion recognition. 84.72% accuracy on RAVDESS, +13.48 pts over early fusion. Published in IEEE Xplore.

Apr 2025 - Nov 2025PyTorchTransformersCNNAudio DSP

The problem

Most emotion recognition systems are unimodal - they look at a face or listen to a voice. Real-world signals are messier: faces get occluded, audio gets noisy, and modalities sometimes disagree (sarcasm, cultural variation, low arousal but high valence). Clean-clip classification is solved; the open question is what to do when one modality is unreliable.

The goal was a fusion mechanism robust to single-modality degradation, not only accurate on the clean test set.

Architecture

rendering diagram…
Figure 1 - Per-modality encoders feed a learned attention-weighted late fusion.

Key decisions

1. Late fusion, not early fusion

Early fusion (concatenate raw features, one big network) is simpler. We didn't use it:

  • It collapses the per-modality signal too soon. There's no clean place to ask "how confident is the audio branch right now?"
  • Real-world degradation is asymmetric. Late fusion lets you down-weight one modality without retraining the other.
  • It scales worse: adding a third modality (text, biosignals) means retraining the joint backbone.

The cost: late fusion is empirically a few points behind early fusion on clean benchmarks. The benefit was robustness on the conditions we actually cared about.

2. Cross-modal attention as the fusion mechanism

Simple options were: averaging, concatenation, gated mixing. We used cross-modal attention so the model could decide which modality to listen to per-sample, conditioned on both. When audio is noisy, the attention weights shift toward visual; when the face is occluded, the opposite.

This is the architectural call that drove most of the headline improvement.

3. Confidence-routed inference, not just accuracy

At inference, the model emits both a class and a per-modality confidence. Downstream consumers can refuse low-confidence predictions instead of acting on them. Overkill for a paper, necessary in deployment.

4. Synthetic degradation in training

We trained with controlled degradation - Gaussian noise on audio, masked patches on video, modality dropout. Without it, the model chases the benchmark and folds when a webcam goes dark mid-stream.

The published architecture: HCR-CAF

The work that shipped in the paper is HCR-CAF - Hierarchical Contrastive Residual Cross-Attention Fusion. ResNet-18 encodes video frames at 15 fps, a Bi-GRU encodes MFCCs. An InfoNCE loss aligns the two streams at the utterance level during training. The core is a bidirectional cross-attention block with a sigmoid-gated residual, which prevents the audio branch from swamping the visual branch:

Audio
Visual
Waveform
raw audio
Video frames
15 fps · 112×112
MFCC · 40-dim
25 ms window
Frame sampling
normalize
Bi-GRU
Zₐ · B×T×D
ResNet-18
Zᵥ · B×T×D
InfoNCE alignment (train)
positive: same-utterance · negative: in-batch
HCR-CAF fusion block
bidirectional cross-attn · gated residual (prevents modality collapse)
Softmax
8 emotions (RAVDESS)
Figure 2 - HCR-CAF: encoders, contrastive alignment, and gated cross-attention fusion.

Training was 30 epochs on RAVDESS, batch 16, LR 1e-4, WD 1e-4, with loss = CE + 0.02 · InfoNCE. Published in the 2026 INDIACom proceedings via IEEE Xplore.

Numbers on RAVDESS

Against three standard baselines - early fusion (concat), late fusion (softmax averaging), and vanilla cross-attention with no residual and no alignment - HCR-CAF picks up 13.48 points on the concatenation baseline and 5.62 points on vanilla cross-attention:

Early Fusion
71.24%
macro F1 · 0.69
baseline
Late Fusion
74.50%
macro F1 · 0.73
+3.26 vs early
Vanilla Cross-Attn
79.10%
macro F1 · 0.78
+7.86 vs early
HCR-CAF (ours)
84.72%
macro F1 · 0.83
+13.48 vs early · +5.62 vs vanilla

RAVDESS speech subset · 24 actors · 8 classes · 30 epochs · batch 16 · CE + 0.02·InfoNCE

Figure 3 - Accuracy and macro-F1 on RAVDESS. Same encoders, same training config, same data split across all four variants.

The ablation matrix isolates the residual gate: adding it on top of vanilla cross-attention lifts accuracy by 1.30 points (79.10 -> 80.40), and layering the full HCR-CAF stack (residual + InfoNCE alignment) adds another 4.32 points on top of that (80.40 -> 84.72). A direct "InfoNCE only, no residual" row isn't in the paper - the residual gate is the load-bearing component, InfoNCE is the additive one on top.

HCR-CAF · which components are onmeasured
Variant
Cross-attn
Residual
InfoNCE
Acc %
Vanilla Cross-Attn
✓
-
-
79.10
+ Residual
✓
✓
-
80.40
HCR-CAF (all)
✓
✓
✓
84.72
Table 1 - Measured HCR-CAF ablation on RAVDESS. Same encoders, same training config, same data split.

In-progress extension: SB-MoER

The ongoing extension is SB-MoER - three experts (audio-only, visual-only, HCR-CAF cross-modal) routed by a Dirichlet evidential router with a four-term composite loss (MoE + evidential + synergy + information-bottleneck). Design is complete; training is pending. The numbers below are design-time projections from the loss formulation, not experimental results:

SB-MoER · which loss terms are onprojected · not yet trained
Variant
MoE
Evidential
Synergy
IB
UAR
Softmax router only
✓
-
✓
✓
.870
− Synergy
✓
✓
-
✓
.865
− IB
✓
✓
✓
-
.860
SB-MoER (all)
✓
✓
✓
✓
.880

These numbers are design-time projections from the composite loss formulation, not experimental results. They are shown here to document the intended ablation shape once training completes.

Table 2 - SB-MoER projected ablation. Not experimental data; shown to document the intended ablation shape once training completes.

Outcomes

  • +13.48 accuracy points on RAVDESS over the early-fusion concat baseline (84.72% vs. 71.24%), with the largest margins on classes most affected by single-modality noise
  • +5.62 points over vanilla cross-attention (79.10 -> 84.72) after adding the sigmoid-gated residual and InfoNCE alignment on top
  • A reusable fusion module that drops into any per-modality-encoder pair

What I'd do differently

  • Add a text modality earlier. The architecture was designed for three; we shipped two because text data was harder to source for our benchmark. Would prioritize the data work upfront.
  • Curriculum on degradation severity. We trained at a fixed degradation distribution. A severity curriculum would likely add another point or two.