Cross-Lingual Jailbreak Detection via Semantic Codebooks
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
Safety mechanisms for large language models (LLMs) remain predominantly English-centric, creating systematic vulnerabilities in multilingual deployment. Prior work shows that translating malicious prompts into other languages can substantially increase jailbreak success rates, exposing a structural cross-lingual security gap. We investigate whether such attacks can be mitigated through language-agnostic semantic similarity without retraining or language-specific adaptation. Our approach compares multilingual query embeddings against a fixed English codebook of jailbreak prompts, operating as a training-free external guardrail for black-box LLMs. We conduct a systematic evaluation across four languages, two translation pipelines, four safety benchmarks, three embedding models, and three target LLMs (Qwen, Llama, GPT-3.5). Our results reveal two distinct regimes of cross-lingual transfer. On curated benchmarks containing canonical jailbreak templates, semantic similarity generalizes reliably across languages, achieving near-perfect separability (AUC up to 0.99) and substantial reductions in absolute attack success rates under strict low-false-positive constraints. However, under distribution shift - on behaviorally diverse and heterogeneous unsafe benchmarks - separability degrades markedly (AUC ≈ 0.60-0.70), and recall in the security-critical low-FPR regime drops across all embedding models.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 16 of its 18 references that are in the map. First posted on arXiv 28 Apr 2026.
Builds on
16 of 18 references.
Closest ancestors · 3
Same direction, newest first
- 2024Improved Large Language Model Jailbreak Detection via Pretrained Embeddings2 Dec
- 2024JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models28 Mar
- 2024A Cross-Language Investigation into Jailbreak Attacks in Large Language Models30 Jan
Other references · 13
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,073
- 2025Qwen3Guard Technical Reportcited by 155
- 2024AEGIS: Online Adaptive AI Content Safety Moderation with Ensemble of LLM Expertscited by 136
- 2024The Language Barrier: Dissecting Safety Challenges of LLMs in Multilingual Contextscited by 94
- 2025The State of Multilingual LLM Safety Research: From Measuring the Language Gap to Mitigating Itcited by 45
- 2024InjecGuard: Benchmarking and Mitigating Over-defense in Prompt Injection Guardrail Modelscited by 42
- 2024Embedding-based classifiers can detect prompt injection attackscited by 27
- 2026What Matters For Safety Alignment?cited by 7
- 2025Translate, then Detect: Leveraging Machine Translation for Cross-Lingual Toxicity Classificationcited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Do Methods to Jailbreak and Defend LLMs Generalize Across Languages?
- 2026One Jailbreak, Many Tongues: Learning Language-Insensitive Intention Representations for Multilingual Jailbreak Detection
- 2025A Domain-Based Taxonomy of Jailbreak Vulnerabilities in Large Language Models
- 2025CCJA: Context-Coherent Jailbreak Attack for Aligned Large Language Models
- 2024Compromesso! Italian Many-Shot Jailbreaks Undermine the Safety of Large Language Models
- 2024A Comprehensive Study of Jailbreak Attack versus Defense for Large Language Models
- 2024Revisiting Jailbreaking for Large Language Models: A Representation Engineering Perspective
- 2025The Tower of Babel Revisited: Multilingual Jailbreak Prompts on Closed-Source Large Language Models