Phonetic and Visual Priors for Decipherment of Informal Romanization

Maria Ryskina, Matthew R. Gormley, Taylor Berg-Kirkpatrick

Abstract

Informal romanization—the use of Latin characters to write languages with non-Latin scripts—is a common but highly idiosyncratic practice in digital communication. This paper presents an unsupervised method for deciphering such text by incorporating human-inspired phonetic and visual "priors" into a weighted finite-state transducer (WFST) model. By leveraging these inductive biases, the proposed method achieves state-of-the-art unsupervised results, significantly outperforming neural baselines on Russian and Arabic datasets.

Introduction: The Challenge of Informal Romanization

In digital spaces, speakers of languages like Arabic, Russian, or Greek often use Latin characters for convenience or to bypass technical constraints. This practice, known as informal romanization (e.g., "Arabizi" for Arabic), lacks a standardized orthography. Instead, users rely on two primary strategies: phonetic similarity (mapping based on sound) and visual similarity (mapping based on character shape).

For instance, the Russian character 'ш' (pronounced /sh/) might be written as "sh" due to its sound, or as "w" because of its visual resemblance. This idiosyncrasy makes traditional NLP approaches difficult, especially since parallel data—the same sentence in both native and Latin scripts—is rarely available.

Phonetic vs. visual romanization of the Russian word "хорошо" (horosho).

The authors frame this as a decipherment problem, aiming to learn mappings back to the original script using only monolingual data from the source language.

Methodology: Noisy-Channel WFSTs with Informative Priors

The proposed solution uses a noisy-channel weighted finite-state transducer (WFST) cascade. The model is composed of two primary components:

  1. Transition Model: A character-level $n$-gram language model trained on native script text to identify well-formed words in the target language.
  2. Emission Model: A WFST that learns the probability of a native character being replaced by a Latin character, including handling digraphs (e.g., 'sh' for 'ш') through insertions and deletions.

The core innovation lies in the use of Informative Priors. Rather than initializing the unsupervised learning process with a uniform distribution, the model is guided by human intuition:

  • Phonetic Priors: Derived from common phonetic keyboard layouts.
  • Visual Priors: Based on the Unicode "confusables" list, identifying characters that appear similar to the human eye.
Examples of phonetic and visual mappings for Cyrillic and Arabic characters.

Training is conducted using Stepwise Expectation-Maximization (EM) paired with curriculum learning, where the complexity of the language model increases as the model converges.

Datasets

The model was evaluated on two distinct languages:

  • Egyptian Arabic: Utilizing the Arabizi portion of the LDC BOLT Phase 2 SMS/Chat dataset.
  • Russian: A new dataset of romanized Russian was curated from the social network vk.com, using 50 frequent lemmas to query the API and manually filtering for high-quality "translit" examples.

Key Results and Insights

The primary performance metric was Character Error Rate (CER). The results demonstrate that incorporating human-inspired priors is crucial for unsupervised success.

Model Setup Arabic (CER) Russian (CER)
Unsupervised (Uniform Prior) 0.735 0.660
Unsupervised (With Priors) 0.377 0.212
Unsupervised Neural (UNMT) 0.791 0.242
Supervised (Skyline) 0.225 0.140

The Power of Inductive Bias

Without priors, the unsupervised model struggles to navigate the vast search space of possible character mappings. Adding phonetic and visual "hints" prevents the model from falling into poor local optima. For Russian, the combination of priors brought unsupervised performance remarkably close to the supervised "skyline."

WFSTs vs. Neural Models

In this character-level task, structured WFSTs outperformed Unsupervised Neural Machine Translation (UNMT). While UNMT often suffers from "hallucinations" or repetitions at the character level, the WFST model remains grounded in the literal character sequence, providing a more robust framework for decipherment.

Limitations and Future Work

A notable limitation was the inability to create a visual prior for Arabic, as the script's morphology is too distinct from Latin for standard "confusable" lists. Additionally, while the model handles digraphs, complex many-to-many alignments remain a challenge. Future research could explore user-specific personalization to account for the highly individual nature of informal romanization.

Summary updated

BibTeX
@inproceedings{ryskina2020phonetic,
  author = {Maria Ryskina and Matthew R. Gormley and Taylor Berg-Kirkpatrick},
  title = {{Phonetic and Visual Priors for Decipherment of Informal Romanization}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.737},
}
Figure