DeviceTTS: A Small-Footprint, Fast, Stable Network for On-Device Text-to-Speech

Zhiying Huang, Hao Li, Ming LeiarXiv 2020

Abstract

Deploying high-quality text-to-speech (TTS) on resource-constrained devices like smartphones and IoT hardware remains a significant challenge. Standard end-to-end models are often too large or computationally intensive for these environments. This paper presents DeviceTTS, a framework designed specifically for efficiency and stability. By utilizing Deep Feedforward Sequential Memory Networks (DFSMN) and a novel mix-resolution decoder, DeviceTTS reduces model size to just 1.4 million parameters and computational complexity to 0.099 GFLOPS. Experimental results demonstrate that DeviceTTS maintains audio quality comparable to state-of-the-art models like Tacotron and FastSpeech while being significantly more robust and faster.

Introduction

Recent advancements in neural TTS have achieved near-human naturalness. However, these models face hurdles for on-device deployment. Tacotron’s attention mechanism is prone to alignment failures, such as skipping or repeating words. Meanwhile, FastSpeech’s Transformer-based architecture is computationally heavy and can struggle to generalize to very long sequences due to its global modeling nature. DeviceTTS addresses these issues by prioritizing local modeling and architectural efficiency to ensure stability across varying sentence lengths.

Proposed Architecture

DeviceTTS is built upon three core components designed to balance speed, stability, and quality:

Deep Feedforward Sequential Memory Networks (DFSMN)

Instead of using Recurrent Neural Networks (RNNs) or Transformers, DeviceTTS employs DFSMN blocks. DFSMN uses a sliding window "memory block" to capture local dependencies. This approach is more stable than global self-attention for speech synthesis and significantly more efficient than recurrent architectures during inference.

Duration Predictor

To eliminate the stability issues of traditional attention mechanisms, DeviceTTS incorporates a duration predictor. This module determines the exact number of acoustic frames for each phoneme, ensuring a robust alignment that prevents common synthesis artifacts like word skipping or stuttering.

Mix-Resolution (MR) Decoder

The MR decoder is a key innovation for reducing inference latency. Rather than predicting high-resolution frames individually, the decoder first generates coarse-grained multi-frame outputs via an autoregressive (AR) network. A subsequent "refine network" then processes these into high-quality, single-frame acoustic features, balancing the speed of multi-frame prediction with the quality of single-frame modeling.

Overall architecture of DeviceTTS featuring the DFSMN-based encoder, duration predictor, and the mix-resolution (MR) decoder.

Experimental Results

The system was evaluated on a 30-hour Mandarin speech corpus from a native female speaker. Performance was compared against Tacotron and FastSpeech using Mean Opinion Scores (MOS) and efficiency metrics.

Efficiency and Footprint

DeviceTTS achieves a massive reduction in both storage and compute requirements. As shown in the comparison below, it is approximately 10x smaller than Tacotron and 25x smaller than FastSpeech in terms of parameter count.

Comparison of model parameters (Millions) and computational complexity (GFLOPS) across TTS systems.

Audio Quality

Despite the drastic reduction in size, DeviceTTS maintains high audio quality. Using an LPCNet vocoder, DeviceTTS achieved a MOS of 4.255, which is statistically comparable to Tacotron (4.285) and FastSpeech (4.276). This demonstrates that a small-footprint model can deliver professional-grade synthesis suitable for real-world applications.

Conclusion

DeviceTTS provides a viable path for high-quality, real-time speech synthesis on edge devices. By combining the stability of DFSMN with the efficiency of a mix-resolution decoder, it offers a small-footprint solution without sacrificing performance. Future work will focus on integrating faster neural vocoders and extending the architecture to multi-speaker and multi-lingual scenarios.

Summary updated

BibTeX
@misc{huang2020devicetts,
  author = {Zhiying Huang and Hao Li and Ming Lei},
  title = {{DeviceTTS: A Small-Footprint, Fast, Stable Network for On-Device Text-to-Speech}},
  year = {2020},
  eprint = {2010.15311},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.15311},
}
Figure