GUÍA de IA en audio

Reconocimiento de emociones del habla

Speech emotion recognition (SER) is the use of machine learning to estimate how a speaker sounds emotionally, such as angry, sad, happy or neutral, or how aroused and positive they sound, from the acoustics of their voice.

Escuche esta guíaNarrado por IA · ~7 min

En esta pagina8 minutos de lectura
  1. Descripción general
  2. Conclusiones clave
  3. Buceo profundo
  4. Build and honestly test a small SER classifier
  5. Implementación en el mundo real
  6. El futuro del reconocimiento de las emociones del habla
  7. Poniéndolo en práctica
  8. Fuentes y lecturas adicionales
  9. Sigue explorando
  10. Preguntas frecuentes

Descripción general

It matters for call analytics, health research and voice assistants, but accuracy on natural speech is modest and the EU has banned its use on workers and students since February 2025.

Conclusiones clave

  1. Speech emotion recognition estimates the emotion a voice expresses, as a category or as valence, arousal and dominance scores.
  2. In a 2021 study, wav2vec 2.0 features raised IEMOCAP average recall from 52.4% with classic eGeMAPS features to 67.2%.
  3. Human raters identified RAVDESS's acted emotions about 60% of the time from audio alone, showing how hard the task is even for people.
  4. On natural podcast speech, a published Interspeech 2025 challenge entry scored 39.79% macro F1, far below results on acted corpora.
  5. Since February 2, 2025, the EU AI Act bans AI emotion inference in workplaces and schools, except for medical or safety reasons.

Buceo profundo

Speech emotion recognition is a classification or regression task: a system receives a stretch of recorded speech and outputs an estimate of the emotion it expresses. The output is usually either a category, such as neutral, happy, sad or angry, or scores on emotional dimensions. The three dimensions used in most research are valence (how positive or negative), arousal or activation (how calm or excited) and dominance (how in control). The system works from how something is said, including pitch, loudness, timing and voice quality, and in many modern systems also from the words. It estimates expressed or perceived emotion, what listeners would judge, not the speaker's inner feelings.

A typical pipeline has four steps. First, the audio is cleaned and cut into utterances, often a few seconds long. Second, features are computed. Classic systems used hand-designed measurements; the eGeMAPS set, extracted with the openSMILE toolkit, includes pitch, loudness, spectral shape and voice-quality measures taken every 10 milliseconds. Modern systems instead pass the waveform through a self-supervised speech model such as wav2vec 2.0, a network pretrained on large amounts of unlabeled speech, and use its internal layers as features. Third, a small classifier or regressor, trained on labeled examples, maps features to emotions. Fourth, frame-level predictions are pooled into one decision per utterance.

The switch to pretrained representations produced large gains. In a 2021 study, Leonardo Pepino, Pablo Riera and Luciana Ferrer compared feature types using the same downstream model. On IEMOCAP, eGeMAPS features reached 52.4% average recall, meaning recall averaged across emotion classes so rare classes count equally, while a weighted combination of all wav2vec 2.0 layers reached 67.2%. On RAVDESS the same comparison went from 57.0% to 84.3%. They also found that the version of wav2vec 2.0 fine-tuned for speech recognition did worse than the purely pretrained one, apparently because fine-tuning for transcription discards tone information. Emotion-specific pretraining followed: emotion2vec, posted in December 2023 by Ziyang Ma and colleagues, was pretrained on unlabeled emotional speech and outperformed general speech models on IEMOCAP using only linear layers.

Datasets shaped the field. IEMOCAP, built at the University of Southern California, holds about 12 hours of audiovisual recordings of actors in dyadic, meaning two-person, sessions, both scripted and improvised, annotated by multiple raters with categories and dimensional labels. RAVDESS, published in PLOS ONE in 2018, contains 7,356 recordings by 24 professional actors, 12 female and 12 male, in eight emotions. Both are acted. Their weakness is visible in RAVDESS's own validation: human raters identified the intended emotion about 60% of the time from audio alone, against about 80% with audio and video. The MSP-Podcast corpus, described in a 2025 paper by Carlos Busso and colleagues, moved to natural speech: over 400 hours from podcasts shared under licenses that allow redistribution, each sample rated by at least five people.

