Introduction
Large Language Model (LLM) safety research has historically been "English-centric," focusing on high-resource monolingual environments and Western cultural norms. However, real-world deployment often occurs in complex multilingual landscapes where languages are blended and cultural "red lines" are locally defined. In Kazakhstan, for example, users naturally navigate between Kazakh, a low-resource language, and Russian, a high-resource language, frequently employing "code-switching" (mixing both languages in a single conversation).
To address this gap, researchers have introduced Qorgau (Kazakh for "to protect"), the first comprehensive safety evaluation dataset specifically designed for the Kazakh-Russian bilingual context. By testing 12 major LLMs, the study reveals that models often struggle with regional cultural nuances and are particularly vulnerable when users mix languages within a single prompt.
The Qorgau Dataset
The core contribution of this work is the Qorgau dataset, which comprises 8,169 prompts designed to probe model safety across six distinct risk areas:
- Information Hazards
- Malicious Uses
- Discrimination
- Misinformation
- Human-Chatbot Interaction
- Region-Specific Sensitivity
The dataset includes three specific attack types: direct attacks, indirect attacks (benign-looking prompts intended to elicit unsafe content), and over-sensitivity assessments (prompts that appear harmful but are actually safe). Additionally, a specialized Code-Switching subset of 500 pairs was developed to test the models' robustness when Kazakh and Russian are used simultaneously.
Methodology
The researchers developed a rigorous framework to evaluate how LLMs handle localized risks:
- Localization over Translation: Rather than simple translation, the team manually localized the "Chinese Do-Not-Answer" (CDNA) dataset. This involved replacing generic Western names and events with culturally relevant ones (e.g., substituting "John" with "Nurlan") and rephrasing questions to reflect Kazakh history and societal structures.
- Granular Evaluation: Responses were analyzed using a two-step process. First, a binary safety classification was performed, followed by a fine-grained analysis across 10 categories (6 safe patterns and 4 unsafe patterns).
- Automated Judging: To process 94,000 model responses, GPT-4o was utilized as an automated judge. This approach was validated against human annotations, achieving over 90% accuracy for binary safety judgments.
Key Insights and Results
The Safety Nuance Gap
The study found a significant disparity in how models handle different languages. Prompts in Russian elicited much more nuanced and diverse responses compared to those in Kazakh. In Kazakh, models frequently defaulted to generic, "safe" information rather than providing specific rejections. This suggests that while models may be aligned in high-resource languages, they often lack a deep understanding of risk in lower-resource languages.
Code-Switching as a Vulnerability
Code-switching proved to be a significant security loophole. For models like Llama-3.1-70B, safety performance dropped significantly when languages were mixed. This indicates that safety alignment in one language does not necessarily transfer when that language is blended with another, creating a unique vector for potential harm.
Region-Specific Blind Spots
While models generally performed well at avoiding "universal" harms (such as instructions for illegal acts), they struggled with Risk Type VI (Region-Specific Sensitivity). Topics involving controversial local historical events or regional racial issues triggered much higher rates of unsafe responses. This highlights a critical failure in current alignment techniques to account for localized political and social sensitivities.
Model Performance
- Top Performers: Claude emerged as the safest model for Kazakh (96.5% safety rate), while YandexGPT led for Russian (93.6% safety rate).
- The Laggards: Aya101 and KazLLM-1.0-8B ranked lowest for Kazakh and Russian safety, respectively. Notably, being fine-tuned for a specific language did not automatically correlate with improved safety in that language.
- Indirect Attacks: Models were more likely to provide unsafe responses to indirect attacks in Kazakh than to direct ones. This suggests that "jailbreaking" in low-resource languages may be achievable through subtle phrasing that bypasses standard safety filters.
Limitations and Future Directions
The authors acknowledge that while GPT-4o is a strong evaluator, it may carry its own inherent biases and lack deep "on-the-ground" cultural intuition. Furthermore, the dataset represents a static snapshot of cultural and political sensitivities that are constantly evolving. Future research should focus on "naturalistic" data—observing how users interact with models in the wild—and moving toward "cultural alignment" that respects the specific legal and social fabrics of the regions where LLMs are deployed.
Summary updated