From English to Code-Switching: Transfer Learning with Strong Morphological Clues
Gustavo Aguilar, Thamar Solorio
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 71057ac0-7109-4b38-9e1f-eec7d5b125d9Cited by top-tier papers2
- Speaker Information Can Guide Models to Better Inductive Biases: A Case Study On Predicting Code-SwitchingAlissa Ostapenko, Shuly Wintner, Melinda Fricke, Yulia TsvetkovACL 2022 · 6 citations
- PRO-CS : An Instance-Based Prompt Composition Technique for Code-Switched TasksSrijan Bansal, Suraj Tripathi, Sumit Agarwal, Teruko Mitamura et al.EMNLP 2022 · 1 citation
Related papers
- GLUECoS: An Evaluation Benchmark for Code-Switched NLPSimran Khanuja, Sandipan Dandapat, Anirudh Srinivasan, Sunayana Sitaram et al.ACL 2020 · 12 citations
- Improving Pretraining Techniques for Code-Switched NLPRicheek Das, Sahasra Ranjan, Shreya Pathak, Preethi JyothiACL 2023 · 3 citations
- From Machine Translation to Code-Switching: Generating High-Quality Code-Switched TextIshan Tarunesh, Syamantak Kumar, Preethi JyothiACL 2021
- Multilingual Large Language Models Are Not (Yet) Code-SwitchersRuochen Zhang, Samuel Cahyawijaya, Jan Christian Blaise Cruz, Genta Indra Winata et al.EMNLP 2023 · 19 citations
- Code-switching Mediated Sentence-level Semantic LearningShuai Zhang, Jiangyan Yi, Zhengqi Wen, Jianhua Tao et al.AAAI 2025
