0% found this document useful (0 votes)
28 views4 pages

WaveNet: Advanced Audio Generation

WaveNet is a deep learning model created by DeepMind that can generate raw audio waveforms like human speech and music. It uses a convolutional neural network to model audio one sample at a time. WaveNet was shown to produce more realistic speech than previous text-to-speech systems, though still less natural than human speech. It can be trained on different voices and accents and has the potential to model any kind of audio. DeepMind has since improved WaveNet to allow voice conversion by swapping the identity while maintaining speech characteristics.

Uploaded by

sophia787
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views4 pages

WaveNet: Advanced Audio Generation

WaveNet is a deep learning model created by DeepMind that can generate raw audio waveforms like human speech and music. It uses a convolutional neural network to model audio one sample at a time. WaveNet was shown to produce more realistic speech than previous text-to-speech systems, though still less natural than human speech. It can be trained on different voices and accents and has the potential to model any kind of audio. DeepMind has since improved WaveNet to allow voice conversion by swapping the identity while maintaining speech characteristics.

Uploaded by

sophia787
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

WaveNet

WaveNet is a deep neural network for generating raw audio. It was created by researchers at London-
based AI firm DeepMind. The technique, outlined in a paper in September 2016,[1] is able to generate
relatively realistic-sounding human-like voices by directly modelling waveforms using a neural network
method trained with recordings of real speech. Tests with US English and Mandarin reportedly showed that
the system outperforms Google's best existing text-to-speech (TTS) systems, although as of 2016 its text-to-
speech synthesis still was less convincing than actual human speech.[2] WaveNet's ability to generate raw
waveforms means that it can model any kind of audio, including music.[3]

History
Generating speech from text is an increasingly common task thanks to the popularity of software such as
Apple's Siri, Microsoft's Cortana, Amazon Alexa and the Google Assistant.[4]

Most such systems use a variation of a technique that involves concatenated sound fragments together to
form recognisable sounds and words.[5] The most common of these is called concatenative TTS.[6] It
consists of large library of speech fragments, recorded from a single speaker that are then concatenated to
produce complete words and sounds. The result sounds unnatural, with an odd cadence and tone.[7] The
reliance on a recorded library also makes it difficult to modify or change the voice.[8]

Another technique, known as parametric TTS,[9] uses mathematical models to recreate sounds that are then
assembled into words and sentences. The information required to generate the sounds is stored in the
parameters of the model. The characteristics of the output speech are controlled via the inputs to the model,
while the speech is typically created using a voice synthesiser known as a vocoder. This can also result in
unnatural sounding audio.

Design and ongoing research

Background

WaveNet is a type of feedforward neural network known as a deep


convolutional neural network (CNN). In WaveNet, the CNN takes
a raw signal as an input and synthesises an output one sample at a
time. It does so by sampling from a softmax (i.e. categorical)
distribution of a signal value that is encoded using μ-law
companding transformation and quantized to 256 possible A stack of dilated casual
values.[11] convolutional layers[10]

Initial concept and results

According to the original September 2016 DeepMind research paper WaveNet: A Generative Model for
Raw Audio,[12] the network was fed real waveforms of speech in English and Mandarin. As these pass
through the network, it learns a set of rules to describe how the audio waveform evolves over time. The
trained network can then be used to create new speech-like waveforms at 16,000 samples per second.
These waveforms include realistic breaths and lip smacks – but do not conform to any language.[13]

WaveNet is able to accurately model different voices, with the accent and tone of the input correlating with
the output. For example, if it is trained with German, it produces German speech.[14] The capability also
means that if the WaveNet is fed other inputs – such as music – its output will be musical. At the time of its
release, DeepMind showed that WaveNet could produce waveforms that sound like classical music.[15]

Content (voice) swapping

