Source-linked AI summary
Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS
Mutian He, Yan Deng, Lei He
TL;DR
Out-of-domain TTS inputs can cause attention collapse, skipping, and repeating, limiting robustness beyond the training distribution. The paper introduces stepwise monotonic attention with no-skipping alignment constraints and reports improved out-of-domain robustness without reduced in-domain naturalness for phoneme-based models. Soft inference is also considered to address context mismatch between training and inference.
Problem
Neural TTS remains insufficiently robust on out-of-domain inputs, where alignment errors such as attention collapse, skipping, and repeating can occur.
Source: §1 · p. 1Method
Stepwise monotonic attention constrains hard alignments to remain monotonic while allowing no skipping of input tokens, with soft inference addressing training-inference context mismatch.
Source: §1 · p. 1, §3 · pp. 2–3Results
The method greatly improves robustness on out-of-domain scenarios and preserves in-domain naturalness for phoneme-based models.
Source: §4.2 · p. 3, §5 · p. 4, §4.3 · p. 4Takeaways & Limitations
Stepwise monotonic attention provides a stable attention mechanism for neural TTS under singular or out-of-domain inputs while maintaining natural speech quality in-domain.
Source: §1 · p. 1, §4.2 · p. 3, §5 · p. 4The method is evaluated for phoneme-and-punctuation input scripts, and its soft-training context mismatch remains an inherent concern for hard attention.
Source: §3 · pp. 2–3
Abstract
from arXiv · showhide
Neural TTS has demonstrated strong capabilities to generate human-like speech with high quality and naturalness, while its generalization to out-of-domain texts is still a challenging task, with regard to the design of attention-based sequence-to-sequence acoustic modeling. Various errors occur in those inputs with unseen context, including attention collapse, skipping, repeating, etc., which limits the broader applications. In this paper, we propose a novel stepwise monotonic attention method in sequence-to-sequence acoustic modeling to improve the robustness on out-of-domain inputs. The method utilizes the strict monotonic property in TTS with constraints on monotonic hard attention that the alignments between inputs and outputs sequence must be not only monotonic but allowing no skipping on inputs. Soft attention could be used to evade mismatch between training and inference. The experimental results show that the proposed method could achieve significant improvements in robustness on out-of-domain scenarios for phoneme-based models, without any regression on the in-domain naturalness test.
1. Introduction
Neural TTS produces highly natural speech but remains vulnerable to skipping, repeating, and attention collapse on out-of-domain inputs. The paper targets this robustness problem by enforcing locality, monotonicity, and completeness in alignments.
- End-to-end neural TTS commonly maps characters or phonemes to acoustic features and uses a neural vocoder to generate high-quality waveforms.Source: §1 · p. 1
- Out-of-domain, long, complicated, or abnormal inputs can trigger skipping, repeating, and attention collapse, limiting broader neural TTS use.Source: §1 · p. 1
- The paper models TTS alignments as a surjective mapping from output frames to input tokens, requiring locality, monotonicity, and completeness.These criteria respectively avoid attention collapse, prevent repeating, and avert skipping.Source: §1 · p. 1
- Stepwise monotonic attention adds completeness constraints to monotonic attention, producing stable behavior on singular inputs while preserving in-domain naturalness comparable to state-of-the-art models.Source: §1 · p. 1
2. Related work
Attention-based neural TTS uses encoder-decoder alignments to convert input sequences into autoregressive acoustic outputs. Prior mechanisms address locality, monotonicity, or completeness, while monotonic attention provides hard, forward-moving selection with soft training alternatives.
2.1. Attention-based neural TTS
- At each decoder step, attention scores encoder memory entries, normalizes them into an alignment vector, forms a context vector, and generates acoustic outputs autoregressively.Source: §2.1 · p. 1
- Prior attention variants target locality, monotonicity, and completeness through explicit alignment modeling, penalties, location sensitivity, or forward variables.Source: §2.1 · p. 2
2.2. Monotonic attention
- Monotonic attention scans memory entries forward from the previous focus and selects one using Bernoulli-based stopping probabilities.Source: §2.2 · p. 2
- This hard selection guarantees one focused memory entry per step with no backward movement, while retaining linear time complexity and online-input support.Source: §2.2 · p. 2
- Because hard attention is nondifferentiable, monotonic attention uses recursively or parallelly computed soft alignment distributions during training.The expected context vector replaces direct memory selection, with normalization, noise, and bias tricks supporting optimization and movement control.Source: §2.2 · p. 2
3. Stepwise monotonic attention
Stepwise monotonic attention constrains monotonic hard alignment to stay or advance by only one input position, thereby adding completeness to locality and monotonicity. Soft inference can reduce training-inference context mismatch, but the method is evaluated for phoneme-and-punctuation inputs.
3. Stepwise monotonic attention
- Stepwise monotonic attention limits each hard-alignment move to at most one input position, adding completeness to monotonic attention’s locality and monotonicity.Source: §3 · p. 2
- During inference, the mechanism samples whether to stay or advance one step, and its distribution can be computed recursively or efficiently with zero-padding.Source: §3 · p. 2
- Training uses expected context vectors, while linear time complexity, online decoding, noise, trainable bias, and energy normalization remain available.Source: §3 · p. 2
- The method shares mathematical form with part of forward attention but directly models TTS-specific alignment structure more simply.Source: §3 · p. 2
- Soft training creates context mismatch because the decoder sees a distribution of memory entries rather than the single entry selected during inference.Source: §3 · p. 2
- Soft inference may avoid context mismatch but sacrifices strict locality, monotonicity, linear complexity, and online decoding guarantees.Source: §3 · p. 3
- The method is proposed and evaluated for scripts containing phonemes and punctuations, whose punctuation tokens do not directly map to speech segments.Source: §3 · p. 3
4. Experiments
Experiments compare attention mechanisms in phoneme-based Tacotron2 models on in-domain and out-of-domain naturalness and intelligibility. Stepwise monotonic attention preserves naturalness while providing the strongest robustness on difficult inputs.
4.1. Experiment settings
- The experiments used Tacotron2 variants trained on 20.8 hours of professional female speech with manually checked phoneme inputs and evaluated 80 in-domain, 80 News, and 292 difficult utterances.Models were trained for 120k steps with the same general hyperparameters and synthesized waveforms using a WaveNet vocoder.Source: §4.1 · p. 3
4.2. Naturalness evaluation
- Naturalness comparisons used crowdsourced preference tests covering all 160 General Sentence and News utterances, with 20 judgments per utterance.Results were reported with p-values in Tables 1 and 2.Source: §4.2 · p. 3, Table 1 · p. 3, Table 2 · p. 3
- SMA models achieved naturalness at least on par with the baseline and other peers, unlike MA models, which regressed especially on complicated News inputs.MA outputs showed skipping, unnatural prosody, and unstable speech speed; SMA avoided a general naturalness penalty.Source: §4.2 · p. 3
4.3 Intelligibility evaluation
- MA hard generally avoided attention collapse and repeating but often violated completeness, skipping substantial speech, whereas FA reduced but did not eliminate skipping or repeating.The analysis links these error patterns to the distinct alignment constraints of the attention mechanisms.Source: §4.3 · p. 4
- SMA models delivered the best intelligibility robustness in most cases, with near-to-perfect correctness and only few minor misalignments.The evaluation used case-level unintelligible rate and word errors on long, complex, or semantically abnormal utterances.Source: §4.1 · p. 3, §4.3 · p. 4, Table 3 · p. 4
- Soft inference hurt MA robustness because uncertain alignments averaged incompatible hard paths and could gradually produce attention collapse and unintelligible speech.SMA soft retained highly discrete alignments on the same inputs and evaded context mismatch without harming robustness.Source: §4.3 · p. 4
5. Conclusion
Stepwise monotonic attention greatly improves robustness of attention-based neural TTS under out-of-domain scenarios and may extend to related sequence-to-sequence tasks.
- Stepwise monotonic attention greatly improves robustness of attention-based neural TTS models under out-of-domain scenarios.The method is also proposed for possible application to audio, handwriting, and inflection generation.Source: §5 · p. 4