All models

MegaTTS3

Text-to-speech latent diffusion transformer guided by sparse alignment between phonemes and speech.

Audio and speech · 2,048 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 2,048 operations (53 KB) and is drawn when you ask.

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
458.8M
Operations
2,048
Framework
PyTorch
Recurrent
No
Published
2025
Cited by
74 (as of 16 November 2026)
Authors
Ziyue Jiang, Yi Ren, Ruiqi Li and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18382
Graph hash
d4bb8f00aeaf86ba99e5608d19ccbbe9b636af6df73427e18a02ae91ec37ec41
Skeleton hash
807a8c112b276a5e48eed80b94a570b395f19b22580464bcbbf33ce61bf77abd
Architecture hash
d9494848dd8b951d98f96bf4840bd822ec265de5c132643887a3b8456ac2dc01
Diagram SHA-256
3a31a64480cca706837bb87e32faff1bec65e738ae296d48c3107bd0eaaaaac8
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

MegaTTS 3 is a TTS system in which a sparse alignment algorithm guides a latent diffusion transformer (DiT). Sparse alignment boundaries are provided to the model to reduce the difficulty of alignment without limiting the search space. Phoneme tokens are sparsely distributed within their forced alignment regions to give coarse pronunciation information, which the latent DiT model then refines.

Speech is represented in the latent space of a VAE: its encoder encodes a speech waveform into a latent vector, and a wave decoder reconstructs the waveform. After training, a one-second speech clip can be encoded into 25 vector frames. A multi-condition classifier-free guidance strategy adjusts accent intensity, and the piecewise rectified flow technique accelerates the generation process. The paper reports reducing the inference steps from 25 to 8 with the piecewise rectified flow technique.

The paper trains MegaTTS 3 on LibriLight, which contains 60k hours of unlabeled speech derived from LibriVox audiobooks. It describes a 24-layer Transformer with 16 attention heads and 1024 embedding dimensions and reports 339M parameters in total. The repository states that the backbone of its TTS Diffusion Transformer has 0.45B parameters.

Key idea. MegaTTS 3 guides a latent diffusion transformer with sparse alignment boundaries, which reduce the difficulty of alignment without limiting the search space.

  • MegaTTS 3
  • text-to-speech
  • zero-shot speech synthesis
  • sparse alignment
  • latent diffusion transformer
  • piecewise rectified flow
  • classifier-free guidance
  • accent intensity adjustment
  • WaveVAE

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{jiang2025megatts3sparsealignment,
      title={MegaTTS 3: Sparse Alignment Enhanced Latent Diffusion Transformer for Zero-Shot Speech Synthesis}, 
      author={Ziyue Jiang and Yi Ren and Ruiqi Li and Shengpeng Ji and Boyang Zhang and Zhenhui Ye and Chen Zhang and Bai Jionghao and Xiaoda Yang and Jialong Zuo and Yu Zhang and Rui Liu and Xiang Yin and Zhou Zhao},
      year={2025},
      eprint={2502.18924},
      archivePrefix={arXiv},
      primaryClass={eess.AS},
      url={https://arxiv.org/abs/2502.18924}, 
}