According to the June 2018 paper Disentangled Sequential Autoencoder,[16] DeepMind has successfully
used WaveNet for audio and voice "content swapping": the network can swap the voice on an audio
recording for another, pre-existing voice while maintaining the text and other features from the original
recording. "We also experiment on audio sequence data. Our disentangled representation allows us to
convert speaker identities into each other while conditioning on the content of the speech." (p.  5) "For
audio, this allows us to convert a male speaker into a female speaker and vice versa [...]." (p. 1) According
to the paper, a two-digit minimum amount of hours (c. 50 hours) of pre-existing speech recordings of both
source and target voice are required to be fed into WaveNet for the program to learn their individual
features before it is able to perform the conversion from one voice to another at a satisfying quality. The
authors stress that "[a]n advantage of the model is that it separates dynamical from static features [...]."
(p.  8), i. e. WaveNet is capable of distinguishing between the spoken text and modes of delivery
(modulation, speed, pitch, mood, etc.) to maintain during the conversion from one voice to another on the
one hand, and the basic features of both source and target voices that it is required to swap on the other.

The January 2019 follow-up paper Unsupervised speech representation learning using WaveNet
autoencoders[17] details a method to successfully enhance the proper automatic recognition and
discrimination between dynamical and static features for "content swapping", notably including swapping
voices on existing audio recordings, in order to make it more reliable. Another follow-up paper, Sample
Efficient Adaptive Text-to-Speech,[18] dated September 2018 (latest revision January 2019), states that
DeepMind has successfully reduced the minimum amount of real-life recordings required to sample an
existing voice via WaveNet to "merely a few minutes of audio data" while maintaining high-quality results.

Its ability to clone voices has raised ethical concerns about WaveNet's ability to mimic the voices of living
and dead persons. According to a 2016 BBC article, companies working on similar voice-cloning
technologies (such as Adobe Voco) intend to insert watermarking inaudible to humans to prevent
counterfeiting, while maintaining that voice cloning satisfying, for instance, the needs of entertainment-
industry purposes would be of a far lower complexity and use different methods than required to fool
forensic evidencing methods and electronic ID devices, so that natural voices and voices cloned for
entertainment-industry purposes could still be easily told apart by technological analysis.[19]

Applications
At the time of its release, DeepMind said that WaveNet required too much computational processing power
to be used in real world applications.[20] As of October 2017, Google announced a 1,000-fold performance
improvement along with better voice quality. WaveNet was then used to generate Google Assistant voices
for US English and Japanese across all Google platforms.[21] In November 2017, DeepMind researchers
released a research paper detailing a proposed method of "generating high-fidelity speech samples at more
than 20 times faster than real-time", called "Probability Density Distillation".[22] At the annual I/O
developer conference in May 2018, it was announced that new Google Assistant voices were available and
made possible by WaveNet; WaveNet greatly reduced the number of audio recordings that were required to
create a voice model by modeling the raw audio of the voice actor samples.[23]

See also
[Link]
Deep learning speech synthesis

