Learning to Pronounce as Measuring Cross-Lingual Joint Orthography-Phonology Complexity

Domenic Rosati

Introduction

Linguists have long debated whether certain languages are inherently more complex than others. This research approaches the question through the lens of machine learning, specifically focusing on grapheme-to-phoneme (g2p) complexity. By measuring how difficult it is for a computational model to predict a word's sound (phonology) from its written form (orthography), we can derive an empirical measure of linguistic "learnability."

The core challenge in cross-lingual NLP is identifying why certain systems—particularly logographic ones like Mandarin—consistently underperform compared to phonetic alphabets. This study investigates whether this performance gap is a result of inherent linguistic structure or a byproduct of data sparsity in standard training regimes.

Methodology

The study treats pronunciation as a sequence-to-sequence translation task, mapping native characters to the International Phonetic Alphabet (IPA).

Model Architecture

To simulate "medium-resource" constraints, the research utilizes a shallow Transformer model. The architecture is intentionally limited to 2 layers and 2 attention heads, with an embedding dimension of 32. This ensures that the model's performance reflects the complexity of the mapping task rather than the raw power of a massive neural network.

Data and Training

The models were trained on the ipa-dict dataset, covering 22 languages. To ensure a controlled comparison, exactly 10,000 records were sampled per language (8,000 for training, 1,000 for evaluation, and 1,000 for testing). The diversity of the set included 16 Latin-based scripts, 4 logographic systems (Mandarin, Cantonese, Japanese), 1 abugida (Odia), and 1 abjad (Arabic).

The Transparency Advantage

A primary driver of learnability is the "transparency" of the mapping between letters and sounds. Languages with a near 1:1 relationship—where one character consistently maps to one sound—are significantly easier for models to master.

Figure 1: Accuracy of transliteration models compared to the ratio of IPA sounds to alphabet length. Languages closer to the 1.0 ratio (vertical blue line) generally exhibit higher accuracy.

As shown in Figure 1, languages like Esperanto, Malay, and Spanish cluster near the top of the accuracy scale. Conversely, languages like English and German exhibit lower accuracy despite using Latin scripts. This is attributed to their lower ratio of source letters to phonemes; in these languages, single letters often map to multiple sounds depending on context, creating an "opaque" mapping that the shallow model struggles to resolve.

The Logographic Sparsity Trap

The most striking finding involves the performance of logographic systems. While humans may find these systems difficult due to the sheer number of characters to memorize, a machine learning model faces a different hurdle: extreme data sparsity.

Figure 5: Comparison of orthography types and the number of samples per unique character. Logographic systems show a drastic deficit in samples per character compared to Latin-based scripts.

In a fixed 10,000-sample dataset, a model sees a Mandarin (Traditional) character only 0.34 times on average. In contrast, it sees a Swahili character 333 times. As detailed in Figure 5, this disparity suggests that the perceived "complexity" of logographic languages in AI is often an artifact of training methodology. When every language is given the same number of words, logographic models are starved of the character-level repetitions necessary for learning.

Key Results and Discussion

The study revealed a wide variance in character-level accuracy across the 22 languages:

  • Top Performers: Esperanto (97.08%), Malay (96.87%), and Swahili (96.63%) proved the most learnable.
  • Bottom Performers: Traditional Mandarin (71.98%), Japanese (73.66%), and Simplified Mandarin (73.88%) had the lowest accuracies.
  • The English Outlier: Among Latin scripts, English (US) was notably difficult, achieving only 80.30% accuracy—significantly lower than Vietnamese (96.32%) or Odia (95.00%).

Conclusion

The research concludes that it is fundamentally "unfair" to compare languages using the same absolute number of training samples. The perceived difficulty of a language like Mandarin is less about its linguistic "hardness" and more about the relationship between its vocabulary size and the provided data. Future benchmarks for cross-lingual complexity should utilize training sets proportional to a language's unique character count to ensure a more robust and equitable evaluation of linguistic learnability.

Summary updated

Abstract

Machine learning models allow us to compare languages by showing how hard a task in each language might be to learn and perform well on. Following this line of investigation, we explore what makes a language “hard to pronounce” by modelling the task of grapheme-to-phoneme (g2p) transliteration. By training a character-level transformer model on this task across 22 languages and measuring the model’s proficiency against its grapheme and phoneme inventories, we show that certain characteristics emerge that separate easier and harder languages with respect to learning to pronounce. Namely the complexity of a language's pronunciation from its orthography is due to the expressive or simplicity of its grapheme-tophoneme mapping. Further discussion illustrates how future studies should consider relative data sparsity per language to design fairer cross-lingual comparison tasks.
BibTeX
@misc{rosati2022learning,
  author = {Domenic Rosati},
  title = {{Learning to Pronounce as Measuring Cross-Lingual Joint Orthography-Phonology Complexity}},
  year = {2022},
  eprint = {2202.00794},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.00794},
}
Figure