
Llasa
Audio and speech900 ops1.4B params
A Llama-based language model that turns text into speech by predicting codec speech tokens.
Audio and speech · 1,548 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.
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.
Llasa-3B uses meta-llama/Llama-3.2-3B-Instruct as its base model.
About this model's family
Llasa is a text-to-speech system that extends the text-based LLaMA language model with speech tokens from the XCodec2 codebook, which contains 65,536 tokens. The paper observes that TTS systems built on LLMs were often multi-stage, with separate models such as a diffusion model after the LLM. Llasa instead uses a single-layer vector quantizer codec and a single Transformer, so that it lines up with standard LLMs such as Llama.
The Transformer is initialized from an existing LLM and keeps that model's tokenizer for the text part. Speech goes through a separate speech tokenizer, which encodes waveforms into speech tokens and can decode them back to audio. That codec replaces residual vector quantization with a single vector quantizer, so the tokens form one left-to-right sequence. XCodec2 produces 50 tokens per second. The model learns to predict each speech token from the text tokens and the speech tokens generated before it.
Llasa was trained on 250,000 hours of Chinese-English speech data. The paper builds three sizes, on Llama 3.2 with 1B and 3B parameters and on Llama 3.1 with 8B parameters. It reports that scaling train-time compute consistently improves the naturalness of the synthesized speech. At inference time it uses speech understanding models as verifiers during the search. Speech can be generated from input text alone or with a given speech prompt.
Key idea. Llasa aligns speech synthesis with standard LLMs by pairing a single-layer vector quantizer codec with a single Transformer initialized from Llama.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{ye2025llasascalingtraintimeinferencetime,
title={Llasa: Scaling Train-Time and Inference-Time Compute for Llama-based Speech Synthesis},
author={Zhen Ye and Xinfa Zhu and Chi-Min Chan and Xinsheng Wang and Xu Tan and Jiahe Lei and Yi Peng and Haohe Liu and Yizhu Jin and Zheqi Dai and Hongzhan Lin and Jianyi Chen and Xingjian Du and Liumeng Xue and Yunlin Chen and Zhifei Li and Lei Xie and Qiuqiang Kong and Yike Guo and Wei Xue},
year={2025},
eprint={2502.04128},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2502.04128},
}