OZSpeech
A zero-shot text-to-speech model that samples speech tokens in one flow matching step.
Audio and speech · 1,028 operations Checked
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
- Task
- Audio and speech
- Parameters
- 101.6M
- Operations
- 1,028
- Framework
- PyTorch
- Recurrent
- No
- Published
- ACL 2025
- Cited by
- 0 (as of 24 October 2026)
- Authors
- Hieu-Nghia Huynh-Nguyen, Ngoc Son Nguyen, Huynh Nguyen Dang and others
- Source
- GitHub: ozspeech/OZSpeech
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m18957
- Graph hash
- 2de2f05f3a8277a2988dcc9dc49f53845c528661c942bbd38a16a11950c238d2
- Skeleton hash
- 1c3cdd2c70a2ddb9c1a300f5f6e724c626524e8e1f244cf63f7d1775e5979157
- Architecture hash
- f4370a74d2ae36a4f81148c75870218bcd4969b7500089d658bb76d53f34447d
- Diagram SHA-256
- 7c1c2e641f70b10c9ae622136368d057059fb433c56ad57bd1350e53e4849f7d
- 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
OZSpeech is a zero-shot text-to-speech (TTS) model that uses optimal transport flow matching with one-step sampling, which its authors say significantly reduces inference time. At inference it takes a prompt audio file and the target text to synthesize.
The paper sets this against earlier approaches that apply flow matching to traditional speech representations such as waveforms or spectrograms. It says those methods overlook various speech attributes and incur high computational costs. OZSpeech uses a learned prior as the condition for the flow, which the paper says lets it disregard preceding states and reduce the number of sampling steps. It operates on disentangled, factorized components of speech in token format, which the paper credits for the system's ability to clone the prompt speech precisely.
Inference requires pretrained weights for both FaCodec and OZSpeech. The paper reports favorable results against existing methods in content accuracy, naturalness, prosody generation and speaker style preservation. The authors used the LibriSpeech-test-clean dataset to synthesize and evaluate the model.
Key idea. OZSpeech applies optimal transport conditional flow matching to text-to-speech with one-step sampling, using a learned prior as the condition.
- OZSpeech
- zero-shot TTS
- text-to-speech
- zero-shot speech synthesis
- one-step speech synthesis
- flow matching
- voice cloning
- speech synthesis
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{huynhnguyen2025ozspeechonestepzeroshotspeech,
title={OZSpeech: One-step Zero-shot Speech Synthesis with Learned-Prior-Conditioned Flow Matching},
author={Hieu-Nghia Huynh-Nguyen and Ngoc Son Nguyen and Huynh Nguyen Dang and Thieu Vo and Truong-Son Hy and Van Nguyen},
year={2025},
eprint={2505.12800},
archivePrefix={arXiv},
primaryClass={cs.SD},
url={https://arxiv.org/abs/2505.12800},
}