Abstract
In this paper, we present a novel architecture to realize fine-grained style control on the transformer-based text-to-speech synthesis (TransformerTTS). Specifically, we model the speaking style by extracting a time sequence of local style tokens (LST) from the reference speech. The existing content encoder in TransformerTTS is then replaced by our designed cross-attention blocks for fusion and alignment between content and style. As the fusion is performed along with the skip connection, our cross-attention block provides a good inductive bias to gradually infuse the phoneme representation with a given style. Additionally, we prevent the style embedding from encoding linguistic content by randomly truncating LST during training and using wav2vec 2.0 features. Experiments show that with fine-grained style control, our system performs better in terms of naturalness, intelligibility, and style transferability. Our code and samples are publicly available.
TL;DR
Researchers at Carnegie Mellon University have developed LST-TTS, a novel architecture that enables precise, frame-level control over speaking styles (like prosody and pace) in Transformer-based speech synthesis. By combining wav2vec 2.0 features with a cross-attention fusion mechanism, the system significantly reduces "content leakage"—a common failure mode where the model accidentally learns what to say from the reference audio rather than the input text.
What Problem Does This Paper Address?
In Text-to-Speech (TTS), we don't just want the right words; we want the right delivery. While Global Style Tokens (GST) are great at capturing a speaker's general "vibe" or identity, they struggle with fine-grained, time-varying elements like rhythm, emphasis, and emotional shifts within a single sentence.
The biggest hurdle in fine-grained control is content leakage. When a model is trained to extract style from a reference audio clip, it often "cheats" by extracting the linguistic content (the words) as well. During inference, this leads to a mismatch: the model might try to say the words from the style reference instead of the text you actually provided, resulting in garbled or incorrect speech.
Methods
The authors introduce LST-TTS, which decomposes the problem into four sub-modules: a content network, a style network, a decoder, and a cross-attention fusion block.
- Style Network via wav2vec 2.0: Instead of using traditional spectrograms, the model uses wav2vec 2.0 features. Because these features are harder to "invert" back into text, they provide a natural defense against content leakage.
- Local Style Tokens (LST): The system extracts a sequence of style embeddings (LST) rather than a single global vector. This allows the model to track how style changes over the course of an utterance.
- Cross-Attention Fusion: Standard models often just concatenate style and text. LST-TTS replaces the standard Transformer encoder blocks with cross-attention blocks. Here, the phoneme representations act as the "Query," while the style embeddings act as the "Key" and "Value." This forces the model to gradually "infuse" the text with style.
- Random Truncation: During training, the style embeddings are randomly shortened. This forces the decoder to rely on the input text for the linguistic sequence while looking to the style tokens only for the "how" of the delivery.
Datasets
The model was evaluated on three distinct datasets to test different capabilities:
- LJ Speech: A single-speaker dataset used for high-quality baseline testing.
- VCTK: A multi-speaker dataset (110 speakers) used to evaluate how well the model scales to different voices.
- ESD (Emotional Speech Database): Used to test "style transferability"—specifically, whether the model can mimic an emotion from a reference clip without being explicitly told what that emotion is.
Key Insights and Ideas
- Inductive Bias Matters: By using cross-attention instead of simple concatenation, the authors provide a "good inductive bias." The model is structurally encouraged to treat style as a modifier of the text, rather than a parallel source of information.
- Wav2vec 2.0 as a Shield: The choice of wav2vec 2.0 isn't just for performance; it's a strategic choice for disentanglement. Its high-level representations are rich in prosody but relatively poor in reconstructible linguistic detail compared to mel-spectrograms.
- Zero-Shot Emotion: One of the most "aha" moments is that the model can perform emotional TTS without any emotion labels during training. It treats "sadness" or "happiness" simply as a fine-grained style to be aligned with the text.
Key Results
- Content Integrity: LST-TTS achieved a Word Error Rate (WER) of 9.5% on LJ Speech, significantly lower than previous fine-grained state-of-the-art models (which hit 21.4%). This proves the reduction in content leakage.
- Naturalness: In Mean Opinion Score (MOS) tests, LST-TTS scored 3.62, outperforming previous fine-grained control methods (3.19).
- Emotion Transfer: Using a pre-trained emotion classifier, the authors found that LST-TTS could transfer the correct emotion from a reference clip with 68.4% accuracy, despite never seeing an emotion label during training.
Limitations and Future Work
While the model performs excellently within a single speaker's range, the authors noted that style similarity scores dip slightly in multi-speaker settings (LST-S). This suggests that comparing styles across different voices remains a complex challenge.
The authors suggest that future work should involve "peeking under the hood" of the learned LST embeddings to see exactly what prosodic features (like pitch or duration) are being captured in specific dimensions of the vector space. This could eventually lead to "manual" style sliders for users.
Summary updated