Speech emotion recognition

Also known as: SER

On this page 7

Speech emotion recognition (SER) is the task of automatically inferring a speaker’s emotional state from the acoustic signal of speech, and sometimes from the words spoken as well. Within Speech & language AI, a branch of artificial intelligence, SER complements speech-to-text and sentiment analysis by capturing how something is said rather than only what is said.

SER systems analyze prosody, spectral features and voice quality to output either a discrete emotion label, such as anger or sadness, or continuous scores for arousal, valence and dominance. Accuracy depends heavily on data, language and recording conditions, and the field treats emotion as a probabilistic estimate of expressed affect, not a reliable reading of inner feelings.

How speech emotion recognition works

A typical SER pipeline has three stages: signal preparation, representation and classification. Preparation includes voice activity detection, resampling, loudness normalization and segmentation into utterances, usually 2 to 10 seconds long.

Representation turns audio into features. Classic systems compute handcrafted acoustic descriptors per frame and summarize them with statistics such as mean, range and slope. Modern systems feed a mel spectrogram or raw waveform into a neural encoder, frequently a self-supervised speech model such as wav2vec 2.0, HuBERT or WavLM, and then train a light classification head on top.

The table below lists the acoustic cues that carry the most emotional information.

CueWhat it measuresTypical emotional signal
Fundamental frequency (F0)Pitch level and variationHigher and more variable in anger or joy
EnergyLoudness over timeHigh in anger, low in sadness
Speaking rateSyllables per second, pause lengthFast in excitement, slow in sadness
Spectral featuresMFCC, formants, spectral tiltTension and articulation changes
Voice qualityJitter, shimmer, harmonics-to-noise ratioBreathiness or roughness under stress
Acoustic cues used in emotion recognition

Many production systems also fuse text from speech recognition with the acoustic model. This multimodal fusion helps when words and tone disagree, for example in sarcasm, although it adds latency and the risk of transcription errors.

Emotion models and output types

SER systems must commit to a model of emotion, and this choice shapes the dataset, the loss function and the evaluation metric. The two dominant approaches are categorical labels and dimensional scores.

ModelOutputStrengthsWeaknesses
CategoricalLabels such as neutral, happy, angry, sadEasy to interpret and act onForces blends into one class
DimensionalArousal, valence, dominance scoresCaptures intensity and mixed statesHarder to explain to end users
HybridLabels plus confidence and intensityFlexible for downstream rulesNeeds richer annotation
Categorical and dimensional emotion models

Acoustic features predict arousal far better than valence. Loud, fast and high-pitched speech clearly signals activation, but joy and anger can sound similar, so valence often requires lexical content to be estimated reliably.

Datasets and evaluation practice

Performance claims in SER are only meaningful when the dataset, split and metric are stated. Many benchmarks use acted speech, which is exaggerated and cleaner than natural conversation, so scores rarely transfer directly to real deployments.

Corpus typeExampleMain limitation
ActedActors reading scripted sentences, such as EMO-DBExaggerated, low ecological validity
ImprovisedDyadic sessions such as IEMOCAPSmall size, few speakers
NaturalPodcasts or call recordings such as MSP-PodcastNoisy labels and class imbalance
Common corpus types and their trade-offs

Practitioners report unweighted average recall (UAR) because emotion classes are imbalanced and neutral speech dominates. For dimensional outputs, the concordance correlation coefficient is standard. Reliable evaluation uses speaker-independent splits, since a model tested on voices it has already heard learns speaker identity rather than emotion.

Typical four-class UAR on improvised benchmarks ranges roughly from 60 to 75 percent with self-supervised encoders, and results on natural speech are usually lower. Human annotators themselves often agree only moderately, which sets a practical ceiling on achievable accuracy.

SER shares tools with several neighboring tasks but answers a different question about the speaker. Confusing these tasks leads to wrong expectations about data and accuracy.

TaskQuestion answeredPrimary input
Speech emotion recognitionHow does the speaker sound emotionallyAcoustics, optionally text
Sentiment analysisIs the expressed opinion positive or negativeText
Speaker recognitionWho is speakingVoice characteristics
Speaker diarizationWho spoke whenMulti-speaker audio
Intent recognitionWhat does the user wantTranscribed text
How SER differs from neighboring tasks

In practice these tasks are often chained in one pipeline. Diarization first separates speakers, speech-to-text produces a transcript, and SER then scores each speaker turn. This ordering matters, because emotion scores averaged across two speakers describe neither of them and can hide the moment when a conversation turns tense.

SER is also distinct from paralinguistic tasks such as detecting fatigue, intoxication or depression markers. Those tasks reuse similar acoustic features but require clinical or domain-specific labels, stricter validation and, in many jurisdictions, separate legal grounds for processing health-related data.

Limitations, risks and responsible use

The central limitation of SER is that vocal expression is not the same as felt emotion. Culture, language, personality, health conditions and social context all shape how people sound, so a model can be confidently wrong about an individual.

  • Domain shift: microphones, codecs, background noise and telephone bandwidth can degrade accuracy sharply.
  • Cross-lingual and cultural bias: models trained on one language or culture often misread others.
  • Label subjectivity: annotators disagree, so ground truth is a distribution, not a single answer.
  • Privacy and regulation: emotion inference from voice is sensitive, and the EU AI Act prohibits emotion recognition in workplaces and education, with narrow exceptions.

Responsible deployments use SER for aggregate trends and triage, keep a human in the loop for decisions about individuals, disclose its use, and avoid high-stakes judgments such as hiring or credibility assessment.

Put simply

People can often hear that a friend is upset before the friend says why. The voice gets louder, faster or shakier. Speech emotion recognition teaches a computer to notice those same signals.

The computer listens to pitch, volume and pace. It then makes a best guess, such as calm, angry or sad. The key point is that it is a guess about how someone sounds, not a window into their mind.

In practice

A customer support center that handles about 10,000 calls per day adds SER to its call analytics. The system scores each call segment for arousal and negative valence, combining the acoustic model with text from speech recognition.

Supervisors do not see judgments about individual callers. Instead, they receive a daily list of calls where high-arousal negative segments lasted longer than 30 seconds, together with the topic of the call. Reviewers listen to a sample and find that most flagged calls involve a confusing billing change.

After the billing letter is rewritten, flagged calls drop noticeably over the next month. The team treats SER as a triage signal for process problems, while every decision about agents or customers remains with human reviewers.