Skip to main content
QUICK REVIEW

[Paper Review] Unified Mandarin TTS Front-end Based on Distilled BERT Model

Yang Zhang, Liqun Deng|arXiv (Cornell University)|Dec 31, 2020
Natural Language Processing TechniquesComputer Science23 references15 citations
TL;DR

This paper proposes a unified Mandarin TTS front-end using a multi-task learning framework based on a distilled BERT model, jointly predicting prosodic structure and polyphone disambiguation. The distilled model achieves state-of-the-art performance with 25% of the size of baseline systems, enabling efficient deployment on mobile devices while improving accuracy by 0.31% on polyphone disambiguation and 1.45% on PPH F1 score.

ABSTRACT

The front-end module in a typical Mandarin text-to-speech system (TTS) is composed of a long pipeline of text processing components, which requires extensive efforts to build and is prone to large accumulative model size and cascade errors. In this paper, a pre-trained language model (PLM) based model is proposed to simultaneously tackle the two most important tasks in TTS front-end, i.e., prosodic structure prediction (PSP) and grapheme-to-phoneme (G2P) conversion. We use a pre-trained Chinese BERT[1] as the text encoder and employ multi-task learning technique to adapt it to the two TTS front-end tasks. Then, the BERT encoder is distilled into a smaller model by employing a knowledge distillation technique called TinyBERT[2], making the whole model size 25% of that of benchmark pipeline models while maintaining competitive performance on both tasks. With the proposed the methods, we are able to run the whole TTS front-end module in a light and unified manner, which is more friendly to deployment on mobile devices.

Motivation & Objective

  • To simplify the complex, multi-stage pipeline of traditional Mandarin TTS front-ends that suffer from cascade errors and high computational cost.
  • To unify prosodic structure prediction (PSP) and grapheme-to-phoneme (G2P) conversion into a single, end-to-end trainable model.
  • To reduce model size for mobile deployment without sacrificing performance, using knowledge distillation.
  • To evaluate the effectiveness of multi-task learning with BERT for joint PSP and G2P tasks in Mandarin TTS.

Proposed method

  • Utilizes a pre-trained Chinese BERT model as the text encoder to capture contextual linguistic features from raw character input.
  • Employs multi-task learning to jointly train for prosodic structure prediction (PW, PPH, IPH) and polyphone disambiguation using shared BERT representations.
  • Applies a two-stage knowledge distillation technique (TinyBERT) to compress the BERT encoder into a smaller, efficient model.
  • Uses a multi-layer perceptron (MLP) with softmax for polyphone classification and a sequence labeling head for prosodic boundary prediction.
  • Trains the model using cross-entropy loss for polyphone disambiguation and F1-based optimization for prosodic structure prediction.
  • Employs distillation loss to transfer knowledge from the teacher BERT model to the smaller student TinyBERT model.

Experimental results

Research questions

  • RQ1Can a unified deep learning model jointly perform prosodic structure prediction and polyphone disambiguation in Mandarin TTS with improved efficiency?
  • RQ2How does multi-task learning with BERT compare to single-task or pipeline-based approaches in terms of accuracy and model size?
  • RQ3To what extent can knowledge distillation reduce model size while preserving performance on TTS front-end tasks?
  • RQ4Does a distilled BERT-based model outperform traditional rule-based and statistical models (e.g., WFST, CRF) in both accuracy and deployment feasibility?

Key findings

  • The distilled TinyBERT-MTL model achieves 0.31% higher polyphone disambiguation accuracy than the baseline WFST-based G2P model.
  • The model improves PPH F1 score by 1.45% and IPH F1 score by 0.52% compared to the benchmark pipeline system.
  • The final distilled model is only 25% the size of the combined benchmark models (47 MB vs. 199 MB), significantly reducing storage and deployment costs.
  • Despite a slight performance drop compared to the full BERT-MTL, the distilled model maintains competitive results with only 21.8 ms inference time on CPU.
  • The use of MLP for polyphone prediction outperforms BLSTM in the fine-tuned BERT setting, indicating better context learning from the frozen BERT encoder.
  • Adding a CRF layer to the prediction head slightly degrades performance, suggesting that BERT's contextual modeling is more effective than CRF for label transition modeling.

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.