EMNLP 2022main10 citations

Toward the Limitation of Code-Switching in Cross-Lingual Transfer

Yukun Feng, Feng Li, Philipp Koehn

Abstract

Multilingual pretrained models have shown strong cross-lingual transfer ability. Some works used code-switching sentences, which consist of tokens from multiple languages, to enhance the cross-lingual representation further, and have shown success in many zero-shot cross-lingual tasks. However, code-switched tokens are likely to cause grammatical incoherence in newly substituted sentences, and negatively affect the performance on token-sensitive tasks, such as Part-of-Speech (POS) tagging and Named-Entity-Recognition (NER). This paper mitigates the limitation of the code-switching method by not only making the token replacement but considering the similarity between the context and the switched tokens so that the newly substituted sentences are grammatically consistent during both training and inference. We conduct experiments on cross-lingual POS and NER over 30+ languages, and demonstrate the effectiveness of our method by outperforming the mBERT by 0.95 and original code-switching method by 1.67 on F1 scores.

BibTeX
@inproceedings{feng-etal-2022-toward,
    title = "Toward the Limitation of Code-Switching in Cross-Lingual Transfer",
    author = "Feng, Yukun  and
      Li, Feng  and
      Koehn, Philipp",
    editor = "Goldberg, Yoav  and
      Kozareva, Zornitsa  and
      Zhang, Yue",
    booktitle = "Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing",
    month = dec,
    year = "2022",
    address = "Abu Dhabi, United Arab Emirates",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.emnlp-main.400/",
    doi = "10.18653/v1/2022.emnlp-main.400",
    pages = "5966--5971"
}
Toward the Limitation of Code-Switching in Cross-Lingual Transfer · EMNLP 2022