Staged Depth-Pruning Distillation of a Flow-Matching Text-to-Speech Teacher: A Compact Hindi Speech Synthesizer

· Source: Computation and Language · Field: Technology & Digital — Artificial Intelligence & Machine Learning · Depth: Advanced, quick

Summary

A practical recipe is presented for creating a compact Hindi text-to-speech (TTS) model by distilling a large 337M-parameter IndicF5 flow-matching teacher model. This method addresses the challenge of training small models on a severe data budget of approximately 17.6 hours, which typically leads to failure. The approach involves warm-starting the student model from the teacher through staged depth-pruning, maintaining the teacher's width, text dimension, attention heads, and mel/text I/O. Gradual pruning steps (22 → 16 → 12 → 8 → 6 blocks) are employed, with re-fine-tuning and objective ASR word-error-rate (WER) checks at each stage. Resulting student models achieve WER 0.00 on unseen sentences at 249M and 190M parameters, remaining robust down to 131M, and run in real time on a 6 GB laptop GPU. The work also identifies and fixes silent audio degradation issues related to mel filterbank and rotary-embedding library versions.

Key takeaway

For NLP Engineers developing compact text-to-speech models, especially for low-resource languages, this staged depth-pruning distillation recipe offers a robust solution. You can achieve high-quality synthesis with significantly smaller models, even when working with limited data budgets. Additionally, ensure your mel filterbank and rotary-embedding library versions have feature parity to prevent silent audio degradation, a critical detail for production deployments.

Key insights

Staged depth-pruning distillation enables compact, high-quality TTS models from large teachers, even with limited training data.

Principles

Method

Warm-start a student model from a large teacher by pruning depth only, keeping other dimensions fixed. Gradually reduce transformer blocks (e.g., 22 → 16 → 12 → 8 → 6), re-fine-tuning and checking WER after each step.

In practice

Topics

Best for: Machine Learning Engineer, NLP Engineer, AI Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Computation and Language.