Enhancing Multilingual Language Models for Code-Switched Input Data

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Xie, Katherine, Babbar, Nitya, Chen, Vicky, Turura, Yoanna
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913729905426432
author Xie, Katherine
Babbar, Nitya
Chen, Vicky
Turura, Yoanna
author_facet Xie, Katherine
Babbar, Nitya
Chen, Vicky
Turura, Yoanna
contents Code-switching, or alternating between languages within a single conversation, presents challenges for multilingual language models on NLP tasks. This research investigates if pre-training Multilingual BERT (mBERT) on code-switched datasets improves the model's performance on critical NLP tasks such as part of speech tagging, sentiment analysis, named entity recognition, and language identification. We use a dataset of Spanglish tweets for pre-training and evaluate the pre-trained model against a baseline model. Our findings show that our pre-trained mBERT model outperforms or matches the baseline model in the given tasks, with the most significant improvements seen for parts of speech tagging. Additionally, our latent analysis uncovers more homogenous English and Spanish embeddings for language identification tasks, providing insights for future modeling work. This research highlights potential for adapting multilingual LMs for code-switched input data in order for advanced utility in globalized and multilingual contexts. Future work includes extending experiments to other language pairs, incorporating multiform data, and exploring methods for better understanding context-dependent code-switches.
format Preprint
id arxiv_https___arxiv_org_abs_2503_07990
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Enhancing Multilingual Language Models for Code-Switched Input Data
Xie, Katherine
Babbar, Nitya
Chen, Vicky
Turura, Yoanna
Computation and Language
Code-switching, or alternating between languages within a single conversation, presents challenges for multilingual language models on NLP tasks. This research investigates if pre-training Multilingual BERT (mBERT) on code-switched datasets improves the model's performance on critical NLP tasks such as part of speech tagging, sentiment analysis, named entity recognition, and language identification. We use a dataset of Spanglish tweets for pre-training and evaluate the pre-trained model against a baseline model. Our findings show that our pre-trained mBERT model outperforms or matches the baseline model in the given tasks, with the most significant improvements seen for parts of speech tagging. Additionally, our latent analysis uncovers more homogenous English and Spanish embeddings for language identification tasks, providing insights for future modeling work. This research highlights potential for adapting multilingual LMs for code-switched input data in order for advanced utility in globalized and multilingual contexts. Future work includes extending experiments to other language pairs, incorporating multiform data, and exploring methods for better understanding context-dependent code-switches.
title Enhancing Multilingual Language Models for Code-Switched Input Data
topic Computation and Language
url https://arxiv.org/abs/2503.07990