Abstract
We propose an end-to-end empathetic dialogue speech synthesis (DSS) model that considers both the linguistic and prosodic contexts of dialogue history. Empathy is the active attempt by humans to get inside the interlocutor in dialogue, and empathetic DSS is a technology to implement this act in spoken dialogue systems. Our model is conditioned by the history of linguistic and prosody features for predicting appropriate dialogue context. As such, it can be regarded as an extension of the conventional linguistic-feature-based dialogue history modeling. To train the empathetic DSS model effectively, we investigate 1) a self-supervised learning model pretrained with large speech corpora, 2) a style-guided training using a prosody embedding of the current utterance to be predicted by the dialogue context embedding, 3) a cross-modal attention to combine text and speech modalities, and 4) a sentence-wise embedding to achieve fine-grained prosody modeling rather than utterance-wise modeling. The evaluation results demonstrate that 1) simply considering prosodic contexts of the dialogue history does not improve the quality of speech in empathetic DSS and 2) introducing style-guided training and sentence-wise embedding modeling achieves higher speech quality than that by the conventional method.
Introduction
In human conversation, empathy is conveyed not only through words but also through vocal delivery—pitch, speed, and energy. While modern Dialogue Speech Synthesis (DSS) systems generate natural-sounding voices, they often lack "contextual empathy." Most existing models rely solely on text history to determine the response style, ignoring the vital emotional cues present in a user's tone.
The challenge lies in effectively extracting these prosodic cues from dialogue history and translating them into an appropriate vocal style for the AI's next response. This paper addresses this by proposing a model that integrates both linguistic and prosodic contexts.
Methodology
The proposed architecture extends FastSpeech 2 by introducing a Cross-Modal Conversational Context Encoder (CMCCE). This encoder processes two distinct streams of dialogue history:
- Linguistic Context: BERT-based embeddings extracted from the text of previous turns.
- Prosodic Context: Features extracted from the audio (mel-spectrograms) of previous turns using a prosody encoder.
To optimize performance, the researchers investigated four key strategies:
- SSL Prosody Encoding: Utilizing a pre-trained wav2vec 2.0 model for complex audio feature extraction.
- Style-Guided Training (SG): A novel approach where the model is trained to minimize the distance between the predicted context embedding and the actual prosody of the target response.
- Cross-Modal Attention: A Query-Key-Value mechanism that allows the model to dynamically weight the relevance of different parts of the text and audio history.
- Fine-Grained (FG) Modeling: Shifting from utterance-level to sentence-level modeling, enabling the AI to adjust its tone within a single turn, mirroring human speech patterns.
Experimental Setup
The model was primarily trained on the STUDIES Corpus, which contains simulated empathetic dialogues between a teacher and students. Additional datasets, including JSUT and Common Voice, were used to pre-train the speech synthesis and prosody encoder components, ensuring a robust baseline for Japanese speech.
Results and Discussion
Subjective evaluation through Mean Opinion Score (MOS) and preference tests revealed several key insights:
- The Necessity of Training Strategies: Simply adding audio history as an input did not improve results. Without specific strategies like Style-Guidance, the extra data acted as noise.
- Effectiveness of Style-Guidance: The SG approach proved most effective, as it explicitly taught the model the "social rules" for mapping dialogue history to output style.
- Impact of Granularity: Moving to sentence-wise (FG) modeling significantly improved naturalness. The best-performing configuration (SG + FG) achieved a naturalness MOS of 3.66, outperforming the text-only baseline of 3.55.
- SSL Performance: Interestingly, the high-complexity wav2vec 2.0 (SSL) model did not consistently outperform simpler encoders, indicating that the training methodology (how context is used) is more critical than the raw complexity of the features.
Conclusion
This research demonstrates that integrating prosodic history with linguistic context can significantly enhance the empathy of AI-generated speech. By employing style-guided training and fine-grained modeling, the proposed system creates more natural and contextually appropriate responses. Future work will focus on incorporating explicit emotion labels, testing on more diverse real-world dialogue datasets, and optimizing computational efficiency for longer histories.
Summary updated