From Machine Translation to Code-Switching: Generating High-Quality Code-Switched Text
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
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2020Multilingual Denoising Pre-training for Neural Machine Translationcited by 1,028
- 2015Pointer Networkscited by 882
- 2015Improving Neural Machine Translation Models with Monolingual Datacited by 784
- 2019How multilingual is Multilingual BERT?cited by 642
- 2018Texygen: A Benchmarking Platform for Text Generation Modelscited by 484
- 2017Word Translation Without Parallel Datacited by 480
- 2016SeqGAN: Sequence Generative Adversarial Nets with Policy Gradientcited by 375
- 2020Improving Massively Multilingual Neural Machine Translation and Zero-Shot Translationcited by 277
14 more
- 2017Unsupervised Machine Translation Using Monolingual Corpora Onlycited by 272
- 2017Regularizing and Optimizing LSTM Language Modelscited by 205
- 2020SimAlign: High Quality Word Alignments without Parallel Training Data using Static and Contextualized Embeddingscited by 155
- 2018Phrase-Based & Neural Unsupervised Machine Translationcited by 138
- 2020GLUECoS : An Evaluation Benchmark for Code-Switched NLPcited by 101
- 2017The IIT Bombay English-Hindi Parallel Corpuscited by 74
- 2019Code-Switched Language Models Using Neural Based Synthetic Data from Parallel Sentencescited by 55
- 2018Code-switching Sentence Generation by Generative Adversarial Networks and its Application to Data Augmentationcited by 26
- 2018Code-switched Language Models Using Dual RNNs and Same-Source Pretrainingcited by 16
- 2019A Deep Generative Model for Code-Switched Textcited by 13
- 2016Grammatical Constraints on Intra-sentential Code-Switching: From Theories to Working Modelscited by 10
- 2018Learn to Code-Switch: Data Augmentation using Copy Mechanism on Language Modelingcited by 9
- 2017Syntactic and Semantic Features For Code-Switching Factored Language Modelscited by 8
- 2017Dual Language Models for Code Switched Speech Recognitioncited by 5
Built on by
Citing papers per year: 2021: 1; 2022: 7; 2023: 9; 2024: 5; 2025: 5; 2026: 2.
29 papers.
Sort:
By area:
- 2023LLM-powered Data Augmentation for Enhanced Cross-lingual Performancecited by 51
- 2023Prompting Multilingual Large Language Models to Generate Code-Mixed Texts: The Case of South East Asian Languagescited by 50
- 2022The Decades Progress on Code-Switching Research in NLP: A Systematic Survey on Trends and Challengescited by 35
- 2023Representativeness as a Forgotten Lesson for Multilingual and Code-switched Data Collection and Preparationcited by 16
- 2022ArzEn-ST: A Three-way Speech Translation Corpus for Code-Switched Egyptian Arabic - Englishcited by 13
- 2022CALCS 2021 Shared Task: Machine Translation for Code-Switched Datacited by 9
- 2022Investigating Lexical Replacements for Arabic-English Code-Switched Data Augmentationcited by 9
- 2023CroCoSum: A Benchmark Dataset for Cross-Lingual Code-Switched Summarizationcited by 8
- 2023Unified model for code-switching speech recognition and language identification based on a concatenated tokenizercited by 8
- 2022Exploring Segmentation Approaches for Neural Machine Translation of Code-Switched Egyptian Arabic-English Textcited by 7
- 2023Code-Switched Text Synthesis in Unseen Language Pairscited by 7
- 2024SC-MoE: Switch Conformer Mixture of Experts for Unified Streaming and Non-streaming Code-Switching ASRcited by 6
17 more
- 2025Overcoming Vocabulary Constraints with Pixel-level Fallbackcited by 6
- 2022Optimizing Bilingual Neural Transducer with Synthetic Code-switching Text Generationcited by 5
- 2022CST5: Data Augmentation for Code-Switched Semantic Parsingcited by 5
- 2024CHAI for LLMs: Improving Code-Mixed Translation in Large Language Models through Reinforcement Learning with AI Feedbackcited by 5
- 2021The Effectiveness of Intermediate-Task Training for Code-Switched Natural Language Understandingcited by 4
- 2023Boosting Zero-shot Cross-lingual Retrieval by Training on Artificially Code-Switched Datacited by 4
- 2023Breaking the Language Barrier: Improving Cross-Lingual Reasoning with Structured Self-Attentioncited by 4
- 2025Beyond Monolingual Assumptions: A Survey of Code-Switched NLP in the Era of Large Language Models across Modalitiescited by 4
- 2023Data Augmentation Techniques for Machine Translation of Code-Switched Texts: A Comparative Studycited by 3
- 2024Leveraging Large Language Models for Code-Mixed Data Augmentation in Sentiment Analysiscited by 3
- 2024On Creating an English-Thai Code-switched Machine Translation in Medical Domaincited by 2
- 2025Conditioning LLMs to Generate Code-Switched Textcited by 2
- 2024CoVoSwitch: Machine Translation of Synthetic Code-Switched Text Based on Intonation Unitscited by 1
- 2025The Impact of Code-switched Synthetic Data Quality is Task Dependent: Insights from MT and ASRcited by 1
- 2025Is linguistically-motivated data augmentation worth it?cited by 1
- 2026PingPong: A Natural Benchmark for Multi-Turn Code-Switching Dialoguescited by 1
- 2026From Standard English to Singlish: A Retrieval-Augmented Approach for Code-Switched Creole Generation in Large Language Modelscited by 0
- 2026From Standard English to Singlish: A Retrieval-Augmented Approach for Code-Switched Creole Generation in Large Language Models8 May 2026
- 2026PingPong: A Natural Benchmark for Multi-Turn Code-Switching Dialogues24 Jan 2026
- 2025Beyond Monolingual Assumptions: A Survey of Code-Switched NLP in the Era of Large Language Models across Modalities8 Oct 2025
- 2025Is linguistically-motivated data augmentation worth it?4 Jun 2025
- 2025Overcoming Vocabulary Constraints with Pixel-level Fallback2 Apr 2025
- 2025The Impact of Code-switched Synthetic Data Quality is Task Dependent: Insights from MT and ASR30 Mar 2025
- 2025Conditioning LLMs to Generate Code-Switched Text18 Feb 2025
- 2024CHAI for LLMs: Improving Code-Mixed Translation in Large Language Models through Reinforcement Learning with AI Feedback13 Nov 2024
- 2024Leveraging Large Language Models for Code-Mixed Data Augmentation in Sentiment Analysis1 Nov 2024
- 2024On Creating an English-Thai Code-switched Machine Translation in Medical Domain21 Oct 2024
- 2024CoVoSwitch: Machine Translation of Synthetic Code-Switched Text Based on Intonation Units19 Jul 2024
- 2024SC-MoE: Switch Conformer Mixture of Experts for Unified Streaming and Non-streaming Code-Switching ASR26 Jun 2024
17 more
- 2023Representativeness as a Forgotten Lesson for Multilingual and Code-switched Data Collection and Preparation31 Oct 2023
- 2023Data Augmentation Techniques for Machine Translation of Code-Switched Texts: A Comparative Study23 Oct 2023
- 2023Breaking the Language Barrier: Improving Cross-Lingual Reasoning with Structured Self-Attention23 Oct 2023
- 2023Unified model for code-switching speech recognition and language identification based on a concatenated tokenizer14 Jun 2023
- 2023Code-Switched Text Synthesis in Unseen Language Pairs26 May 2023
- 2023LLM-powered Data Augmentation for Enhanced Cross-lingual Performance23 May 2023
- 2023Boosting Zero-shot Cross-lingual Retrieval by Training on Artificially Code-Switched Data9 May 2023
- 2023Prompting Multilingual Large Language Models to Generate Code-Mixed Texts: The Case of South East Asian Languages23 Mar 2023
- 2023CroCoSum: A Benchmark Dataset for Cross-Lingual Code-Switched Summarization7 Mar 2023
- 2022The Decades Progress on Code-Switching Research in NLP: A Systematic Survey on Trends and Challenges19 Dec 2022
- 2022ArzEn-ST: A Three-way Speech Translation Corpus for Code-Switched Egyptian Arabic - English22 Nov 2022
- 2022CST5: Data Augmentation for Code-Switched Semantic Parsing14 Nov 2022
- 2022Optimizing Bilingual Neural Transducer with Synthetic Code-switching Text Generation21 Oct 2022
- 2022Exploring Segmentation Approaches for Neural Machine Translation of Code-Switched Egyptian Arabic-English Text11 Oct 2022
- 2022Investigating Lexical Replacements for Arabic-English Code-Switched Data Augmentation25 May 2022
- 2022CALCS 2021 Shared Task: Machine Translation for Code-Switched Data19 Feb 2022
- 2021The Effectiveness of Intermediate-Task Training for Code-Switched Natural Language Understanding21 Jul 2021
- 2023Prompting Multilingual Large Language Models to Generate Code-Mixed Texts: The Case of South East Asian Languagescited by 50
- 2022The Decades Progress on Code-Switching Research in NLP: A Systematic Survey on Trends and Challengescited by 35
- 2023Representativeness as a Forgotten Lesson for Multilingual and Code-switched Data Collection and Preparationcited by 16
- 2022ArzEn-ST: A Three-way Speech Translation Corpus for Code-Switched Egyptian Arabic - Englishcited by 13
- 2022CALCS 2021 Shared Task: Machine Translation for Code-Switched Datacited by 9
- 2022Investigating Lexical Replacements for Arabic-English Code-Switched Data Augmentationcited by 9
- 2023CroCoSum: A Benchmark Dataset for Cross-Lingual Code-Switched Summarizationcited by 8
- 2023Unified model for code-switching speech recognition and language identification based on a concatenated tokenizercited by 8
- 2022Exploring Segmentation Approaches for Neural Machine Translation of Code-Switched Egyptian Arabic-English Textcited by 7
- 2023Code-Switched Text Synthesis in Unseen Language Pairscited by 7
- 2025Overcoming Vocabulary Constraints with Pixel-level Fallbackcited by 6
- 2022Optimizing Bilingual Neural Transducer with Synthetic Code-switching Text Generationcited by 5
12 most cited of 24 All 24 (JSON)
- 2026PingPong: A Natural Benchmark for Multi-Turn Code-Switching Dialogues24 Jan 2026
- 2025Beyond Monolingual Assumptions: A Survey of Code-Switched NLP in the Era of Large Language Models across Modalities8 Oct 2025
- 2025Is linguistically-motivated data augmentation worth it?4 Jun 2025
- 2025Overcoming Vocabulary Constraints with Pixel-level Fallback2 Apr 2025
- 2025The Impact of Code-switched Synthetic Data Quality is Task Dependent: Insights from MT and ASR30 Mar 2025
- 2025Conditioning LLMs to Generate Code-Switched Text18 Feb 2025
- 2024Leveraging Large Language Models for Code-Mixed Data Augmentation in Sentiment Analysis1 Nov 2024
- 2024On Creating an English-Thai Code-switched Machine Translation in Medical Domain21 Oct 2024
- 2024CoVoSwitch: Machine Translation of Synthetic Code-Switched Text Based on Intonation Units19 Jul 2024
- 2023Representativeness as a Forgotten Lesson for Multilingual and Code-switched Data Collection and Preparation31 Oct 2023
- 2023Data Augmentation Techniques for Machine Translation of Code-Switched Texts: A Comparative Study23 Oct 2023
- 2023Unified model for code-switching speech recognition and language identification based on a concatenated tokenizer14 Jun 2023
12 newest of 24 All 24 (JSON)