Voicebox: Non-Autoregressive Audio Flow Matching
Flow Matching2023 · Meta AI (Le et al.)Continuous flow matching for controllable speech synthesis and audio infilling
Intuition & Key Idea
ELI5 GuideWhy this model was invented and how it transforms generation
"Fills in missing speech or generates expressive voices by flowing continuous sound spectrograms along straight velocity fields conditioned on text."
Restoring an ancient, scratched audio tape recording by mathematically calculating the smoothest audio wave connecting the undamaged parts.
Synthesizes 10 seconds of speech in less than 500 milliseconds.
Can edit, rephrase, or remove background noise in existing audio recordings.
Speaks foreign languages while maintaining the speaker’s exact voice.
Straight probability trajectories allow large numerical solver step sizes.
1. Initialize Target Acoustic Span x(0) ~ 𝒩(0, I)
Concatenate reference audio context with standard Gaussian noise in the generated target span. Condition on phoneme sequence.
Allows zero-shot voice cloning: reference speech prompt conditions the entire velocity field.
Flow Matching transports probability mass along straight-line vector fields dx/dt = v_θ(x, t). Because the ODE path has zero curvature, simple numerical solvers (like Euler) reach the data distribution in far fewer steps.
GPU Memory Hierarchy & HBM Traffic for this Step
HBM ↔ SRAM on-chipInitializes audio buffer in GPU memory
Active Tensor Dimensions & Memory Shapes
Demolished the quality and speed trade-off in speech synthesis: runs 20x faster than autoregressive TTS (e.g. VALL-E) while generating more natural prosody and enabling seamless audio editing and denoising.
Training Objective:Conditional Flow Matching Infilling Loss: 𝔼_{t, x_0, x_1, m}[ ||v_θ(x_t, t, c, m) - (x_1 - x_0)||^2 ]
Inference Bottleneck:O(K) Euler ODE steps over spectrogram frames (typically 10–25 steps)