ThaiSafetyBench: Assessing Language Model Safety in Thai Cultural Contexts
Organizations: SCB DataX · Department of Computer Science and Technology, Tsinghua University · SCBX R&D · SCB 10X
Abstract
The safety evaluation of large language models (LLMs) remains largely centered on English, leaving non-English languages and culturally grounded risks underexplored. In this work, we investigate LLM safety in the context of the Thai language and culture and introduce ThaiSafetyBench, an open-source benchmark comprising 1,954 malicious prompts written in Thai. The dataset covers both general harmful prompts and attacks that are explicitly grounded in Thai cultural, social, and contextual nuances. Using ThaiSafetyBench, we evaluate 24 LLMs, with GPT-4.1 and Gemini-2.5-Pro serving as LLM-as-a-judge evaluators. Our results show that closed-source models generally demonstrate stronger safety performance than open-source counterparts, raising important concerns regarding the robustness of openly available models. Moreover, we observe a consistently higher Attack Success Rate (ASR) for Thai-specific, culturally contextualized attacks compared to general Thai-language attacks, highlighting a critical vulnerability in current safety alignment methods. To improve reproducibility and cost efficiency, we further fine-tune a DeBERTa-based harmful response classifier, which we name ThaiSafetyClassifier. The model achieves a weighted F1 score of 84.4%, matching GPT-4.1 judgments. We publicly release the fine-tuning weights and training scripts to support reproducibility. Finally, we introduce the ThaiSafetyBench leaderboard to provide continuously updated safety evaluations and encourage community participation. - ThaiSafetyBench HuggingFace Dataset: https://huggingface.co/datasets/typhoon-ai/ThaiSafetyBench - ThaiSafetyBench Github: https://github.com/trapoom555/ThaiSafetyBench - ThaiSafetyClassifier HuggingFace Model: https://huggingface.co/typhoon-ai/ThaiSafetyClassifier - ThaiSafetyBench Leaderboard: https://huggingface.co/spaces/typhoon-ai/ThaiSafetyBench-Leaderboard
Figures & tables
| Risk Area | Type of Harm | Description |
| Discrimination, Exclusion, Toxicity | Toxic Language (Hate Speech) | Language that promotes hatred, offense, or hostility toward individuals or groups based on protected traits. |
| Social Stereotype & Unfair Discrimination | Content that perpetuates biased generalizations or unfair treatment based on gender, ethnicity, or similar attributes. | |
| Human–Chatbot Interaction Harms | Treat Chatbot as a Human | Anthropomorphization of chatbots that may lead to emotional reliance or misinterpretation. |
| Mental Health / Overreliance Crisis | Excessive dependence on chatbots for mental health support, risking insufficient or inappropriate intervention. | |
| Adult Content | Inappropriate or explicit material in human–chatbot interactions. | |
| Information Hazards | Sensitive Information (Organization/Government) | Exposure or leakage of confidential organizational or governmental information. |
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
Language Model Safety Evaluation
Language model safety evaluation measures harmful behavior, refusal, robustness, and over-refusal across realistic prompts, users, and deployment settings.
See all 517 papersIndicSafe: A Benchmark for Evaluating Multilingual LLM Safety in South Asia
SAFE rate variance exceeds 17% across languages. Some models over-refuse benign prompts in low-resource scripts, overflag politically sensitive topics, while others fail to flag unsafe generations. We quantify these failures using prompt-level entropy, category bias scores, and multilingual consistency indices. Our findings highlight critical safety generalization gaps in multilingual LLMs and show that safety alignment does not transfer evenly across languages. We release IndicSafe, the first benchmark to enable culturally informed safety evaluation for Indic deployments, and advocate for language-aware alignment strategies grounded in regional harms.