Abstract
Large Language Models (LLMs) are predominantly trained and safety-aligned using English data, yet they are deployed globally across diverse linguistic contexts. This paper investigates the efficacy of "cross-lingual transfer"—the phenomenon where safety fine-tuning in English reduces bias and toxicity in other languages. Through an extensive evaluation of seven LLM families (including Llama 3.1, Gemma 2, and Aya), we demonstrate that while safety alignment does transfer across languages, it often triggers "language confusion," causing models to respond in English when prompted in other languages. Our findings highlight that the volume of pretraining data is a stronger predictor of safety transfer than linguistic similarity to English, and that low-resource languages suffer the most from this safety-utility trade-off.
Introduction: The English-Centric Safety Gap
The rapid global adoption of LLMs has exposed a critical disparity: models often exhibit significantly higher levels of toxicity and social bias when prompted in non-English languages compared to English. While fine-tuning for safety is the standard remedy, creating high-quality safety datasets for thousands of languages is economically and logistically unfeasible. Researchers have hypothesized that safety properties learned in English might automatically generalize to other languages. This study rigorously tests this hypothesis, examining the impact of English-only debiasing and detoxification on the multilingual performance of state-of-the-art models.
Methodology and Experimental Setup
The authors evaluated two primary alignment strategies across 20 languages:
- Supervised Fine-Tuning (SFT): Training on curated non-harmful text (e.g., the Panda and Jigsaw datasets).
- Direct Preference Optimization (DPO): Training on pairs of preferred (safe) and rejected (harmful) completions (e.g., BiasDPO and DetoxDPO).
Models were adapted using QLoRA to maintain efficiency. Evaluation metrics spanned three dimensions:
- Bias: Measured via CrowS-Pairs, StereoSet, and the Multilingual Bias Benchmark for QA (MBBQ).
- Toxicity: Assessed using professional translations of RealToxicityPrompts (RTP-LX).
- General Ability: Evaluated through Global-MMLU (knowledge), Tatoeba (language consistency), and measures of fluency and diversity.
Key Insights: The Hidden Cost of Safety
The investigation revealed a fundamental trade-off between safety and linguistic utility.
The "Language Confusion" Phenomenon
The most significant finding is that successful safety transfer often degrades a model's ability to stay in the target language. When a model is "detoxified" using English data, it may learn that "safe" responses are English responses. Consequently, a German or French prompt might elicit a safe, but linguistically incorrect, English answer.
DPO vs. SFT
The choice of fine-tuning method matters. DPO proved superior for reducing toxicity globally, but it was also the primary driver of language consistency drops. Conversely, SFT (particularly using the Panda dataset) was more effective for broad debiasing without as severe a linguistic penalty.
Predictors of Success
Contrary to intuition, linguistic similarity to English (e.g., Germanic or Romance languages) is not the best predictor of safety transfer. Instead, the amount of data a language occupied in the model's original pretraining corpus determines how well safety patches "stick."
Key Results and Trade-offs
The results demonstrate that while bias and toxicity can be reduced, the impact on language modeling abilities is non-trivial.
- Bias Reduction: SFT on the Panda dataset consistently lowered bias scores across most languages. For instance, Llama 3.1 Instruct showed marked improvements in Dutch and Spanish benchmarks.
- Toxicity Mitigation: DPO on DetoxDPO effectively lowered toxicity scores globally. However, for high-performing models like Llama 3.1, this was accompanied by a drastic reduction in language consistency, effectively "breaking" the model for non-English users.
- The Resource Gap: Low-resource languages (e.g., Maltese, Catalan) benefit the least from English transfer and are most susceptible to "catastrophic forgetting" of their native linguistic patterns during safety alignment.
Conclusion and Future Directions
While cross-lingual transfer offers a "quick fix" for safety in multilingual LLMs, it is not a panacea. The degradation of language consistency suggests that English-centric guardrails may inadvertently marginalize non-English speakers by reducing the quality of their interactions.
The authors identify several limitations, including the US-centric nature of existing bias benchmarks and the reliance on automated toxicity classifiers like the Perspective API. They conclude that the path forward must involve the development of native, language-specific safety datasets to ensure that LLMs are both safe and linguistically competent for the global community.
Summary updated