Latent Diffusion vs Waveform Diffusion in Neural TTS

Mel, codec, and waveform diffusion each trade speed against acoustic detail differently.

· 8 min read
Cover illustration for “Latent Diffusion vs Waveform Diffusion in Neural TTS”
Diffusion and Transformer Voice Models · November 2, 2026 · 8 min read · 1,906 words

Neural text-to-speech diffusion systems differ most consequentially in where they remove noise. Mel-spectrogram, codec latent, and waveform diffusion each trade pipeline complexity against speed, control, and acoustic fidelity. For most production TTS teams, codec latents offer the strongest current balance, but mel remains attractive for controllable expression, while waveform diffusion earns its cost when detail outweighs latency.

Why diffusion TTS systems are defined by where denoising happens, not how it happens

“Diffusion for TTS” sounds like a single technique. In practice, it names a family of architectures that can look alike even though they differ in how they are built. People often focus on noise schedules, score matching, and sampling steps because these describe how generation works. Yet those choices operate within a more basic constraint, namely the representation the model must learn to generate. The sampler does not get to choose its terrain.

That terrain can be a mel-spectrogram, a compressed neural codec representation, or the waveform itself, including waveform-derived latents that remain close to the signal. Each places a different distance between the denoiser’s output and audible speech. That distance determines which auxiliary models must be trained or licensed, where conversion happens, and how errors can propagate. It also shapes the compute budget and the acoustic detail available to the system.

What diffusion models are actually doing when applied to speech

In all of these systems, training starts by adding Gaussian noise to a representation of speech. The model learns to reverse that corruption, guided by inputs such as phonemes, text embeddings, or speaker embeddings. At generation time, denoising over and over turns noise into a speech representation that fits that guidance. The destination need not be an audio waveform. It can instead be something another model converts into sound.

The reverse process learns the geometry of its chosen space, including how plausible speech representations are arranged within it. A compact, smooth space can make that task easier than a high-dimensional space with difficult boundaries. Mel-spectrograms provide interpretable structure, codec latents provide learned compression, and waveform representations preserve finer signal detail. These properties influence both the number of sampling steps needed and the fidelity of the result.

How mel-spectrogram diffusion works and what it costs the pipeline

Mel-spectrogram diffusion is the most mature pattern. A diffusion model generates a spectrogram from text or phonemes, and a separately trained vocoder converts it into audio. GAN-based vocoders such as HiFi-GAN and flow-based vocoders illustrate the second stage. The mel representation is lower-dimensional than the raw waveform, temporally smooth, and well understood. Those properties give the denoiser a relatively tractable distribution to learn and can support generation with fewer steps.

The difficulty begins at the handoff to the vocoder. Its training spectrograms may differ from those produced by the diffusion model, even when the generated spectrograms look convincing on their own. A vocoder trained on clean ground-truth mels can respond poorly to that mismatch, producing spectral artifacts, especially at high frequencies and in low-energy regions. The two components need co-design or joint fine-tuning to make them work better together.

Modularity nevertheless offers a genuine engineering advantage because the vocoder can be upgraded independently. The price is separate training pipelines, separate hyperparameters, and separate production failure points. Sampling usually dominates inference time, but the vocoder still adds another pass before speech becomes audible. For real-time systems, that pass is not optional bookkeeping. More importantly, the possibility that one model amplifies the other’s mistakes explains why engineers have pursued alternatives.

How codec latent diffusion collapses the two-stage pipeline and what it introduces instead

Codec latent diffusion replaces the mel handoff with generation inside the compressed space of a pre-trained neural audio codec. The diffusion model produces latents, and the codec’s decoder turns them into audio. This removes the particular mel-to-vocoder mismatch. Because the representation is highly compressed, denoising can operate on a shorter, lower-dimensional sequence. Each step costs less, and equivalent perceptual quality may be possible with fewer steps.

A codec learns its representation for reconstruction fidelity rather than for the smooth geometry that makes Gaussian denoising easy. Its discrete or near-discrete structure can be opaque, with acoustic properties arranged in ways that are difficult for a diffusion model to navigate. More expressive denoising networks or carefully designed noise schedules may be needed. The complexity has moved.

That move also tightens the system’s dependencies. Replacing or retraining the codec changes the latent space, requiring the diffusion model to be retrained for it. Prosody, acoustic detail, and speaker identity can also become entangled, so it is harder to control each of them than in mel space. Some teams reject that abstraction entirely and put the denoiser closer to the signal.

What waveform-space diffusion offers and why its computational demands are rarely worth it for TTS

Waveform diffusion models the raw audio signal directly, while closely related approaches use continuous latents that change the signal only slightly and keep near-sample-level resolution. Direct waveform modeling keeps information that would be lost in an intermediate acoustic representation. It also removes the handoff to a separate synthesis stage. In principle, this allows the model to capture sub-phoneme detail that mel and compressed codec representations discard. The attraction is fidelity without that representational bottleneck.

The computational bill arrives during repeated denoising. A high-dimensional signal gives the model far more detail to resolve, with less of the smoothing and compression that help intermediate representations. Dilated convolutions, multi-resolution diffusion, and efficient time-domain architectures can reduce the cost, but add complexity of their own. They do not make signal resolution free. How much waveform modeling slows things down still depends on the architecture.

For most real-time TTS deployments, the workload remains difficult to justify without aggressive step reduction through approaches such as consistency models or shortcut sampling. Very low step counts can sacrifice quality. Offline music generation, sound design, and audio super-resolution provide a more natural home because acoustic detail can take priority over response time. Faster sampling and cheaper compute may change that balance. For now, the cost structure helps explain the production appeal of mel and codec approaches.

