How I Aligned Your Model: Scaling Up Multilingual Safety Training with Templates
Abstract
Safety alignment for Large Language Models is heavily focused on English with limited multilingual representation, particularly damaging low-resource language performance. Related open training datasets are often limited in size or do not follow region-localized harmful topics to broaden the scope of alignment beyond cultures. We propose a scalable template-based augmentation pipeline to produce massive multilingual refusal and benign corpora, extracting safe templates from harmful prompts, translating them and then filling in the slots with culturally authentic entities, both harmful and benign. As a result, we release MSafeTemp, a validated corpus spanning 60 languages useful for multilingual safety alignment and evaluation. Using the dataset, we show that English-only evaluation misjudges multilingual safety: for several models, attacks that fail in English succeed once translated, while culturally localized variants expose further failures that translation alone misses. We also confirm that augmenting safety training data through templates allows for higher diversity and quality of alignment, resulting in improved safety performance beyond English. MSafeTemp and the respective pipeline are aimed at facilitating research and development of safer and more responsible models for less-represented cultures.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI, cs.LG
Related papers
HaloGuard 2.0: An Open-Weights Constitutional Output Guard for Multilingual Response Safety
Shared title terminologycs.CLAshmiya Lenin, Navaneeth Sangameswaran, Preetham S
GAVAGAI: Referential Alignment for Infant-Scale Vision-Language Models via Balanced Optimal Transport
Shared title terminologycs.CLRajdeep Pal, Jotiraditya Banerjee, Saptarshi Pani
ShallowDefend: Harnessing Shallow Safety Alignment for Multi-Turn Defender
Shared title terminologycs.CLQiyao Ma, Xiaodong Liu, Weiwei Yang et al.
Does Chain-of-Thought Reliance Follow a Scaling Law?Larger Models Follow Their Steps More, Independent of Post-Training
Shared title terminologycs.CLEsther Xin
Component Translation and Judge-Labelled Refusal: A Multilingual Safety Evaluation
Shared title terminologycs.CLYongxi Zhou, Junwei Yao, Wenbo Ye et al.
Aligning Large Language Models for Safety in African Languages: A Case Study of Hausa
Shared title terminologycs.CLValdini Douglace Lemofouet, Blessing Ngozi Uzor, Paula Chikaodinaka Anyanwu et al.