CLJul 24, 2025

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

arXiv:2507.18791v28 citationsh-index: 2Has CodeEMNLP
Originality Incremental advance
AI Analysis

This addresses the challenge of assessing LLMs for multilingual users who engage in code-mixing, but it is incremental as it builds on existing benchmarking efforts.

The paper tackles the problem of evaluating large language models' (LLMs) code-mixing capabilities, which are limited by existing benchmarks, and introduces CodeMixBench, a comprehensive benchmark covering 18 languages and eight tasks, revealing consistent underperformance of LLMs on code-mixed datasets.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes