mlsanityData to 7 Oct 2026

From Machine Translation to Code-Switching: Generating High-Quality Code-Switched Text

arXiv 2107.06483 ↗First posted 14 Jul 2021cs.CLcited by 29

Not on the map. Why?

Abstract (arXiv)

Generating code-switched text is a problem of growing interest, especially given the scarcity of corpora containing large volumes of real code-switched text. In this work, we adapt a state-of-the-art neural machine translation model to generate Hindi-English code-switched sentences starting from monolingual Hindi sentences. We outline a carefully designed curriculum of pretraining steps, including the use of synthetic code-switched text, that enable the model to generate high-quality code-switched text. Using text generated from our model as data augmentation, we show significant reductions in perplexity on a language modeling task, compared to using text from other generative models of CS text. We also show improvements using our text for a downstream code-switched natural language inference task. Our generated text is further subjected to a rigorous evaluation using a human evaluation study and a range of objective metrics, where we show performance comparable (and sometimes even superior) to code-switched text obtained via crowd workers who are native Hindi speakers.

Key facts. Cited by 29 papers in the map (data through 7 Oct 2026). Builds on 26 of its 63 references that are in the map. First posted on arXiv 14 Jul 2021.

Builds on

26 of 63 references.

References · 26

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  4. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  5. 2020Multilingual Denoising Pre-training for Neural Machine Translationcited by 1,028
  6. 2015Pointer Networkscited by 882
  7. 2015Improving Neural Machine Translation Models with Monolingual Datacited by 784
  8. 2019How multilingual is Multilingual BERT?cited by 642
  9. 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 484
  10. 2017Word Translation Without Parallel Datacited by 480
  11. 2016SeqGAN: Sequence Generative Adversarial Nets with Policy Gradientcited by 375
  12. 2020Improving Massively Multilingual Neural Machine Translation and Zero-Shot Translationcited by 277
14 more
  1. 2017Unsupervised Machine Translation Using Monolingual Corpora Onlycited by 272
  2. 2017Regularizing and Optimizing LSTM Language Modelscited by 205
  3. 2020SimAlign: High Quality Word Alignments without Parallel Training Data using Static and Contextualized Embeddingscited by 155
  4. 2018Phrase-Based & Neural Unsupervised Machine Translationcited by 138
  5. 2020GLUECoS : An Evaluation Benchmark for Code-Switched NLPcited by 101
  6. 2017The IIT Bombay English-Hindi Parallel Corpuscited by 74
  7. 2019Code-Switched Language Models Using Neural Based Synthetic Data from Parallel Sentencescited by 55
  8. 2018Code-switching Sentence Generation by Generative Adversarial Networks and its Application to Data Augmentationcited by 26
  9. 2018Code-switched Language Models Using Dual RNNs and Same-Source Pretrainingcited by 16
  10. 2019A Deep Generative Model for Code-Switched Textcited by 13
  11. 2016Grammatical Constraints on Intra-sentential Code-Switching: From Theories to Working Modelscited by 10
  12. 2018Learn to Code-Switch: Data Augmentation using Copy Mechanism on Language Modelingcited by 9
  13. 2017Syntactic and Semantic Features For Code-Switching Factored Language Modelscited by 8
  14. 2017Dual Language Models for Code Switched Speech Recognitioncited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 1; 2022: 7; 2023: 9; 2024: 5; 2025: 5; 2026: 2.

29 papers.

Sort:

By area:

  1. 2023LLM-powered Data Augmentation for Enhanced Cross-lingual Performancecited by 51
  2. 2023Prompting Multilingual Large Language Models to Generate Code-Mixed Texts: The Case of South East Asian Languagescited by 50
  3. 2022The Decades Progress on Code-Switching Research in NLP: A Systematic Survey on Trends and Challengescited by 35
  4. 2023Representativeness as a Forgotten Lesson for Multilingual and Code-switched Data Collection and Preparationcited by 16
  5. 2022ArzEn-ST: A Three-way Speech Translation Corpus for Code-Switched Egyptian Arabic - Englishcited by 13
  6. 2022CALCS 2021 Shared Task: Machine Translation for Code-Switched Datacited by 9
  7. 2022Investigating Lexical Replacements for Arabic-English Code-Switched Data Augmentationcited by 9
  8. 2023CroCoSum: A Benchmark Dataset for Cross-Lingual Code-Switched Summarizationcited by 8
  9. 2023Unified model for code-switching speech recognition and language identification based on a concatenated tokenizercited by 8
  10. 2022Exploring Segmentation Approaches for Neural Machine Translation of Code-Switched Egyptian Arabic-English Textcited by 7
  11. 2023Code-Switched Text Synthesis in Unseen Language Pairscited by 7
  12. 2024SC-MoE: Switch Conformer Mixture of Experts for Unified Streaming and Non-streaming Code-Switching ASRcited by 6
17 more
  1. 2025Overcoming Vocabulary Constraints with Pixel-level Fallbackcited by 6
  2. 2022Optimizing Bilingual Neural Transducer with Synthetic Code-switching Text Generationcited by 5
  3. 2022CST5: Data Augmentation for Code-Switched Semantic Parsingcited by 5
  4. 2024CHAI for LLMs: Improving Code-Mixed Translation in Large Language Models through Reinforcement Learning with AI Feedbackcited by 5
  5. 2021The Effectiveness of Intermediate-Task Training for Code-Switched Natural Language Understandingcited by 4
  6. 2023Boosting Zero-shot Cross-lingual Retrieval by Training on Artificially Code-Switched Datacited by 4
  7. 2023Breaking the Language Barrier: Improving Cross-Lingual Reasoning with Structured Self-Attentioncited by 4
  8. 2025Beyond Monolingual Assumptions: A Survey of Code-Switched NLP in the Era of Large Language Models across Modalitiescited by 4
  9. 2023Data Augmentation Techniques for Machine Translation of Code-Switched Texts: A Comparative Studycited by 3
  10. 2024Leveraging Large Language Models for Code-Mixed Data Augmentation in Sentiment Analysiscited by 3
  11. 2024On Creating an English-Thai Code-switched Machine Translation in Medical Domaincited by 2
  12. 2025Conditioning LLMs to Generate Code-Switched Textcited by 2
  13. 2024CoVoSwitch: Machine Translation of Synthetic Code-Switched Text Based on Intonation Unitscited by 1
  14. 2025The Impact of Code-switched Synthetic Data Quality is Task Dependent: Insights from MT and ASRcited by 1
  15. 2025Is linguistically-motivated data augmentation worth it?cited by 1
  16. 2026PingPong: A Natural Benchmark for Multi-Turn Code-Switching Dialoguescited by 1
  17. 2026From Standard English to Singlish: A Retrieval-Augmented Approach for Code-Switched Creole Generation in Large Language Modelscited by 0