ISCA Odyssey 2020
Tutorial 4
Neural statistical parametric
text-to-speech synthesis
Xin WANG
National Institute of Informatics, Japan
Contact: wangxin@nii.ac.jp
/ʃɪn/
/wʌn/
1
Slides by Xin Wang
National Institute of Informatics
© 2020, Xin Wang. All rights reserved.
This work is licensed under the Creative Commons Attribution 3.0 license.
See http://creativecommons.org/ for details.
Note: Natural Japanese speech data belonging to ATR Ximera corpus are deleted in this public available version
2
Self - introduction
https://researchmap.jp/wangxin
http://tonywangx.github.io/
3
Note
For waveform models, pleae check reading list
In this tutorial, ... recent methods neural-network-based acoustic models (e.g., Tacotron and its variants) and waveform generators ...
We also explain some of the classical methods such as the hidden-Markov-model-based ones.
... we make an excursion to voice conversion ...
Apologize for leaving these topics out
4
Note
5
Contents
6
Introduction
7
Intro – TTS?
Kewley-Port, D. & M. Nearey, T. Speech synthesizer produced voices for disabled, including Stephen Hawking. J. Acoust. Soc. Am. 148, R1--R2 (2020)
Input text
8
Intro – TTS?
See more in Taylor, P. Text-to-Speech Synthesis. (Cambridge University Press, 2009).
Input text
Formant synthesis
Hidden Markov models (HMM)
Waveform concatenation
LSTM-RNN
...
...
Unit-selection
Tacotron
WaveNet
9
Intro – Rapid advance of TTS
Wu, Z. et al. ASVspoof: the automatic speaker verification spoofing and countermeasures challenge. IEEE J. Sel. Top. Signal Process. 11, 588–604 (2017)
Unit-selection
(S10)
HMM-based TTS
(S3, S4)
Fig2. from (Wu 2017)
ASVspoof 2015
i-vector distance between spoofed & bona fide speech
10
Intro – Rapid advance of TTS
Wu, Z. et al. ASVspoof: the automatic speaker verification spoofing and countermeasures challenge. IEEE J. Sel. Top. Signal Process. 11, 588–604 (2017)
Wang, X. et al. ASVspoof 2019: a large-scale public database of synthesized, converted and replayed speech. Comput. Speech Lang. (2020)
Fig2. from (Wu 2017)
ASVspoof 2015
Fig3. from (Wang 2020)
ASVspoof 2019
11
Intro – Rapid advance of TTS
Wu, Z. et al. ASVspoof: the automatic speaker verification spoofing and countermeasures challenge. IEEE J. Sel. Top. Signal Process. 11, 588–604 (2017)
Wang, X. et al. ASVspoof 2019: a large-scale public database of synthesized, converted and replayed speech. Comput. Speech Lang. (2020)
Fig2. from (Wu 2017)
ASVspoof 2015
Fig3. from (Wang 2020)
ASVspoof 2019
Unit-section
(S10), (A16, A04)
Sequence-to-sequence (seq-to-seq) TTS
(A10, A11)
WaveNet
(A12)
HMM-DNN
(A08)
12
Intro – Rapid advance of TTS
Wang, X. et al. ASVspoof 2019: a large-scale public database of synthesized, converted and replayed speech. Comput. Speech Lang. (2020)
ASVspoof 2019: human listening test
Speaker similarity
Speech quality
Non-target
Target
A10
Non-target
Target bona fide
A10
A16
A16
A08
A08
HMM-DNN
Unit-selection
Seq-to-seq
13
Intro – Rapid advance of TTS
More samples: https://nii-yamagishilab.github.io/samples-xin/main-asvspoof2019
Database: https://datashare.is.ed.ac.uk/handle/10283/3336
See reference for methods before unit-selection
Unit-selection A16 | HMM-DNN A08 | Latest Seq2seq A10 | Target bona fide (natural) |
| | | |
| | | |
Waveform concantenation
Formant synthesis
~2016
~2013
~2000
HMM-based TTS
HMM-DNN
Seq-to-seq
Unit-selection
~1996
Now
Now
14
Intro – Rapid advance of TTS
More samples: https://nii-yamagishilab.github.io/samples-xin/main-asvspoof2019
Database: https://datashare.is.ed.ac.uk/handle/10283/3336
See reference for methods before unit-selection
Unit-selection A16 | HMM-DNN A08 | Latest Seq2seq A10 | Target bona fide (natural) |
| | | |
| | | |
Waveform concantenation
Formant synthesis
~2016
~2013
~2000
HMM-based TTS
HMM-DNN
Seq-to-seq
Unit-selection
~1996
Now
Now
15
Intro – Rapid advance of TTS
More samples: https://nii-yamagishilab.github.io/samples-xin/main-asvspoof2019
Database: https://datashare.is.ed.ac.uk/handle/10283/3336
See reference for methods before unit-selection
Unit-selection A16 | HMM-DNN A08 | Latest Seq2seq A10 | Target bona fide (natural) |
| | | |
| | | |
Waveform concantenation
Formant synthesis
~2016
~2013
~2000
HMM-based TTS
HMM-DNN
Seq-to-seq
Unit-selection
~1996
Now
Now
16
TTS Overview
17
Overview – TTS easy?
Sentence from: Beckman, M. E. & Ayers, G. Guidelines for ToBI labelling. OSU Res. Found. 3, (1997)
Marianna made the marmalade
Discrete
Continuous
Alignment
M
a
a
m
e
a
…
m
…
d
a
l
d
e
r
Ambiguity
Speaker identity,
Prosody …
18
Overview – Classical TTS
Sentence from: Beckman, M. E. & Ayers, G. Guidelines for ToBI labelling. OSU Res. Found. 3, (1997)
LOGIOS Lexicon tool: http://www.speech.cs.cmu.edu/tools/lextool.html
H*, L-L%: ToBI labels Beckman, M. E. & Ayers, G. Guidelines for ToBI labelling. OSU Res. Found. 3, (1997)
Marianna made the marmalade
M AA R IY AA N AH M EY D DH AH M AA R M AH L EY D
To phone
Waveform
generation
M
a
a
m
e
a
…
m
…
d
a
l
d
e
r
Normali-zation
Acoustic
realization
+Prosody
tags
H*
H*
L-L%
M AA R IY AA N AH M EY D DH AH M AA R M AH L EY D
19
Overview – Classical TTS
Taylor, P. Text-to-Speech Synthesis. (Cambridge University Press, 2009).
Dutoit, T. An Introduction to Text-to-speech Synthesis. (Kluwer Academic Publishers, 1997).
Marianna made the marmalade
M AA R IY AA N AH M EY D DH AH M AA R M AH L EY D
To phone
+prosody
Acoustic
realization
Waveform
generation
M
a
a
m
e
a
…
m
…
d
a
l
d
e
r
Normali-zation
H*
H*
L-L%
M AA R IY AA N AH M EY D DH AH M AA R M AH L EY D
Back-end
Main topic of this talk
How can we do alignment?
Front-end
Pitch accent, intonation, phrasing
Syllabification, lexical stress
Grapheme-to-phoneme
Text-normalization
Taylor 2009
Dutoit 1997
20
Overview – Classical TTS
Formant synthesis: Klatt, D. H. Review of text-to-speech conversion for English. J. Acoust. Soc. Am. 82, 737–793 (1987)
Concatenative & signal processing: See Dutoit An Introduction to Text-to-speech Synthesis. (1997)
Unit-selection: Hunt, A. J. & Black, A. W. Unit selection in a concatenative speech synthesis system using a large speech database. ICASSP (1996).
See history of unit-selection in Chapter 16.7.3, Paul Taylor, Text-to-speech Synthesis (2009)
Acoustic
realization
Waveform
generation
H*
H*
L-L%
M AA R IY AA N AH M EY D DH AH M AA R M AH L EY D
Back-end
Formant
synthesis
Concatenative &
Signal processing
Unit-selection
Statistical
parametric
sd
Speech signal
analysis &
re-synthesis
Statistical model
Multi-speaker
modeling
F0 modeling
Zero-shot
Robustness
Multi-lingual
Emotion
...
Vocoders
Spectral modeling
Alignment & duration
Adaptation
21
Overview – Unit-selection
Hunt, A. J. & Black, A. W. Unit selection in a concatenative speech synthesis system using a large speech database. in Proc. ICASSP 373–376 (1996).
Black, A. W. & Taylor, P. A. Automatically clustering similar units for unit selection in speech synthesis. (1997)
...
Marianna made the marmalade
H*
H*
L-L%
M AA R IY AA N AH [ ] M EY D DH AH [ ] M AA R M AH L EY D
Speech unit database
(Sec. 2.1, Hunt 1996)
Find best units
No explicit modeling of alignment
22
Overview – Unit-selection
Hunt, A. J. & Black, A. W. Unit selection in a concatenative speech synthesis system using a large speech database. in Proc. ICASSP 373–376 (1996).
Black, A. W. & Taylor, P. A. Automatically clustering similar units for unit selection in speech synthesis. (1997)
...
Marianna made the marmalade
H*
H*
L-L%
M AA R IY AA N AH [ ] M EY D DH AH [ ] M AA R M AH L EY D
Speech unit database
Find best units
No explicit modeling of alignment
23
Overview – HTS (HMM-based speech synthesis system)
MLSA: Imai, S., Sumita, K. & Furuichi, C. Mel log spectrum approximation (MLSA) filter for speech synthesis. Electron. Commun. Japan (Part I Commun. 66, 10–18 (1983)
STRAIGHT: Kawahara, H., Masuda-Katsuse, I. & Cheveigne, A. de. Restructuring speech representations using a pitch-adaptive time-frequency smoothing and an instantaneous-frequency-based F0 extraction: Possible role of a repetitive structure in sounds. Speech Commun. 27, 187–207 (1999)
WORLD: Morise, M., Yokomori, F. & Ozawa, K. WORLD: A vocoder-based high-quality speech synthesis system for real-time applications. IEICE Trans. (2016)
Marianna made the marmalade
H*
H*
L-L%
M AA R IY AA N AH [ ] M EY D DH AH [ ] M AA R M AH L EY D
|
|
|
|
|
|
|
|
|
…
Acoustic feature vector
Mel-cepstrum coefficients
F0
Other features…
Vocoders
STRAIGHT
WORLD
Glottal
Sinusoidal
24
Overview – HTS (HMM-based speech synthesis system)
Zen H. An example of context-dependent label format for HMM-based speech synthesis in English https://wiki.inf.ed.ac.uk/twiki/pub/CSTR/F0parametrisation/hts_lab_format.pdf (2006)
Tokuda, K., Zen, H. & Black, A. W. An {HMM}-based speech synthesis system applied to English. in Proc. SSW 227–230 (2002).
…
Marianna made the marmalade
H*
H*
L-L%
…
M AA R IY AA N AH [ ] M EY D DH AH [ ] M AA R M AH L EY D
Context-dependent labels (or linguistic feature vector)
Previous previous phone: R
Previous phone: IY
Current phone: AA
Next phone: N
Next Next phone: AH
Stressed syllable: True
Word position: 1
…
25
Overview – HTS (HMM-based speech synthesis system)
Note: only one state is plotted for simplicity
DNN: deep neural networks
…
Marianna made the marmalade
H*
H*
L-L%
…
M AA R IY AA N AH [ ] M EY D DH AH [ ] M AA R M AH L EY D
Input sequence is short,
Output sequence is long!?
Statistical parametric speech synthesis (SPSS)
26
Overview – HTS (HMM-based speech synthesis system)
Note: only one state is plotted for simplicity
DNN: deep neural networks
…
Marianna made the marmalade
H*
H*
L-L%
…
M AA R IY AA N AH [ ] M EY D DH AH [ ] M AA R M AH L EY D
Input sequence is short,
Output sequence is long!?
27
Overview – HTS (HMM-based speech synthesis system)
Note: only one state is plotted for simplicity
…
Marianna made the marmalade
H*
H*
L-L%
…
M AA R IY AA N AH [ ] M EY D DH AH [ ] M AA R M AH L EY D
Vowel?
Phone is AA?
HMM model
(state)
N
Y
N
Y
Decision tree(s)
28
Overview – HTS (HMM-based speech synthesis system)
Better methods: Zen, H., Tokuda, K., Masuko, T., Kobayasih, T. & Kitamura, T. A hidden semi-Markov model-based speech synthesis system. IEICE Trans. Inf. Syst. 90, 825–834 (2007)
For training: forward-backward algorithm & statistics accumulation
…
…
Marianna made the marmalade
H*
H*
L-L%
…
M AA R IY AA N AH [ ] M EY D DH AH [ ] M AA R M AH L EY D
…
Regression is much simpler
Duration prediction
(explicit way)
29
Overview – HTS (HMM-based speech synthesis system)
Tokuda, K., Yoshimura, T., Masuko, T., Kobayashi, T. & Kitamura, T. Speech parameter generation algorithms for HMM-based speech synthesis. in Proc. ICASSP 936–939 (2000).
…
…
Marianna made the marmalade
H*
H*
L-L%
…
M AA R IY AA N AH [ ] M EY D DH AH [ ] M AA R M AH L EY D
…
Maximum likelihood parameter generation
30
Overview – HTS (HMM-based speech synthesis system)
Tokuda, K., Yoshimura, T., Masuko, T., Kobayashi, T. & Kitamura, T. Speech parameter generation algorithms for HMM-based speech synthesis. in Proc. ICASSP 936–939 (2000).
Training requires forward-backward algorithm of HMM. See Rabiner, L. R. A tutorial on hidden Markov models and selected applications in speech recognition. Proc. IEEE 77, 257–286 (1989)
…
…
H*
H*
L-L%
…
M AA R IY AA N AH [ ] M EY D DH AH [ ] M AA R M AH L EY D
…
Marianna made the marmalade
Waveform generation (vocoder)
Explicit duration prediction�(alignment for generation)
Linguistic feature extraction
Decision tree searching
Maximum likelihood parameter generation
Aligned!
31
Overview – HTS & DNN
Zen, H., Senior, A. & Schuster, M. Statistical parametric speech synthesis using deep neural networks. in Proc. ICASSP 7962–7966 (2013).
Fan, Y., Qian, Y., Xie, F. & Soong, F. K. TTS Synthesis with Bidirectional LSTM Based Recurrent Neural Networks. in Proc. Interspeech 1964–1968 (2014).
…
H*
H*
L-L%
…
M AA R IY AA N AH [ ] M EY D DH AH [ ] M AA R M AH L EY D
Marianna made the marmalade
Waveform generation (vocoder)
Linguistic feature extraction
…
…
Deep neural networks (Feedforward, RNN …)
Explicit duration prediction
(alignment for generation)
Aligned!
32
Overview – HTS & DNN
Graves, A. Sequence Transduction with Recurrent Neural Networks. in Proc. ICML (2012).
…
H*
H*
L-L%
…
M AA R IY AA N AH [ ] M EY D DH AH [ ] M AA R M AH L EY D
Marianna made the marmalade
…
…
Aligned!
RNNs are usually restricted to problems where the alignment between the input and output sequence is known in advance (Graves 2012)
HMM is needed for alignment learning
33
Overview – Seq-to-seq models
…
H*
H*
L-L%
…
M AA R IY AA N AH [ ] M EY D DH AH [ ] M AA R M AH L EY D
Marianna made the marmalade
Joint alignment & regression
Single neural network for
Joint alignment & regression & linguistic analysis
34
Recent Seq-to-seq TTS��How do they work?
35
Seq-to-seq model
M
a
i
r
a
n
a
n
…
…
…
…
…
Seq-to-seq model
Attention
mechanism
36
Seq-to-seq model
M
a
i
r
a
n
a
n
…
…
…
…
…
Seq-to-seq model
Proposed by machine translation community
Wide application in speech recognition
37
Seq-to-seq model
38
Seq-to-seq model
Sutskever, I., Vinyals, O. & Le, Q. V. Sequence to sequence learning with neural networks. in Proc. NIPS 3104–3112 (2014).
Kalchbrenner, N. & Blunsom, P. Recurrent Continuous Translation Models. in Proc. EMNLP 1700–1709 (Association for Computational Linguistics, 2013).
a scalar or vector
Encoder
Decoder
39
Seq-to-seq model
Note: decodor is simplified for presentation. See appendix – Bahdanau model for details
Bahdanau, D., Cho, K. & Bengio, Y. Neural machine translation by jointly learning to align and translate. in Proc. ICLR (2015).
Softmax
40
Seq-to-seq model
Note: decodor is simplified for presentation. See appendix – Bahdanau model for details
Bahdanau, D., Cho, K. & Bengio, Y. Neural machine translation by jointly learning to align and translate. in Proc. ICLR (2015).
Softmax
41
Seq-to-seq model
Note: decodor is simplified for presentation. See appendix – Bahdanau model for details
Bahdanau, D., Cho, K. & Bengio, Y. Neural machine translation by jointly learning to align and translate. in Proc. ICLR (2015).
Softmax
42
Seq-to-seq model
Note: decodor is simplified for presentation. See appendix – Bahdanau model for details
Bahdanau, D., Cho, K. & Bengio, Y. Neural machine translation by jointly learning to align and translate. in Proc. ICLR (2015).
Softmax
Alignment matrix
43
Seq-to-seq model
Softmax
Encoder
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
Alignment!
44
Recent Seq-to-seq TTS��Attention mechanism
45
Attention
Soft attention
Hard attention
Location-based attention
Content-based attention
Forward attention
Self-attention
Dot attention
Additive attention
Global attention
Local attention
Posterior attention
Monotonic attention
46
Attention
What features to compute
Content-based
Location-based
Location-aware
How to compute
Scaled-dot
Additive
Dot
Constraints on
Local
Monotonic / forward
Global
Self-attention
(content from x)
Soft-attention
(Deterministic attention)
47
Attention
Deterministic & stochastic attention: Xu, K. et al. Show, Attend and Tell: Neural Image Caption Generation with Visual Attention. in Proc. ICML (eds. Bach, F. & Blei, D.) vol. 37 2048–2057 (PMLR, 2015).
What features to compute
Content-based
Location-based
Location-aware
Scaled-dot
How to compute
Additive
Dot
Constraints on
Local
Global
Monotonic / forward
Soft-attention
(Deterministic attention)
Hard-attention
(Stochastic attention)
Alignment as latent
48
Soft attention
Luong, T., Pham, H. & Manning, C. D. Effective Approaches to Attention-based Neural Machine Translation. in Proc. EMNLP 1412–1421 (2015).
Vaswani, A. et al. Attention is all you need. in Proc. NIPS 5998–6008 (2017).
Bahdanau, D., Cho, K. & Bengio, Y. Neural machine translation by jointly learning to align and translate. in Proc. ICLR (2015).
Softmax
How to compute?
Dot (Luong 2015, Eq(8)):
Additive (Bahdanau 2015, A2.2):
Scaled dot (Vaswani 2017, Eq.(1)):
49
Soft attention
Luong, T., Pham, H. & Manning, C. D. Effective Approaches to Attention-based Neural Machine Translation. in Proc. EMNLP 1412–1421 (2015).
Vaswani, A. et al. Attention is all you need. in Proc. NIPS 5998–6008 (2017).
Bahdanau, D., Cho, K. & Bengio, Y. Neural machine translation by jointly learning to align and translate. in Proc. ICLR (2015).
Softmax
Dot (Luong 2015, Eq(8)):
Additive (Bahdanau 2015, A2.2):
Scaled dot (Vaswani 2017, Eq.(1)):
How to compute?
50
Soft attention
Bahdanau, D., Cho, K. & Bengio, Y. Neural machine translation by jointly learning to align and translate. in Proc. ICLR (2015).
Softmax
What features?
Content-based(Bahdanau 2015, Eq(6))
Dot, scaled-dot, or additive
51
Soft attention
Chorowski, J. K., Bahdanau, D., Serdyuk, D., Cho, K. & Bengio, Y. Attention-based models for speech recognition. in Proc. NIPS 577–585 (2015).
Softmax
Content-based(Bahdanau 2015, Eq(6))
Location-aware(Chorowski 2015, Eq.(9)
52
Soft attention
Graves, A. Generating sequences with recurrent neural networks. arXiv Prepr. arXiv1308.0850 (2013)
Graves, A., Wayne, G. & Danihelka, I. Neural turing machines. arXiv Prepr. arXiv1410.5401 (2014)
Softmax
Content-based(Bahdanau 2015, Eq(6))
Location-aware(Chorowski 2015, Eq.(9)
Location-based(Graves 2013, Eq(46-52)
53
Soft attention
Graves, A. Generating sequences with recurrent neural networks. arXiv Prepr. arXiv1308.0850 (2013)
Graves, A., Wayne, G. & Danihelka, I. Neural turing machines. arXiv Prepr. arXiv1410.5401 (2014)
Softmax
Content-based(Bahdanau 2015, Eq(6))
Location-aware(Chorowski 2015, Eq.(9)
Location-based(Graves 2013, Eq(46-52)
Attention parameterized as GMM
54
Soft attention
Graves, A. Generating sequences with recurrent neural networks. arXiv Prepr. arXiv1308.0850 (2013)
Graves, A., Wayne, G. & Danihelka, I. Neural turing machines. arXiv Prepr. arXiv1410.5401 (2014)
Softmax
Content-based(Bahdanau 2015, Eq(6))
Location-aware(Chorowski 2015, Eq.(9)
Location-based(Graves 2013, Eq(46-52)
Location-based 2 (Luong 2015, Eq(9)):
55
Soft attention
Graves, A. Generating sequences with recurrent neural networks. arXiv Prepr. arXiv1308.0850 (2013)
Graves, A., Wayne, G. & Danihelka, I. Neural turing machines. arXiv Prepr. arXiv1410.5401 (2014)
Softmax
Content-based(Bahdanau 2015, Eq(6))
Location-aware(Chorowski 2015, Eq.(9)
Location-based(Graves 2013, Eq(46-52)
Location-based 2 (Luong 2015, Eq(9)):
Compute en,m for every m
56
Soft attention
Luong, T., Pham, H. & Manning, C. D. Effective Approaches to Attention-based Neural Machine Translation. in Proc. EMNLP 1412–1421 (Association for Computational Linguistics, 2015). doi:10.18653/v1/D15-1166
Chorowski, J. K., Bahdanau, D., Serdyuk, D., Cho, K. & Bengio, Y. Attention-based models for speech recognition. in Proc. NIPS 577–585 (2015).
Softmax
Global (Luong 2015):
The idea of a global attentional model is to consider all the hidden states of the encoder
Local (Luong 2015, Chorowski 2015 Sec2.3):
a small window of context
for some m
57
Soft attention
What features to compute
Content-based
Location-based
Location-aware
Scaled-dot
How to compute
Additive
Dot
Constraints on
Local
Monotonic/forward
Global
Self-attention
(content from x)
Self-attention
58
Soft attention
Vaswani, A. et al. Attention is all you need. in Proc. NIPS 5998–6008 (2017).
Softmax
Global, scaled-dot
Content-based
Self-input N = M
59
Soft attention
Vaswani, A. et al. Attention is all you need. in Proc. NIPS 5998–6008 (2017).
Softmax
Everything can be parallel�In matrix form�
Query, Key, Value
60
Soft attention
Vaswani, A. et al. Attention is all you need. in Proc. NIPS 5998–6008 (2017).
Softmax
Query, Key, Value
Decoder pre-net
61
Soft attention
Battenberg, E. et al. Location-relative attention mechanisms for robust long-form speech synthesis. in Proc. ICASSP 6194–6198 (2020).
What features to compute
Content-based
Location-based
Location-aware
Scaled-dot
How to compute
Additive
Dot
Constraints on
Local
Monotonic/forward
Global
Self-attention
(content from x)
More variants are explored in
(Battenberg 2020)
62
Soft attention
Softmax
Decoder (autogressive)
Attention
Encoder
Phoneme / characters
Acoustic feature vectors
63
Soft attention
Softmax
Decoder (autogressive)
Attention
Encoder
Free to add more layers
Phoneme / characters
Acoustic feature vectors
64
Soft attention
Wang, Y. et al. Tacotron: Towards End-to-End Speech Synthesis. in Proc. Interspeech 4006–4010 (2017).
Softmax
Free to add more layers
Phoneme / characters
Acoustic feature vectors
Decoder (autogressive)
Attention
Encoder
Tacotron
65
Soft attention
Wang, W., Xu, S., Xu, B. & others. First step towards end-to-end parametric TTS synthesis: Generating spectral parameters with neural attention. in Proc. Interspeech 2243–2247 (2016).
Sotelo, J. et al. Char2wav: End-to-end Speech Synthesis. in Proc. ICLR (Workshop Track) (2017).
Ping, W. et al. Deep voice 3: Scaling text-to-speech with convolutional sequence learning. in Proc. ICLR (2018).
Tachibana, H., Uenoyama, K. & Aihara, S. Efficiently trainable text-to-speech system based on deep convolutional networks with guided attention. in Proc. ICASSP 4784–4788 (2018).
Shen, J. et al. Natural TTS synthesis by conditioning WaveNet on Mel spectrogram predictions. in Proc. ICASSP 4779–4783 (2018).
Li, N., Liu, S., Liu, Y., Zhao, S. & Liu, M. Neural speech synthesis with transformer network. in Proceedings of the AAAI Conference on Artificial Intelligence vol. 33 6706–6713 (2019).
Taigman, Y., Wolf, L., Polyak, A. & Nachmani, E. Voiceloop: Voice fitting and synthesis via a phonological loop. in Proc. ICLR (2018).
66
Soft attention
Similar table in page 40: https://www.slideshare.net/jyamagis/tutorial-on-endtoend-texttospeech-synthesis-part-2-tactron-and-related-endtoend-systems
| Tacotron | Tacotron2 | Char2wav | DCTTS | DeepVoice 3 | Transformer | Voiceloop |
Speaker | Single | Single | Multiple? | Single | Multiple | Single | Multiple |
Waveform Gen. | Griffin-Lim | WaveNet | Sample RNN | Griffin-Lim | Multiple | WaveNet | WORLD |
Acous. feat. y1:N | Mel.spec | Mel.spec | Mel.cep, F0, BAP | Mel.spec | Multiple | Mel.spec | Mel.cep, F0, BAP |
Post-net Core Pre-Net | CBHG | CNN | - | dilatedCNN | CNN | CNN | Memory buffer + Full-con. |
RNNs | LSTMs | RNN | dilatedCNN | CNN | Self.att. | ||
Full-con. | Full-con. | - | dilatedCNN | Full-con. | Self.att. | ||
Attention | Additive, content | Additive, location-aw. | Location | Scale-dot, content | Scale-dot, content / monotonic | Scale-dot, content (self-att.) | Additive Location |
Encoder | CBHG Full-con. | Bi-LSTM CNN | Bi-RNN | Highway dilatedCNN | CNN | Full-con. Self-att. | Full-con. |
Input x1:M | Character | Character | Character / phoneme | Character | Character / phoneme | Phoneme | Phoneme |
Decoder
67
Soft attention
Char2wav: http://josesotelo.com/speechsynthesis/, DCTTS: https://tachi-hi.github.io/tts_samples/,
DeepVoice3: http://research.baidu.com/Blog/index-view?id=91, Voiceloop https://ytaigman.github.io/loop/
| Tacotron | Tacotron2 | Char2wav | DCTTS | DeepVoice 3 | Transformer | Voiceloop |
Speaker | Single | Single | Multiple? | Single | Multiple | Single | Multiple |
VCTK | https://google.github.io/tacotron/ Astonishingly good! | | | | https://neuraltts.github.io/transformertts/ Also good! | | |
| | | | | |||
LJ-speech | | | | | |||
| | | | | |||
Others | | | | | |||
| | | | | |||
68
Soft attention
Char2wav: http://josesotelo.com/speechsynthesis/, DCTTS: https://tachi-hi.github.io/tts_samples/,
DeepVoice3: http://research.baidu.com/Blog/index-view?id=91, Voiceloop https://ytaigman.github.io/loop/
| Tacotron | Tacotron2 | Char2wav | DCTTS | DeepVoice 3 | Transformer | Voiceloop |
Speaker | Single | Single | Multiple? | Single | Multiple | Single | Multiple |
VCTK | https://google.github.io/tacotron/ Astonishingly good! | | | | https://neuraltts.github.io/transformertts/ Also good! | | |
| | | | | |||
LJ-speech | | | | | |||
| | | | | |||
Others | | | | | |||
| | | | | |||
69
Soft attention
Char2wav: http://josesotelo.com/speechsynthesis/, DCTTS: https://tachi-hi.github.io/tts_samples/,
DeepVoice3: http://research.baidu.com/Blog/index-view?id=91, Voiceloop https://ytaigman.github.io/loop/
| Tacotron | Tacotron2 | Char2wav | DCTTS | DeepVoice 3 | Transformer | Voiceloop |
Speaker | Single | Single | Multiple? | Single | Multiple | Single | Multiple |
VCTK | https://google.github.io/tacotron/ Astonishingly good! | | | | https://neuraltts.github.io/transformertts/ Also good! | | |
| | | | | |||
LJ-speech | | | | | |||
| | | | | |||
Others | | | | | |||
| | | | | |||
70
Soft attention
What features to compute
Content-based
Location-based
Location-aware
Scaled-dot
How to compute
Additive
Dot
Constraints on
Local
Monotonic/forward
Global
Self-attention
(content from x)
Other techniques
71
Soft attention with constraints
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
Global Alignment
Hard to learn, sometimes fail to work!
72
Soft attention with constraints
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
https://mutiann.github.io/papers/interspeech2019/
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
Samples & audios from (He 2019)
Crashes \ ReadAVs \ 00000000 \ foo , doc WriteAVs \ 11111111 \ foo 2 , doc: That makes post-processing a little painful since the fuzzer reports crashes in the hierarchical structure mentioned above.
73
Soft attention with constraints
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
https://mutiann.github.io/papers/interspeech2019/
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
Samples & audios from (He 2019)
Crashes \ ReadAVs \ 00000000 \ foo , doc WriteAVs \ 11111111 \ foo 2 , doc: That makes post-processing a little painful since the fuzzer reports crashes in the hierarchical structure mentioned above.
74
Soft attention with constraints
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
https://mutiann.github.io/papers/interspeech2019/
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
Samples & audios from (He 2019)
Crashes \ ReadAVs \ 00000000 \ foo , doc WriteAVs \ 11111111 \ foo 2 , doc: That makes post-processing a little painful since the fuzzer reports crashes in the hierarchical structure mentioned above.
75
Soft attention with constraints
Constrained alignment
| | | | | | ||||||
| | | | | | | | | |||
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | ||
| | | | | |||||||
76
Soft attention with constraints
Zhang, J.-X., Ling, Z.-H. & Dai, L.-R. Forward attention in sequence-to-sequence acoustic modeling for speech synthesis. in Proc. ICASSP 4789–4793 (2018).
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
77
Soft attention with constraints
Note: original paper uses y rather than \alpha to denote alignment
Zhang, J.-X., Ling, Z.-H. & Dai, L.-R. Forward attention in sequence-to-sequence acoustic modeling for speech synthesis. in Proc. ICASSP 4789–4793 (2018).
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
78
Soft attention with constraints
Zhang, J.-X., Ling, Z.-H. & Dai, L.-R. Forward attention in sequence-to-sequence acoustic modeling for speech synthesis. in Proc. ICASSP 4789–4793 (2018).
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
1
0
0
79
Soft attention with constraints
Zhang, J.-X., Ling, Z.-H. & Dai, L.-R. Forward attention in sequence-to-sequence acoustic modeling for speech synthesis. in Proc. ICASSP 4789–4793 (2018).
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
1
0
0
0.1
0.4
0.5
0.0 = (0 + 0) * 0.1
0.4 = (0 + 1) * 0.4
0.5 = (0 + 1) * 0.5
Alternatively (Zheng 2018, algorithm 2)
A tiny example
80
Soft attention with constraints
Zhang, J.-X., Ling, Z.-H. & Dai, L.-R. Forward attention in sequence-to-sequence acoustic modeling for speech synthesis. in Proc. ICASSP 4789–4793 (2018).
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
1
0
0
81
Soft attention with constraints
Zhang, J.-X., Ling, Z.-H. & Dai, L.-R. Forward attention in sequence-to-sequence acoustic modeling for speech synthesis. in Proc. ICASSP 4789–4793 (2018).
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
1
0
0
82
Soft attention with constraints
Note: (He 2019) can use strictly monotonic hard attention during inference.
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
Tjandra, A., Sakti, S. & Nakamura, S. Local Monotonic Attention Mechanism for End-to-End Speech And Language Processing. in Proc. IJCNLP 431–440 (2017).
… using soft attention at inference as well … at the cost of strict guarantee of locality and monotonicity (He 2019)
83
Soft attention with constraints
Tachibana, H., Uenoyama, K. & Aihara, S. Efficiently trainable text-to-speech system based on deep convolutional networks with guided attention. in Proc. ICASSP 4784–4788 (2018).
Chen, M. et al. MultiSpeech: Multi-Speaker Text to Speech with Transformer. arXiv Prepr. arXiv2006.04664 (2020)
Park, J., Han, K., Jeong, Y. & Lee, S. W. Phonemic-level duration control using attention alignment for natural speech synthesis. in Proc. ICASSP 5896–5900 (2019).
Battenberg, E. et al. Location-relative attention mechanisms for robust long-form speech synthesis. in Proc. ICASSP 6194–6198 (2020).
Figure 2 from (Chen 2020)
84
Soft attention with constraints
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
https://mutiann.github.io/papers/interspeech2019/
Crashes \ ReadAVs \ 00000000 \ foo , doc WriteAVs \ 11111111 \ foo 2 , doc: That makes post-processing a little painful since the fuzzer reports crashes in the hierarchical structure mentioned above.
Figure 4 & samples from (He 2019)
Forward attention
Baseline soft-attention
Sample in page 73
85
Soft attention with constraints
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
https://mutiann.github.io/papers/interspeech2019/
Crashes \ ReadAVs \ 00000000 \ foo , doc WriteAVs \ 11111111 \ foo 2 , doc: That makes post-processing a little painful since the fuzzer reports crashes in the hierarchical structure mentioned above.
Forward attention
Baseline soft-attention
Sample in page 73
Figure 4 & samples from (He 2019)
86
Soft attention with constraints
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
https://mutiann.github.io/papers/interspeech2019/
Figure 4 & samples from (He 2019)
Forward attention
Sample in page 73
Baseline soft-attention
Crashes \ ReadAVs \ 00000000 \ foo , doc WriteAVs \ 11111111 \ foo 2 , doc: That makes post-processing a little painful since the fuzzer reports crashes in the hierarchical structure mentioned above.
87
Soft attention with constraints
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
https://mutiann.github.io/papers/interspeech2019/
The preliminary ruling by Judge Lucy in the U.S. District Court for the Northern District of California said that Qualcomm must license some patents involved in making so-called modem chips, which help smart phones connect to wireless data networks, to rival chip firms. The ruling is a setback for Qualcomm because the chip company and the FTC had jointly asked the judge last month to delay ruling on the issue for up to 30 days while they pursued settlement talks.
Figure 4 & samples from (He 2019)
Forward attention
Baseline soft-attention
88
Soft attention with constraints
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
https://mutiann.github.io/papers/interspeech2019/
Soft-attention doesn’t guarantee monotonicity
The preliminary ruling by Judge Lucy in the U.S. District Court for the Northern District of California said that Qualcomm must license some patents involved in making so-called modem chips, which help smart phones connect to wireless data networks, to rival chip firms. The ruling is a setback for Qualcomm because the chip company and the FTC had jointly asked the judge last month to delay ruling on the issue for up to 30 days while they pursued settlement talks.
Figure 4 & samples from (He 2019)
Forward attention
Baseline soft-attention
89
Soft attention with constraints
Zhang, J.-X., Ling, Z.-H. & Dai, L.-R. Forward attention in sequence-to-sequence acoustic modeling for speech synthesis. in Proc. ICASSP 4789–4793 (2018).
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
Chen, M. et al. MultiSpeech: Multi-Speaker Text to Speech with Transformer. arXiv Prepr. arXiv2006.04664 (2020) https://speechresearch.github.io/multispeech/
Battenberg, E. et al. Location-relative attention mechanisms for robust long-form speech synthesis. in Proc. ICASSP 6194–6198 (2020). https://google.github.io/tacotron/publications/location_relative_attention/
| Zhang 2018 | He 2019 | Chen 2020 | Battenberg 2020 |
Base model | Tacotron | Tacotron 2 | Transformer Multi-speaker | Tacotron |
Attention | Forward attention | Stepwise “monotonic” | Diagonal constraints | Dynamic convoluion attention |
| | | | |
Samples (VCTK, Lessac, LJ-speech) | Mandarin TTS https://jxzhanggg.github.io/ForwardAttention/ | English TTS https://mutiann.github.io/papers/interspeech2019/ | | |
| | |||
| |
90
Recent Seq-to-seq TTS��Hard attention
91
From soft to hard attention
| | | | | | ||||||
| | | | | | | | | |||
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | ||
| | | | | |||||||
| | | | | | ||||||
| | | | | | | | | |||
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | ||
| | | | | |||||||
| | | | | | ||||||
| | | | | | | | | |||
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | ||
| | | | | |||||||
| | | | | | ||||||
| | | | | | | | | |||
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | ||
| | | | | |||||||
Alignment 1
Alignment 2
Alignment 3
92
From soft to hard attention
| | | | | | ||||||
| | | | | | | | | |||
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | ||
| | | | | |||||||
| | | | | | ||||||
| | | | | | | | | |||
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | ||
| | | | | |||||||
| | | | | | ||||||
| | | | | | | | | |||
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | ||
| | | | | |||||||
Alignment 1
Alignment 2
Alignment 3
Dynamic progamming, forward-backward, search ...
93
Hard vs Soft – Generation
…
Sampling (select)
Softmax
sum
Soft-attention
Hard-attention
94
Hard vs Soft – training
…
Dynamic programming
Softmax
sum
Soft-attention
Hard-attention
95
Hard attention
What features for
Content-based
Location-based
Location-aware
Scaled-dot
How to compute
Additive
Dot
Constraints on
Global
Local
Monotonic / forward
Soft-attention
Hard-attention
Probabilistic assumption
Joint output & alignment
Separate output & alignment
…
Sampling
Marginalizing
Training
Inference
Greedy
Beam
96
Hard attention
See slides later for more through explanation
| | | | | | ||||||
| | | | | | | | | |||
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | ||
| | | | | |||||||
| | | | | | ||||||
| | | | | | | | | |||
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | ||
| | | | | |||||||
| | | | | | ||||||
| | | | | | | | | |||
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | ||
| | | | | |||||||
Alignment 1
Alignment 2
Alignment 3
| | | | | | ||||||
| | | | | | | | | |||
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | ||
| | | | | |||||||
yn aligns with xm
Probabilistic assumption
Joint output & alignment
Separate output & alignment
…
Sampling
Marginalizing
Training
Inference
Greedy
Beam
97
Hard attention
Probabilistic assumption
Joint output & alignment
Separate output & alignment
…
Sampling
Marginalizing
Training
Inference
Greedy
Beam
Depends on the current state (like HMM)
For simplicity,
x1:M is ignored
98
Hard attention
For simplicity, x1:M is ignored in all equations
Wu, S., Shapiro, P. & Cotterell, R. Hard Non-Monotonic Attention for Character-Level Transduction. in Proc. EMNLP 4425–4438 (Association for Computational Linguistics, 2018)
Wu, S. & Cotterell, R. Exact Hard Monotonic Attention for Character-Level Transduction. in Proc. ACL 1530–1537 (Association for Computational Linguistics, 2019).
Yu, L., Buys, J. & Blunsom, P. Online Segment to Segment Neural Transduction. in Proc. EMNLP 1307–1316 (Association for Computational Linguistics, 2016).
Probabilistic assumption
Joint output & alignment
Separate output & alignment
…
Sampling
Marginalizing
Training
Inference
Greedy
Beam
1-th order
(wu 2019, Yu2016)
0-th order
(wu 2018, wu 2019)
99
Hard attention
Yu, L., Buys, J. & Blunsom, P. Online Segment to Segment Neural Transduction. in Proc. EMNLP 1307–1316 (Association for Computational Linguistics, 2016).
Emission probability in original paper is slightly more complicated
Probabilistic assumption
Joint output & alignment
Separate output & alignment
…
Sampling
Marginalizing
Training
Inference
Greedy
Beam
x3
x2
x1
y1
y2
y3
xm
yn
Skip
Emit
100
Hard attention
Wu, S. & Cotterell, R. Exact Hard Monotonic Attention for Character-Level Transduction. in Proc. ACL 1530–1537 (Association for Computational Linguistics, 2019).
Probabilistic assumption
Joint output & alignment
Separate output & alignment
…
Sampling
Marginalizing
Training
Inference
Greedy
Beam
x3
x2
x1
y1
y2
101
Hard attention
Yasuda, Y., Wang, X. & Yamagishi, J. Effect of choice of probability distribution, randomness, and search methods for alignment modeling in sequence-to-sequence text-to-speech synthesis using hard alignment. in Proc. ICASSP 6724–6728 (2020).
Probabilistic assumption
Joint output & alignment
Separate output & alignment
…
Sampling
Marginalizing
Training
Inference
Greedy
Beam
x3
x2
x1
y1
y2
102
Hard attention
Probabilistic assumption
Joint output & alignment
Separate output & alignment
…
Sampling
Marginalizing
Training
Inference
Greedy
Beam
x3
x2
x1
y1
y2
y3
x3
x2
x1
y1
y2
x2
x1
y1
y2
Not normalized
Normalized
Normalized
y1, y2, y3
x1, x3, x3
Allows skip
y1, y2
x1, x3
Allows skip
Most stricted
103
Hard attention
Lawrence R Rabiner. 1989. A tutorial on hidden Markov models and selected applications in speech recognition. Proceedings ofthe IEEE, 77(2):257–286.
Probabilistic assumption
Joint output & alignment
Separate output & alignment
…
Sampling
Marginalizing
Training
Inference
Greedy
Beam
x3
x2
x1
y1
y2
y3
Forward-algorithm (Rabiner 1989)
104
Hard attention
Xu, K. et al. Show, Attend and Tell: Neural Image Caption Generation with Visual Attention. in Proc. ICML (eds. Bach, F. & Blei, D.) vol. 37 2048–2057 (PMLR, 2015).
Probabilistic assumption
Joint output & alignment
Separate output & alignment
…
Sampling
Marginalizing
Training
Inference
Greedy
Beam
Not differentiable
Requires REINFORCE
x2
x1
y1
y2
y3
105
Hard attention
Yasuda, Y., Wang, X. & Yamagishi, J. Initial investigation of encoder-decoder end-to-end TTS using marginalization of monotonic hard alignments. in Proc. SSW 211–216 (2019). doi:10.21437/SSW.2019-38
Probabilistic assumption
Joint output & alignment
Separate output & alignment
…
Sampling
Marginalizing
Training
Inference
Greedy
Beam
x3
x2
x1
y1
y2
y3
Stop
…
(Yasuda 2019, Sec3.2)
106
Hard attention
Joint output & alignemnt: CTC and RNN transducer
Probabilistic assumption
Joint output & alignment
Separate output & alignment
…
Sampling
Marginalizing
Training
Inference
Greedy
Beam
How to sum efficiently?
How to generate efficiently?
107
Hard attention
Yasuda, Y., Wang, X. & Yamagishi, J. Effect of choice of probability distribution, randomness, and search methods for alignment modeling in sequence-to-sequence text-to-speech synthesis using hard alignment. in Proc. ICASSP 6724–6728 (2020).
Yasuda, Y., Wang, X. & Yamagishi, J. Initial investigation of encoder-decoder end-to-end TTS using marginalization of monotonic hard alignments. in Proc. SSW 211–216 (2019). doi:10.21437/SSW.2019-38
x3
x2
x1
y1
y2
y3
Samples are available
(for Japanese TTS)
https://nii-yamagishilab.github.io/sample-ssnt-sampling-methods/
108
Recent Seq-to-seq TTS��Hybrid approaches
109
Hybrid approaches
He, M., Deng, Y. & He, L. Robust Sequence-to-Sequence Acoustic Modeling with Stepwise Monotonic Attention for Neural TTS. in Proc. Interspeech 1293–1297 (2019). doi:10.21437/Interspeech.2019-1972
Yasuda, Y., Wang, X. & Yamagishi, J. Effect of choice of probability distribution, randomness, and search methods for alignment modeling in sequence-to-sequence text-to-speech synthesis using hard alignment. in Proc. ICASSP 6724–6728 (2020).
Figure 4 & samples from (He 2019)
Figure 4 from (Yasuda 2019)
110
Hybrid approaches
| | | | | | ||||||
| | | | | | | | | |||
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | ||
| | | | | |||||||
Larget search space
Short
111
Hybrid approaches
Ren, Y. et al. Fastspeech: Fast, robust and controllable text to speech. in Proc. NIPS 3171–3180 (2019).
Yu, C. et al. Durian: Duration informed attention network for multimodal synthesis. arXiv Prepr (2019)
Zeng, Z., Wang, J., Cheng, N., Xia, T. & Xiao, J. AlignTTS: Efficient feed-forward text-to-speech system without explicit alignment. in Proc. ICASSP 6714–6718 (2020).
| | | | | | ||||||
| | | | | | | | | |||
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | ||
| | | | | |||||||
Duration
Alignment matrix
Duration model
…
Waveform gen.
Decoder
Attention
Encoder
d1= 1
d2= 3
d3= 2
d4= 4
d5= 2
d6= 2
112
Hybrid approaches
Ren, Y. et al. Fastspeech: Fast, robust and controllable text to speech. in Proc. NIPS 3171–3180 (2019).
Yu, C. et al. Durian: Duration informed attention network for multimodal synthesis. arXiv Prepr (2019)
Zeng, Z., Wang, J., Cheng, N., Xia, T. & Xiao, J. AlignTTS: Efficient feed-forward text-to-speech system without explicit alignment. in Proc. ICASSP 6714–6718 (2020).
…
Waveform gen.
Decoder
Attention
Encoder
…
Waveform gen.
Decoder
Encoder
…
Aligned!
“Up-sample”
113
Hybrid approaches
Ren, Y. et al. Fastspeech: Fast, robust and controllable text to speech. in Proc. NIPS 3171–3180 (2019). https://speechresearch.github.io/fastspeech/
Yu, C. et al. Durian: Duration informed attention network for multimodal synthesis. arXiv Prepr (2019)
Zeng, Z., Wang, J., Cheng, N., Xia, T. & Xiao, J. AlignTTS: Efficient feed-forward text-to-speech system without explicit alignment. in Proc. ICASSP 6714–6718 (2020). https://tencent-ailab.github.io/durian/
Ren, Y. et al. FastSpeech 2: Fast and High-Quality End-to-End Text-to-Speech. arXiv Prepr. arXiv2006.04558 (2020)
| FastSpeech | AlignTTS | DurIAN | FastSpeech2 |
For alignment | Extracted from Transformer TTS | Learned by hard-attention | HMM-alignment? | HMM-alignment |
| | | | |
Samples (open domain data) | | No samples? (even trained on LJ-speech) | Mandarin https://tencent-ailab.github.io/durian/ | |
| ||||
|
114
Hybrid approaches
Ren, Y. et al. Fastspeech: Fast, robust and controllable text to speech. in Proc. NIPS 3171–3180 (2019). https://speechresearch.github.io/fastspeech/
Yu, C. et al. Durian: Duration informed attention network for multimodal synthesis. arXiv Prepr (2019)
Zeng, Z., Wang, J., Cheng, N., Xia, T. & Xiao, J. AlignTTS: Efficient feed-forward text-to-speech system without explicit alignment. in Proc. ICASSP 6714–6718 (2020). https://tencent-ailab.github.io/durian/
Ren, Y. et al. FastSpeech 2: Fast and High-Quality End-to-End Text-to-Speech. arXiv Prepr. arXiv2006.04558 (2020)
| FastSpeech | AlignTTS | DurIAN | FastSpeech2 |
For alignment | Extracted from Transformer TTS | Learned by hard-attention | HMM-alignment? | HMM-alignment |
| | | | |
Samples (open domain data) | | No samples? (even trained on LJ-speech) | Mandarin https://tencent-ailab.github.io/durian/ | |
| ||||
|
115
Hybrid approaches
Ren, Y. et al. Fastspeech: Fast, robust and controllable text to speech. in Proc. NIPS 3171–3180 (2019). https://speechresearch.github.io/fastspeech/
Yu, C. et al. Durian: Duration informed attention network for multimodal synthesis. arXiv Prepr (2019)
Zeng, Z., Wang, J., Cheng, N., Xia, T. & Xiao, J. AlignTTS: Efficient feed-forward text-to-speech system without explicit alignment. in Proc. ICASSP 6714–6718 (2020). https://tencent-ailab.github.io/durian/
Ren, Y. et al. FastSpeech 2: Fast and High-Quality End-to-End Text-to-Speech. arXiv Prepr. arXiv2006.04558 (2020)
| FastSpeech | AlignTTS | DurIAN | FastSpeech2 |
For alignment | Extracted from Transformer TTS | Learned by hard-attention | HMM-alignment? | HMM-alignment |
| | | | |
Samples (open domain data) | | No samples? (even trained on LJ-speech) | Mandarin https://tencent-ailab.github.io/durian/ | |
| ||||
|
116
Summary
117
Summary on Seq-to-seq TTS
van den Oord, A. et al. WaveNet: A generative model for raw audio. arXiv Prepr. arXiv1609.03499 (2016)
…
Acoustic model
Waveform gen.
M AA R IY AA (H*) …D
Front-end
…
Duration model
M
a
e
…
d
a
l
…
Waveform gen.
Seq-to-seq model
WaveNet
(by Deepmind)
M AA R IY AA (H*) …D
Front-end
…
Duration model
118
Summary on Seq-to-seq TTS
About autoregressive models, see:
Shannon, M., Zen, H. & Byrne, W. Autoregressive models for statistical parametric speech synthesis. IEEE Trans. Audio, Speech, Lang. Process. 21, 587–597 (2013)
Wang, X., Takaki, S. & Yamagishi, J. Autoregressive Neural F0 Model for Statistical Parametric Speech Synthesis. IEEE/ACM Trans. Audio, Speech, Lang. Process. 26, 1406–1419 (2018)
M
a
e
…
d
a
l
…
Acoustic model
Waveform gen.
M AA R IY AA (H*) …D
Front-end
…
Duration model
…
Waveform gen.
Seq-to-seq model
Trainable implicit
front-end
Duration through
attention & alignment
Autoregressive decoding
(not explained)
Neural waveform models
119
Summary on Seq-to-seq TTS
About autoregressive models, see:
Shannon, M., Zen, H. & Byrne, W. Autoregressive models for statistical parametric speech synthesis. IEEE Trans. Audio, Speech, Lang. Process. 21, 587–597 (2013)
Wang, X., Takaki, S. & Yamagishi, J. Autoregressive Neural F0 Model for Statistical Parametric Speech Synthesis. IEEE/ACM Trans. Audio, Speech, Lang. Process. 26, 1406–1419 (2018)
…
Acoustic model
Waveform gen.
M AA R IY AA (H*) …D
Front-end
…
Duration model
M
a
e
…
d
a
l
…
Waveform gen.
Seq-to-seq model
Trainable implicit
front-end
Duration through
attention & alignment
Autoregressive decoding
(not explained)
Neural waveform models
Attention-based seq-to-seq model
What features for
Content-based
Location-based
Location-aware
Scaled-dot
How to compute
Additive
Dot
Constraints on
Global
Local
Monotonic / forward
Soft-attention
Probabilistic assumption
Joint output & alignment
Separate output & alignment
…
Sampling
Marginalizing
Training
Inference
Greedy
Beam
Hard-attention
Hybrid approach
less or no attention
For robustness
120
Summary on Seq-to-seq TTS
Henter, G. E., Merritt, T., Shannon, M., Mayo, C. & King, S. Measuring the perceptual effects of modelling assumptions in speech synthesis using stimuli constructed from repeated natural speech. in Proc. Interspeech 1504–1508 (2014).
Watts, O., Henter, G. E., Merritt, T., Wu, Z. & King, S. From HMMs to DNNs: where do the improvements come from? in Proc. ICASSP 5505–5509 (2016).
Watts, O., Henter, G. E., Fong, J. & Valentini-Botinhao, C. Where do the improvements come from in sequence-to-sequence neural TTS? in Proc. SSW vol. 10 217–222 (2019).
M
a
e
…
d
a
l
…
Acoustic model
Waveform gen.
M AA R IY AA (H*) …D
Front-end
…
Duration model
…
Waveform gen.
Seq-to-seq model
Trainable implicit
front-end
Duration through
attention & alignment
Autoregressive decoding
(not explained)
Neural waveform models
Where do the improvements come from (Watts 2019)?
121
Other topics in TTS��based on seq-to-seq model
122
Other topics in TTS
M
a
e
…
d
a
l
…
Waveform gen.
Seq-to-seq model
123
Other topics in TTS
Lorenzo-Trueba, J. et al. Towards Achieving Robust Universal Neural Vocoding. in Proc. Interspeech 2019 181–185 (2019). doi:10.21437/Interspeech.2019-1424
Liu, L.-J., Ling, Z.-H., Jiang, Y., Zhou, M. & Dai, L.-R. WaveNet Vocoder with Limited Training Data for Voice Conversion. in Proc. Interspeech 2018 1983–1987 (2018). doi:10.21437/Interspeech.2018-1190
Jia, Y. et al. Transfer learning from speaker verification to multispeaker text-to-speech synthesis. in Proc. NIPS 4480–4490 (2018).
Taigman, Y., Wolf, L., Polyak, A. & Nachmani, E. Voiceloop: Voice fitting and synthesis via a phonological loop. in Proc. ICLR (2018).
Cooper, E. et al. Zero-shot multi-speaker text-to-speech with state-of-the-art neural speaker embeddings. in Proc. ICASSP 6184–6188 (2020).
Cooper, Erica, et al. "Can Speaker Augmentation Improve Multi-Speaker End-to-End TTS?." arXiv preprint arXiv:2005.01245 (2020).
Gibiansky, A. et al. Deep voice 2: Multi-speaker neural text-to-speech. in Proc. NIPS 2962–2970 (2017).
Chen, M. et al. MultiSpeech: Multi-Speaker Text to Speech with Transformer. arXiv Prepr. arXiv2006.04664 (2020)
M
a
e
…
d
a
l
…
Waveform gen.
Seq-to-seq model
Speaker-independent (Lorenzo-Trueba 2019) or adapted to target speaker (Liu 2018)
Jointly trained speaker vectors
Voiceloop (Tagiman 2018)
Deep voice 2 (Gibiansky 2017)
And others (Chen 2020, )
Zero-shot (with separate speaker model)
Tacotron2 + ASV model (Jia 2018)
Tacotron + LDE (Cooper 2020, Cooper 2020)
Most methods use speaker vector
124
Other topics in TTS
Course 2.3: Veilleux, N., Shattuck-Hufnagel, S. & Brugos, A. 6.911 Transcribing Prosodic Structure of Spoken Utterances with ToBI. MIT Open Course Ware https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-911-transcribing-prosodic-structure-of-spoken-utterances-with-tobi-january-iap-2006/# (2006)
Veilleux, N., Shattuck-Hufnagel, S. & Brugos, A. 6.911 Transcribing Prosodic Structure of Spoken Utterances with ToBI. MIT Open Course Ware https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-911-transcribing-prosodic-structure-of-spoken-utterances-with-tobi-january-iap-2006/# (2006)
Marianna made the marmalade
Who made the marmalade?
TTS
125
Other topics in TTS
Zhu, J. Probing the phonetic and phonological knowledge of tones in Mandarin TTS models. in Proc. 10th International Conference on Speech Prosody 2020 930–934 (2020). doi:10.21437/SpeechProsody.2020-190
Fujimoto, T., Hashimoto, K., Oura, K., Nankaku, Y. & Tokuda, K. Impacts of input linguistic feature representation on Japanese end-to-end speech synthesis. in Proc. SSW10 166–171 (2019).
Yasuda, Y., Wang, X., Takaki, S. & Yamagishi, J. Investigation of enhanced Tacotron text-to-speech synthesis systems with self-attention for pitch accent language. in Proc. ICASSP 6905–6909 (2019).
Skerry-Ryan, R. J. et al. Towards End-to-End Prosody Transfer for Expressive Speech Synthesis with Tacotron. in (eds. Dy, J. & Krause, A.) vol. 80 4693–4702 (PMLR, 2018).
Lee, Y. & Kim, T. Robust and fine-grained prosody control of end-to-end speech synthesis. in Proc. ICASSP 5911–5915 (2019).
Kenter, T., Wan, V., Chan, C.-A., Clark, R. & Vit, J. {CH}i{VE}: Varying Prosody in Speech Synthesis with a Linguistically Driven Dynamic Hierarchical Conditional Variational Network. in (eds. Chaudhuri, K. & Salakhutdinov, R.) vol. 97 3331–3340 (PMLR, 2019). Sun, G. et al. Generating diverse and natural text-to-speech samples using a quantized fine-grained vae and autoregressive prosody prior. in Proc. ICASSP 6699–6703 (2020).
126
Other topics in TTS
Kato, S. et al. Modeling of Rakugo Speech and Its Limitations: Toward Speech Synthesis That Entertains Audiences. IEEE Access 8, 138149–138161 (2020)
This photo is transformed from “DP3M2471” by Akira Kawamura licensed under CC BY 2.0.
https://nii-yamagishilab.github.io/samples-rakugo/201910_IEEE_access
Samples in Japanese
127
Thank your for listening
You can find this slide on
http://tonywangx.github.io/slide.html
It is recommeded to check
unexplained slides & reading list & appendix
128
Readling list
129
(My) Readling list
130
(My) Readling list
131
(My) Readling list
132
(My) Readling list
133
(My) Readling list
134
(My) Readling list
135
(My) Readling list
136
(My) Readling list
SampleRNN: Soroush Mehri, Kundan Kumar, Ishaan Gulrajani, Rithesh Kumar, Shubham Jain, Jose Sotelo, Aaron Courville, Yoshua Bengio, “SampleRNN: An Unconditional End-to-End Neural Audio Generation Model”, ICLR 2017
WaveRNN: Nal Kalchbrenner, Erich Elsen, Karen Simonyan, Seb Noury, Norman Casagrande, Edward Lockhart, Florian Stimberg, Aaron van den Oord, Sander Dieleman, Koray Kavukcuoglu, “Efficient Neural Audio Synthesis”, arXiv:1802.08435, 2018
FFTNet: Zeyu Jin, Adam Finkelstein, Gautham J. Mysore, Jingwan Lu, “FFTnet: A Real-Time Speaker-Dependent Neural Vocoder”, ICASSP 2018
Universal vocoder: Jaime Lorenzo-Trueba, Thomas Drugman, Javier Latorre, Thomas Merritt, Bartosz Putrycz, Roberto Barra-Chicote, Alexis Moinet, Vatsal Aggarwal, “Towards achieving robust universal neural vocoding,” Interspeech 2019
FloWaveNet Sungwon Kim, Sang-gil Lee, Jongyoon Song, and Sungroh Yoon. FloWaveNet: “A Generative Flow for Raw Audio” arXiv:1811.02155, 2018.
LPCNet: Jean-Marc Valin, Jan Skoglund, “LPCNet: Improving Neural Speech Synthesis Through Linear Prediction”, ICASSP 201
LP-Wavenet: Min-Jae Hwang, Frank Soong, Eunwoo Song, Xi Wang, Hyeonjoo Kang, Hong-Goo Kang, “LP-WaveNet: Linear Prediction-based WaveNet Speech Synthesis,” arXiv:1811.11913, 2018
ExcitNet: Eunwoo Song, Kyungguen Byun, Hong-Goo Kang, “ExcitNet vocoder: A neural excitation model for parametric speech synthesis systems”, EUSIPCO 2019
137
(My) Readling list
GELP: Juvela, L., Bollepalli, B., Yamagishi, J. & Alku, P. GELP: GAN-excited linear prediction for speech synthesis from Mel-spectrogram. in Proc. Interspeech 694–699 (2019).
Parallel WaveGAN: Yamamoto, R., Song, E. & Kim, J.-M. Parallel WaveGAN: A fast waveform generation model based on generative adversarial networks with multi-resolution spectrogram. in Proc. ICASSP 6199–6203 (2020).
MelGAN: Kumar, K. et al. MelGAN: Generative adversarial networks for conditional waveform synthesis. in Proc. NIPS 14910–14921 (2019).
Hi-Net: Ai, Y. Ling, Z.H. A Neural Vocoder with Hierarchical Generation of Amplitude and Phase Spectra for Statistical Parametric Speech Synthesis, IEEE TASLP (2020)
ClariNet: Ping, W., Peng, K. & Chen, J. ClariNet: Parallel wave generation in end-to-end text-to-speech. in arXiv preprint arXiv:1807.07281 (2019).
Parallel WaveNet: van den Oord, A. et al. Parallel WaveNet: Fast high-fidelity speech synthesis. in Proc. ICML 3918–3926 (2018).
WaveGlow: Prenger, R., Valle, R. & Catanzaro, B. WaveGlow: A Flow-based Generative Network for Speech Synthesis. in Proc. ICASSP 3617–3621 (2019).
GlotNet: Prenger, R., Valle, R. & Catanzaro, B. WaveGlow: A Flow-based Generative Network for Speech Synthesis. in Proc. ICASSP 3617–3621 (2019).
138
(My) Readling list
139
Appendix
140
Appendix
Bahdanau, D., Cho, K. & Bengio, Y. Neural machine translation by jointly learning to align and translate. in Proc. ICLR (2015).
Softmax
141
Appendix
| | | | | | | | |
d
k
| | | | | | | | |
Na
Input
Encoding
LUTp
Output
Spk. ID
LUTs
Fo
Fu
Attention
Step1. compute attention
142
Appendix
| | | | | | | | |
d
k
Nu
| | | | | | | | |
Na
Input
Encoding
LUTp
Output
Spk. ID
LUTs
Fo
Fu
Feedback
Step2. update memory
143
Appendix
| | | | | | | | |
d
k
Nu
| | | | | | | | |
Na
Input
Encoding
LUTp
Output
Spk. ID
LUTs
No
Fo
+
Fu
Step3. output
144
Appendix
Yu, L., Buys, J. & Blunsom, P. Online Segment to Segment Neural Transduction. in Proc. EMNLP 1307–1316 (Association for Computational Linguistics, 2016). doi:10.18653/v1/D16-1138
Raffel, C., Luong, M.-T., Liu, P. J., Weiss, R. J. & Eck, D. Online and Linear-Time Attention by Enforcing Monotonic Alignments. in (eds. Precup, D. & Teh, Y. W.) vol. 70 2837–2846 (PMLR, 2017).
x3
x2
x1
y1
y2
y3
Eq (9) in (Yu 2016)
145
Appendix
Graves, A. Sequence Transduction with Recurrent Neural Networks. in Proc. ICML (2012).
Graves, A., Fernández, S., Gomez, F. & Schmidhuber, J. Connectionist temporal classification: Labelling unsegmented sequence data with recurrent neural networks. in Proc. ICML 369–376 (2006).
Fig1. RNN transducer (Graves 2012)
Emit labels
Probabilistic assumption
Joint output & alignment
Separate output & alignment
…
Sampling
Marginalizing
Training
Inference
Greedy
Beam
146
Appendix
Shankar, S. & Sarawagi, S. Posterior attention models for sequence to sequence learning. in Proc. ICLR (2018).
Marginalize
Unfold
State assumption
Probabilistic assumption
Joint output & alignment
Separate output & alignment
Posterior attention
Sampling
Marginalizing
Training
Inference
Greedy
Beam
147