Multimodal Emotion Recognition in Doctor-Patient Communication: Development and Validation of a Feature Fusion Method Using Speech and Text Pretrained Models

Background Doctor-patient communication plays a crucial role in enhancing the patient experience and promoting understanding and cooperation during diagnosis and treatment. However, the current health care system often struggles to identify patients’ needs and emotional changes in real time, thereby affecting the patient experience, treatment adherence, and medical safety. The deep integration of AI into health care provides new opportunities for improving patient-centered medical services. Objective This study aimed to evaluate the performance of mainstream pretrained models in medical emotion recognition tasks and to construct a multimodal emotion fusion framework suitable for real-world doctor-patient conversations based on the most effective candidate models. The objectives included improving the accuracy and robustness of emotion prediction, enhancing cross-modal information fusion capability, and validating the feasibility and clinical applicability of the proposed method on in-situ clinical recordings. Methods We systematically compared 5 representative pretrained models (hidden-unit BERT [HuBERT], waveform-based language model [WavLM], wav2vec 2.0, bidirectional encoder representations from transformers [BERT], and robustly optimized BERT pretraining approach [RoBERTa]) in medical scenarios. Based on the results, we propose a hybrid multimodal fusion framework built on HuBERT and RoBERTa, which integrates cross-modal multihead attention and a dynamic gating fusion strategy to jointly capture complementary acoustic and semantic features. Comparative experiments were performed to evaluate the performance of different models and fusion strategies. Results The study used a final dataset of 4571 audio clips across 6 distinct emotion categories, comprising 3513 original self-collected utterances from hospital conversations and documentary recordings, training-set data augmentation and limited oversampling, and 846 additional samples from the publicly available Emotional Speech Dataset (ESD). Field validation was conducted using 8674 seconds (2.4 hours) of extended doctor-patient conversations recorded in hospital settings. The RoBERTa-HuBERT multimodal pretrained model achieved a prediction accuracy of 82.39% and an F1-score of 82.40% on this dataset. Its performance across different emotion categories ranged from 63.64% to 90.84%, significantly outperforming traditional baseline models (55%-61%) and most unimodal models. The model demonstrated notable improvements in prediction stability, robustness, and generalization capability. In long-dialogue validation experiments, the model achieved an average accuracy of approximately 78%, suggesting stable performance and potential applicability in real-world clinical settings. Conclusions This study reveals the complementary nature of audio and text modalities in speech emotion recognition, highlighting the critical role of the proposed fusion mechanism in enhancing model performance. The method enables real-time speech emotion recognition in clinical practice, providing significant insights for optimizing the patient experience, fostering doctor-patient trust, and advancing intelligent health care interaction systems.

Authors

Publication Details

Journal
JMIR Medical Informatics
Published
2026-12-02
DOI
https://doi.org/10.2196/94694
Primary Topic
Emotion and Mood Recognition
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Multimodal Emotion Recognition in Doctor-Patient Communication: Development and Validation of a Feature Fusion Method Using Speech and Text Pretrained Models

Yu Gu, Yuxiao Yang, Geng Yu, Huiling Tian et al.
JMIR Medical Informatics
Emotion and Mood Recognition
article

Multimodal Emotion Recognition in Doctor-Patient Communication: Development and Validation of a Feature Fusion Method Using Speech and Text Pretrained Models

Yu Gu, Yuxiao Yang, Geng Yu, Huiling Tian, Qiuying Yang
article en

Abstract

Background Doctor-patient communication plays a crucial role in enhancing the patient experience and promoting understanding and cooperation during diagnosis and treatment. However, the current health care system often struggles to identify patients’ needs and emotional changes in real time, thereby affecting the patient experience, treatment adherence, and medical safety. The deep integration of AI into health care provides new opportunities for improving patient-centered medical services. Objective This study aimed to evaluate the performance of mainstream pretrained models in medical emotion recognition tasks and to construct a multimodal emotion fusion framework suitable for real-world doctor-patient conversations based on the most effective candidate models. The objectives included improving the accuracy and robustness of emotion prediction, enhancing cross-modal information fusion capability, and validating the feasibility and clinical applicability of the proposed method on in-situ clinical recordings. Methods We systematically compared 5 representative pretrained models (hidden-unit BERT [HuBERT], waveform-based language model [WavLM], wav2vec 2.0, bidirectional encoder representations from transformers [BERT], and robustly optimized BERT pretraining approach [RoBERTa]) in medical scenarios. Based on the results, we propose a hybrid multimodal fusion framework built on HuBERT and RoBERTa, which integrates cross-modal multihead attention and a dynamic gating fusion strategy to jointly capture complementary acoustic and semantic features. Comparative experiments were performed to evaluate the performance of different models and fusion strategies. Results The study used a final dataset of 4571 audio clips across 6 distinct emotion categories, comprising 3513 original self-collected utterances from hospital conversations and documentary recordings, training-set data augmentation and limited oversampling, and 846 additional samples from the publicly available Emotional Speech Dataset (ESD). Field validation was conducted using 8674 seconds (2.4 hours) of extended doctor-patient conversations recorded in hospital settings. The RoBERTa-HuBERT multimodal pretrained model achieved a prediction accuracy of 82.39% and an F1-score of 82.40% on this dataset. Its performance across different emotion categories ranged from 63.64% to 90.84%, significantly outperforming traditional baseline models (55%-61%) and most unimodal models. The model demonstrated notable improvements in prediction stability, robustness, and generalization capability. In long-dialogue validation experiments, the model achieved an average accuracy of approximately 78%, suggesting stable performance and potential applicability in real-world clinical settings. Conclusions This study reveals the complementary nature of audio and text modalities in speech emotion recognition, highlighting the critical role of the proposed fusion mechanism in enhancing model performance. The method enables real-time speech emotion recognition in clinical practice, providing significant insights for optimizing the patient experience, fostering doctor-patient trust, and advancing intelligent health care interaction systems.

JMIR Medical InformaticsVol. 14
Emotion and Mood Recognition
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon