CoVoSwitch: Machine Translation of Synthetic Code-Switched Text Based on Intonation Units

Yeeun Kang
7/19/2024
cs.CLcs.AIeess.AS

Official code: sophiayk20/covoswitch (5 stars, last commit 2024-08-16).

Abstract

Multilingual code-switching research is often hindered by the lack and linguistically biased status of available datasets. To expand language representation, we synthesize code-switching data by replacing intonation units detected through PSST, a speech segmentation model fine-tuned from OpenAI's Whisper, using a speech-to-text translation dataset, CoVoST 2. With our dataset, CoVoSwitch, spanning 13 languages, we evaluate the code-switching translation performance of two multilingual translation models, M2M-100 418M and NLLB-200 600M. We reveal that the inclusion of code-switching units results in higher translation performance than monolingual settings and that models are better at code-switching translation into English than non-English. Further, low-resource languages gain most from integration of code-switched units when translating into English but much less when translating into non-English. Translations into low-resource languages also perform worse than even raw code-switched inputs. We find that systems excel at copying English tokens but struggle with non-English tokens, that the off-target problem in monolingual settings is also relevant in code-switching settings, and that models hallucinate in code-switching translation by introducing words absent in both of the original source sentences. CoVoSwitch and code are available at https://github.com/sophiayk20/covoswitch.

View on arXivView PDF

Code Implementations(1)

Code for "CoVoSwitch: Machine Translation of Synthetic Code-Switched Text Based on Intonation Units" (Accepted at ACL-SRW 2024) 🇹🇭

52Shell, PythonJun 6, 20242 years ago
acl2024code-switchingmachine-translationspeech-to-text

Cite this paper

@article{kang2024covoswitch,
  title  = {CoVoSwitch: Machine Translation of Synthetic Code-Switched Text Based on Intonation Units},
  author = {Yeeun Kang},
  year   = {2024},
  eprint = {2407.14295},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.14295v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.14295.svg)](https://codeofpaper.com/paper/2407.14295)

Discussion