Multilingual Safety Alignment via Self-Distillation
Ruiyang Qin, Qingzhuo Wang, Dongrui Liu, Qiang Li, Zhihua Wei, Wen Shen
NeurIPS page · Open on the map
Category: AI Safety, Security & Alignment › LLM Safety Alignment · Type: new method · Keywords: multilingual safety alignment, self-distillation, cross-lingual knowledge transfer, jailbreak attacks, low-resource languages
Areas: Multilingual › Cross-Lingual Methods › Cross-Lingual Representation; Safety & Security › Safe Alignment › Safety Alignment Methods
Summary
Multilingual Self-Distillation (MSD) transfers safety capabilities from high-resource to low-resource languages without requiring labeled response data, improving multilingual safety alignment.
Explained to a 5-year-old
Big computer programs called language models know how to be safe when they talk in some languages like English. But they forget to be safe when they talk in other languages like Javanese. We teach them to be safe in all languages by copying the knowledge from the safe ones. We do this by listening to questions in many languages and learning from the answers. This helps protect people who use the programs in any language.
Explained to a 5-year-old, longer
Big computer programs called language models are like smart assistants that can write text. They are programmed to be safe and not say bad things. However, they are very good at being safe when they talk in popular languages like English. When they talk in less common languages, like Javanese, they often forget to be safe and can be tricked into saying harmful things. This is a problem because many people speak those smaller languages. To fix this, we want to teach the models to be safe in all languages without having to write a lot of safe examples for each language. We do this by using the knowledge they already have in one language and spreading it to other languages, like a teacher sharing a secret with friends. We ask the model questions in many languages and let it learn from its own answers, copying the good safety habits. We also pay extra attention to the parts of the answer that are really important for safety. This way, the model becomes safer in every language it speaks. It still works well for normal tasks like answering questions or writing stories. The new method helps protect users all over the world, no matter which language they use.
For a technical reader
The paper addresses the issue that large language models (LLMs) have strong safety guards in high-resource languages but are vulnerable to jailbreak attacks in low-resource languages. Existing alignment techniques require costly, high-quality response data for each language, which is impractical for many languages. The authors propose a cross-lingual self-distillation framework that transfers safety knowledge from a high-resource model to low-resource ones using only multilingual queries, eliminating the need for per-language labeled data. They introduce two variants (on-policy and off-policy) and a divergence-based weighting scheme that emphasizes safety-critical tokens during distillation. Experiments on multiple multilingual benchmarks show consistent safety improvements and preservation of general model capabilities.
Problem
Large language models exhibit strong safety safeguards in high-resource languages but remain vulnerable to jailbreak attacks in low-resource languages. Existing safety alignment methods rely on expensive, high-quality response data for each target language, which is difficult to obtain.
Method
The approach transfers safety knowledge from a high-resource model to low-resource languages using self-distillation with only multilingual queries. It implements on-policy and off-policy variants and introduces a divergence-based weighting scheme that emphasizes safety-critical tokens. The framework can be combined with different self-distillation strategies.
Results
The approach shows consistently superior multilingual safety performance and generalizes to challenging datasets and unseen languages while preserving general model capabilities.
Contributions
A cross-lingual safeguard transfer framework that works without per-language response data, two concrete self-distillation variants, and a divergence-based weighting scheme that adaptively penalizes safety-critical tokens. The work also provides extensive evaluations across multiple benchmarks and languages.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction