Flow-based models

Flow-based models (normalizing flows)

AI

Generative models built from a chain of reversible steps that turn simple random noise into realistic data, such as speech, and back again.

What is Flow-based models?

A flow-based model, or normalizing flow, learns a chain of transforms that can be run in both directions. One direction turns real data, such as audio, into simple random noise. The other turns noise back into realistic data. Why reversible matters: - Exact measurement: the model can calculate exactly how likely a piece of data is, which gives a clear training goal. - Parallel generation: for speech, many samples can be made at once instead of one after another. In speech technology: - Vocoders: WaveGlow turns spectrograms into audio with a flow. - Acoustic models: Glow-TTS turns text into spectrograms with a flow. - End-to-end models: VITS uses flows as one of its parts. Trade-offs. Every step must be reversible, which limits how the network can be built. Flow models often need many layers and a lot of memory to match the quality of other approaches. GANs and diffusion models have become more common for many tasks, but flows are still used as building blocks. Compared with others: GANs learn by competition between two networks; diffusion models learn to remove noise step by step; flows learn one exact, reversible mapping.

Example

To make a new sentence, a flow-based voice model samples random noise and runs it through its reversible steps, guided by the text. Out comes a spectrogram for that sentence.

Why Flow-based models Matters

Flows are one of the main families behind modern synthetic voices. Knowing the families helps make sense of how different voices trade speed for quality.

Explore More Terms

Browse our complete glossary of e-commerce and subscription terms.

Space, at your fingertips

What would you do with 22% more revenue?