Skip to main content
QUICK REVIEW

[Paper Review] SqueezeWave: Extremely Lightweight Vocoders for On-device Speech Synthesis

Bohan Zhai, Tianren Gao|arXiv (Cornell University)|Jan 16, 2020
Speech Recognition and SynthesisComputer Science16 references21 citations
TL;DR

SqueezeWave proposes a family of ultra-lightweight, flow-based vocoders derived from WaveGlow that achieve near-waveform quality with 61x to 214x fewer MACs, enabling real-time on-device speech synthesis on CPUs like those in MacBooks and Raspberry Pi 3B+, while maintaining high audio quality comparable to WaveGlow at a fraction of the computational cost.

ABSTRACT

Automatic speech synthesis is a challenging task that is becoming increasingly important as edge devices begin to interact with users through speech. Typical text-to-speech pipelines include a vocoder, which translates intermediate audio representations into an audio waveform. Most existing vocoders are difficult to parallelize since each generated sample is conditioned on previous samples. WaveGlow is a flow-based feed-forward alternative to these auto-regressive models (Prenger et al., 2019). However, while WaveGlow can be easily parallelized, the model is too expensive for real-time speech synthesis on the edge. This paper presents SqueezeWave, a family of lightweight vocoders based on WaveGlow that can generate audio of similar quality to WaveGlow with 61x - 214x fewer MACs. Code, trained models, and generated audio are publicly available at https://github.com/tianrengao/SqueezeWave.

Motivation & Objective

  • To enable real-time, on-device text-to-speech synthesis by drastically reducing the computational cost of neural vocoders.
  • To adapt the flow-based WaveGlow architecture for edge deployment by minimizing MAC operations and model parameters.
  • To maintain high audio quality while reducing model size and inference latency for mobile and embedded devices.
  • To demonstrate that efficient neural architecture design can achieve near-state-of-the-art speech quality with extreme computational efficiency.

Proposed method

  • Re-arrange the audio tensor to enable efficient grouped convolutions, reducing computational overhead.
  • Replace standard convolutions with depthwise separable convolutions to reduce parameter count and MAC operations.
  • Merge the two parallel branches in WaveGlow’s coupling layers into a single path with half the output channels, simplifying the architecture.
  • Optimize the residual skip connections by halving their output channel size, reducing computational load without sacrificing performance.
  • Train the resulting SqueezeWave models from scratch on LJSpeech using 8 V100 GPUs for WaveGlow and 24 Titan RTX GPUs for SqueezeWave.
  • Deploy and evaluate models on CPU-only devices such as Macbook Pro and Raspberry Pi 3B+ to measure real-time inference speed.

Experimental results

Research questions

  • RQ1Can a flow-based vocoder be made sufficiently lightweight to enable real-time inference on CPU-only edge devices?
  • RQ2To what extent can architectural modifications to WaveGlow reduce MAC operations while preserving audio quality?
  • RQ3How does the performance of SqueezeWave compare to WaveGlow in terms of MOS, MACs, and inference speed on low-end hardware?
  • RQ4Can a model with 332x fewer MACs than WaveGlow still produce perceptually acceptable speech quality?

Key findings

  • SqueezeWave models achieve 61x to 214x fewer MACs than WaveGlow, with the largest model (SW-128L) requiring only 3.78 GMACs per second of 22kHz audio.
  • On a Macbook Pro, SqueezeWave generates audio at 123K–303K samples per second, 5.6x to 13.8x faster than real-time (22kHz).
  • On a Raspberry Pi 3B+, SqueezeWave achieves up to 21K samples per second, with SW-128S reaching near real-time performance (15.6K samples/sec).
  • The largest SqueezeWave model (SW-128L) achieves a MOS of 4.07 ± 0.06, close to WaveGlow’s 4.57 ± 0.04, indicating high perceptual quality despite reduced complexity.
  • The smallest model, SW-64S, uses only 0.69 GMACs (332x fewer than WaveGlow) but has a lower MOS of 2.74 ± 0.04, indicating a trade-off between efficiency and quality.
  • WaveGlow fails to run on the Raspberry Pi 3B+, while all SqueezeWave variants succeed, demonstrating its viability for low-resource edge deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.