COLING 2024main9 citations

Evaluating Code-Switching Translation with Large Language Models

Muhammad Huzaifah, Weihua Zheng, Nattapol Chanpaisit, Kui Wu

Abstract

Recent advances in large language models (LLMs) have shown they can match or surpass finetuned models on many natural language processing tasks. Currently, more studies are being carried out to assess whether this performance carries over across different languages. In this paper, we present a thorough evaluation of LLMs for the less well-researched code-switching translation setting, where inputs include a mixture of different languages. We benchmark the performance of six state-of-the-art LLMs across seven datasets, with GPT-4 and GPT-3.5 displaying strong ability relative to supervised translation models and commercial engines. GPT-4 was also found to be particularly robust against different code-switching conditions. Several methods to further improve code-switching translation are proposed including leveraging in-context learning and pivot translation. Through our code-switching experiments, we argue that LLMs show promising ability for cross-lingual understanding.

BibTeX
@inproceedings{huzaifah-etal-2024-evaluating,
    title = "Evaluating Code-Switching Translation with Large Language Models",
    author = "Huzaifah, Muhammad  and
      Zheng, Weihua  and
      Chanpaisit, Nattapol  and
      Wu, Kui",
    editor = "Calzolari, Nicoletta  and
      Kan, Min-Yen  and
      Hoste, Veronique  and
      Lenci, Alessandro  and
      Sakti, Sakriani  and
      Xue, Nianwen",
    booktitle = "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)",
    month = may,
    year = "2024",
    address = "Torino, Italia",
    publisher = "ELRA and ICCL",
    url = "https://aclanthology.org/2024.lrec-main.565/",
    pages = "6381--6394"
}
Evaluating Code-Switching Translation with Large Language Models · COLING 2024