[Paper Review] CALCS 2021 Shared Task: Machine Translation for Code-Switched Data
This paper introduces a shared task for machine translation (MT) in code-switched social media data, focusing on English-to-Hinglish, English-to-Spanglish, and English-to-MSAE-Arabic pairs in both directions. It presents curated datasets, baselines using mBART and mT5, and reports state-of-the-art results of 12.67 BLEU for English-to-Hinglish and 25.72 BLEU for MSAEA-to-English, highlighting challenges in grammar, syntax, and semantics in code-switched MT.
To date, efforts in the code-switching literature have focused for the most part on language identification, POS, NER, and syntactic parsing. In this paper, we address machine translation for code-switched social media data. We create a community shared task. We provide two modalities for participation: supervised and unsupervised. For the supervised setting, participants are challenged to translate English into Hindi-English (Eng-Hinglish) in a single direction. For the unsupervised setting, we provide the following language pairs: English and Spanish-English (Eng-Spanglish), and English and Modern Standard Arabic-Egyptian Arabic (Eng-MSAEA) in both directions. We share insights and challenges in curating the "into" code-switching language evaluation data. Further, we provide baselines for all language pairs in the shared task. The leaderboard for the shared task comprises 12 individual system submissions corresponding to 5 different teams. The best performance achieved is 12.67% BLEU score for English to Hinglish and 25.72% BLEU score for MSAEA to English.
Motivation & Objective
- To address the lack of standardized machine translation resources for code-switched social media text, particularly in multilingual, informal settings.
- To create a community-shared task that enables evaluation and advancement of MT systems for code-switched language pairs.
- To curate high-quality, diverse evaluation data for code-switched MT, focusing on linguistic challenges like irregular grammar and syntactic ambiguity.
- To provide strong baselines using multilingual models like mBART and mT5 to establish performance benchmarks.
- To investigate the impact of data overlap and normalization on evaluation metrics, especially BLEU scores.
Proposed method
- The task includes supervised and unsupervised settings, with participants translating monolingual English into code-switched languages like Hinglish, Spanglish, and MSAEA.
- Datasets were constructed by extending existing CALCS datasets, focusing on social media text with intra-sentential code-switching.
- Baseline systems were developed using mBART and mT5, fine-tuned on the curated code-switched parallel data.
- Evaluation used BLEU scores, with a normalization step to remove overlapping tokens (e.g., usernames, URLs, emojis) to reduce data leakage.
- Error analysis was conducted via manual inspection of predictions to identify grammar and semantic errors in model outputs.
- Leaderboard results were collected from 12 individual system submissions across 5 teams, with performance measured across multiple language pairs.
Experimental results
Research questions
- RQ1What are the key linguistic and structural challenges in translating monolingual social media text into code-switched languages?
- RQ2How do irregular grammar, non-standard syntax, and ambiguous lexical items affect MT performance in code-switched settings?
- RQ3To what extent does data overlap between training and test sets inflate BLEU scores in code-switched MT evaluation?
- RQ4How do multilingual pre-trained models like mBART and mT5 perform on code-switched MT compared to custom architectures?
- RQ5What are the dominant error types—grammar or semantic—in state-of-the-art code-switched MT systems?
Key findings
- The best-performing system achieved 12.67 BLEU score on the English-to-Hinglish translation task, outperforming the baseline system.
- For the MSAEA-to-English direction, the best system achieved 25.72 BLEU, indicating stronger performance on Arabic code-switching pairs.
- The Echo system, which used inputs as outputs, scored 6.84 BLEU before normalization, dropping to 0.71 BLEU after removing overlapping tokens, highlighting data leakage issues.
- Normalization reduced BLEU scores significantly across systems, with drops ranging from 0.43 to 6.13 points, indicating that data overlap heavily inflates performance metrics.
- Manual error analysis revealed that grammar errors (e.g., incorrect word order, pronoun misuse) and semantic errors (e.g., partial or irrelevant translations) were the two main failure modes.
- Despite performance gaps, transformer-based models like mBART were widely adopted and formed the core of most top-performing systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.