PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
October 12, 20250 citationsOpen Access

CodeMixBench: Evaluating Code-Mixing Capabilities of LLMs Across 18 Languages

View Full Paper
YYYong YangYCYekun Chai

Key Points

  • LLMs consistently underperform on code-mixed datasets involving various language families, indicating significant barriers.
  • Evaluation of code-mixing tasks shows inadequate performance, emphasizing the need for enhanced training methodologies.
  • CodeMixBench introduces eight tasks to benchmark LLMs, expanding existing frameworks to better assess code-mixing abilities.
  • Novel methods for synthetic code-mixed text generation via word substitution and GPT-4 prompting are proposed.

Abstract

Code-mixing, the practice of switching between languages within a conversation, poses unique challenges for traditional NLP. Existing benchmarks are limited by their narrow language pairs and tasks, failing to adequately assess large language models' (LLMs) code-mixing abilities. Despite the recognized importance of code-mixing for multilingual users, research on LLMs in this context remains sparse. Additionally, current techniques for synthesizing code-mixed data are underdeveloped to generate code-mixing. In response, we introduce CodeMixBench, a comprehensive benchmark covering eight tasks, including three specific to LLMs and five traditional NLP tasks, and 18 languages across seven language families. We also propose a new method for generating large-scale synthetic code-mixed texts by combining word substitution with GPT-4 prompting. Our evaluation reveals consistent underperformance of LLMs on code-mixed datasets involving different language families. Enhancements in training data size, model scale, and few-shot learning could improve their performance. The code and dataset are available at https://github.com/Jeromeyluck/CodeMixBench.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Yang et al. (2025) studied this question.

synapsesocial.com/papers/68ec384042a190b2c35197e8https://doi.org/10.48550/arxiv.2507.18791
Ask AI
Helpful
Bookmark
Share
View Full Paper