Script, Language, and Labels: Overcoming Three Discrepancies for Low-Resource Language Specialization

Jaeseong Lee, Dohyeon Lee, Seung-won HwangAAAI 2023

Introduction

Multilingual pretrained models (mPLMs) like mBERT and XLM-R have revolutionized natural language processing by enabling cross-lingual transfer. However, their coverage is limited to approximately 100 high-resource languages, leaving thousands of low-resource languages "unseen." Standard adaptive pretraining often fails to bridge the gap for these languages due to fundamental discrepancies in script, linguistics, and label bias. This paper, presented at AAAI-23, introduces $SL^2$, a framework designed to specialize mPLMs for unseen languages by systematically addressing these three barriers.

The Three Discrepancies

The authors identify three major bottlenecks that hinder the adaptation of mPLMs to new languages:

  1. Script Discrepancy: When an unseen language uses a different script (e.g., Arabic) than its closest relatives in the model (e.g., Latin-based Turkish), knowledge transfer is obstructed.
  2. Linguistic Discrepancy: Even with shared scripts, the semantic space of a new language often remains isolated from the model's existing knowledge.
  3. Label Discrepancy: mPLMs often develop a bias against "unseen" tokens, treating them as rare noise during initial training. This bias persists even after further training on the new language.

The $SL^2$ Framework

To overcome these challenges, the $SL^2$ framework employs a three-pronged approach:

  • Cross-Script Alignment: Instead of simple text replacement (transliteration), which can be lossy by mapping different sounds to the same romanized word, $SL^2$ uses a loss function to maximize similarity between the original script's representation and its transliterated counterpart in the feature space.
  • Cross-Lingual Alignment: By utilizing small sets of parallel sentences, the model aligns the unseen language with a related "seen" language before the main specialization phase. This sets a better foundation for learning the new language's nuances.
  • Head Reinitialization: To eliminate label bias, the model's output head is reset. This forces the model to "unlearn" its tendency to ignore new tokens and adapt more effectively to the new vocabulary.
The $SL^2$ framework aligning representations across scripts and languages.

Experimental Setup

The framework was evaluated on four diverse "unseen" languages: Maltese (Afro-Asiatic, Latin script), Uyghur (Turkic, Arabic script), Erzya (Uralic, Cyrillic script), and Central Kurdish (Indo-European, Arabic script). Specialization data was sourced from Wikipedia, and performance was measured across three downstream tasks: Named Entity Recognition (NER), Part-of-Speech (POS) tagging, and Dependency Parsing (DEP).

Results and Analysis

$SL^2$ consistently outperformed standard baselines, including Transliteration (TL) and Vocabulary Augmentation (VA).

  • Performance Gains: In Central Kurdish NER, $SL^2$ achieved an F1 score of 89.49%, significantly higher than mBERT's 77.92%. In Uyghur Dependency Parsing, the model reached 70.54% (LAS), a substantial improvement over the 47.70% baseline.
  • Representation Alignment: PCA visualizations demonstrate that $SL^2$ successfully shifts the representation of unseen languages to overlap with related seen languages. For example, it effectively "teaches" the model the relationship between Uyghur and Turkish by aligning their semantic spaces during specialization.
PCA visualization showing the alignment of representations after $SL^2$ specialization.

Conclusion

The $SL^2$ framework provides a robust solution for specializing multilingual models for low-resource languages. By addressing script, language, and label discrepancies, it enables more effective knowledge transfer than traditional adaptation methods. Future work will explore refining cross-script alignment for more distant language pairs and scaling these techniques to larger language models.

Summary updated

BibTeX
@inproceedings{lee2023script,
  author = {Jaeseong Lee and Dohyeon Lee and Seung-won Hwang},
  title = {{Script, Language, and Labels: Overcoming Three Discrepancies for Low-Resource Language Specialization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i11.26528},
}
Figure