MERaLiON / MERaLiON-SER-v1

huggingface.co
Total runs: 1.6K
24-hour runs: 0
7-day runs: 0
30-day runs: 454
Model's Last Updated: February 02 2026
feature-extraction

Introduction of MERaLiON-SER-v1

Model Details of MERaLiON-SER-v1

MERaLiON-SER-v1: Multilingual Speech Emotion Model

🎤 Live Demo

You can experience speech emotion recognition by selecting Gender/Speech recognition tab via our interactive Hugging Face Space:

👉 MERaLiON-SER Demo

Upload an audio clip or record your voice to visualize categorical emotions
and dimensional affect trajectories in real time.


📘 Model Summary

MERaLiON-SER-v1 is a multilingual speech emotion recognition (SER) model jointly predicting

  1. Categorical emotions – 7 discrete classes (Neutral, Happy, Sad, Angry, Surprised, Fearful, Disgusted) , and
  2. Dimensional affect values – continuous (Valence, Arousal, Dominance) .
    Valence (0 negative, 1 positive), Arousal (0 calm, 1 active), Dominance (0 weak, 1 strong)

The design achieves parameter-efficient adaptation for multilingual, paralinguistic affect modeling using just 309 M parameters.

Language(s): English (Global & Singapore), Chinese, Malay, Tamil, Limited support for Thai, Indonesian, and Vietnamese.

More details on model architecture, training and evaluation is available here: Technical report

License: MERaLiON Public License
🎯 Supported Outputs
Head Type Output Description
Categorical Softmax logits → (7) Neutral, Happy, Sad, Angry, Surprised, Fearful, Disgusted
Dimensional Sigmoid dims → (3) Valence [V], Arousal [A], Dominance [D] in [0, 1]

🧠 Architecture Overview
  • Modality: Speech-only model
  • Backbone: Whisper-Medium encoder (frozen) for multilingual acoustic features with LoRA adaptation. The Whisper decoder is frozen and unused.
  • Downstream: Attention-based pooling + modified ECAPA-TDNN capturing temporal & speaker-invariant cues.
  • Dual-head outputs:
    • Categorical (Softmax) → discrete emotion classes.
    • Dimensional (Sigmoid) → continuous VAD estimation.
  • Parameter-efficient fine-tuning: LoRA adapters integrated into Q/K/V attention projections.
  • Objective: Weighted Cross-Entropy + Concordance Correlation Coefficient (CCC) loss.
  • Pooling: Attention pooling for combining short-term and long-term cues.
  • Augmentations: MixUp, speed perturbation, and additive noise for robustness.
  • Model parameters size: 309 M

This framework balances computational efficiency , cross-lingual transferability , and robust emotion generalization .


📊 Performance Overview

In speech emotion recognition (SER), class imbalance is a persistent challenge, as certain emotions such as neutral or happy typically dominate spontaneous datasets, while others like fear or disgust occur infrequently. Conventional performance metrics such as weighted accuracy or overall accuracy tend to be dominated by these majority classes, often masking a model’s poor discrimination of minority emotions. To provide a more balanced evaluation, researchers in the affective computing community commonly employ Unweighted Average Recall (UAR) also know as Balanced Accuracy as the principal metric.

UAR is defined as the mean of per-class recall values, thereby assigning equal importance to each emotional category regardless of its occurrence frequency. This ensures that improvements in recognizing underrepresented emotions contribute equally to the final score. Unlike weighted accuracy—which aggregates correct predictions proportional to class distribution—UAR offers a class-independent assessment that more accurately reflects a model’s generalization capability across diverse emotional states. Consequently, UAR has become the de facto standard for benchmarking emotion recognition systems.

We have evaluated MERaLiON-SER-v1 performance using English and Singapore languages: English (Singlish), Chinese, Malay, and Tamil. The evaluation dataset for Singapore languages containes fine-grained labels at every two seconds and merged nearby segments to create a course level segments with maximum 15 second duration.

We have also added performance of primary 4 classes in emotion literature: Neutral, Angry, Sad, and Happy.

Singapore Language Performance
Public Datasets Performance

We have also performed evaluation on selected public datasets for seven classes. It includes three English (MSP-Podcast, IEMOCAP, and MELD) datasets, Chinese (M3ED), and Indonesian (IndoWaveSentiment) dataset.


⚙️ Usage Examples
🔹 GPU Inference
from transformers import AutoProcessor, AutoModelForAudioClassification
import torch, torchaudio

repo = "MERaLiON/MERaLiON-SER-v1"
device = "cuda" if torch.cuda.is_available() else "cpu"

processor = AutoProcessor.from_pretrained(repo)
model = AutoModelForAudioClassification.from_pretrained(repo, trust_remote_code=True).to(device)
model.eval()

wav, sr = torchaudio.load("sample.wav")
if wav.shape[0] > 1: wav = wav.mean(dim=0, keepdim=True)
wav = torchaudio.transforms.Resample(sr, 16000)(wav)

inputs = processor(wav.squeeze().numpy(), sampling_rate=16000, return_tensors="pt", return_attention_mask=True)
with torch.inference_mode():
    out = model(**{k:v.to(device) for k,v in inputs.items() if k in ("input_features","attention_mask")})