The gap between acted and natural speech is the central limitation. The Interspeech 2025 Challenge on Speech Emotion Recognition in Naturalistic Conditions, organized by Busso's group and collaborators, used speaker-independent splits so models were tested on unseen people. Organizers reported a record number of participants and found that the best systems combined audio and text foundation models. Even so, one published entry reported a macro F1 score, the average of per-class F1 scores, of 39.79% on the test set, far below the scores common on acted corpora. Natural emotions are subtle, mixed and unevenly distributed, with neutral speech dominating.

Compared with alternatives, voice has strengths and weaknesses. Text sentiment analysis reads the words and misses sarcasm or tone; voice captures tone but is confused by accents, microphones and background noise. Facial expression analysis needs a camera and faces the same question of what outward signals reveal. Multimodal systems that combine voice and text currently perform best on benchmarks. Physiological signals such as heart rate are harder to fake but need sensors. None measures felt emotion directly; all infer from outward signals.

Labels are inherently uncertain. Raters often disagree on the same clip, which is why corpora collect several ratings and why MSP-Podcast records both a primary emotion and secondary perceived emotions. Expression varies by culture, language, age and individual, so a model trained on one population can misread another. Acted datasets exaggerate emotions. Accuracy reported on one corpus often drops on another. These issues raise fairness concerns when results affect people, and they underlie the EU AI Act's prohibition, applying from February 2, 2025, on AI systems that infer emotions of people in workplaces and educational institutions, with exceptions for medical or safety reasons.

In practice, building an SER system requires labeled emotional speech that matches the target setting, which is the scarce resource. Freely available corpora carry license limits; RAVDESS, for example, is released under a non-commercial Creative Commons license. Compute needs are modest: a pretrained speech model can be frozen and only a small classifier trained, as in the emotion2vec and wav2vec 2.0 studies. The real costs are collecting consented, representative data, multiple human ratings per clip, evaluation on unseen speakers and a legal review of where the system may be used.

04Ejemplo resuelto

Build and honestly test a small SER classifier

  1. Download RAVDESS speech files, noting the CC BY-NC-SA 4.0 license, and read the emotion label from each file name.

  2. Split by actor, not by file, for example actors 1 to 20 for training and 21 to 24 for testing, so no test voice appears in training.

  3. Extract features two ways: eGeMAPS descriptors with the opensmile Python package, and averaged wav2vec 2.0 layer outputs from a pretrained checkpoint.

  4. Train the same logistic regression classifier on each feature set.

  5. Report unweighted average recall and a confusion matrix for each, and note which emotions are confused, such as calm and neutral.

  6. Test the better model on a few clips of natural speech, such as consented recordings of friends, and compare its labels with what listeners report.

lo que muestra

Two baseline models and a confusion matrix showing that learned speech features beat hand-designed ones on acted data. The final step usually shows a sharp drop on natural speech, which is the most important check before trusting any SER result.

Implementación en el mundo real

Researchers train and test SER systems on IEMOCAP, about 12 hours of acted and improvised dialogues recorded at the University of Southern California and labeled with categories and with valence, activation and dominance.

The MSP-Podcast corpus provides over 400 hours of naturally occurring podcast speech, each sample rated by at least five people, for building models that work outside the lab.

The open-source emotion2vec model, released in December 2023, provides pretrained emotion representations that need only a linear classifier on top and showed gains across datasets in 10 languages.

Teams in the Interspeech 2025 naturalistic speech emotion challenge combined audio and text foundation models; one published entry reached a 39.79% macro F1 score on the official test set.

Under Article 5(1)(f) of the EU AI Act, applying since February 2, 2025, an employer or school in the EU may not use AI to infer people's emotions, except for medical or safety reasons.

El futuro del reconocimiento de las emociones del habla

Research is moving from acted to natural speech and from audio-only to multimodal models. The 2025 MSP-Podcast release, with over 400 hours of naturally occurring speech, and the Interspeech 2025 naturalistic challenge built on it show the shift, and the challenge organizers reported that combining audio and text foundation models produced the most robust systems. Emotion-specific self-supervised models such as emotion2vec, which reported gains across 10 languages, aim to reduce the need for large labeled sets. Open problems remain substantial: low accuracy on spontaneous speech, as the roughly 40% macro F1 reported by a 2025 challenge entry illustrates; disagreement among human raters; cultural and language variation; and the question of what a predicted label actually measures. Regulation is a second driver. The EU AI Act's ban on emotion inference in workplaces and schools has applied since February 2, 2025, and products in other settings face scrutiny over consent and fairness. Whether SER becomes reliable enough for high-stakes uses such as health screening, or remains a research and aggregate-analytics tool, is not yet settled.

