1 of 17

2023.06.09

제네시스랩 AI연구팀

신재영

ICASSP 2022

2 of 17

What Is Grapheme-to-Phoneme?

Background

    • predicting the pronunciation of words from their spellings

    • Considering that a pronunciation dictionary can never cover all possible words in a language, G2P conversion is essential for any applications that depend on the mapping relationship between the spoken and written forms of a language

3 of 17

Limitations of Previous Studies

Introduction

  • Nevertheless, building neural G2P models usually relies on a large, language-specific pronunciation dictionary, which may not be available for a lot of languages

  • Previous approaches to address this issue are mainly focused on utilizing the data resources of other languages of other modals to improve the performance of limited-resource G2P conversion

4 of 17

Motivation

Introduction

  • This paper proposes a pre-trained grapheme model named grapheme BERT (GBERT) to improve the Transformer-based G2P model.

  • Inspired by the success of the pre-trained BERT, which provides contextual word representations, this paper proposes a pretrained grapheme model called grapheme BERT (GBERT)

  • The training of GBERT requires only easily accessible word lists.

5 of 17

GBERT

Introduction

  • GBERT is designed to capture the contextual relationship among the graphemes in a word, which is essential for the G2P task since the same grapheme may have different pronunciations due to different contexts.

  • The pre-training task of GBERT is a masked grapheme prediction task, i.e, predicting the masked graphemes from the seen graphemes in a word.

  • Furthermore, two approaches are developed to improve the Transformer-based G2P model with GBERT. They are fine-tuning GBERT and fusing GBERT into the Transformer model by attention.

6 of 17

Introduction

GBERT vs BERT

  • Following BERT, the model architecture of GBERT is a multilayer bidirectional Transformer encoder where each input token can see all input tokens.

  • GBERT differs from BERT in that the input to GBERT is the grapheme sequence in a single word while the input to BERT is the wordpiece sequence in a single sentence or two sentences.

7 of 17

Method

Pre-training GBERT for G2P Conversion

  • GBERT is pre-trained using a masked grapheme prediction task
  • mask token(80%), random grapheme(10%), original grapheme(10%)

8 of 17

Method

Fine-tuning GBERT for G2P Conversion

  • Fine-tuning a pre-trained language model is a typical way to apply pre-trained representations to downstream tasks.

  • Since GBERT is a pre-trained Transformer encoder while the vanilla Transformer includes an encoder and a decoder, fine-tuning GBERT means that we replace the encoder in the vanilla Transformer with GBERT and train the new model in an end-to-end manner.

9 of 17

Method

BERT-fused model

Jinhua Zhu, et al. “Incorporating BERT into Neural Machine Translation”, ICLR 2020

  • In addition to fine-tuning, another approach to integrate pre-trained language models is utilizing them as feature extractors

  • One example is the BERT-fused model, which controls how each encoder and decoder layer of the vanilla Transformer model interacts with the output features of BERT

    • In each encoder layer, an additional GBERT Enc attention module is added to the original Transformer encoder layer
    • In each decoder layer, there is a similar GBERT-Dec attention module for a similar purpose.

10 of 17

Method

BERT-fused model

Jinhua Zhu, et al. “Incorporating BERT into Neural Machine Translation”, ICLR 2020

11 of 17

Method

Fusing GBERT into Transformer-based G2P Model

12 of 17

Datasets

Experiments

  • The four most difficult languages (with the highest word error rates) among �all ten languages in the medium-resource (8000 pronunciation records for training) subtask of the SIGMORPHON 2021 task was chosen

  • Korean letters were decomposed into single-sound letters with hangul-jamo , �e.g., 가감 → ㄱ ㅏ ㄱ ㅏ ㅁ

13 of 17

WER and PER results

Results

Low-resource : randomly sampled 1000 records from the original training set

14 of 17

WER and PER results

Results

  • Fine-tuning a pre-trained language model is a typical way to apply pre-trained representations to downstream tasks.

  • These results show that the GBERT-fused model may be more sensitive to the amount of training data than the method of fine-tuning GBERT because the former has a more complex model structure

  • The reason that our proposed method did not achieve satisfactory performance for Korean on the low-resource G2P task may be that the contextual relationship among graphemes in Korean was weaker than that in the other three languages.

15 of 17

Conclusion

Results

  • The training of GBERT requires only easily accessible word lists.

  • Experiments on the Dutch, Serbo-Croatian, Bulgarian and Korean datasets of the SIGMORPHON 2021 G2P task show that the method of fusing GBERT can reduce the WER and PER of all languages on the medium-resource G2P task

  • The method of fine-tuning GBERT can improve the G2P performance of most languages on the low resource G2P task. (except Korean)

16 of 17

THANK YOU FOR LISTENING

17 of 17

Limitations of Previous Studies

Introduction

The hierarchical prosody annotation adopted in this work categorizes the prosodic boundaries of Mandarin speech into five levels, which from low to high are Character (CC), Lexicon Word (LW), Prosodic Word (PW), Prosodic Phrase (PPH) and Intonational Phrase (IPH). Prosodic Word (PW), Prosodic Phrase (PPH) and Intonational Phrase (IPH) correspond to three different lengths of pause in speech from short to long. Lexicon Word (LW) indicates syntactic boundary between words, and Chinese Character (CC) is the smallest unit of Chinese.

  • Nevertheless, building neural G2P models usually relies on a large, language-specific pronunciation dictionary, which may not be available for a lot of languages
    • multilingual neural networks
      • Models of high-resource languages showed better ability
    • utilizing multimodal data
      • Additional audio supervision help model to learn a more optimal�intermediate representation of graphemes