Research map / Large language models / Language, safety and interpretability
On the Robustness of Code LLM Guardrails to Code-mixed and Transliterated Inputs
Nishat Raihan, Dipak Meher, Bhuwan Dhingra, Marcos Zampieri
George Mason University · Duke University
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
2improved
1no clear effect
7hurt
1mixed
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| translate English prompts into code-mixed low-resource-language prompts | CodeGuard · MALICE detection | accuracy: 0.93 -> 0.21 | Hurt |
| translate English prompts into code-mixed prompts | Claude 4.6 · MALICE code generation | malicious code generation rate: 0.09 -> 0.28 | Hurt |
| translate English prompts into code-mixed prompts | GPT-5.2 · MALICE code generation | malicious code generation rate: 0.12 -> 0.31 | Hurt |
| translate into code-mixed prompts | Magistral · MALICE code generation | malicious code generation rate: 0.51 -> 0.76 | Hurt |
| romanize/transliterate prompts into eight scripts | CodeGuard · MALICE-Transliterated detection | accuracy: 0.93 -> 0.27 | Hurt |
| transliterate prompts (across-language mean) vs English baseline | nine classification systems · per-language transliteration | detection accuracy: 0.67 -> 0.40 | Hurt |
| transliterate prompts (across-language mean) vs English baseline | seven generative models · per-language transliteration | code-generation rate: 0.28 -> 0.47 | Hurt |
| romanize Chinese to Pinyin rather than native script | transliterated track · per-language transliteration | detection accuracy / code-gen rate: 0.55 detection, 0.37 code-gen (vs 0.33-0.42 and 0.45-0.53 for native scripts) | Mixed |
| remove keyword preservation (translate wholesale) (ablation) | MALICE code-mixed prompts · Code generation, all seven models | malicious code generation rate: Claude 4.6: 0.28 -> 0.06 | Improved |
| increase candidates per seed k from 5 to 10 (ablation) | MALICE best-of-k selection · code-mixed track | best-of-k generation rate: 0.39 -> 0.40 | No clear effect |
| increase k from 1 to 5 (ablation) | MALICE best-of-k selection · code-mixed track | best-of-k generation rate: 0.31 -> 0.39 | Improved |
Closest papers by meaning
- Multilingual Jailbreak Challenges in Large Language Models (ICLR 2024 · similarity 0.90)
- CodeMimicry: Exploiting Safety Generalization Lag in Large Language Models via Structured Code Completion (NeurIPS 2026 · similarity 0.90)
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024 · similarity 0.90)
- BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models (NeurIPS 2025 · similarity 0.90)
- RigorLLM: Resilient Guardrails for Large Language Models against Undesired Content (ICML 2024 · similarity 0.89)
- Safety Alignment Should be Made More Than Just a Few Tokens Deep (ICLR 2025 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