logits, dims = out["logits"], out["dims"]

emo_idx = torch.argmax(logits, dim=1).item()
emo_map = ["Neutral","Happy","Sad","Angry","Fearful","Disgusted","Surprised"]
print("Predicted Emotion:", emo_map[emo_idx])
print("Valance/Arousal/Dominance:", dims.squeeze().tolist())
🔹 CPU Inference
from transformers import AutoProcessor, AutoModelForAudioClassification
import torch, soundfile as sf, torchaudio

repo = "MERaLiON/MERaLiON-SER-v1"
processor = AutoProcessor.from_pretrained(repo)
model = AutoModelForAudioClassification.from_pretrained(repo, trust_remote_code=True).cpu().eval()

wav, sr = sf.read("sample.wav")
if wav.ndim > 1: wav = wav.mean(axis=1)
if sr != 16000:
    wav = torchaudio.functional.resample(torch.tensor(wav).unsqueeze(0), sr, 16000).squeeze(0).numpy()

inputs = processor(wav, sampling_rate=16000, return_tensors="pt")
with torch.inference_mode():
    out = model(**inputs)
logits, dims = out["logits"], out["dims"]
emo_idx = torch.argmax(logits, dim=1).item()
emo_map = ["Neutral","Happy","Sad","Angry","Fearful","Disgusted","Surprised"]
print("Predicted Emotion:", emo_map[emo_idx])
print("Valance/Arousal/Dominance:", dims.squeeze().tolist())
Citation

If you find this model/dataset/space useful in your research, please refer and cite the following papers:

@article{serv1,
  title={MERaLiON-SER: Robust Speech Emotion Recognition Model for English and SEA Languages},
  author={MERaLiON Team},  journal={http://arxiv.org/abs/2511.04914},
  year={2025}
}
@inproceedings{wang2025benchmarking,
  title={Benchmarking Contextual and Paralinguistic Reasoning in Speech-LLMs: A Case Study with In-the-Wild Data},
  author={Wang, Qiongqiong and Sailor, Hardik Bhupendra and Liu, Tianchi and Zhang, Wenyu and Huzaifah, Muhammad and Lertcheva, Nattadaporn and Sun, Shuo and Chen, Nancy F and Wu, Jinyang and Aw, AiTi},
  booktitle={Findings of EMNLP 2025},
  year={2025}
}
@inproceedings{cpqa_interspeech,
  title={Contextual Paralinguistic Data Creation for  Multi-Modal Speech-LLM: Data Condensation and Spoken {QA} Generation},
  author={Wang, Qiongqiong and Sailor, Hardik B and Liu, Tianchi and Aw, Ai Ti},
  booktitle={Proc. Interspeech},
  year={2025},
}

@inproceedings{cpqa_asru,
  title={Incorporating Contextual Paralinguistic
Understanding in Large Speech-Language Models},
  author={
      Wang, Qiongqiong and Sailor, Hardik B and Wong, Jeremy H. M. and Liu, Tianchi and Sun, Shuo and Zhang, Wenyu and Huzaifah, Muhammad and  Chen, Nancy and Aw, Ai Ti},
  booktitle={Proc. IEEE Automatic Speech Recognition and Understanding Workshop (ASRU)},
  year={2025},
}

Runs of MERaLiON MERaLiON-SER-v1 on huggingface.co

1.6K
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
454
30-day runs

More Information About MERaLiON-SER-v1 huggingface.co Model

MERaLiON-SER-v1 huggingface.co

MERaLiON-SER-v1 huggingface.co is an AI model on huggingface.co that provides MERaLiON-SER-v1's model effect (), which can be used instantly with this MERaLiON MERaLiON-SER-v1 model. huggingface.co supports a free trial of the MERaLiON-SER-v1 model, and also provides paid use of the MERaLiON-SER-v1. Support call MERaLiON-SER-v1 model through api, including Node.js, Python, http.

MERaLiON-SER-v1 huggingface.co Url

https://huggingface.co/MERaLiON/MERaLiON-SER-v1

MERaLiON MERaLiON-SER-v1 online free

MERaLiON-SER-v1 huggingface.co is an online trial and call api platform, which integrates MERaLiON-SER-v1's modeling effects, including api services, and provides a free online trial of MERaLiON-SER-v1, you can try MERaLiON-SER-v1 online for free by clicking the link below.

MERaLiON MERaLiON-SER-v1 online free url in huggingface.co:

https://huggingface.co/MERaLiON/MERaLiON-SER-v1

MERaLiON-SER-v1 install

MERaLiON-SER-v1 is an open source model from GitHub that offers a free installation service, and any user can find MERaLiON-SER-v1 on GitHub to install. At the same time, huggingface.co provides the effect of MERaLiON-SER-v1 install, users can directly use MERaLiON-SER-v1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

MERaLiON-SER-v1 install url in huggingface.co:

https://huggingface.co/MERaLiON/MERaLiON-SER-v1

Url of MERaLiON-SER-v1

MERaLiON-SER-v1 huggingface.co Url

Provider of MERaLiON-SER-v1 huggingface.co

MERaLiON
ORGANIZATIONS

Other API from MERaLiON