TL;DR
This paper introduces FCTalker, a novel conversational Text-to-Speech (TTS) model that significantly enhances speech expressiveness by jointly modeling both word-level and utterance-level context from dialogue history. By leveraging a fine-grained encoder built on a dialogue BERT model, FCTalker captures subtle semantic dependencies that were previously overlooked, leading to more natural and contextually appropriate synthesized speech.
What Problem Does This Paper Address?
Traditional Text-to-Speech (TTS) systems often struggle to generate expressive speech that fits naturally within a conversational context. While previous work has incorporated utterance-level dialogue history to improve prosody, they often miss the crucial fine-grained information at the word level. This word-level context, as illustrated by examples like "trophy" and "won" influencing the prosody of a response, is vital for capturing the nuances of human speech. The paper aims to bridge this gap by developing a model that can effectively leverage both coarse (utterance) and fine (word) grained contextual information for more expressive conversational TTS.
Methods
FCTalker builds upon the non-autoregressive FastSpeech2 framework. Its core innovation lies in its dual context encoders:
- Coarse-Grained Context Encoder (EncCG): This encoder processes the dialogue history at the utterance level. It uses pre-trained BERT to embed each utterance, appends a speaker ID, and then employs a GRU to encode the sequence of sentence embeddings. This output is then combined with the current utterance's embedding to produce the coarse-grained context embedding ($H_C$). This approach is similar to prior work in conversational TTS.
- Fine-Grained Context Encoder (EncFG): This is the novel component. It utilizes a dialogue BERT model, pre-trained on multi-turn conversations, to capture deep word-level dependencies between the dialogue history and the current utterance. The input to this encoder is a sequence of tokens including special speaker tokens and word-level sequences of both history and the current utterance. After processing through multi-layer Transformer blocks, a linear layer extracts the fine-grained context embedding ($H_F$) specifically from the current utterance's representation.
These fine-grained ($H_F$) and coarse-grained ($H_C$) context embeddings are then concatenated with the phoneme embedding ($H_P$) from the text encoder and the speaker embedding ($H_S$) before being fed into the acoustic decoder to generate mel-spectrum features. A HiFi-GAN vocoder is used for waveform synthesis.
Datasets
- DailyTalk: Used for training and evaluating the FCTalker model. It's a subset of the DailyDialog dataset, containing 23,773 audio clips (20 hours) from 2,541 conversations, recorded by male and female speakers. The data is split into training, validation, and test sets at an 8:1:1 ratio.
- Dialogue Corpora (for BERT pre-training): A collection of nine task-oriented datasets (including MetaLWOZ and Schema) comprising approximately 100,000 dialogues across over 60 domains. This dataset is used to pre-train the dialogue BERT model for the fine-grained context encoder.
Key Insights and Ideas
- Word-level context is crucial for expressiveness: The paper strongly argues and demonstrates that fine-grained word-level information in dialogue history significantly impacts the prosodic expression of the current utterance, a factor often overlooked by utterance-level context models.
- BERT for fine-grained context: Leveraging the deep contextual understanding capabilities of BERT, specifically adapted for dialogue, is a powerful way to model these intricate word-level dependencies.
- Joint modeling is key: Combining both fine-grained (word-level) and coarse-grained (utterance-level) context provides a more comprehensive understanding of the conversational flow, leading to superior prosodic rendering.
- Optimal context window: The study suggests that there's an optimal length for dialogue history, with performance peaking around 9-12 turns, aligning with the average dialogue turn length in the DailyTalk dataset.
Key Results
- Superior Prosodic Expressiveness: FCTalker achieved the highest Mean Opinion Scores (MOS) for both utterance-level and dialogue-level evaluations, outperforming baselines like FastSpeech2 and the utterance-level context model DailyTalk.
- Reduced Gap with Ground Truth: FCTalker demonstrated the smallest MOS gap compared to the ground truth speech, indicating its ability to synthesize highly natural and contextually appropriate expressive speech.
- Dialogue-level MOS: FCTalker achieved a dialogue-level MOS of 4.15 ± 0.031, significantly higher than DailyTalk (3.96 ± 0.056) and FastSpeech2 (3.90 ± 0.046).
- Utterance-level MOS: FCTalker also led in utterance-level MOS with 3.97 ± 0.040, compared to DailyTalk (3.86 ± 0.042) and FastSpeech2 (3.80 ± 0.026).
- Context Window Analysis: MOS scores generally increased with dialogue history length up to 12 turns, suggesting the importance of sufficient context.
Limitations and Future Work
- Optimal Dialogue Turn Selection: While the paper provides insights into the optimal number of dialogue turns (9-12), this could be further explored and potentially made adaptive.
- Future Optimization: The authors suggest that further optimizing the context modeling mechanism will be a focus for future work. This could involve exploring more advanced contextual representations or different fusion strategies for the fine and coarse-grained embeddings.
- Multimodal Context: The paper notes that while their work is textual, other studies focus on multimodal conversations, hinting at potential extensions to incorporate visual or other modalities.
Summary updated