LightSpeech is a lightweight, fast text-to-speech (TTS) model based on FastSpeech 2 whose encoder and decoder shapes were determined automatically by neural architecture search (NAS) over a search space containing only lightweight operations. Luo et al. of the University of Science and Technology of China and Microsoft presented it at ICASSP 2021.
Non-autoregressive models such as FastSpeech and FastSpeech 2 can generate speech much faster than autoregressive models. Even so, they were still large and slow for running on smartphones, embedded devices, or low-cost services with only CPUs. For example, FastSpeech 2 has 27M parameters, uses more than 100 MB of memory, and is about 10 times slower on a CPU than on a GPU.
Ways to lighten a model include reducing layers or narrowing widths, quantization, and pruning. However, making layers shallower and narrower by hand degraded audio quality considerably. LightSpeech therefore builds the model in three steps.
- Find the heavy parts: Measure the number of parameters and the CPU inference time of each FastSpeech 2 component.
- Design the search space: Make the heavy parts (the encoder and decoder) replaceable by combinations of lightweight operations.
- Search with NAS: Use an accuracy-prediction-based NAS (GBDT-NAS) to select the combination with the lowest loss on validation data.
The results on LJ Speech are as follows.
- Audio quality: On par with FastSpeech 2 (CMOS +0.04)
- Size: Parameters reduced from 27.0M to 1.8M, about 1/15
- Computation: Multiply-accumulate operations (MACs) reduced from 12.50G to 0.76G, about 1/16
- Speed: About 6.5 times faster inference on a CPU

