MEGA Hub

CultureGuard: Towards Culturally-Aware Dataset and Guard Model for Multilingual Safety Applications

Authors

Do you know Raviraj Joshi?You can claim authorship or link another user.Do you know Rakesh Paul?You can claim authorship or link another user.Do you know Kanishk Singla?You can claim authorship or link another user.Do you know Anusha Kamath?You can claim authorship or link another user.Do you know Michael Evans?You can claim authorship or link another user.Do you know Katherine Luna?You can claim authorship or link another user.Do you know Shaona Ghosh?You can claim authorship or link another user.Do you know Utkarsh Vaidya?You can claim authorship or link another user.Do you know Eileen Long?You can claim authorship or link another user.Do you know Sanjay Singh Chauhan?You can claim authorship or link another user.Do you know Niranjan Wartikar?You can claim authorship or link another user.

Abstract

The increasing use of Large Language Models (LLMs) in agentic applications highlights the need for robust safety guard models. While content safety in English is well-studied, non-English languages lack similar advancements due to the high cost of collecting culturally aligned labeled datasets. We present CultureGuard, a novel solution for curating culturally aligned, high-quality safety datasets across multiple languages. Our approach introduces a four-stage synthetic data generation and filtering pipeline: cultural data segregation, cultural data adaptation, machine translation, and quality filtering. This pipeline enables the conversion and expansion of the Nemotron-Content-Safety-Dataset-V2 English safety dataset into eight distinct languages: Arabic, German, Spanish, French, Hindi, Japanese, Thai, and Chinese. The resulting dataset, Nemotron-Safety-Guard-Dataset-v3, comprises 386,661 samples in 9 languages and facilitates the training of Llama-3.1-Nemotron-Safety-Guard-8B-v3 via LoRA-based fine-tuning. The final model achieves state-of-the-art performance on several multilingual content safety benchmarks. Furthermore, we show our moderately multilingual fine-tuning enables robust cross-lingual transfer and strong zero-shot generalization to unseen languages. We also benchmark the latest open LLMs on multilingual safety and observe that these LLMs are more prone to give unsafe responses when prompted in non-English languages. This work advances multilingual LLM safety by enabling the development of culturally aware safety guard models.

Community

00