Poniéndolo en práctica

Por qué es importante

  • Acceso y alcance. Mejora la accesibilidad a través de transcripción, narración e interfaces de voz.
  • Costo y presupuesto. Los equipos de medios pueden enviar audio pulido más rápido con presupuestos más pequeños.
  • Velocidad y escala. Los sistemas de cara al cliente pueden procesar interacciones habladas a mayor escala.

cuidado con

  • Los riesgos de uso indebido de voz y suplantación de identidad aumentan cuando falta el consentimiento.
  • La precisión puede disminuir según los acentos, los dialectos o los entornos ruidosos.
  • El audio sintético puede confundirse con el habla auténtica sin un etiquetado claro.

Próximos pasos

  1. Obtenga consentimiento explícito para la captura, clonación y reutilización de voz.
  2. Pruebe la calidad en diversos oradores y condiciones de fondo.
  3. Defina cuándo un humano debe revisar o aprobar los resultados.
  4. Etiquete el audio sintético y mantenga registros de procedencia para la rendición de cuentas.

Fuentes y lecturas adicionales

  1. University of Southern California, SAILThe Interactive Emotional Dyadic Motion Capture (IEMOCAP) Database
  2. PLOS ONEThe Ryerson Audio-Visual Database of Emotional Speech and Song (RAVDESS)
  3. arXivThe MSP-Podcast Corpus
  4. arXiv (Interspeech 2021)Emotion Recognition from Speech Using Wav2vec 2.0 Embeddings
  5. arXivemotion2vec: Self-Supervised Pre-Training for Speech Emotion Representation
  6. ISCA Archive (Interspeech 2025)The Interspeech 2025 Challenge on Speech Emotion Recognition in Naturalistic Conditions
  7. arXivEnhancing Speech Emotion Recognition with Graph-Based Multimodal Fusion and Prosodic Features for the Speech Emotion Recognition in Naturalistic Conditions Challenge at Interspeech 2025
  8. EU Artificial Intelligence Act (Future of Life Institute)Article 5: Prohibited AI Practices

Sigue explorando

Boletín gratuito

Recibe el resumen diario de IA

Tres noticias verificadas sobre IA cada mañana de lunes a viernes, explicadas con claridad. Gratis para siempre y sin anuncios.

Un correo cada día laborable. Date de baja con un clic. Nunca vendemos ni compartimos tu dirección.

Ponte a prueba

Take the Speech Emotion Recognition quiz

Corrección inmediata en cada respuesta y un certificado para compartir, con un ID verificable, cuando apruebas un curso.

Empezar el cuestionario

Apoya la educación gratuita sobre IA. AI Understanding es una organización sin fines de lucro 501(c)(3): sin anuncios ni muros de pago, nunca. Hacer una donación

Preguntas frecuentes

What is Speech Emotion Recognition?

Speech emotion recognition (SER) is the use of machine learning to estimate how a speaker sounds emotionally, such as angry, sad, happy or neutral, or how aroused and positive they sound, from the acoustics of their voice. It matters for call analytics, health research and voice assistants, but accuracy on natural speech is modest and the EU has banned its use on workers and students since February 2025.

¿Qué analiza principalmente el reconocimiento de emociones del habla?

SER se centra en cómo se dice algo (características prosódicas y acústicas como el tono, la energía y el ritmo) en lugar de las palabras en sí.

Which acoustic properties can speech-emotion models use as cues?

SER research uses prosodic and acoustic features, but these cues do not map uniquely to an emotion across all speakers and contexts.

¿Por qué es especialmente difícil etiquetar datos emocionales?

Debido a que la percepción de las emociones es subjetiva y culturalmente variable, los anotadores frecuentemente no están de acuerdo, lo que crea etiquetas ruidosas que limitan la precisión del modelo.

¿Cuál de estos es un conjunto de datos de discurso emocional conocido?

IEMOCAP (junto con RAVDESS y CREMA-D) es un punto de referencia estándar para el reconocimiento de emociones del habla; los demás son conjuntos de datos de imágenes o texto.

¿Cómo aprovechan a menudo los sistemas SER modernos los datos etiquetados limitados?

Los modelos autosupervisados ​​previamente entrenados en voz grande sin etiquetar (por ejemplo, wav2vec 2.0, HuBERT) se transfieren bien a tareas emocionales con pequeños conjuntos de datos etiquetados.