Skip to main content
QUICK REVIEW

[Paper Review] Grapheme-to-Phoneme Transformer Model for Transfer Learning Dialects

Eric Engelhart, Mahsa Elyasi|arXiv (Cornell University)|Apr 8, 2021
Natural Language Processing TechniquesComputer Science9 references5 citations
TL;DR

This paper proposes a transfer learning approach using a Transformer-based grapheme-to-phoneme (G2P) model to improve pronunciation accuracy for low-resource English dialects, such as Indian and British English. By fine-tuning a model pre-trained on a large American English dictionary (CMUDict), the method reduces phoneme error rate (PER) from 26.877% (from-scratch) to 2.469% on British English and achieves 0.875% PER with a 10K-word Indian English dictionary, demonstrating strong generalization on limited-dataset dialects.

ABSTRACT

Grapheme-to-Phoneme (G2P) models convert words to their phonetic pronunciations. Classic G2P methods include rule-based systems and pronunciation dictionaries, while modern G2P systems incorporate learning, such as, LSTM and Transformer-based attention models. Usually, dictionary-based methods require significant manual effort to build, and have limited adaptivity on unseen words. And transformer-based models require significant training data, and do not generalize well, especially for dialects with limited data. We propose a novel use of transformer-based attention model that can adapt to unseen dialects of English language, while using a small dictionary. We show that our method has potential applications for accent transfer for text-to-speech, and for building robust G2P models for dialects with limited pronunciation dictionary size. We experiment with two English dialects: Indian and British. A model trained from scratch using 1000 words from British English dictionary, with 14211 words held out, leads to phoneme error rate (PER) of 26.877%, on a test set generated using the full dictionary. The same model pretrained on CMUDict American English dictionary, and fine-tuned on the same dataset leads to PER of 2.469% on the test set.

Motivation & Objective

  • To address the challenge of low-resource G2P for English dialects with limited pronunciation dictionaries and insufficient training data.
  • To improve generalization of neural G2P models on unseen words, misspellings, and long or invented words common in dialectal speech.
  • To investigate whether transfer learning from a large, high-resource dialect (American English) can significantly enhance performance on smaller, low-resource dialects (British and Indian English).
  • To evaluate the impact of varying dictionary sizes on model performance and training efficiency for dialect-specific G2P systems.

Proposed method

  • Fine-tune a pre-trained Transformer model on a small target dialect dictionary (e.g., 1,000 words of British English) after pre-training on CMUDict (American English).
  • Use a standard Transformer architecture with 3 encoder and 3 decoder layers, 256 hidden width, 8 attention heads, and 512 feed-forward width, trained with Adam optimizer and label smoothing.
  • Generate training data by pairing grapheme sequences with phonetic transcriptions from the target dialect’s dictionary, using sentence-level context to improve generalization.
  • Apply transfer learning by initializing the model with a pre-trained checkpoint from CMUDict and fine-tuning on the target dialect’s data, preserving attention and feed-forward layers.
  • Evaluate performance using phoneme error rate (PER) on held-out test sets derived from full dictionaries, comparing from-scratch and fine-tuned models.
  • Test robustness on edge cases such as invented words (e.g., Jabberwocky), misspellings, and long words to assess generalization beyond the training vocabulary.

Experimental results

Research questions

  • RQ1Can transfer learning from a large, high-resource dialect (American English) significantly improve G2P performance on low-resource dialects like British and Indian English?
  • RQ2How does the size of the target dialect’s pronunciation dictionary affect the performance of from-scratch versus fine-tuned G2P models?
  • RQ3To what extent can a fine-tuned Transformer G2P model generalize to out-of-vocabulary words, misspellings, and invented lexicons such as those in Jabberwocky?
  • RQ4Does fine-tuning on a small target-dialect dataset lead to better computational efficiency and lower PER compared to training from scratch?

Key findings

  • Fine-tuning a model pre-trained on CMUDict reduced the phoneme error rate (PER) on British English from 26.877% (from-scratch) to 2.469% on a 1,000-word test set.
  • With a 10,000-word Indian English dictionary, the fine-tuned model achieved 0.875% PER, outperforming the from-scratch model (10.017% PER) despite fewer training steps.
  • The fine-tuned model on Indian English achieved 2.039% PER with a 10K-word dictionary, slightly better than the from-scratch model’s 2.166% PER, demonstrating improved efficiency.
  • The model showed strong generalization on edge cases: it correctly produced plausible pronunciations for invented words in Jabberwocky, unlike from-scratch models that failed to reproduce repeated sounds like 'jubjub'.
  • The British English fine-tuned model produced a more coherent phonetic output for 'bandersnatch' (b”ænd@zn”æts) than the from-scratch model (@r”eIs@nstss), though both deviated from the ground truth.
  • Performance gains from transfer learning were most significant on smaller dictionaries, with the benefit diminishing as dictionary size increased, suggesting transfer is most valuable in low-data regimes.

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.