Abstract
The 2021 Shared Task on Machine Translation for Code-Switched Data (CALCS 2021) represents the first community-wide effort to benchmark translation systems on sentences that mix multiple languages, such as Hinglish (Hindi-English) and Spanglish (Spanish-English). This paper summarizes the task's findings, highlighting the significant performance gap between standard multilingual models and the irregular, "noisy" nature of social media code-switching. Results indicate that while specialized fine-tuning and data augmentation provide gains, simple "Echo" baselines often remain competitive in unsupervised settings due to high token overlap in social media data, suggesting that current metrics may overstate actual translation quality.
Introduction
While Machine Translation (MT) has made massive strides in translating formal monolingual text, it remains remarkably poor at handling how people actually communicate on social media. Linguistic code-switching (CS)—the practice of mixing languages within a single conversation or sentence—is the norm for millions of multilingual speakers.
Until now, CS research has focused on "low-level" tasks like language identification. This shared task addresses the much harder "high-level" task of MT. The authors identify three primary hurdles:
- Irregular Grammar: CS often follows unique syntactic rules that don't exist in either parent language.
- Non-standard Spelling: Social media is characterized by typos and phonetic spellings.
- Ambiguity: Words may have different meanings or syntactic roles depending on the language context.
The CALCS 2021 Shared Task
The competition evaluated MT systems across two modalities:
- Supervised: Parallel English and Hindi-English (Hinglish) sentences were provided for training.
- Unsupervised: For Spanish-English (Spanglish) and Arabic (MSAEA), no parallel data was provided, forcing reliance on raw, non-parallel text.
Baselines and Participant Strategies
Two primary baselines were used: mBART (baseline1), a standard pre-trained sequence-to-sequence model, and Echo, a naive baseline that simply outputs the input string. The Echo baseline is critical for measuring how much token overlap (emojis, URLs, usernames) inflates performance scores.
Top-performing teams utilized models like mT5 and mBART, enhanced with specialized techniques:
- Transliteration: Converting Romanized Hindi into Devanagari script to leverage pre-trained Hindi models.
- Synthetic Data Generation: Creating "fake" code-switched data to augment small training sets.
- Curriculum Learning: Training on synthetic data before fine-tuning on gold-standard data.
Key Results and the "Echo" Paradox
The performance of participating systems varied significantly across language pairs. In the supervised Eng → Hinglish task, the top system (UBC_HImt) achieved a BLEU score of 12.67, outperforming the mBART baseline.
A striking finding was the "Echo" Paradox: in unsupervised settings, the simple Echo baseline often outperformed sophisticated models. This occurs because social media text contains numerous "universal" tokens (emojis, @mentions). A model attempting to "translate" might hallucinate, performing worse than a simple copy-paste. Furthermore, when data was "normalized" (removing usernames and emojis), BLEU scores plummeted, suggesting that current metrics are heavily buoyed by non-linguistic noise.
Error Analysis
Qualitative reviews showed that even the best models frequently suffer from grammar errors (incorrect word order) and semantic errors (only translating half the sentence or failing to resolve pronouns correctly).
Conclusion and Future Work
The CALCS 2021 Shared Task underscores that MT for code-switching is still in its infancy. Large multilingual models like mBART, trained on clean Wikipedia-style text, lack the "switch-point" intuition needed for messy social media data. Future work must focus on developing high-quality parallel datasets and metrics that specifically reward correct translation at language transition points, rather than relying on surface-level token overlap.
Summary updated