LightGrad: Lightweight Diffusion Probabilistic Model for Text-to-Speech

Jie Chen, Xingchen Song, Zhendong Peng, Binbin Zhang, Fuping Pan, Zhiyong Wu · DOI

Abstract

Diffusion Probabilistic Models (DPMs) have emerged as a powerful paradigm for high-quality neural text-to-speech (TTS), yet their high computational cost typically restricts them to cloud-based environments. This paper introduces LightGrad, a lightweight DPM-based TTS model optimized for resource-constrained edge devices. By integrating a streamlined U-Net architecture with depthwise separable convolutions, linear attention mechanisms, and a high-order ODE solver for accelerated sampling, LightGrad achieves a 62.2% reduction in parameters and a 65.7% reduction in latency compared to the Grad-TTS baseline. Furthermore, a phoneme-aware streaming mechanism is implemented to minimize user-perceived latency while maintaining speech naturalness.

Introduction

While neural TTS has reached near-human levels of naturalness, the deployment of state-of-the-art models on edge devices remains challenging due to significant computational and memory requirements. Cloud-based TTS solutions introduce privacy concerns and are susceptible to network-induced latency. DPMs offer a parameter-efficient alternative to GANs and Flow-based models but traditionally require numerous denoising steps, making real-time interaction difficult on mobile or IoT hardware. LightGrad addresses these limitations by optimizing both the model architecture and the inference process for efficiency without sacrificing audio quality.

Proposed Architecture

The core of LightGrad is a lightweight U-Net decoder designed to predict the score (gradient) of the data distribution efficiently. The architecture incorporates several key innovations to reduce the computational footprint:

  1. Depthwise Separable Convolutions: Standard convolutional layers are replaced with depthwise separable convolutions throughout the U-Net. This modification significantly reduces the number of parameters and floating-point operations while preserving the structural benefits of the U-Net topology.
  2. Linear Attention Layers: To handle long audio sequences efficiently, LightGrad utilizes Linear Attention. Unlike standard self-attention, which scales quadratically with sequence length, Linear Attention scales linearly, ensuring the model remains performant as the duration of the synthesized speech increases.
  3. Separable ResNet Blocks (SepResBlock): The decoder utilizes specialized residual blocks that incorporate step embeddings via linear layers, allowing the model to condition its denoising process effectively at each step of the diffusion chain.
LightGrad Architecture Overview

Fast Sampling and Streaming Inference

To overcome the slow inference speeds typical of DPMs, LightGrad treats the reverse diffusion process as solving an Ordinary Differential Equation (ODE). By employing DPM-Solver-1, a high-order solver specifically designed for DPMs, the model can generate high-quality speech in as few as 4 denoising steps, compared to the 10–50 steps often required by standard stochastic differential equation (SDE) solvers.

To further enhance real-time performance, a phoneme-aware streaming mechanism is introduced. The input text is segmented into chunks at phoneme boundaries rather than arbitrary time intervals. To ensure prosodic continuity and prevent artifacts at chunk boundaries, each segment is padded with context from adjacent phonemes, allowing the decoder to generate smooth transitions during streaming synthesis.

Evaluation and Results

LightGrad was evaluated on Chinese (DataBaker) and English (LJSpeech) datasets, with all audio resampled to 22,050Hz. The model was compared against Grad-TTS, a prominent DPM-based baseline.

Performance comparison of LightGrad and Grad-TTS

Key Findings:

  • Efficiency: LightGrad contains only 5.61M parameters, a 62.2% reduction from Grad-TTS (14.85M). On a single CPU thread, it achieved a latency of 3.605 seconds for a standard sample, representing a 65.7% speedup.
  • Streaming Performance: Enabling streaming reduced the first-packet latency to 0.615 seconds and halved peak memory usage from approximately 462MB to 220MB.
  • Quality: Subjective Mean Opinion Score (MOS) tests indicate that LightGrad at 4 steps (4.050 for Chinese, 3.940 for English) performs comparably to or better than Grad-TTS at 10 steps, demonstrating the effectiveness of the DPM-Solver and the lightweight architecture.

Conclusion

LightGrad demonstrates that the high-quality synthesis capabilities of diffusion models can be successfully ported to edge devices through targeted architectural and algorithmic optimizations. By prioritizing structural efficiency and leveraging advanced ODE solvers, LightGrad provides a viable path for private, low-latency, and high-quality TTS on the edge. Future work may explore further optimizations for specific hardware accelerators and the extension of this lightweight framework to more expressive or emotional speech synthesis tasks.

Summary updated

BibTeX
@inproceedings{chen2023lightgrad,
  author = {Jie Chen and Xingchen Song and Zhendong Peng and Binbin Zhang and Fuping Pan and Zhiyong Wu},
  title = {{LightGrad: Lightweight Diffusion Probabilistic Model for Text-to-Speech}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10096710},
}
Figure