Manuscript Offprint

arXiv:2610.06817

Paradee: Distilling Kokoro-82M into an 8M-Parameter Single-Voice Text-to-Speech Model

Sahil Mahendrakar

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We distill Kokoro-82M, a widely used open text-to-speech model with 54 voices, into Paradee, an 8.07M-parameter model that speaks one of them. Paradee keeps Kokoro's architecture with much narrower layers, and each of its two halves is trained separately against the frozen teacher. It has 10× fewer parameters and needs 15× less compute. We first synthesize a corpus with the teacher and keep its durations, pitch, energy and phoneme features. We then train a small text side to predict these values, and a small decoder to turn the teacher's saved values into the teacher's audio, first with spectral losses and then adversarially. Finally, we connect the two halves and quantize the weights to int8. It needs no alignment learning and no joint training, and it runs on one laptop. Stored in int8, Paradee is 8.5 MB, runs 25× faster than real time on one CPU thread, and scores 4.41 on UTMOS against the teacher's 4.52. The student initially kept a slight buzz, which we trace to the phase of voiced speech between 2 and 8 kHz. A phase-locking filter applied after synthesis removes most of it, with no training and no extra parameters. Code, model files and audio samples are at github.com/sahilmahendrakar/paradee.

1 Introduction

Text-to-speech that runs on the device, without a server, has to be small enough to ship, fast enough to run faster than real time on a CPU, and natural enough to listen to for long stretches. Kokoro-82M [11] is a widely used open-weight text-to-speech model with high naturalness for its size. It is derived from StyleTTS 2 [31] and ships 54 voices, but it has 82 million parameters and needs 55 GFLOP per second of audio.

Many applications only ever use one voice. We ask how small Kokoro can get if it has to speak just one voice, and whether that can be done cheaply. Its authors trained it with about 1,000 A100 GPU-hours [11], whereas we want a student that can be distilled and run on one laptop.

Our approach follows the structure of the teacher (Figure 1). Kokoro has two halves. The text side predicts durations, pitch, energy and phoneme features, and the decoder turns them into audio. We first run the teacher on 12,000 English sentences. For each one we save the audio it produced along with the values it computed on the way, namely the duration of each phoneme, the pitch and energy contours, and the phoneme features passed to the decoder. These saved outputs are the training data for both halves of the student.

We then shrink each half and train it separately against the teacher, which stays frozen, meaning its weights are never updated and it only supplies targets. The student text side reads the phonemes and learns to predict the teacher's saved durations, pitch, energy and phoneme features. The student decoder is given the teacher's saved durations, pitch, energy and phoneme features as input and learns to reproduce the teacher's saved audio from them. Because each half trains against fixed teacher outputs, no alignment has to be learned.

To join them, we connect the student text side's outputs to the student decoder's inputs. At inference the text side reads the phonemes and predicts a duration for each one. These durations stretch its phoneme features to one per audio frame, and it then predicts pitch and energy for every frame. The decoder turns these into audio, and nothing is retrained after the halves are joined. Last, we quantize the weights to 8-bit integers, which makes the model four times smaller with no measurable change in UTMOS.

The result, Paradee, has 8.07M parameters (10× fewer than the teacher’s 81.8M) and needs 15× less compute. Stored in int8, it is 8.5 MB, runs 25× faster than real time on one CPU thread, and scores 4.41 on UTMOS [44] against the teacher’s 4.52.

Our contributions are:

  1. A simple single-voice distillation method (Section 4). Each half is distilled separately against the frozen teacher and the halves are joined without joint training. It needs no alignment learning and no teacher at inference time, and it trains on one laptop.

  2. What we learn from distilling the halves separately (Section 6). Pairing each student half with the other half of the teacher shows what each one costs. A 4.2M text side scores UTMOS 4.36 through the teacher's decoder, and a 7.1M one does no better. The 3.9M decoder scores 4.37 from the teacher's text side. Together the two halves score 4.39, so their errors do not add up. For the decoder, the balance of the training losses matters more than its size. Lowering the weight of the spectral loss so that the adversarial critics could take effect raised UTMOS from 3.0 to 4.4, while making the decoder wider or twice as large did not help. Finally, the text side must be trained to match the teacher's durations, pitch, energy and phoneme features directly. A text side trained instead to make the teacher's decoder sound good reached the teacher's own score with that decoder, but fell to 3.78 with the student decoder, against 4.39 for the directly trained one.

  3. A map of where Kokoro spends its parameters and compute (Section 3). The waveform generator is a quarter of the parameters but 89% of the compute, and the small text side is the part most sensitive to quantization.

  4. A diagnosis and fix for the student’s residual buzz (Section 7). Listening tests place it in the phase of voiced speech between 2 and 8 kHz, just above where Kokoro’s harmonic excitation stops, and a training-free phase-locking filter removes most of it.

References (47)