Аудио РУКОВОДСТВО ПО ИИ

Распознавание речевых эмоций

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.

Прослушайте это руководствоОзвучено ИИ · ~7 min

На этой странице8 мин чтения
  1. Обзор
  2. Ключевые выводы
  3. Глубокое погружение
  4. Build and honestly test a small SER classifier
  5. Реальная реализация
  6. Будущее распознавания речевых эмоций
  7. Применение на практике
  8. Источники и дальнейшее чтение
  9. Продолжайте исследовать
  10. Часто задаваемые вопросы

Обзор

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.

Ключевые выводы

  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.

Глубокое погружение

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.

04Рабочий пример

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.

Что это показывает

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.

Реальная реализация

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.

Будущее распознавания речевых эмоций

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.

Применение на практике

Почему это важно

  • Доступ и охват. Это улучшает доступность за счет транскрипции, повествования и голосовых интерфейсов.
  • Стоимость и бюджет. Медиа-команды могут выпускать качественное аудио быстрее с меньшими бюджетами.
  • Скорость и масштаб. Системы, работающие с клиентами, могут обрабатывать устные взаимодействия в большем масштабе.

Следите за

  • Риски неправильного использования голоса и выдачи себя за другое лицо возрастают при отсутствии согласия.
  • Точность может снижаться из-за акцентов, диалектов или шумной обстановки.
  • Синтетический звук можно принять за аутентичную речь без четкой маркировки.

Следующие шаги

  1. Получите явное согласие на захват, клонирование и повторное использование голоса.
  2. Проверьте качество звука при использовании различных динамиков и фоновых условий.
  3. Определите, когда человек должен проверять или утверждать результаты.
  4. Маркируйте синтетический звук и сохраняйте записи о происхождении для обеспечения ответственности.

Источники и дальнейшее чтение

  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

Продолжайте исследовать

Бесплатная рассылка

Получайте ежедневный AI-обзор

Три проверенных AI-истории каждое утро буднего дня, написанные простым английским. Бесплатно навсегда, без рекламы.

Одно электронное письмо каждый будний день. Отписаться в один клик. Мы никогда не продаем и не передаем ваш адрес.

Проверьте себя

Take the Speech Emotion Recognition quiz

Мгновенная обратная связь по каждому ответу и общий сертификат с проверяемым идентификатором после прохождения курса.

Начать тест

Поддержите бесплатное образование в области искусственного интеллекта. AI Understanding — это некоммерческая организация 501(c)(3). Никакой рекламы и платного доступа. Сделать пожертвование

Часто задаваемые вопросы

Что такое распознавание речевых эмоций?

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.

Что в первую очередь анализирует распознавание речевых эмоций?

SER фокусируется на том, как что-то произносится (просодические и акустические характеристики, такие как высота тона, энергия и ритм), а не на самих словах.

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.

Почему маркировка данных об эмоциях особенно сложна?

Поскольку восприятие эмоций субъективно и зависит от культуры, аннотаторы часто расходятся во мнениях, создавая шумные ярлыки, которые ограничивают точность модели.

Какой из них является хорошо известным набором данных эмоциональной речи?

IEMOCAP (наряду с RAVDESS и CREMA-D) является стандартным эталоном распознавания речевых эмоций; остальные представляют собой наборы изображений или текстовых данных.

Как современные системы SER часто используют ограниченные размеченные данные?

Модели с самоконтролем, предварительно обученные на большой объемной неразмеченной речи (например, wav2vec 2.0, HuBERT), хорошо переносят задачи на эмоции с небольшими помеченными наборами данных.

Продолжайте учиться

Связанные руководства

Другие руководства, выбранные по этой теме

Получите бесплатный AI-сертификатКороткий бесплатный курс и экзамен. Без стоимости, без карты. Около 2,5 часов.Начать бесплатно →