mlsanityData to 7 Oct 2026

Code-Mixer Ya Nahi: Novel Approaches to Measuring Multilingual LLMs' Code-Mixing Capabilities

arXiv 2410.11079 ↗First posted 14 Oct 2024cs.CL cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

Multilingual Large Language Models (LLMs) have demonstrated exceptional performance in Machine Translation (MT) tasks. However, their MT abilities in the context of code-switching (the practice of mixing two or more languages in an utterance) remain under-explored. In this paper, we introduce Rule-Based Prompting, a novel prompting technique to generate code-mixed sentences. We measure and compare the code-mixed MT abilities of 3 popular multilingual LLMs: GPT-3.5-turbo, GPT-4, and Gemini Pro across five language pairs: English-Hindi, Bengali, Gujarati, French, Spanish using k-shot prompting (k∈0, 1, 10, 20) and Rule-Based Prompting. Our findings suggest that though k-shot prompting often leads to the best results, Rule-Based prompting shows promise in generating unique code-mixed sentences that vary in their style of code-mixing. We also use k-shot prompting to gauge the code-mixed to English translation abilities of multilingual LLMs. For this purpose, we create a gold-standard code-mixed dataset spanning five language pairs: English-Hindi, Bengali, Gujarati, French, Spanish. As a real-world application of our work, we create a code-mixed chatbot.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 6 of its 18 references that are in the map. First posted on arXiv 14 Oct 2024.

Builds on

6 of 18 references.

References · 6

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023Multilingual Large Language Models Are Not (Yet) Code-Switcherscited by 65
  3. 2023Prompting Multilingual Large Language Models to Generate Code-Mixed Texts: The Case of South East Asian Languagescited by 50
  4. 2020PHINC: A Parallel Hinglish Social Media Code-Mixed Corpus for Machine Translationcited by 38
  5. 2021HinGE: A Dataset for Generation and Evaluation of Code-Mixed Hinglish Textcited by 28
  6. 2023Code-Switched Text Synthesis in Unseen Language Pairscited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 3; 2026: 2.

7 papers.