References
1. van den Oord, Aaron; Dieleman, Sander; Zen, Heiga; Simonyan, Karen; Vinyals, Oriol;
Graves, Alex; Kalchbrenner, Nal; Senior, Andrew; Kavukcuoglu, Koray (2016-09-12).
"WaveNet: A Generative Model for Raw Audio". 1609. arXiv:1609.03499 ([Link]
s/1609.03499). Bibcode:2016arXiv160903499V ([Link]
v160903499V).
2. Kahn, Jeremy (2016-09-09). "Google's DeepMind Achieves Speech-Generation
Breakthrough" ([Link]
achieve-speech-generation-breakthrough). [Link]. Retrieved 2017-07-06.
3. Meyer, David (2016-09-09). "Google's DeepMind Claims Massive Progress in Synthesized
Speech" ([Link] Fortune. Retrieved
2017-07-06.
4. Kahn, Jeremy (2016-09-09). "Google's DeepMind Achieves Speech-Generation
Breakthrough" ([Link]
achieve-speech-generation-breakthrough). [Link]. Retrieved 2017-07-06.
5. Condliffe, Jamie (2016-09-09). "When this computer talks, you may actually want to listen" (h
ttps://[Link]/s/602343/face-of-a-robot-voice-of-an-angel/). MIT
Technology Review. Retrieved 2017-07-06.
6. Hunt, A. J.; Black, A. W. (May 1996). "Unit selection in a concatenative speech synthesis
system using a large speech database". 1996 IEEE International Conference on Acoustics,
Speech, and Signal Processing Conference Proceedings ([Link]
we/e6820/papers/[Link]) (PDF). Vol. 1. pp. 373–376.
CiteSeerX [Link].1335 ([Link]
1335). doi:10.1109/ICASSP.1996.541110 ([Link]
0). ISBN 978-0-7803-3192-1. S2CID 14621185 ([Link]
621185).
7. Coldewey, Devin (2016-09-09). "Google's WaveNet uses neural nets to generate eerily
convincing speech and music" ([Link]
eural-nets-to-generate-eerily-convincing-speech-and-music/). TechCrunch. Retrieved
2017-07-06.
8. van den Oord, Aäron; Dieleman, Sander; Zen, Heiga (2016-09-08). "WaveNet: A Generative
Model for Raw Audio" ([Link]
DeepMind. Retrieved 2017-07-06.
9. Zen, Heiga; Tokuda, Keiichi; Black, Alan W. (2009). "Statistical parametric speech
synthesis". Speech Communication. 51 (11): 1039–1064. CiteSeerX [Link].9874 (http
s://[Link]/viewdoc/summary?doi=[Link].9874).
doi:10.1016/[Link].2009.04.004 ([Link]
S2CID 3232238 ([Link]
10. van den Oord, Aäron (2017-11-12). "High-fidelity speech synthesis with WaveNet" ([Link]
[Link]/blog/high-fidelity-speech-synthesis-with-wavenet). DeepMind. Retrieved
2022-06-05.
11. Oord, Aaron van den; Dieleman, Sander; Zen, Heiga; Simonyan, Karen; Vinyals, Oriol;
Graves, Alex; Kalchbrenner, Nal; Senior, Andrew; Kavukcuoglu, Koray (2016-09-12).
"WaveNet: A Generative Model for Raw Audio". 1609. arXiv:1609.03499 ([Link]
s/1609.03499). Bibcode:2016arXiv160903499V ([Link]
v160903499V).
12. Oord et al. (2016). WaveNet: A Generative Model for Raw Audio ([Link]
3499), Cornell University, 19 September 2016
13. Gershgorn, Dave (2016-09-09). "Are you sure you're talking to a human? Robots are starting
to sounding eerily lifelike" ([Link]
-accurately-mimic-human-voices/). Quartz. Retrieved 2017-07-06.
14. Coldewey, Devin (2016-09-09). "Google's WaveNet uses neural nets to generate eerily
convincing speech and music" ([Link]
eural-nets-to-generate-eerily-convincing-speech-and-music/). TechCrunch. Retrieved
2017-07-06.
15. van den Oord, Aäron; Dieleman, Sander; Zen, Heiga (2016-09-08). "WaveNet: A Generative
Model for Raw Audio" ([Link]
DeepMind. Retrieved 2017-07-06.
16. Li & Mand (2016). Disentangled Sequential Autoencoder ([Link]
12 June 2018, Cornell University
17. Chorowsky et al. (2019). Unsupervised speech representation learning using WaveNet
autoencoders ([Link] 25 January 2019, Cornell University
18. Chen et al. (2018). Sample Efficient Adaptive Text-to-Speech ([Link]
60v1), 27 September 2018, Cornell University. Also see this paper's latest January 2019
revision ([Link]
19. Adobe Voco 'Photoshop-for-voice' causes concern ([Link]
7899902), 7 November 2016, BBC
20. "Adobe Voco 'Photoshop-for-voice' causes concern" ([Link]
y-37899902). BBC News. 2016-11-07. Retrieved 2017-07-06.
21. WaveNet launches in the Google Assistant ([Link]
oogle-assistant/)
22. Oord et al. (2017): Parallel WaveNet: Fast High-Fidelity Speech Synthesis ([Link]
bs/1711.10433), Cornell University, 28 November 2017
23. Martin, Taylor (May 9, 2018). "Try the all-new Google Assistant voices right now" ([Link]
[Link]/how-to/how-to-get-all-google-assistants-new-voices-right-now/). CNET.
Retrieved May 10, 2018.

External links
WaveNet: A Generative Model for Raw Audio ([Link]
ive-model-for-raw-audio/)

Retrieved from "[Link]

Common questions

Powered by AI

Yes, WaveNet can be used to generate musical content by modeling raw audio waveforms that include musical elements. Unlike synthesizing speech, where the focus is on linguistic structures and phonetic nuances, music generation with WaveNet involves learning patterns in pitch, tone, and rhythm present in musical sequences. The output is musical rather than linguistic because the network adapts to the input data type, thereby capturing the complex textures and dynamics essential for music .

"Content swapping" in WaveNet refers to the capability to change the voice on an audio recording while retaining the original recording's content. This is achieved by disentangling speaker identity from the speech content, allowing one voice to be swapped with another while preserving linguistic content and intonation. The implications for audio editing are significant, as it offers precise control over voice characteristics and enables applications such as personalized voice experiences or corrections without needing complete re-recordings .

Deep neural networks like WaveNet offer several advantages over traditional speech synthesis techniques. They enable the modeling of raw audio directly, capturing fine details in speech dynamics that other methods might miss. This results in more natural-sounding voice outputs with realistic expressions and variations. Additionally, deep neural networks are more flexible, capable of generating various audio forms, including music, by learning directly from data rather than relying on pre-constructed models or concatenations, thereby enhancing the versatility and quality of audio synthesis .

WaveNet's ability to clone voices with high fidelity poses ethical concerns, particularly around the potential misuse of technology for identity theft or misleading voice forgery. While similar technologies may use watermarking to prevent counterfeiting, WaveNet's capability to convincingly mimic voices adds complexity to distinguishing between real and synthetic voices. This raises questions about consent and the risks of impersonating individuals, challenging established norms in privacy and authenticity .

The implementation of WaveNet had a significant impact on Google's applications, particularly Google Assistant. By reducing the number of audio recordings needed and generating voices with natural-sounding qualities, WaveNet enhanced user interaction and satisfaction with Google Assistant. The model's ability to create high-fidelity, realistic voice samples also allowed new Google Assistant voices to be introduced quickly and efficiently, setting a new standard in voice quality and accessibility across Google's platforms .

WaveNet improves over traditional concatenative and parametric text-to-speech systems by generating audio directly from raw waveforms, rather than piecing together pre-recorded fragments (concatenative) or using mathematical models to generate speech (parametric). This direct modeling allows WaveNet to capture the nuances and dynamics that occur in human speech, such as breaths and lip smacks, resulting in a more natural sound . Additionally, WaveNet can model any type of audio input, making it more versatile in generating realistic-sounding human voices and even music .

WaveNet initially required a considerable amount of computational power, making real-world applications infeasible at its release. However, Google achieved a 1,000-fold performance improvement by developing a method called Probability Density Distillation, which enables WaveNet to generate high-fidelity speech samples over 20 times faster than real-time . Additionally, Google's optimization allowed the use of WaveNet in Google Assistant, significantly reducing the computational costs while improving voice quality .

Advancements in WaveNet's development, including the creation of a more sample-efficient model, have significantly reduced the amount of data needed for high-quality voice synthesis. Initially requiring large amounts of audio recordings, improvements in the model architecture now allow for satisfactory voice cloning with only a few minutes of audio data . These enhancements leverage techniques such as unsupervised representation learning, which improves the ability to distinguish between dynamic and static features, facilitating efficient voice synthesis with minimal data .

WaveNet's architecture is based on a deep convolutional neural network that directly models raw audio waveforms. It can learn the specific patterns and characteristics associated with different languages and accents by being trained on diverse language datasets. This allows the network to accurately replicate accents and languages, such as producing German speech when trained with German waveforms . By modeling waveforms one sample at a time, WaveNet captures the acoustic nuances essential for distinguishing different linguistic and regional features .

Probability Density Distillation plays a critical role in enhancing WaveNet's real-time audio generation capabilities. This technique compresses complex models into simpler, faster approximations while maintaining high-fidelity output. By distilling probability distributions, the model can generate high-quality speech samples significantly faster—more than 20 times the speed of real-time generation—without compromising audio quality. This improvement enables practical, real-time applications of WaveNet in interactive systems such as virtual assistants, transforming the landscape of audio synthesis through improved efficiency .

You might also like