How pipeline complexity and compounding error risk differ across the three domains

The operational distinction is where a mistake becomes audible. Mel diffusion has the clearest structural risk because two separately trained generative models run in sequence. A spectrogram error enters a vocoder that has no mechanism for correcting the upstream mistake. Codec diffusion avoids that particular seam, but can produce latents that sit within the expected range while decoding into perceptually degraded speech.

An illustrative contrast makes these risks more concrete. Mel mismatch can produce harsh high-frequency artifacts, whereas poor codec latent structure can yield smooth but prosodically flattened speech. Waveform diffusion under aggressive step reduction can instead produce temporal blurring from errors in estimating the denoising direction. These are different failure mechanisms.

Direct waveform diffusion has the lowest risk of errors compounding across stages because it has no conversion stage, but it needs the most care to denoise a vast signal space accurately. Small approximation errors can accumulate through sampling. Mel systems impose a more visible deployment burden, including two model artifacts to version and two inference calls to orchestrate. Codec systems need less of the coordination that mel systems require, but they still depend closely on their decoder. Operational simplicity therefore depends on both the number of components and the assumptions connecting them.

How the representational space shapes the ceiling on expressive and multilingual output

Expression depends on more than preserving acoustic detail. Mel-spectrograms have understandable axes of time, frequency, and energy, making conditioning on pitch contour, speaking rate, and emphasis relatively interpretable. That gives builders a tractable surface for fine-grained control. Codec latents instead entangle acoustic, prosodic, and speaker information in a form optimized for reconstruction. Nuanced control may require a richer conditioning signal or mechanisms that disentangle those properties.

A codec trained mainly on one language’s phonetics may not generalize cleanly to languages with different phonological or prosodic structures. The codec itself can become the bottleneck. Training the diffusion model on broader material does not by itself remove the representational constraint beneath it. Codec and diffusion models co-trained on diverse multilingual data can, however, match or exceed mel-based expressiveness.

Waveform models offer the highest theoretical scope for preserving fine distinctions such as clicks, tones, and retroflex consonants because direct modeling discards no information through domain conversion. Realizing that potential requires substantial multilingual data and compute. Resolution alone is not a language curriculum. For expressive multilingual production systems, mel diffusion currently offers the more tractable route to interpretable control, provided its vocoder seam is managed. Codec approaches make a different bargain, tying that control more closely to the quality and coverage of the learned representation.

What the domain choice means for inference latency and real-time deployment

Real-time speech needs a short time-to-first-audio, or TTFA, so the listener does not experience an obvious gap before playback. Total generation throughput is a different measure. A system can generate audio quickly overall but still take too long to produce its first playable segment. Domain choice influences this early delay through both the denoising workload and the conversion required afterward. Streaming makes the architecture’s handoffs especially visible.

Mel systems can generate spectrogram chunks and pass them to the vocoder as they become available. Each chunk still incurs a vocoder call, while overlap-add logic adds complexity to prevent boundary artifacts. Codec latents can be decoded token-by-token or chunk-by-chunk with little overhead when the architecture uses a fast, deterministic decoder. That decoder behavior is not universal across codecs. Even with it, the diffusion model must finish each segment quickly enough.

DDIM and consistency distillation can cut the number of sampling steps across these domains, while flow matching is a related fast-sampling framework with its own architecture, separate from diffusion optimization. Their effectiveness depends on the target space’s structure. Lower-dimensional mel and codec spaces generally offer more favorable conditions for fast convergence than waveform space, although codec geometry can complicate the task. The sub-500ms target for production real-time voice agents is achievable with mel and codec diffusion given sufficient step reduction. It requires co-design of the model, sampler, and any vocoder.

A decision framework for choosing a diffusion domain based on deployment requirements

The practical choice rests on acceptable pipeline complexity, the latency target, expression and language requirements, and the availability of reusable codec or vocoder assets. For builders, those constraints turn the comparison into a deployment decision. A team prioritizing controllable expression with established vocoder infrastructure should favor mel-spectrogram diffusion. It offers an interpretable conditioning surface and a direct way to reuse prior work. For that choice to work, the team needs to address vocoder mismatch through joint fine-tuning or distribution matching.

A team prioritizing low-latency streaming with less pipeline coordination should favor codec latent diffusion if it can adopt or invest in a high-quality codec. Co-training on the languages the system needs to support makes this a particularly good choice for multilingual use. The codec deserves first-class engineering attention. Treating it as an off-the-shelf dependency overlooks the learned geometry and language coverage on which the denoiser relies.

When maximum acoustic fidelity outweighs latency, waveform or near-waveform diffusion is an option for offline synthesis, including archival audio, high-end audiobook production, and sound design. The team must accept long training runs and slow inference. These are different requirements. As faster samplers, better codecs, and more efficient waveform models emerge, builders should revisit the choice. The architecture should follow the deployment constraint.

Sources

  1. LongCat-AudioDiT: High-Fidelity Diffusion Text-to-Speech in the Waveform Latent Space
  2. NaturalSpeech 2: Latent Diffusion Models are Natural and Zero-Shot Speech and Singing Synthesizers
  3. On the Semantic Latent Space of Diffusion-Based Text-to-Speech Models
  4. NaturalSpeech 2: LATENT DIFFUSION MODELS ARE
  5. BareWave: Waveform-Native Flow-Matching Text-to-Speech
  6. Sample-Efficient Diffusion for Text-To-Speech Synthesis
  7. Speaking in Wavelet Domain: A Simple and Efficient Approach to Speed up Speech Diffusion Model
  8. A Unifying Perspective on Audio Generative Modeling: Latent Representations and Modeling Strategies

More in Diffusion and Transformer Voice Models