English

From English to Code-Switching: Transfer Learning with Strong Morphological Clues

Computation and Language 2020-05-05 v3

Abstract

Linguistic Code-switching (CS) is still an understudied phenomenon in natural language processing. The NLP community has mostly focused on monolingual and multi-lingual scenarios, but little attention has been given to CS in particular. This is partly because of the lack of resources and annotated data, despite its increasing occurrence in social media platforms. In this paper, we aim at adapting monolingual models to code-switched text in various tasks. Specifically, we transfer English knowledge from a pre-trained ELMo model to different code-switched language pairs (i.e., Nepali-English, Spanish-English, and Hindi-English) using the task of language identification. Our method, CS-ELMo, is an extension of ELMo with a simple yet effective position-aware attention mechanism inside its character convolutions. We show the effectiveness of this transfer learning step by outperforming multilingual BERT and homologous CS-unaware ELMo models and establishing a new state of the art in CS tasks, such as NER and POS tagging. Our technique can be expanded to more English-paired code-switched languages, providing more resources to the CS community.

Keywords

Cite

@article{arxiv.1909.05158,
  title  = {From English to Code-Switching: Transfer Learning with Strong Morphological Clues},
  author = {Gustavo Aguilar and Thamar Solorio},
  journal= {arXiv preprint arXiv:1909.05158},
  year   = {2020}
}

Comments

Accepted to ACL 2020

R2 v1 2026-06-23T11:12:30.132Z